
ignite
Members-
Posts
170 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by ignite
-
My itemsend just will not work i have uploaded the file several times and still no luck, The problem is that the item receiver gets the event but not the item. Any ideas ?
-
Re: Pages! ARRRGH! No the html tags like the tables and td's
-
Re: [mccode] Mining mod Mineneeded needs and underscore between mine and needed.
-
Re: [mccode] Close page system Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/public_html/header.php on line 148
-
Re: [mccode] Attack.php addons If you add that stalmate thing it will make a user lose all their xp.
-
I can't seem to make it in gym.php to have a lower stat gain without making the amount of will it takes of go down a lot. I train 43 times and gain 40 strengh or what ever and my will goes down to 0 ? $gain=rand(1,3)/rand(300,800)*rand(300,800)*(($ir['will']+10)/150); $tgain+=$gain; if ($_GET['train']=="IQ") { $gain/=100; } $ir[$_GET['train']]+=$gain; $egain=$gain/10; $ts=$ir[$_GET['train']]; $st=$_GET['train']; Anyone no what should be edited ?
-
Re: [mccode] Mods 4 Sale - UPDATED POST I have - 1 and i don't even post that much .
-
Re: HELP [gym] I guess you would change the 800-1200 to lower numbers.
-
Re: v1 cash logs Thanks Silver +1 for you.
-
Re: v1 cash logs cxID cxFROM cxTO cxAMOUNT cxTIME cxFROMIP cxTOIP cxCONTENT I have this in the table i guess ill take a look tomorrow rather than mess it up now when i'm tired.
-
Re: v1 cash logs No longer have the error message but it still isn't going into cash logs....I'm a pain i no. :x
-
Re: v1 cash logs Yep and error: you sent $1 to ID 2.You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1,unix_timestamp(), '86.140.113.220', '86.154.251.230')' at line 1
-
Re: [mccode] Poker Script for v1 This is wierd....i buy 1k chips bet and some how lose 2k chips and go home with -1k chips.
-
Re: [mccode] Mining mod I can't seem to get mining levels in to the hall of fame and i don't why >? Fatal error: Call to undefined function: hof_mine() in /home/public_html/halloffame.php on line 33 case "mine": hof_mine(); break; case "level": hof_level(); break; case "money": hof_money(); break; case "crystals": hof_crystals(); break;
-
Re: code help You have lite the free version ? or v1 ?
-
Re: [Free v1] Advanced Warning System How would i make it so users can view there warnings in index.php ? I'm finding this quite hard as there not in the user table.
-
Re: v1 cash logs Well after many attempts i have had no luck. I was wondering if maybe you could take a quick look at it and point me in the right direction ? Well anyway here it is: u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $_GET['ID'] = abs((int) $_GET['ID']); $_POST['money'] = abs((int) $_POST['money']); if(!((int)$_GET['ID'])) { print "Invalid User ID"; } else if($_GET['ID'] == $userid) { print "Haha, what does sending money to yourself do anyway?"; } else { if((int) $_POST['money']) { if($_POST['money'] > $ir['money']) { print "Die j00 abuser."; } else { mysql_query("UPDATE users SET money=money-{$_POST['money']} WHERE userid=$userid",$c); mysql_query("UPDATE users SET money=money+{$_POST['money']} WHERE userid={$_GET['ID']}",$c); print "You sent \${$_POST['money']} to ID {$_GET['ID']}."; event_add($_GET['ID'],"You received \${$_POST['money']} from {$ir['username']}.",$c); $it=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}",$c) or die(mysql_error()); $er=mysql_fetch_array($it); mysql_query("INSERT INTO cashxferlogs VALUES('',$userid,{$_GET['userid']},{$_POST['money']},unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}')",$c); } } else { print "<h3> Sending Money</h3> You are sending money to ID: [b]{$_GET['ID']}[/b]. <form action='sendcash.php?ID={$_GET['ID']}' method='post'> Amnt: <input type='text' name='money' /> <input type='submit' value='Send' /></form>"; print "<h3>Latest 5 Transfers</h3> <table width=75% border=2> <tr style='background:gray'> <th>Time</th> <th>User From</th> <th>User To</th> <th>Amount</th> </tr>"; $q=mysql_query("SELECT cx.*,u1.username as sender, u2.username as sent FROM cashxferlogs cx LEFT JOIN users u1 ON cx.cxFROM=u1.userid LEFT JOIN users u2 ON cx.cxTO=u2.userid WHERE cx.cxFROM=$userid ORDER BY cx.cxTIME DESC LIMIT 5",$c) or die(mysql_error()." "."SELECT cx.*,u1.username as sender, u2.username as sent FROM cashxferlogs cx LEFT JOIN users u1 ON cx.cxFROM=u1.userid LEFT JOIN users u2 ON cx.cxTO=u2.userid WHERE cx.cxFROM=$userid ORDER BY cx.cxTIME DESC LIMIT 5"); while($r=mysql_fetch_array($q)) { if($r['cxFROMIP'] == $r['cxTOIP']) { $m="<span style='color:red;font-weight:800'>MULTI</span>"; } else { $m=""; } print "<tr> <td>" . date("F j, Y, g:i:s a",$r['cxTIME']) . "</td><td>{$r['sender']} [{$r['cxFROM']}] </td><td>{$r['sent']} [{$r['cxTO']}] </td> <td> \${$r['cxAMOUNT']}</td> </tr>";
-
Does anyone have trouble with cash logs? When i send cash it doesn't insert them into cash logs. Anyone no whats wrong ?
-
Re: [Free v1] Advanced Warning System Nice mod
-
Re: [mccode] Mods 4 Sale If i use this in sigs , forums and mail does it help prevent ajax and sql injections ?
-
Re: [mccode] Annoucement Mod Can people use ajax and sql injection through this ?
-
Re: [mccode] Mods 4 Sale Does your bb code engine include font sizes and colours ?
-
Re: Users stats reset to 2,147,483,647 I think you change the the user stats table from big int (11) to something else
-
Re: Browser Differences I have the same problem with using item on firefox.
-
Re: Mini Coding Contests Now a competition for the novices ?