Jump to content
MakeWebGames

Galahad

Members
  • Posts

    146
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Galahad

  1. Your game is based on MCCodes, i need one for Zap Engine
  2. ^^ What exactly has been secured on it? I don't want to use it if it still has some vulnerable exploits on it.
  3. I get the following errors when run the engine on a wamp server - ( ! ) Notice: Undefined index: HTTP_X_FORWARDED_FOR in C:\wamp\www\index.php on line 5 ( ! ) Notice: Undefined index: ACTION in C:\wamp\www\index.php on line 21 ( ! ) Notice: Undefined index: p in C:\wamp\www\index.php on line 60 ( ! ) Notice: Trying to get property of non-object in C:\wamp\www\libs\misc_util.php on line 188 Fatal error: Call to undefined method stdClass::MoveNext() in C:\wamp\www\libs\misc_util.php on line 202 I do not get these when i put them on a host. Anyone know how to fix them?
  4. Is this more secure than the original lite script?
  5. Is there a attack system working for this yet? I've attempted to make one but I failed at doing it. The engine has potential and all its lacking is a decent attack system.
  6. Have you put curl on the cron?
  7. This mod is a very simple mod that just shows the user what they have achieved. There is currently no rewards on this mod at the time being. milestones.php <?php //Made by 21lockdown //This wont damage or affect the code //Please don't remove it include "header.php"; $level = ($user_class->level >= 5); $level2 = ($user_class->level >= 10); $level3 = ($user_class->level >= 20); $level4 = ($user_class->level >= 50); $level5 = ($user_class->level >= 100); $crimetotal = ($user_class->crimetotal >= 10); $crimetotal2 = ($user_class->crimetotal >= 50); $crimetotal3 = ($user_class->crimetotal >= 500); $crimetotal4 = ($user_class->crimetotal >= 10000); $crimewon = ($user_class->crimesucceeded >= 10); $crimewon2 = ($user_class->crimesucceeded >= 50); $crimewon3 = ($user_class->crimesucceeded >= 500); $crimewon4 = ($user_class->crimesucceeded >= 5000); $crimewon5 = ($user_class->crimesucceeded >= 1000); $rm = ($user_class->rmdays >= 1); $strength = ($user_class->strength >= 1000); $strength2 = ($user_class->strength >= 50000); $strength3 = ($user_class->strength >= 1000000); ?> Here you can view your past milestones you have achieved <table class='topbar'> <tr> <td> <?php if($level){ echo "[img=/icons/accept.png] You have reached level 5"; } else { echo"[img=/icons/lock.png] Reach level 5 to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($level2){ echo "[img=/icons/accept.png] You have reached level 10"; } else { echo"[img=/icons/lock.png] Reach level 10 to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($level3){ echo "[img=/icons/accept.png] You have reached level 20"; } else { echo"[img=/icons/lock.png] Reach level 20 to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($level4){ echo "[img=/icons/accept.png] You have reached level 50"; } else { echo"[img=/icons/lock.png] Reach level 50 to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($level5){ echo "[img=/icons/accept.png] You have reached level 100"; } else { echo"[img=/icons/lock.png] Reach level 100 to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($crimetotal){ echo "[img=/icons/accept.png] You have done 10 crimes"; } else { echo"[img=/icons/lock.png] Do 10 crimes to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($crimetotal2){ echo "[img=/icons/accept.png] You have done 50 crimes"; } else { echo"[img=/icons/lock.png] Do 50 crimes to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($crimetotal3){ echo "[img=/icons/accept.png] You have done 500 crimes"; } else { echo"[img=/icons/lock.png] Do 500 crimes to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($crimetotal4){ echo "[img=/icons/accept.png] You have done 10000 crimes"; } else { echo"[img=/icons/lock.png] Do 10000 crimes to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($crimewon){ echo "[img=/icons/accept.png] You have completed 10 crimes successfully!"; } else { echo"[img=/icons/lock.png] Successfully complete 10 crimes to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($crimewon2){ echo "[img=/icons/accept.png] You have completed 50 crimes successfully!"; } else { echo"[img=/icons/lock.png] Successfully complete 50 crimes to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($crimewon3){ echo "[img=/icons/accept.png] You have completed 500 crimes successfully!"; } else { echo"[img=/icons/lock.png] Successfully complete 500 crimes to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($crimewon4){ echo "[img=/icons/accept.png] You have completed 5000 crimes successfully!"; } else { echo"[img=/icons/lock.png] Successfully complete 5000 crimes to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($crimewon5){ echo "[img=/icons/accept.png] You have completed 10000 crimes successfully!"; } else { echo"[img=/icons/lock.png] Successfully complete 10000 crimes to unlock this!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($rm){ echo "[img=/icons/accept.png] You are an respected mobster!"; } else { echo"[img=/icons/lock.png] Become an respected mobster!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($strength){ echo "[img=/icons/accept.png] You have 1000 strength!"; } else { echo"[img=/icons/lock.png] Get 1000 strength!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($strength2){ echo "[img=/icons/accept.png] You have 50000 strength!"; } else { echo"[img=/icons/lock.png] Get 50000 strength!"; } ?> </td> </tr> </table> <table class='topbar'> <tr> <td> <?php if($strength3){ echo "[img=/icons/accept.png] You have 1000000 strength!"; } else { echo"[img=/icons/lock.png] Get 1000000 strength!"; } ?> </td> </tr> </table> <?php include "footer.php"; ?> You can download icons here and upload them to /icons/ Screenshot
  8. Hello, I've recently made a new game called West Side Gangsters. The game is still in the BETA stages as I'm only testing the game at the moment. West Side Gangsters The game is using a free host and domain at the time being as it is still in the beta stage, one passed i will try to get a domain and host. Please comment :) and if you are going to criticize please make it constructive. Thank you
  9. Worked perfectly but i had to edit a bit of it. On view user put this if you dont want images Ratings:[url='rating.php?ID={$r[']<font color=green>+</font>[/url] {$r['ratings']} [url='rating.php?ID={$r[']<font color=red>-</font>[/url][b]<font color=red>{$r['badratings']}</font>[/b] i would recommend to put it under online
  10. Re: Military Nation UPDATED new layout :mrgreen: Hope you like it xD
  11. Re: Daily Donators Reward [Mccode v2]   Add this in day cron $db->query("UPDATE users SET rewarddone=0");
  12. Re: Daily Donators Reward [Mccode v2] Magictallguy you used echo instead of die Im pretty sure this has to be it <?php include(DIRNAME(__FILE__) . '/globals.php'); //Don't really know why I bothered securing this.. //I'm bored, need something to do -.- //Look at what I'm reduced to! xD //And for the love of God Almighty Himself, LEARN TO SPELL! //"Secured" by Magictallguy - very little to secure, mostly bug fixes.. if(!$ir['donatordays']) { echo "Sorry, This Feature is for Donators only!"; $h->endpage(); exit; } echo "<span style='text-align:center;'>Daily Donators Reward</span> <span style='font-style:italic;'>You can request a reward once a day</span> "; if(isset($_GET['reward'])) { if($ir['rewarddone'] > 1) { die ("You have already got your reward today! Come back tomorrow"); } $num = rand(1,3); $sql = sprintf("UPDATE users SET rewarddone = rewarddone + 1 WHERE (userid = %u)", $userid); $db->query($sql); //$ir['money'] = 100; //Is there really any need for this line? switch($num) { case 1: $money = rand(500,1000); echo sprintf("<span style='color:blue;'>You gained \$%s</span>", number_format($money)); $inc_money = sprintf("UPDATE users SET money = money + %u WHERE (userid = %u)", $money, $userid); $db->query($inc_money); break; case 2: $crystal = rand(5,10); echo sprintf("<span style='color:blue;'>You gained %u crystals</span>", $crystal); $inc_crystals = sprintf("UPDATE users SET crystals = crystals + %u WHERE (userid = %u)", $crystal, $userid); $db->query($inc_crystals); break; case 3: $brave = rand(1,3); echo "<span style='color:blue;'>You gained %u brave</span>"; $inc_brave = sprintf("UPDATE user SET brave = brave + %u WHERE (userid = %u)", $brave, $userid); $db->query($inc_brave); break; } } echo "<span style='text-align:center;'>[url='reward.php?reward=?']Reward[/url]</span>"; $h->endpage(); ?>
  13. Re: Military Nation   Poisondart00 i don't think hes on CE
  14. Re: Military Nation   Well someone has help me secure a few things. Just like normal exploits etc.
  15. Re: MCcode V2 user DB hack   No not really. I stopped coding from november - febuary and april-june because i had to revise for exams etc
  16. Re: MCcode V2 user DB hack   EDIT - Why has this double posted?
  17. Re: Military Nation Website back up. Moved server...added better security :D
  18. Re: MCcode V2 user DB hack EDIT: Fixed it. Some dumbass added a SQL in the chat to delete the users table. Took chat out. NOTE: If your going to use a chat that involves a .txt file be very careful!
  19. Re: MCcode V2 user DB hack   Yes i have mods on. Youtube mod(free one) My own assignment page(done it my self) and others but i cant think. I think been learning since september 2008
  20. Re: MCcode V2 user DB hack   Then learn to code first? :S That's what i'm trying to do lol i do know a bit of PHP
  21. Re: MCcode V2 user DB hack   I do not understand you lol. Still a noob coder :P
  22. On my game Military-nation.co.cc (hopefully military-nation.com) has been hacked with the same hack of deleting my users database. Does anyone know how i can fix it and how they do it? like it is Forum, Cmarket etc
  23. Re: Military Nation Website will be down for a bit while i move to a paid server and try to get things secure
  24. Re: logged in for # Total time logged in: 3 days, 6 hours and 4 minutes. lol i don't think that is the actual time more realistically 1 day 4 hours. Maybe because i leave my computer on and i stay logged it
  25. Re: Military Nation QUERY ERROR: Table 'military_game.users' doesn't exist Query was SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=1 ..... Okay i am really getting pissed off now! Just F*cking stop deleting my users database whoever it is. You have no life!
×
×
  • Create New...