-
Posts
2,667 -
Joined
-
Last visited
-
Days Won
75
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
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....
-
Double post
-
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....
-
Your about too be banned so go kick your ball elsewhere Mr Bot ;)
-
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...
-
Nice mod weldone Razor :)
-
go on then youve twisted my arm :)
-
removed by request
-
Module Player Barter free for all full owners
Uridium replied to a_bertrand's topic in New Worlds Engine
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 -
Module Player Barter free for all full owners
Uridium replied to a_bertrand's topic in New Worlds Engine
cheers matey -
Module Player Barter free for all full owners
Uridium replied to a_bertrand's topic in New Worlds Engine
Nice Mod Bert you missed one thing out when a user Buys something the price is not displayed.. -
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...
-
hehehe BASIC was a great language lol 10 PRINT "HELLO" 20 GOTO10 what memories lol
-
Im having an issue with MWG when i send a post damn explorer keeps saying do you want to leave this page
-
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...
-
I agree bring it back :)
-
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
-
id need to grab a copy of the v1 to test and try and fix it for ya guys
-
Display amount of users in jail/hospital in mainmenu
Uridium replied to bloodless2010's topic in Modification Support
nice too see you sorted it :) -
Display amount of users in jail/hospital in mainmenu
Uridium replied to bloodless2010's topic in Modification Support
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... -
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.