Nicholas
Members-
Posts
467 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Nicholas
-
AS Promised--Crack The Safe Updated Secured.
Nicholas replied to Joshua's topic in Free Modifications
near bottom of the top script you need to change something :) print "<form action='cracksafe.php?action=safe_2' method='post'> For 100k you have the chance to crack the Ultra Safe. change that into print "<form action='cracksafe.php?action=safe_3' method='post'> For 100k you have the chance to crack the Ultra Safe. you need to change safe_2 into safe_3 :) -
damn... tho there was a mod like it somewhere lol. and the reason why i want this mod is because i dont want to get scammed by my players that just claim the rewards for voting but dont actural vote... most of them just open the link up and close it without acturally voting lol.
-
hi does anyone have a Voting Incentive mod for sale at all? i have tried searching the forum and some said they do have 1 for sale for someone that was looking for one? but that post was quite old. if you got a Voting Incentive mod for sale please post up here how much you sell it for? Thanks, Nicholas.
-
interesting post man! also do you think that advertising a game on a shop window would get players?
-
lol thx, it is a bit of a oldish post, but when someone i helped to make a game said something about this addon and i realized i didnt put much information on it lol. as when i done this addon i was a complete noob lol (only just made my game lol) so i edited the post with the database stuff and what the edit lol.
-
AS Promised--Crack The Safe Updated Secured.
Nicholas replied to Joshua's topic in Free Modifications
interesting remake... i might use it on my game some day lol. -
updated post a little bit.
-
how do you make it so players cant level up quickly?
Nicholas replied to Nicholas's topic in Game Support
even knowing its on 0 on all, they still some reason get a little amount of EXP. but at moment im trying to figure out how to lower to experience given in attacking. -
how do you make it so players cant level up quickly?
Nicholas replied to Nicholas's topic in Game Support
its not the energy and brave im fussed about its the leveing quickly when you attack players. since my crimes dont really give you EXP lol. -
how do you make it so players cant level up quickly?
Nicholas replied to Nicholas's topic in Game Support
2 months old nearly, and max level is 161 at moment. also the crimes dont give much experience, in the box on staff panel for crimes the Crime EXP is 0 on all crimes. and attacking if that level 161 lets them kill her, they will become around level 10-25. -
hi im wondering does anyone know how to make it so my players cant level up quickly? Making it harder to level up? doesnt help much lol. it only tells you where to change it, and not what to change it into... function check_level() { global $db; global $ir,$c,$userid; $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2); if($ir['exp'] >= $ir['exp_needed']) { $expu=$ir['exp']-$ir['exp_needed']; $ir['level']+=1; $ir['exp']=$expu; $ir['energy']+=2; $ir['brave']+=2; $ir['maxenergy']+=2; $ir['maxbrave']+=2; $ir['hp']+=50; $ir['maxhp']+=50; $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2); $db->query("UPDATE users SET level=level+1,exp=$expu,energy=energy+2,brave=brave+2,maxenergy=maxenergy+2,maxbrave=maxbrave+2, hp=hp+50,maxhp=maxhp+50 where userid=$userid"); } } they say you have to change that function in global_func.php but what too? anyone know what to change it to? to make it hard to level up? when you leave someone in battle?
-
you might have to put your streets.php file up here so we can have a look at it? also... do you have this is your database? alter table users add turns int(11) not null default 100; and this in day cron file $db->query("UPDATE users SET turns=100"); sorry if i wrote this wrong. i done it from top my head.
-
may i just add? wouldnt the best way to stop people from becoming admins automaticly is to change the user_level in the database to something else that no one ever guess and then go on every single page of the game and find the if($ir['user_level'] == 1) if($ir['user_level'] == 2) if($ir['user_level'] == 3) if($ir['user_level'] == 4) so on... then change the user_level part into what you changed it into on the database? or can they still make themselfs admin?
-
it might be because it file is called streets.php. <--- has a . (dot) at end gamename.com/streets.php. its meant to be gamename.com/streets.php go to your file streets.php. in file manager and rename it and remove the . (dot) at end of it? and if your file doesnt have the . (dot) at end. maybe you done this for the link Streets when its meant to be Streets ive acturally done it few times lol.
-
you could always try adding a subdomain? called... oh idk... modtest which would create a folder in public_html called modtest do i backup of all your files. move that zip into the modtest folder and extract them. then upload the mod you wanna work on, on that subdomain modtest folder... and the url will be like this http://modtest.gamenamehere.com/login.php/
-
hi, im wondering... does anyone know anyone that makes good 1 of a kind login pages and register pages? im not looking for a expensive one, since well i dont have alot players on my game yet, so i dont get alot money in to upgrade my game much :( so if you do know anyone or you can create them. please contact me with a example and price or the persons name so i can contact them? wouldnt mind a flash login/register, with a button to turn off the flash too if you know what i mean or how to do that lol. thanks, Nicholas.
-
try this mate. <?php include "sglobals.php"; //This contains user stuffs switch($_GET['action']) { case 'newuser': new_user_form(); break; case 'newusersub': new_user_submit(); break; case 'edituser': edit_user_begin(); break; case 'edituserform': edit_user_form(); break; case 'editusersub': edit_user_sub(); break; case 'invbeg': inv_user_begin(); break; case 'invuser': inv_user_view(); break; case 'deleinv': inv_delete(); break; case 'creditform': credit_user_form(); break; case 'creditsub': credit_user_submit(); break; case 'masscredit': mcredit_user_form(); break; case 'masscreditsub': mcredit_user_submit(); break; case 'reportsview': reports_view(); break; case 'repclear': report_clear(); break; case 'deluser': deluser(); break; case 'forcelogout': forcelogout(); break; case 'reportsview': reports_view(); break; case 'repstat': repstat(); break; default: print "Error: This script requires an action."; break; } function htmlspcl($in) { return str_replace("'", "'", htmlspecialchars($in)); } function new_user_form() { global $db,$ir, $c; if($ir['user_level'] != 2) { die("403"); } print "Adding a new user. <form action='staff_users.php?action=newusersub' method='post'> Username: <input type='text' name='username' /> Login Name: <input type='text' name='login_name' /> Email: <input type='text' name='email' /> Password: <input type='text' name='userpass' /> Type: <input type='radio' name='user_level' value='0' />NPC <input type='radio' name='user_level' value='1' checked='checked' />Regular Member Level: <input type='text' name='level' value='1' /> Money: <input type='text' name='money' value='100' /> Crystals: <input type='text' name='crystals' value='0' /> Donator Days: <input type='text' name='donatordays' value='0' /> Gender: <select name='gender' type='dropdown'><option>Male</option><option>Female</option></select> [b]Stats[/b] Strength: <input type='text' name='strength' value='10' /> Agility: <input type='text' name='agility' value='10' /> Guard: <input type='text' name='guard' value='10' /> Labour: <input type='text' name='labour' value='10' /> IQ: <input type='text' name='labour' value='10' /> <input type='submit' value='Create User' /></form>"; } function new_user_submit() { global $db,$ir,$c,$userid; if($ir['user_level'] != 2) { die("403"); } if(!isset($_POST['username']) || !isset($_POST['login_name']) || !isset($_POST['userpass'])) { print "You missed one or more of the required fields. Please go back and try again. [url='admin.php?action=newuser']> Back[/url]"; $h->endpage(); exit; } $level=abs((int) $_POST['level']); $money=abs((int) $_POST['money']); $crystals=abs((int) $_POST['crystals']); $donator=abs((int) $_POST['donatordays']); $ulevel=abs((int) $_POST['user_level']); $strength=abs((int) $_POST['strength']); $agility=abs((int) $_POST['agility']); $guard=abs((int) $_POST['guard']); $labour=abs((int) $_POST['labour']); $iq=abs((int) $_POST['iq']); $energy=10+$level*2; $brave=3+$level*2; $hp=50+$level*50; $db->query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney) VALUES( '{$_POST['username']}', '{$_POST['login_name']}', md5('{$_POST['userpass']}'), $level, $money, $crystals, $donator, $ulevel, $energy, $energy, 100, 100, $brave, $brave, $hp, $hp, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1)"); $i=mysql_insert_id($c); $db->query("INSERT INTO userstats VALUES($i, $strength, $agility, $guard, $labour, $iq)"); print "User created!"; stafflog_add("Created user {$_POST['username']} [$i]"); } function edit_user_begin() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } print "<h3>Editing User</h3> You can edit any aspect of this user. <form action='staff_users.php?action=edituserform' method='post'> User: ".user_dropdown($c,'user')." <input type='submit' value='Edit User' /></form> OR enter a user ID to edit: <form action='staff_users.php?action=edituserform' method='post'> User: <input type='text' name='user' value='0' /> <input type='submit' value='Edit User' /></form>"; } function edit_user_form() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } $d=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us on u.userid=us.userid WHERE u.userid={$_POST['user']}"); $itemi=$db->fetch_row($d); $itemi['hospreason']=htmlspcl($itemi['hospreason']); $itemi['jail_reason']=htmlspcl($itemi['jail_reason']); print "<h3>Editing User</h3> <form action='staff_users.php?action=editusersub' method='post'> <input type='hidden' name='userid' value='{$_POST['user']}' /> Username: <input type='text' name='username' value='{$itemi['username']}' /> Login Name: <input type='text' name='login_name' value='{$itemi['login_name']}' /> Duties: <input type='text' name='duties' value='{$itemi['duties']}' /> Staff Notes: <input type='text' name='staffnotes' value='{$itemi['staffnotes']}' /> Level: <input type='text' name='level' value='{$itemi['level']}' /> Money: \$<input type='text' name='money' value='{$itemi['money']}' /> Bank: \$<input type='text' name='bankmoney' value='{$itemi['bankmoney']}' /> Cyber Bank: \$<input type='text' name='cybermoney' value='{$itemi['cybermoney']}' /> Crystals: <input type='text' name='crystals' value='{$itemi['crystals']}' /> Mail Ban: <input type='text' name='mailban' value='{$itemi['mailban']}' /> Mail Ban Reason: <input type='text' name='mb_reason' value='{$itemi['mb_reason']}' /> Forum Ban: <input type='text' name='forumban' value='{$itemi['forumban']}' /> Forum Ban Reason: <input type='text' name='fb_reason' value='{$itemi['fb_reason']}' /> Hospital time: <input type='text' name='hospital' value='{$itemi['hospital']}' /> Hospital reason: <input type='text' name='hospreason' value='{$itemi['hospreason']}' /> Jail time: <input type='text' name='jail' value='{$itemi['jail']}' /> Jail reason: <input type='text' name='jail_reason' value='{$itemi['jail_reason']}' /> House: ".house2_dropdown($c, "maxwill", $itemi['maxwill'])." <h4>Stats</h4> Strength: <input type='text' name='strength' value='{$itemi['strength']}' /> Agility: <input type='text' name='agility' value='{$itemi['agility']}' /> Guard: <input type='text' name='guard' value='{$itemi['guard']}' /> Labour: <input type='text' name='labour' value='{$itemi['labour']}' /> IQ: <input type='text' name='IQ' value='{$itemi['IQ']}' /> <input type='submit' value='Edit User' /></form>"; } function edit_user_sub() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] != 2) { die("403"); } $go=0; 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) { print "You did not fully fill out the form."; $_POST['user']=$_POST['userid']; 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['forumban']=(int) $_POST['forumban']; $maxwill=abs((int) $_POST['maxwill']); //check for username usage $u=$db->query("SELECT * FROM users WHERE username='{$_POST['username']}' and userid != {$_POST['userid']}"); if($db->num_rows($u) != 0) { print "That username is in use, choose another."; print " [url='admin.php?action=edituser']> Back[/url]"; $h->endpage(); exit; } $oq=$db->query("SELECT * FROM users WHERE userid={$_POST['userid']}"); $rm=$db->fetch_row($oq); $will=($rm['will'] > $maxwill) ? $maxwill: $rm['will']; $energy=10+$_POST['level']*2; $nerve=3+$_POST['level']*2; $hp=50+$_POST['level']*50; $db->query("UPDATE users SET username='{$_POST['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']}, jail={$_POST['jail']}, duties='{$_POST['duties']}', staffnotes='{$_POST['staffnotes']}', mailban={$_POST['mailban']}, mb_reason='{$_POST['mb_reason']}', forumban={$_POST['forumban']}, fb_reason='{$_POST['fb_reason']}', hospreason='{$_POST['hospreason']}', jail_reason='{$_POST['jail_reason']}', login_name='{$_POST['login_name']}', will=$will, maxwill=$maxwill WHERE userid={$_POST['userid']}"); $db->query("UPDATE userstats SET strength={$_POST['strength']}, agility={$_POST['agility']}, guard={$_POST['guard']}, labour={$_POST['labour']}, IQ={$_POST['IQ']} WHERE userid={$_POST['userid']}"); stafflog_add("Edited user {$_POST['username']} [{$_POST['userid']}]"); print "User edited...."; } } function deluser() { global $ir,$c,$h,$userid,$db; if($ir['user_level'] != 2) { die("403"); } $undeletable = array('1','2'); // add more IDs here, such as NPCs switch ($_GET['step']) { default: echo "<h3>Deleteing User</h3> Here you can delete a user. <form action='staff_users.php?action=deluser&step=2' method='post'> User: ".user_dropdown($c,'user')." <input type='submit' value='Delete User' /></form> OR enter a user ID to Delete: <form action='staff_users.php?action=deluser&step=2' method='post'> User: <input type='text' name='user' value='0' /> <input type='submit' value='Delete User' /></form>"; break; case 2: $target = $_POST['user']; if (!is_numeric($target)) exit; if (in_array($target,$undeletable)) { die('You cannot delete this person.'); } $d=$db->query("SELECT username FROM users WHERE userid='$target'"); $itemi=$db->fetch_row($d); print "<h3>Confirm</h3> Delete user ".$itemi["username"]."? <form action='staff_users.php?action=deluser&step=3' method='post'> <input type='hidden' name='userid' value='$target' /> <input type='submit' name='yesorno' value='Yes' /> <input type='submit' name='yesorno' value='No' onclick=\"window.location='staff_users.php?action=deluser';\" /></form>"; break; case 3: $target = $_POST['userid']; if (!is_numeric($target)) exit; if (in_array($target,$undeletable)) { die('You cannot delete this person.'); } if($_POST['yesorno']=='No') { die("User not deleted. [url='staff_users.php?action=deluser']>Back to main Delete Users page.[/url]"); } if ($_POST['yesorno'] != ("No" || "Yes")) die('Eh'); $d=$db->query("SELECT username FROM users WHERE userid='$target'"); $itemi=$db->fetch_row($d); $db->query("DELETE FROM users WHERE userid='$target'"); $db->query("DELETE FROM userstats WHERE userid='$target'"); $db->query("DELETE FROM inventory WHERE inv_userid='$target'"); $db->query("DELETE FROM fedjail WHERE fed_userid='$target'"); echo "User {$itemi['username']} Deleted. [url='staff_users.php?action=deluser']>Back to main Delete Users page.[/url]"; stafflog_add("Deleted User {$itemi['username']} [{$_POST['userid']}]"); break; } } function inv_user_begin() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 3) { die("403"); } print "<h3>Viewing User Inventory</h3> You may browse this user's inventory. <form action='staff_users.php?action=invuser' method='post'> User: ".user_dropdown($c,'user')." <input type='submit' value='View Inventory' /></form>"; } function inv_user_view() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 3) { die("403"); } $d=$db->query("SELECT username FROM users WHERE userid='{$_POST['user']}'"); $un=$db->fetch_single($d); $inv=$db->query("SELECT iv.*,i.*,it.* FROM inventory iv LEFT JOIN items i ON iv.inv_itemid=i.itmid LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid WHERE iv.inv_userid={$_POST['user']}"); if ($db->num_rows($inv) == 0) { print "[b]This person has no items![/b]"; } else { print "[b]Their items are listed below.[/b] <table width=100%><tr style='background-color:gray;'><th>Item</th><th>Sell Value</th><th>Total Sell Value</th><th>Links</th></tr>"; while($i=$db->fetch_row($inv)) { print "<tr><td>{$i['itmname']}"; if ($i['inv_qty'] > 1) { print "x{$i['inv_qty']}"; } print "</td><td>\${$i['itmsellprice']}</td><td>"; print "$".($i['itmsellprice']*$i['inv_qty']); print "</td><td>[[url='staff_users.php?action=deleinv&ID={$i[']Delete[/url]]"; print "</td></tr>"; } print "</table>"; } stafflog_add("Viewed user {$un} [{$_POST['user']}] inventory"); } function inv_delete() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 3) { die("403"); } $db->query("DELETE FROM inventory WHERE inv_id={$_GET['ID']}"); print "Item deleted from inventory."; stafflog_add("Deleted inventory ID {$_GET['ID']}"); } function credit_user_form() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 3) { die("403"); } print "<h3>Crediting User</h3> You can give a user money/crystals. <form action='staff_users.php?action=creditsub' method='post'> User: ".user_dropdown($c,'user')." Money: <input type='text' name='money' /> Crystals: <input type='text' name='crystals' /> <input type='submit' value='Credit User' /></form>"; } function credit_user_submit() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 3) { die("403"); } $_POST['money'] = (int) $_POST['money']; $_POST['crystals'] = (int) $_POST['crystals']; $db->query("UPDATE users u SET money=money+{$_POST['money']}, crystals=crystals+{$_POST['crystals']} WHERE u.userid={$_POST['user']}"); print "User credited."; $d=$db->query("SELECT username FROM users WHERE userid='{$_POST['user']}'"); $un=$db->fetch_single($d); stafflog_add("Credited $un [{$_POST['user']}] \${$_POST['money']} and/or {$_POST['crystals']} crystals."); } function mcredit_user_form() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 2) { die("403"); } print "<h3>Mass Payment</h3> You can give all users money/crystals. <form action='staff_users.php?action=masscreditsub' method='post'> Money: <input type='text' name='money' /> Crystals: <input type='text' name='crystals' /> <input type='submit' value='Credit User' /></form>"; } function mcredit_user_submit() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 2) { die("403"); } $_POST['money'] = (int) $_POST['money']; $_POST['crystals'] = (int) $_POST['crystals']; $db->query("UPDATE users u SET money=money+{$_POST['money']}, crystals=crystals+{$_POST['crystals']}"); print "All Users credited. Click [url='staff.php?action=announce']here to add an announcement[/url] or [url='staff_special.php?action=massmailer']here to send a mass mail[/url] explaining why."; stafflog_add("Credited all users \${$_POST['money']} and/or {$_POST['crystals']} crystals."); } function reports_view() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 5) { die("403"); } echo "<h3>Player Reports</h3> <table class='table' width='90%'> <tr> <th>Reporter</th> <th>Offender</th> <th>What they did</th> <th>Status</th> <th>Links</th> </tr>"; $sql = "SELECT pr.*, u1.username AS reporter, u2.username AS offender " . "FROM preports pr " . "LEFT JOIN users u1 ON (u1.userid = pr.prREPORTER) " . "LEFT JOIN users u2 ON (u2.userid = pr.prREPORTED) " . "ORDER BY pr.prID DESC"; $q = $db->query($sql); while($rep = $db->fetch_row($q)) { if($rep['prSTATUS'] == 0) { $status = "<font color='red'>Needs handling</font>"; } else if($rep['prSTATUS'] == 1) { $status = "<font color='orange'>Pending</font>"; } else { $status = "<font color='green'>Handled</font>"; } echo "<tr>"; echo sprintf("<td class='tdcenter'>[url='viewuser.php?u=%u']%s[/url] [%s]</td>", $rep['prREPORTER'], $rep['reporter'], $rep['prREPORTER']); echo sprintf("<td class='tdcenter'>[url='viewuser.php?u=%u']%s[/url] [%s]</td>", $rep['prREPORTED'], $rep['offender'], $rep['prREPORTED']); echo sprintf("<td>%s</td>", stripslashes(nl2br($rep['prTEXT']))); echo sprintf("<td class='tdcenter'>%s</td>", $status); echo "<td class='tdcenter'>"; echo sprintf("[url='staff_users.php?action=repclear&ID=%u'][img=/imageicons/decline.png][/url] ", $rep['prID']); echo sprintf("[url='staff_users.php?action=repstat&ID=%u'][img=/imageicons/coding.png][/url]", $rep['prID']); echo "</td>"; echo "</tr>"; } echo "</table>"; } function repstat() { global $ir, $db, $h; echo sprintf("Change the status of player report ID %u ", $_GET['ID']); if($ir['user_level'] > 5) { echo "Access Denied"; $h->endpage(); exit; } if(!isset($_POST['change'])) { echo sprintf("<form action='staff_users.php?action=repstat&ID=%u' method='post'>", $_GET['ID']); echo "<select name='change'>"; echo "<option value='0'>Not handled</option>"; echo "<option value='1'>Pending</option>"; echo "<option value='2'>Handled</option>"; echo "</select>"; echo " <input type='submit' value='Submit' />"; echo "</form>"; } else { $sql = sprintf("UPDATE preports SET prSTATUS = %d WHERE (prID = %u)", $_POST['change'], $_GET['ID']); $db->query($sql); echo "Status updated - [url='staff_users.php?action=reportsview']Back[/url]"; stafflog_add(sprintf("Updated the status of report ID %u", $_GET['ID'])); } } function forcelogout() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 2) { die("403"); } $_POST['userid'] = abs((int) $_POST['userid']); if($_POST['userid']) { $db->query("UPDATE users SET force_logout=1 WHERE userid={$_POST['userid']}"); print "User ID {$_POST['userid']} successfully forced to logout."; stafflog_add("Forced User ID {$_POST['userid']} to logout"); } else { print "<h3>Force User Logout</h3><hr /> The user will be automatically logged out next time he/she makes a hit to the site.<form action='staff_users.php?action=forcelogout' method='post'> User: ".user_dropdown($c, 'userid')." <input type='submit' value='Force User to Logout' /></form>"; } } function report_clear() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 3) { die("403"); } $_GET['ID'] = abs((int) $_GET['ID']); stafflog_add("Cleared player report ID {$_GET['ID']}"); $db->query("DELETE FROM preports WHERE prID={$_GET['ID']}"); print "Report cleared and deleted! [url='staff_users.php?action=reportsview']> Back[/url]"; } $h->endpage(); ?>
-
updated the secure game post, up top... hopefully that will secure the forums :)
-
yep it was that reason... name to long lol. sorry about this post you can delete it if you want.
-
oh right... i just post this up... and i think i found out why its doing it... i think its because my names to long. as its like this lol <font color='#0000ff'>N</font><font color='#0000d5'>i</font><font color='#0000aa'>c</font><font color='#000080'>h</font><font color='#000055'>o</font><font color='#000080'>l</font><font color='#0000aa'>a</font><font color='#0000d5'>s</font> blue to black blue to blue again lol.
-
hi, does anyone know the reason why when i attack someone and put them in hospital, everyone on the game goes in including me... it just says left by on reason part ive uploaded the mccodes v2 attacklost.php, attackwon.php, attackbeat.php and attacktake.php again. but nothing changed, everyone on my game still goes into hospital... does anyone know why? ive not changed any coding in attack.php, and ive never changed the other attack____.php files. this has never happened before... :S
-
oh right... well it wernt meant to be said in a nasty way, just way i type on computers lol.
-
Um no he hasn't you can simply remove the format function from the script and replace it with stripslashes(htmlspecialchars()) or none that's up to you but if I remember correctly your the one that didn't read the instructions then complained that you got the function error. So before you even try to disrespect other's mods/work, how about do it yourself and read a manual instead of asking for things on a silver platter (This is in reference to the ammount of stuff he has asked for). Or perhaps spending a few bucks, dollars, pounds, euros whatever on a coder to do it for you instead of wanting the stuff free. I think I've gone off topic. Um yeah you can NOT secure your site/game with just a few lines of code, you need to go through every file and manually secure it, which if you know what your doing and have the time doesn't really take long, (Not speaking from experience as I'm only just learning the basics but from what I've been told). Moderators: If you feel I've stepped over the line with the whole Nicholas thing then remove it I don't mind or care :P DJK :whistling: when did i disrespect other peoples mods/work? i was just saying that magictallguy's forum is confusing to work out how to get it to work if your a beginner, like i was (still am, but i learn more and more each day) when i first got his forum mod... why does everyone think im disrespecting someone or whatever when im not even trying too...
-
is it against the law to ask for help? even professionals would need help some time in their life lol. and im self taught developer... if people can help me, it be easier for me to learn due to i always read over my coding all the time and learn coding everyday more clearly.