Jump to content
MakeWebGames

Godhand

Members
  • Posts

    448
  • Joined

  • Last visited

    Never

Everything posted by Godhand

  1. Re: Ideas For Coder's wow is one thing. That sounds like a massive mod that would be worth a ton of money.
  2. 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.
  3. Re: error carnt divorce people Any error output for this one?
  4. 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.
  5. 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.
  6. 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.
  7. Re: SPECIAL ATTACK Rectangle lmao XD
  8. 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.
  9. Re: [V1][V2] 50/50 Chance Mod. Free Version haha
  10. 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).
  11. 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.
  12. 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
  13. 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']}");
  14. 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.
  15. Re: error carnt divorce people   Help yourself by actually buying a legit version of it.
  16. 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.
  17. Re: Guess the next poster Na next Redeye?
  18. Re: error carnt divorce people I knew you were right I was just beating you to the punchline ;).
  19. 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
  20. Re: SPECIAL ATTACK Triangle (p. theory heh)
  21. Re: Please Can Someone Give Me A Kill Mod - Where Users Can Kill Each Other   Not to sound rude but it would actually speed it up for the top players. Since they wouldn't have to worry about buying hospital items unless you created a major random factor into attacking.
  22. Re: Strange attacking problem Hm... Why not try attacking to find out the error output? That will help A LOT more.
  23. Re: error carnt divorce people Well well well... what happened to your last request?
  24. Re: [Free] [v1] Scuba Diving   All I have to say is priceless.
  25. Re: Please Can Someone Give Me A Kill Mod - Where Users Can Kill Each Other It would make wars a lot longer in a game. Also would destroy activity during wars. Forcing the loosing side to not play. Although I will say if you made a donation body guard mod that might make good money from that.
×
×
  • Create New...