
Godhand
Members-
Posts
448 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Godhand
-
Re: Ideas For Coder's wow is one thing. That sounds like a massive mod that would be worth a ton of money.
-
Estate.php $db->query("UPDATE users SET money=money-{$np['hPRICE']},will=0,maxwill={$np['hWILL']} WHERE userid=$userid"); print "Congrats, you bought the {$np['hNAME']} for \${$np['hPRICE']}!"; Into $db->query("UPDATE users SET money=money-{$np['hPRICE']},will=0,maxwill={$np['hWILL']},Taxes=(({$np['hPRICE']}*.10) ) WHERE userid=$userid"); print "Congrats, you bought the {$np['hNAME']} for \${$np['hPRICE']}!"; } Also note the SQL for taxes is ALTER TABLE `users` ADD `Taxes` BIGINT( 42 ) NOT NULL DEFAULT '0' FIRST ; And add in cron day $db->query("UPDATE users SET money=money-Taxes WHERE Taxes>0"); Notice: you will have to update each user to make sure they have taxes. Also if you want to change the tax amount just change .1 into whatever you want in estate.php.
-
Re: error carnt divorce people Any error output for this one?
-
Re: Not totally new but.... Hmm... I don't know. You don't have very many posts. But not too much... save a few illegal noobs and arguments.
-
Re: [Free] [v1] Monkey Slaves Just make the losses be in a %. That should prevent it from going into the negs unless you have something that has a flat rate negative in your game that doesn't protect the users from abusing a glitch.
-
Re: Strange attacking problem Armor and look for maxdaamge and mindamage in the formula. (attack.php) SHOULD be either 4 or 8 been a while since I customized my attack.php.
-
Re: SPECIAL ATTACK Rectangle lmao XD
-
Re: No Attack I'd say that the only time I don't post a code that isn't working would be when trouble shooting or I can't figure a code out when I'm trying to do something.
-
Re: [V1][V2] 50/50 Chance Mod. Free Version haha
-
Re: error carnt divorce people Theres some football. Also heres a *working* (lmao) divorce version of the code. function divorce() { global $ir, $mr, $c, $userid, $h; $db->query("UPDATE users SET married=screwyou WHERE userid IN($userid, {$ir['married']})", $c); event_add($ir['pwnd'],"{$ir['A_stupid_illegit_noob']} cant code.", $c); print "Buy the damn legit mod already! > [url='owned.txt']haha[/url]"; } (any real coder will know what I'm laughing at after reading the code over).
-
Re: [$20] 50 / 50 Chance Game That doesn't give you the right to be such a third derivative to everyone. Heres a tip third derivative is the reason why people get motion sickness. So start acting more civilized by just biding your time and let them think that they are better what the difference? And if you get on my case for just this right here well it proves another point- you can't accept "constructive" criticism.
-
Re: Please Can Someone Give Me A Kill Mod - Where Users Can Kill Each Other Well thats similar to what I was thinking (a donator function to). But the problem you'd have to let them get into their inventory to be counter productive. Unless you made a separate inventory JUST for that. But that would do it
-
Re: Attack Lost Problem Try changing $db->query("UPDATE users SET hp=1,hospital=$hosptime,hospreason='Lost to <a href=\'viewuser.php?u={$userid}\'>{$ir['username']}</a>' WHERE userid={$r['userid']}"); into (Note it might not work) $db->query("UPDATE users SET hp=1,hospital=$hosptime,hospreason='Lost to [url='viewuser.php?u={$userid}']{$ir['username']}[/url]' WHERE userid={$r['userid']}");
-
Re: Strange attacking problem You don't understand what I meant. I was meaning you could show the parts in question (near it also) so it could make it a little easier.
-
Re: error carnt divorce people Help yourself by actually buying a legit version of it.
-
Re: problem Well check under the sell house portion in the page and make sure that it decreases their house and sets them back to default house.
-
Re: Guess the next poster Na next Redeye?
-
Re: error carnt divorce people I knew you were right I was just beating you to the punchline ;).
-
Re: Please Can Someone Give Me A Kill Mod - Where Users Can Kill Each Other They wouldn't have to spend money on hospital items. Therefore saving them some cash. Unless you make it just require the hp to be at the min. for it to lock them off. If I added I'd make it require a bit more. Gives me an idea for a complicated mod though.... heh
-
Re: SPECIAL ATTACK Triangle (p. theory heh)
-
Re: Strange attacking problem Hm... Why not try attacking to find out the error output? That will help A LOT more.
-
Re: error carnt divorce people Well well well... what happened to your last request?
-
Re: [Free] [v1] Scuba Diving All I have to say is priceless.