Jump to content
MakeWebGames

Godhand

Members
  • Posts

    448
  • Joined

  • Last visited

    Never

Everything posted by Godhand

  1. Re: setting xp for crimes   hm... I think I figured it out. I need a picture of your staff_crimes.php and your docrime.php to double check. I believe its just theres not enough fields for it to fit. And it got screwed up maybe.
  2. Re: [mccode] Supporter Packs   Another way to do this if($ir['supporterdays'] < 1) { die("This is for supporters only!! [url='index.php']> Home[/url]"); $h->endpage(); exit; at least that should be. I'm experimenting with the die command and links XD.
  3. Re: Staff Password without sql's. (ANY VERSION) That looks like it should
  4. Re: Tutorial: v1 - v2 Conversion I think its good to keep bumping this so it is easier to find for new coders. :wink:. But a db query is supposed to be more secure but thats only what I've heard.
  5. Re: itemmarket.php help find in item_remove replace with itemm_remove You can't have 2 functions as the same name.
  6. Re: setting xp for crimes It might run into 1 or 2 error messages but I don't *think* that should be an issue. Its sorta just is figuring out your formula in the game. But be sure to make a back up as I don't want to be held responsible if you screw your site up.
  7. Re: Password Protect Staff/Admin Panel My thoughts exactly haha
  8. Re: setting xp for crimes Pft well I left to go hang out with a few friends. And well if you know what you are doing it is easy most of the time coding wise. It just might be cumbersome.
  9. Re: Free (v2) money market banking   was that really necessary? I told you at the first post it was a rewrite of the bank. Also READ the code instead of just assume that ALL that was added to it was just it was just mm. It sets up random interest also. I'd like to see you try that without help. Oh wait you can't anymore if you read the cron code. Heh. I also didn't use stocks to set that up. All I did was base it off the bank and coded the extras in. Such as 5 withdrawals per day.
  10. Re: setting xp for crimes Well first run this sql in your db ALTER TABLE `crimes` ADD `xp` BIGINT( 24 ) NOT NULL DEFAULT '0'; then you need to update your staff_crimes.php and make something to edit xp there. Next you need to edit docrime.php and where the code bases off the money make it check the sql according to the sql you just entered. You should run a back up before you attempt this.
  11. Re: [V2]Lock Down[V2] I will say a setting would be much better though. Although truly it would make your game more secure that way just mentioned.
  12. Re: Help with hosting! I'm assuming donators and adds. Am I wrong?
  13. Re: setting xp for crimes   Yes there is, edit into staff_crimes then code it into the database then code it out of the docrime.php then insert xp gain into the crime from your crime table. Feel free to try this I haven't as such be warned.
  14. Re: [MC Codes]{V1}{V2} Dice game:) pft... I could tell that for just testing it.
  15. Re: [$25] Treasure Map! That seems like an interesting feature to add. On the flip side it would have to reflect the games value of crystals....
  16. Re: [$25] Treasure Map! I'll be buying this very soon I'm going to be I'll be transferring money into my paypal account soon enough. It should clear within 5 days.
  17. Re: delete gang after respect hit 0 I have a similar query working. But it sets up the point at least. Theres an easy way to code it all in 1 swoop. Heh.
  18. Re: New exploit found! Believe it or not I was doing some digging from it. It was completely automated. How I could tell- I doubt someone would stay and keep running the cron without realizing it has been failing.
  19. Re: Crystal bank intrest While your at it change bank.php into cbank.php. Otherwise your users may have a hard time depositing their crystals. heh
  20. Re: Help With level cap vr1   level 356 please say your game is 5+ years old If his game was +5 years old he would be able to code the fix. :wink:. I know I coded past it when my game was less than a month old. I did it for planning in the feature.
  21. Re: Cheburn (adam) Torncity Personally I'm fascinated with how Torn City works. I still am active in Torn City although I was inactive for a long time.
  22. Re: delete gang after respect hit 0 I'll give the basic set up though if($ir['gang']>0) { ///the rest of your code here } If clauses are very useful. Another way to write this coding wise is if($ir['gang']==!0) { ///the rest of your code here } I think it requires the 'gang' for it.... I'm not 100% sure. But thats the basic format. Both [red]SHOULD[/red] work
  23. Re: Odd attack problem let me see your attack.php. I'll look it over.
  24. Re: Odd attack problem You still have it coded wrong.... Make sure you run a test to tell if it is the first step or not. As for why I am saying that that has to be the problem.... It doesn't happen in my game.....
  25. Re: Odd attack problem Your problem is with you not setting $session to what it is supposed to be after the fight. If you are interested in being a game owner I suggest you learn how to fix it with what I have told you. Also if you have stalemates set you will have to be sure to set it to the right value.
×
×
  • Create New...