Jump to content
MakeWebGames

Mr Crime

Members
  • Posts

    18
  • Joined

  • Last visited

About Mr Crime

  • Birthday 04/09/1990

Personal Information

  • Location
    UK
  • Interests
    Look after kids. Taking care of people.

Mr Crime's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. My MCCodes V1 Update list - Announcement Staff Log New forums along with Staff features New Mailbox being fitted in New Item system along with Staff features Car Racing System being fitted in (I then re-coded it) New Template Equip and unequiping system Polling Inventory Attack system being placed. I am looking for 3 trust worthy members from0 this coummunity to help me out to find bugs!   Good day.
  2. Thanks Guest! Just got some erros! But its working! Thanks :D +1 from me guest!
  3. Hello MWG! I need your help today! I have converted one of my mailbox to V2 - V1. I got some few errors when I try sending a message -   Warning: mysql_result() expects parameter 1 to be resource, null given in /home/----/----/mailbox.php on line 371 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/----/----/mailbox.php on line 383   Line 371 - $to=mysql_result($var, 0, 0);($q);   Line 360 - 380   $sendto=($_POST['user1']) ? $_POST['user1'] : $_POST['user2']; { $q=mysql_query("SELECT userid FROM users WHERE username='{$sendto}'"); if(mysql_num_rows($q)==0) { print "You cannot send mail to nonexistant users.<br /> <a href='mailbox.php'>> Back</a>"; $h->endpage(); exit; } } $to=mysql_result($var, 0, 0);($q); if($ir['user_level'] == 1) { $q_mb=mysql_query("SELECT * FROM mailblock WHERE mb_ADDED=$userid AND mb_ADDER=$to"); if (mysql_num_rows($q_mb) > 0) { print "<font color=red><h3>! ERROR</h3>This person has elected <b>NOT</b> to receive mail from you.</font>"; $h->endpage(); exit; }     Line 383 - if (mysql_num_rows($q_mb2) > 0)   Line 375 - 393   if (mysql_num_rows($q_mb) > 0) { print "<font color=red><h3>! ERROR</h3>This person has elected <b>NOT</b> to receive mail from you.</font>"; $h->endpage(); exit; } } $q_mb2=mysql_query("SELECT * FROM mailblock WHERE mb_ADDED=$to AND mb_ADDER=$userid"); if (mysql_num_rows($q_mb2) > 0) { print "<font color=red><h3>! ERROR</h3>You have blocked this member so why mail them.</font>"; $h->endpage(); exit; } mysql_query("INSERT INTO mail VALUES ('','0',$userid,$to,unix_timestamp(),'$subj','$newmsg',0)"); mysql_query("UPDATE users SET new_mail=new_mail+1 WHERE userid={$to}"); print "Message sent.<br /> <a href='mailbox.php'>> Back</a>"; }   Please help me!
  4. Great modification, +1 Can't wait for the next update.
  5. [ATTACH=CONFIG]865[/ATTACH] <?php include "globals.php"; $_GET['ID']=abs((int) $_GET['ID']); $_GET['PAID']=abs((int) $_GET['PAID']); if(!$ir['donatordays']) { echo 'Only donators can access this area.<br>><a href="index.php">Go Home</a>'; $h->endpage(); exit; } $sql = sprintf('SELECT `level`, `username`, `equip_primary`, `equip_secondary`, `equip_armor`, `money`, `rating`, `bankmoney`, `cybermoney`, `crimexp`, `crystals`, `turns`,`user_level` FROM `users` WHERE userid = %u', $_GET['ID']); $sql = $db->query($sql); $r=$db->fetch_row($sql); if($_GET['ID']==$userid) { echo 'Why would you wanna spy on yourself?<br>><a href="index.php">Go Home</a>'; $h->endpage(); exit; } if($_GET['ID'] && $_GET['PAID']) { $cost=$r['level']*1000; if($_GET['PAID']!=$cost) { echo 'Quit trying to abuse bugs.<br>><a href="index.php">Go Home</a>'; $h->endpage(); exit; } if($_GET['PAID']>$ir['money']) { echo 'You dont have enough money to spy on '.$r['username'].'.<br>><a href="index.php">Go Home</a>'; $h->endpage(); exit; } $rand=rand(1,15); if($rand==1) { $ql = sprintf('SELECT `username` FROM users WHERE userid = %u', $userid); $ql = $db->query($ql); $n=$db->fetch_row($ql); $query = sprintf('UPDATE `users` SET money=money-%u WHERE userid = %u', $_GET['PAID'], $userid); $db->query($query); print '<b>Your spy has been caught.<br> Your name may have been mentioned.</b>'; event_add($_GET['ID'],"<a href='viewuser.php?u=$userid'>{$n['username']}</a> tried to rent a spy on you but failed."); } else { $query = sprintf('UPDATE `users` SET money=money-%u WHERE userid = %u', $_GET['PAID'], $userid); $db->query($query); if($r['user_level']==2) { print "The spy never came back. It was rumoured he was attacked by {$r['username']} and pushed off a cliff."; $h->endpage(); exit; } $sta = sprintf('SELECT `strength`, `agility`, `guard`, `labour`, `IQ` FROM userstats WHERE userid = %u', $_GET['ID']); $sta = $db->query($sta); $stats=$db->fetch_row($sta); $we = sprintf('SELECT `itmname` FROM items WHERE itmid = %u', $r['equip_primary']); $we = $db->query($we); $pri=$db->fetch_row($we); $we1 = sprintf('SELECT `itmname` FROM items WHERE itmid = %u', $r['equip_secondary']); $we1 = $db->query($we1); $sey=$db->fetch_row($we1); $we2 = sprintf('SELECT `itmname` FROM items WHERE itmid = %u', $r['equip_armor']); $we2 = $db->query($we2); $arm=$db->fetch_row($we2); if(!$pri['itmname']) { $prim="None"; } else { $prim="{$pri['itmname']}"; } if(!$sey['itmname']) { $secon="None"; } else { $secon="{$sey['itmname']}"; } if(!$arm['itmname']) { $arm="None"; } else { $arm="{$arm['itmname']}"; } if($stats['strength'] > $ir['strength']) { $stren="<font color=red>Weaker</font>"; } elseif($stats['strength'] == $ir['strength']) { $stren="<font color=blue>Equal</font>"; } else { $stren="<font color=green>Stronger</font>"; } if($stats['agility'] > $ir['agility']) { $agility="<font color=red>Weaker</font>"; } elseif($stats['agility'] == $ir['agility']) { $agility="<font color=blue>Equal</font>"; } else { $agility="<font color=green>Stronger</font>"; } if($stats['guard'] > $ir['guard']) { $guard="<font color=red>Weaker</font>"; } elseif($stats['guard'] == $ir['guard']) { $guard="<font color=blue>Equal</font>"; } else { $guard="<font color=green>Stronger</font>"; } if($stats['labour'] > $ir['labour']) { $labour="<font color=red>Weaker</font>"; } else if($stats['labour'] == $ir['labour']) { $labour="<font color=blue>Equal</font>"; } else { $labour="<font color=green>Stronger</font>"; } if($stats['IQ'] > $ir['IQ']) { $IQ="<font color=red>Weaker</font>"; } else if($stats['IQ'] == $ir['IQ']) { $IQ="<font color=blue>Equal</font>"; } else { $IQ="<font color=green>Stronger</font>"; } echo "<table width=90% cellspacing=1 class='table'> <tr style='background:gray'> <tr><th>Primary</th><th>Secondary</th><th>Armor</th></tr> <tr><td>$prim</td><td>$secon</td><td>$arm</td></tr> </table><br /> <table width=90% cellspacing=1 class='table'> <tr style='background:gray'> <tr><th>Stats</th> <th>Your Stats</th><th>Stats</th><th>Compare</th><th>Result</th></tr> <tr><td>Strength:</td><td> {$ir['strength']}</td><td>Strength:</td><td> {$stats['strength']}</td><td><center><b>$stren</b></center></td></tr> <tr><td>Agility:</td><td> {$ir['agility']}</td><td>Agility:</td><td> {$stats['agility']}</td><td><center><b>$agility</b></center></td></tr> <tr><td>Guard:</td><td> {$ir['guard']}</td><td>Guard:</td><td> {$stats['guard']}</td><td><center><b>$guard</b></center></td></tr> <tr><td>Labour:</td><td> {$ir['labour']}</td><td>Labour:</td><td> {$stats['labour']}</td><td><center><b>$labour</b></center></td></tr> <tr><td>IQ:</td><td> {$ir['IQ']}</td><td>IQ:</td><td> {$stats['IQ']}</td><td><center><b>$IQ</b></center></td></tr> <table width=90% cellspacing=1 class='table'> <tr style='background:gray'> <tr><td><center><a href='attack.php?ID={$_GET['ID']}'><b>Attack?</b></a> </center> </td></tr><br /> </table><br /> <table width=90% cellspacing=1 class='table'> <tr style='background:gray'> <tr><th>Currency</th><th>Amount<th>Misc</th> </tr> <tr><td>Money:</td><td> \$".money_formatter($r['money'],"")."</td> <td>Rating: {$r['rating']}</td> </tr> <tr> <td>Crystals:</td><td>{$r['crystals']}</td> <td>Crime exp: {$r['crimexp']}</td> </tr> <tr> <td>Street Steps:</td><td> {$r['turns']}</td> <td>Level: {$r['level']}</td> </tr> </table><br /> <table width=90% cellspacing=1 class='table'> <tr style='background:gray'> <tr><th>Name</th><th>Description</th><th>Amount</th></tr>"; $z = sprintf('SELECT `inv_itemid`, `inv_qty` FROM inventory WHERE inv_userid = %u ORDER BY inv_itemid DESC', $_GET['ID']); $z = $db->query($z); while($e=$db->fetch_row($z)) { $t = sprintf('SELECT `itmname`, `itmdesc` FROM items WHERE itmid = %u', $e['inv_itemid']); $t = $db->query($t); $itm=$db->fetch_row($t); print "<tr><td>{$itm['itmname']}</td><td>{$itm['itmdesc']}</td><td>".money_formatter($e['inv_qty'],"")."</td></tr>"; } print "</table><br>><a href='viewuser.php?u={$_GET['ID']}'>Back To Profile.</a></br><br><br><br>"; } } else if($_GET['ID']) { $cost=$r['level']*1000; print "<b>You are hiring a spy on {$r['username']}</b><br><br>It will cost you \$".money_formatter($cost,"")." for the spys expenses.<br>But be warned spying is not always 100% successful.<br /><br /> <form action='hirespy.php' method='get'> <input type='hidden' name='ID' value='{$_GET['ID']}' /> <input type='hidden' name='PAID' value='$cost' /> <input type='submit' value='Hire Spy'/></form>"; } else { print "System error!"; } $h->endpage(); ?> Its secured enough :D More free mods on its way.
  6. So what can I do?
  7. How can I do that? Only person I feel I can trust is you kyle.
  8. Hey guys. I was doing a deal with Skooda. But the guy scammed me. How do I get my money back? [ATTACH=CONFIG]861[/ATTACH] [ATTACH=CONFIG]862[/ATTACH] [ATTACH=CONFIG]863[/ATTACH] [ATTACH=CONFIG]864[/ATTACH] And the proof he showed me. So that should be my license. So mccodes please transfer that License to me please.
  9. Guess what *****es? I bought one for $25!!!!!!!!
  10. Me rubbish.
  11. $50 then. $60 to much cause for $100 you get support etc. With this Im not.
  12. Yes I figured it yesterday :D Thank you very much kyle! I have another problem :/       Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/infamo7/public_html/mini.php:61)       <style type="text/css"> div#wrapper { position: center; float: center; text-align: center; } div#wrapper > div.normal { float: center; margin-right: 10px; background-color: #000000; height: 100px; padding: 3px; } body { background: url('includes/grad.jpg') repeat-x top; margin-left: 100px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; font-family: Tahoma; font-size: 10px; color: #FFFFFF; } .text {font-size: 10px; color: #FFFFFF} a:link, a:hover, a:visited, a:active { text-decoration: none; font-weight: bold; color: #FFFFFF; } </style> <?php session_start(); include "includes/db_connect.php"; include "includes/functions1.php"; logincheck(); $username=$_SESSION['username']; if($info->dashb == "0"){ die(); } ?> <html> <head> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ setInterval(updateStats, 40000); updateStats(); }); function loadRest(){ $("#Stats").fadeOut(500, function (){ $("#Stats").load("mini_ajax.php", null, function (){ $("#Stats").fadeIn(500); }); }); } function updateStats(){ $.ajax({ type: "GET", url: "notice_ajax.php", success: function(msg){ if(msg != ""){ $("#Stats").fadeOut(500, function (){ $("#Stats").html(msg); $("#Stats").fadeIn(500, function (){ timeout=setTimeout(loadRest, 1500); }); }); }else{ $("#Stats").load("mini_ajax.php"); }}}); } </script> <style type="text/css"> div#wrapper { position: center; float: center; text-align: center; } div#wrapper > div.normal { float: center; margin-right: 10px; background-color: #000000; height: 100px; padding: 3px; } body { background: url('includes/grad.jpg') repeat-x top; margin-left: 100px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; font-family: Tahoma; font-size: 10px; color: #FFFFFF; } .text {font-size: 10px; color: #FFFFFF} a:link, a:hover, a:visited, a:active { text-decoration: none; font-weight: bold; color: #FFFFFF; } </style> </head> <body> <div id="Stats">Loading...</div> </body> </html>         fixed it :D   <style type="text/css"> div#wrapper { position: center; float: center; text-align: center; } div#wrapper > div.normal { float: center; margin-right: 10px; background-color: #000000; height: 100px; padding: 3px; } body { background: url('includes/grad.jpg') repeat-x top; margin-left: 100px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; font-family: Tahoma; font-size: 10px; color: #FFFFFF; } .text {font-size: 10px; color: #FFFFFF} a:link, a:hover, a:visited, a:active { text-decoration: none; font-weight: bold; color: #FFFFFF; } </style> <html> <head> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ setInterval(updateStats, 40000); updateStats(); }); function loadRest(){ $("#Stats").fadeOut(500, function (){ $("#Stats").load("mini_ajax.php", null, function (){ $("#Stats").fadeIn(500); }); }); } function updateStats(){ $.ajax({ type: "GET", url: "notice_ajax.php", success: function(msg){ if(msg != ""){ $("#Stats").fadeOut(500, function (){ $("#Stats").html(msg); $("#Stats").fadeIn(500, function (){ timeout=setTimeout(loadRest, 1500); }); }); }else{ $("#Stats").load("mini_ajax.php"); }}}); } </script> <style type="text/css"> div#wrapper { position: center; float: center; text-align: center; } div#wrapper > div.normal { float: center; margin-right: 10px; background-color: #000000; height: 100px; padding: 3px; } body { background: url('includes/grad.jpg') repeat-x top; margin-left: 100px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; font-family: Tahoma; font-size: 10px; color: #FFFFFF; } .text {font-size: 10px; color: #FFFFFF} a:link, a:hover, a:visited, a:active { text-decoration: none; font-weight: bold; color: #FFFFFF; } </style> </head> <body> <div id="Stats">Loading...</div> </body> </html>
  13. I have an error on my game its not mccodes. http://infamousmobsters.x10.bz/ When you log in I get an error   Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/infamo7/public_html/logged_in.php:14) in /home/infamo7/public_html/logged_in.php on line 16   And I tried to fix it but I can :( Help me out?   <? include "config.php"; include "func.ban.php"; checkban($_SERVER['REMOTE_ADDR']); session_start(); include_once "includes/db_connect.php"; include_once "includes/functions.php"; logincheck(); ?> <html> <head> <link rel="shortcut icon" href="favicon.ico.png"> <title>InfamousMobsters</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel=stylesheet href=includes/in.css type=text/css> </head> <frameset rows="*" cols="168,*" frameborder="no" border="0" framespacing="0"> <frame src="menu.php" name="leftFrame" scrolling="auto" noresize="noresize" id="leftFrame" title="leftFrame"> <? if($info->bann == "0"){ ?> <frameset rows="68,*" cols="*" framespacing="0" frameborder="no" border="0"> <frame src="banner.php" name="banner" scrolling="No" noresize="noresize" id="topFrame" title="topFrame"> <? } ?> <frameset rows="24,*" cols="*" framespacing="0" frameborder="NO" border="0"> <frame src="mini.php" name="topFrame" scrolling="NO" noresize > <frameset rows="*" cols="*<? if($info->box == "0"){ ?>,180<? } ?>" frameborder="no" border="0" framespacing="0"> <frame src="story.php" name="middle" id="mainFrame" title="mainFrame"> <? if($info->box == "0"){ ?> <frame src="/chat/index.php" name="shoutbox" scrolling="auto" noresize="noresize" id="shoutbox" title="shoutbox"> <? } ?> </frameset> </frameset> </frameset> </frameset> <noframes><body></frameset> </body></noframes> </html>       Edit: Fixed it abit
  14. I have got the free traill now, didnt know it would be illegal.   30 Days only so within 30 days I got to make an good template :D
  15. Hi there MWG! I was wondering. If any of you's could help me out on a template? All I need is abode photoshop and abode dreamweaver. Can anyone give me a free download link? And a youtube tutorial. If anyone helps me out. All the templates I make they will get a free copy of the template.
×
×
  • Create New...