Jump to content
MakeWebGames

Danny696

Members
  • Posts

    2,632
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Danny696

  1. insead of doing: echo "$var"; just do echo $var;
  2. Danny696

    Layout

    Usually templates are paid.
  3. For what you used it with it was a bad way ;)
  4. exit($h->endpage());
  5. Whats line 24?
  6. I only got it from that, i've never had to make it bigger
  7. if( $r == 'active') { echo'<span class="txt_2">Hitlist</span>'; } else { echo'<span class="txt_1">Hitlist</span>'; } ?>
  8. More than one ip: [mysql]INSERT INTO settings VALUES('','game_ip_ban','XX.XXX.XXX.XXX|xxx.xxx.xxx.xxx');[/mysql] Header edit: $ip = getenv('REMOTE_ADDR'); $blocked = explode('|', $set['game_ip_ban']); for($i = 0; $i < count($blocked); $i++) { if($ip = $blocked[$i]) { echo'<table width="100%" class="table"><tr><th>You have been IP Banned</th></tr></table>'; exit($this->endpage()); } Rest is the same
  9. I read that your game is about a year old. Why on earth is your stats and money that damn high!
  10. Run this: ALTER TABLE `users` CHANGE `exp` `exp` DECIMAL( 65, 4 ) NOT NULL DEFAULT '0.0000'
  11. Looking good, Two things tho $fia = (int) mt_rand(1,99); rand() and mt_rand() will always give an int. And rand(), i belive i have read, is better for dealing with small numbers, thereofre faster. :)
  12. Add a coloum in the users table when the find the item update it to say 1 then in the day cron reset it to 0
  13. Heres what to do: Find: $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2); replace with: $ir['exp_needed']=(bigint) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2);   I think :/
  14. find this:
  15. I belive zero (crimgame) is spending about 5k on advertising. Just to give you an idea :)
  16. Template inside is very nice :)
  17. Second one is better, but you cant really see the equniox on it
  18. Check the crons.
  19. Always one isn't there xD
  20. I just feel as thought if they got a proper copy, use it. If not, they can always get it again ;p
  21. Ok, nice post, but im far too lazy to read all of that, anychance of a summary?
  22. If i had a pound for every word on this forum. I'd be rich :D
  23. You two must be like me. (Yes! thats not all bad. xD) Wont give out any file/table of the original mcc, but would if it was anyother mod :P
  24. Oh, pick me, i like wp toooo :)
×
×
  • Create New...