Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,667
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by Uridium

  1. oh i see where its broken........ but like your lack of information im not going to tell you ??? Actually i dont know but you can see from my post how others would see yours.. So try and give as much info to the problem as possible....
  2. Double post
  3. something on the lines of....   if($_GET['nextstep'] > 50) { print"<center><h1><font color='red'><span class="highlight">STALEMATE</span>!</h1> <h2>You both get bored and go home!</h2><a href="http://index.php" target="_blank">> Back</a></center>"; $h->endpage();event_add($odata['userid'],"<a href="http://viewuser.php?u=$userid" target="_blank">{$youdata['username']}</a> Tried to Attack you but ended in a stalemate.",$c); $db->query("UPDATE users SET attacking=0 WHERE userid=$userid AND userid=$odata"); exit; }   Will set the attack so when the total is 50 you can go no further....
  4. Your about too be banned so go kick your ball elsewhere Mr Bot ;)
  5. goto phpmyadmin and empty all tables then re-install but bare in mind if GL comes with its own SQL as an install and you have added your own to other tables you will need to add them to the SQL file also so they can be added back with the new installation...
  6. Nice mod weldone Razor :)
  7. go on then youve twisted my arm :)
  8. removed by request
  9. Small update to berts barter i,ve added ability for owner of items to remove their own from listting... will send to bert for testing but all works 100%. No NWP file will be posted on here as this is a paid mod.. Screenies
  10. Nice Mod Bert you missed one thing out when a user Buys something the price is not displayed..
  11. this would require a team to go from game to game and analyse them i can see a game of the month being a game played by a user on here for less than a few days it wouldnt seem fair...
  12. hehehe BASIC was a great language lol 10 PRINT "HELLO" 20 GOTO10 what memories lol
  13. Im having an issue with MWG when i send a post damn explorer keeps saying do you want to leave this page
  14. Just because an error points to global_func doesnt always mean the error lies on that page firstly check your gym too make sure the error isnt on that one...
  15. http://makewebgames.io/showthread.php/35995-Gang-Replacement?p=237066&viewfull=1#post237066
  16. Bloodless PLEASE try using the search feature on this forum before asking for help the solution to your problem could be found elsewhere.......
  17. Clan forums will be available for use once mr bertrand has chance to test my script... WHATS IT DO. its a forum for clans to use each clan can only see their forum, Clan Master has ability to 1 = Delete Posts/Threads 2 = Forum Ban/Unban Members 3 = Kick Members from their clan 4 = Upgrade a member to become a secondary Clan Master aswell as DownGrade...
  18. I agree bring it back :)
  19. Uridium

    PoP Bubbles

    Good old forum banning Bye Bye :)
  20. heres the fix either copy and paste or try work out what ive altered then add for yourself   function edit_user_sub() { global $ir, $c, $h, $userid; $go = 0; $user = abs(@intval($_POST['userid'])); if (!isset($_POST['level'])) { $go = 1; } if (!isset($_POST['money'])) { $go = 1; } if (!isset($_POST['bankmoney'])) { $go = 1; } if (!isset($_POST['crystals'])) { $go = 1; } if (!isset($_POST['strength'])) { $go = 1; } if (!isset($_POST['agility'])) { $go = 1; } if (!isset($_POST['guard'])) { $go = 1; } if (!isset($_POST['labour'])) { $go = 1; } if (!isset($_POST['IQ'])) { $go = 1; } if (!isset($_POST['username'])) { $go = 1; } if (!isset($_POST['login_name'])) { $go = 1; } if ($go) { $_POST['user'] = $_POST['userid']; print "You did not fully fill out the form."; edit_user_form(); } else { $_POST['level'] = (int) $_POST['level']; $_POST['strength'] = abs((int) $_POST['strength']); $_POST['agility'] = abs((int) $_POST['agility']); $_POST['guard'] = abs((int) $_POST['guard']); $_POST['labour'] = abs((int) $_POST['labour']); $_POST['IQ'] = abs((int) $_POST['IQ']); $_POST['money'] = (int) $_POST['money']; $_POST['bankmoney'] = (int) $_POST['bankmoney']; $_POST['cybermoney'] = (int) $_POST['cybermoney']; $_POST['crystals'] = (int) $_POST['crystals']; $_POST['mailban'] = (int) $_POST['mailban']; $_POST['hospital'] = abs((int) $_POST['hospital']); $username = mysql_real_escape_string( strip_tags(stripslashes($_POST['username'])), $c); $loginname = mysql_real_escape_string( strip_tags(stripslashes($_POST['login_name'])), $c); $duties = mysql_real_escape_string( strip_tags(stripslashes($_POST['duties'])), $c); $staffnotes = mysql_real_escape_string( strip_tags(stripslashes($_POST['staffnotes'])), $c); $mb_reason = mysql_real_escape_string( strip_tags(stripslashes($_POST['mb_reason'])), $c); $hospreason = mysql_real_escape_string( strip_tags(stripslashes($_POST['hospreason'])), $c); //check for username usage $u = mysql_query( "SELECT * FROM users WHERE username='{$username}' and userid != {$user}", $c); if (mysql_num_rows($u) != 0) { print "That username is in use, choose another."; print "<br /><a href='new_staff.php?action=edituser'>> Back</a>"; $h->endpage(); exit; } $oq = mysql_query("SELECT * FROM users WHERE userid={$userid}", $c); if (mysql_num_rows($oq) == 0) { print 'That user doesn\'t exist.'; print "<br /><a href='new_staff.php?action=edituser'>> Back</a>"; $h->endpage(); exit; } $rm = mysql_fetch_array($oq); $energy = 10 + $_POST['level'] * 2; $nerve = 3 + $_POST['level'] * 2; $hp = 50 + $_POST['level'] * 50; mysql_query( "UPDATE users SET username='{$username}', level={$_POST['level']}, money={$_POST['money']}, crystals={$_POST['crystals']}, energy=$energy, brave=$nerve, maxbrave=$nerve, maxenergy=$energy, hp=$hp, maxhp=$hp, hospital={$_POST['hospital']}, duties='{$duties}', staffnotes='{$staffnotes}', mailban={$_POST['mailban']}, mb_reason='{$mb_reason}', hospreason='{$hospreason}', login_name='{$loginname}' WHERE userid={$user}", $c); mysql_query( "UPDATE userstats SET strength={$_POST['strength']}, agility={$_POST['agility']}, guard={$_POST['guard']}, labour={$_POST['labour']}, IQ={$_POST['IQ']} WHERE userid={$userid}", $c); print "User edited...."; } }   too fix this for yourself change line 1124 from $userid to $user Line 1153 change $userid to $user
  21. id need to grab a copy of the v1 to test and try and fix it for ya guys
  22. nice too see you sorted it :)
  23. Look at how Events and mail uses cnt do the same method for jail and hospital havent used v1 for a long time and im rather rusty on it...
  24. Clan Forums are now working 100% and iv'e added some extra parts 1 when you create your clan your forums are instantly created their after 2 Clan Masters have total control over their clans and can ban a user from posting, delete threads, posts 3 When you leave your clan all posts and threads will be deleted for that clan.
×
×
  • Create New...