-
Posts
2,657 -
Joined
-
Last visited
-
Days Won
74
Content Type
Profiles
Forums
Events
Everything posted by Uridium
-
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.
-
Brilliance at its best weldone berty :)
-
Im using the Exsisting NWE forums with a few modifications to grab data from clans...
-
ongoing work for creating forums. this works when a clan is created. full use of clan forums are available which cannot be seen by others outside of your clan.. its about 80% complete...
-
Would be worth having a better look into it and trying to achieve whats needed
-
I was wondering if somelthing like for example could ever be achieved: once you register on a site your details for password are not logged however you download a PW file, which you keep on your pc and once asked to login you upload the PW file to the server which can read it and log you in to your account...
-
I once got a raise from my last company someone found the hydraulic lever on me chair and id never had so much of a raise in me life ;)
-
in my eyes a job is a job regardless of the hours :)
-
http://gadgetwise.blogs.nytimes.com/2012/11/12/a-lie-thats-good-for-password-security/?ref=technology?p_pro=0&p_vep=7&p_ves=0&p_lqa=0&p_lqe=0&p_lsu=24&p_lst=0&p_lex=333&p_lng=en&p_lid=en-gb&p_elm=80&p_var=%252Ffa%252Fen-gb%252Ftoaster-virus-update_news_nytimes-best-passwords.html
-
you may move on Ian but Life will always be what you make it :)
-
Excellent news Ian ya jammy sod lol are there any vacancies for us lot lol.. have a great time and work hard, Youve already achieved what you thought was the impossible, whos achieved a great deal here so its only fair you pass your knowledge on to others... bye for now friend and stay in touch from time to time... Roy...