
plintu
Members-
Posts
102 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by plintu
-
Re: How do i use images uploaded to my cpanel? or when you name the house do something like" a run down shack <img src........" then you don't need to add an extra field to your database table.
-
Re: Dreaming Out Loud ok well here is an idea for you why not move this post to the "Game Support" topic so that people don't think this is a free mod you created since that is the topic it is in! Not trying to be rude but really people do give you support in that section!!!
-
Re: felonyheights.com all reviews are welcome!! Well at least one would be nice :D also tell me what you think about the layout on proxy.plintu.com.
-
Re: [review]Serious Wars I think it is a bit plain and needs some spicing up, not enough graphics to keep the users attention and the cartoony gym just doesn't seem to fit! If you are going to go cartoon style with the site then go all the way if you are gonna go realistic look then go all the way don't go half and half it just doesn't work out too well!
-
Re: Help with cron_day most likely I am willing to bet that you forgot to add the code part to end of the url! so in your config section where it says code => (something something something) you are gonna have to add that to the end of the url in your cronjob! so your cronjob url should be something like: http://yoursite.com/cron_day.php?code=(something something something what ever is in your config file) and do not put the ( ) brackets in there!!!!
-
Re: need a little help please no problem I did the same exact modification to my game so I already have it all like that, I just don't know if I got you everything so let me know if that works for ya! waiting to here back from you!
-
Re: need a little help please so in your staff_items under function new_item_form just below this: Item Name: <input type='text' name='itmname' value='' /> Item Desc.: <input type='text' name='itmdesc' value='' /> you need to add: Item img.: <input type='text' name='image' value='' /> then scroll down till you find: $itmname=$db->escape($_POST['itmname']); $itmdesc=$db->escape($_POST['itmdesc']); and add: $image=$db->escape($_POST['image']); then under editing item you need to find this: Item Name: <input type='text' name='itmname' value='{$itemi['itmname']}' /> Item Desc.: <input type='text' name='itmdesc' value='{$itemi['itmdesc']}' /> and add: Item img.: <input type='text' name='image' value='{$itemi['image']}' /> then in function edit_item_sub find: $itmname=$_POST['itmname']; $itmdesc=$_POST['itmdesc']; and add: $image=$_POST['image']; and that should fix you right up!
-
also check out what I am working on...proxy.plintu.com
-
Re: PHP Question download all the php scripts that you can plug them up on your server and fiddle with them! that is the best way to learn! you got to get in there and get your hands dirty :-P
-
Re: need a little help please when you get that query usually it means that you are either trying to insert too many things into a table of your database and you don't have enough fields or you aren't inserting enough things into the table of your database! it would help if you list all the fields in your database under "items", from what I can see you are trying to insert 16 fields into the `items` table of your database, do you have 16 fields in your `items` table ?
-
Contact me if you know actionscript so we can chat about a very very simple problem!!! That can be very profitable!!! You will also need to know a little php!
-
Re: Effects mod with cron works with v2 that is why I said"I had to change it to where the effects added a value number like 1 million strength instead of a percentage, .." on the item itself I changed it add 1million then on the cron it would subtract 1million when the time was up !
-
Re: Effects mod with cron works with v2 you know what guys I forgot about this one I ran across a bug I had to change it to where the effects added a value number like 1 million strength instead of a percentage, then I had to use this cron: $db->query("UPDATE `users` SET speed=speed-1 WHERE `speed` > 0"); $db->query("UPDATE `users` SET steroids=steroids-1 WHERE `steroids` > 0"); $db->query("UPDATE `users` SET pcp=pcp-1 WHERE `pcp` > 0"); $pcp = mysql_query("SELECT `userid` FROM `users` WHERE `pcp` = 1"); while($pcps = mysql_fetch_assoc($pcp)) { $db->query("UPDATE `userstats` SET `guard` = guard-1000000 WHERE `userid` = {$pcps['userid']}"); $db->query("UPDATE `users` SET pcp=0 WHERE `userid` ={$pcps['userid']}"); } //Speed $speed = mysql_query("SELECT `userid` FROM `users` WHERE `speed` = 1"); while($speeds = mysql_fetch_assoc($speed)) { $db->query("UPDATE `userstats` SET `agility` = agility-1000000 WHERE `userid` = {$speeds['userid']}"); $db->query("UPDATE `users` SET speed=0 WHERE `userid` ={$speeds['userid']}"); } //Steroids $steroid = mysql_query("SELECT `userid` FROM `users` WHERE `steroids` = 1"); while($steroids = mysql_fetch_assoc($steroid)) { $db->query("UPDATE `userstats` SET `strength` = strength-1000000 WHERE `userid` = {$steroids['userid']}"); $db->query("UPDATE `users` SET steroids=0 WHERE `userid` ={$steroids['userid']}"); }
-
Re: Invite members to your gang [$10] [v2] It just seemed like this mod got bashed already when gurpeet didn't notice that my mod is nothing like the free version then even posted a link to the free version, This is like the very first mod I have tried to sell here and so far got some set backs even though it really is a good mod I spent the time to make an installer you don't even have to got to phpmyadmin to do the sql's I set it up to where you add a link and upload two files run the installer and your done! But I got bad press :-D Well at least I got some good bumbs though :D
-
Re: Invite members to your gang [$10] [v2] Well if it was taken out of context, it is all good it just seems that they way you said it here in this quote is kind of a better way to put! I miss understood you and it seemed like you were basically saying you made one out of the free version so they don't need to buy mine. :|
-
Re: Invite members to your gang [$10] [v2] Well then you have no business posting for it on my topic! If you have a question about my mod or want to inquire about a purchase then do so, but don't put your bs in here trying to bash my mod or whatever you are trying to do here!
-
Re: Invite members to your gang [$10] [v2] the free one is nice but kind of a waste of coding don't you think? it is just as easy to send a pm to the user saying "we want you come and apply" the only thing my mod does is get rid of that application crud, you send them an invite, they click on the link and they are in the gang!!! no more need to send an message saying "you are invited" then waiting for them to reply then having to check applications to go accept them, then have to message them to let them know they are in!
-
I need help with an update script for a little mod I did
plintu replied to plintu's topic in Game Support
Re: I need help with an update script for a little mod I did nope it doesn't multiply by how much strength or agility or whatever that you already have, it only adds to it! -
What this mod does: [*]In gang staff room only the gang president can have access to it. [*]It allows the gang president the option to invite members to the gang. [*]Once the president submits the name of the user he wants to invite, it sends that user mail with a link that says "click here to accept", once the user clicks it, it will automatically add him to the gang. [*]Next it will automatically delete all invites to that user once they accept one and if they try to go back and use an old invite it will give them this message"You either do not have any invites or the invite you are trying to use is already outdated! Please request a new invite!" It is really simple to install, there is two php files and add one link to the staffroom! one of the php files will install the database files for you once you run that once you can delete it then put in the link and you are done! I have seen one person had something like this (gang invite)in a package deal they were selling but this is not that one at all!!! Completely written by me! If you would like this mod my paypal is [email protected] then please pm me so that I know and send me an email address where I can send it to you!!!! I check this site more than I check my paypal! You shouldn't need assistance with this but incase you do I will work with you 100%! the table colors and all may differ depending on your css!
-
Re: How much bandwidth does your game use? well I started about 3 weeks ago or so and here is my game stats: There are currently 201 Felony Heights players, 156 males and 45 females. Amount of cash in circulation: $629,932,909. The average player has: $3,133,994. Amount of cash in banks: $3,318,442,230. Amount of players with bank accounts: 79 The average player has in their bank accnt: $42,005,597. Amount of points in circulation: 91,609. The average player has: 455 points. and the traffic is: Web Pro Services Total Used Disk Space [unlimited] 2.52 GB Traffic [unlimited] 150.81 GB
-
Re: Effects mod with cron works with v2 thank you thank you and I got to give all respects to Haunted Dawg for helping me with the cron I was struggling with that one and he hooked it up :D
-
Re: Effects mod with cron works with v2 Part two: in mainmenu.php just beneath $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; add: $speed=$ir['new_mail']; $pcp=$ir['pcp']; $steroids=$ir['steroids']; then in my game (in main menu.php) I put this just after Logout "; if($ir['speed']){print"[b]Speed: $speed Mins[/b] ";} if($ir['pcp']){print"[b]PCP: $pcp Mins[/b] ";} if($ir['steroids']){print"[b]Steroids: $steroids Mins[/b] ";} print" and here add this to your cron minute!!! $db->query("UPDATE `users` SET speed=speed-1 WHERE `speed` > 0"); $db->query("UPDATE `users` SET steroids=steroids-1 WHERE `steroids` > 0"); $db->query("UPDATE `users` SET pcp=pcp-1 WHERE `pcp` > 0"); $pcp = mysql_query("SELECT `userid` FROM `users` WHERE `pcp` = 1"); while($pcps = mysql_fetch_assoc($pcp)) { $db->query("UPDATE `userstats` SET `guard` = guard/2 WHERE `userid` = {$pcps['userid']}"); $db->query("UPDATE `users` SET pcp=0 WHERE `userid` ={$pcps['userid']}"); } //Speed $speed = mysql_query("SELECT `userid` FROM `users` WHERE `speed` = 1"); while($speeds = mysql_fetch_assoc($speed)) { $db->query("UPDATE `userstats` SET `agility` = agility/2 WHERE `userid` = {$speeds['userid']}"); $db->query("UPDATE `users` SET speed=0 WHERE `userid` ={$speeds['userid']}"); } //Steroids $steroid = mysql_query("SELECT `userid` FROM `users` WHERE `steroids` = 1"); while($steroids = mysql_fetch_assoc($steroid)) { $db->query("UPDATE `userstats` SET `strength` = strength/2 WHERE `userid` = {$steroids['userid']}"); $db->query("UPDATE `users` SET steroids=0 WHERE `userid` ={$steroids['userid']}"); } well of course this is a free mod but if you like and feel generous with a dollar or two :D my paypal is: [email protected] :D
-
This mod adds effects (speed, pcp, steroids) for example when the user buys some speed and goes to inventory then uses it the get a 100% boost of agility for 15 minutes, pcp is 100% guard and steroids is 100% strength! here is part one: in itemuse.php just below $_GET['ID'] = abs((int) $_GET['ID']); put: if($r['itmname'] == 'speed') { if($ir['speed'] > 0){ die("You are already on speed, you trying to have a heart attack?");} $db->query("UPDATE users SET `speed`='16' WHERE userid={$ir['userid']}"); } if($r['itmname'] == 'steroids') { if($ir['steroids'] > 0){ die("You are already on steroids, you trying to have a heart attack?");} $db->query("UPDATE users SET `steroids`='16' WHERE userid={$ir['userid']}"); } if($ir['pcp'] > 0){ die("You are already on pcp, you trying to have a heart attack?");} if($r['itmname'] == 'pcp') { $db->query("UPDATE users SET `pcp`='16' WHERE userid={$ir['userid']}"); here is the sql to run: ALTER TABLE `users` ADD `speed` INT( 20 ) DEFAULT '0' NOT NULL ; ALTER TABLE `users` ADD `pcp` INT( 20 ) DEFAULT '0' NOT NULL ; ALTER TABLE `users` ADD `steroids` INT( 20 ) DEFAULT '0' NOT NULL ; then go create the three items just like you would any other item but make sure and name them just like this speed, pcp, steroids, no capitals!!! under the speeds effect1 give it 100% increase agility, under pcp's give it 100% guard, and under steroids give it 100% strength. I charge $5000 for each but of course you can charge whatever you want depending on your games economics.
-
I need help with an update script for a little mod I did
plintu replied to plintu's topic in Game Support
Re: I need help with an update script for a little mod I did well in my game the gym determines how much they gain like this: $gain+=(($ir['stamina']/100)+($_POST['amnt']/2)); so only stamina and the amount they train matters as to how much the will get so nothing will change with the training. also in the standard mccodes what they gain is determined by: $gain+=rand(1,3)/rand(800,1000)*rand(800,1000)*(($ir['will']+20)/150); so will is the determining factor so it would be the same thing, this will not affect training what-so-ever. but I did have to change the cron that Haunted dawg sent, that one was off just a tad but it is working now. -
I need help with an update script for a little mod I did
plintu replied to plintu's topic in Game Support
Re: I need help with an update script for a little mod I did yes I made it to where when they are on the drugs it doubles their stat (depending on which drugs they take) and when the 15 mins is up their strength goes back down to normal!! ;) Here I am gonna pull all the files you need and send them to ya ;)