
KyleCrispy
Members-
Posts
158 -
Joined
-
Last visited
Never
KyleCrispy's Achievements
Newbie (1/14)
0
Reputation
-
Re: Revamped RentaSpy [FREE] [v2] 88nismo use this version posted below. <?php /*-------------------------------------------------------------- -- RentASpy -- Compatible: Mono Country Version 2 -- Script Verion: 3.0 -- Made by: Zero-Affect --------------------------------------------------------------*/ include "globals.php"; // If you want it so anyone can use this modification remove the next 4 lines $_GET['ID']=abs((int) $_GET['ID']); $_GET['PAID']=abs((int) $_GET['PAID']); if(!$ir['donatordays']) { echo 'Invalid Command. Only donators can access this area. >[url="index.php"]Go Home[/url]'; $h->endpage(); exit; } $sql = sprintf('SELECT `level`, `username`, `equip_primary`, `equip_secondary`, `equip_armor`, `money`, `bankmoney`, `crimexp`, `crystals` FROM `users` WHERE userid = %u', $_GET['ID']); $sql = $db->query($sql); $r=$db->fetch_row($sql); if($_GET['ID']==$userid) { echo 'Invalid Command. Why would you wanna spy on yourself? >[url="index.php"]Go Home[/url]'; $h->endpage(); exit; } if($_GET['ID'] && $_GET['PAID']) { $cost=$r['level']*2000; if($_GET['PAID']!=$cost) { echo 'Invalid Command. Quit trying to abuse bugs. >[url="index.php"]Go Home[/url]'; $h->endpage(); exit; } if($_GET['PAID']>$ir['money']) { echo 'Invalid Command. You dont have enough money to spy on '.$r['username'].'. >[url="index.php"]Go Home[/url]'; $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. Your name may have been mentioned.[/b]'; event_add($_GET['ID'],"[url='viewuser.php?u=$userid']{$n['username']}[/url] 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); $sta = sprintf('SELECT `strength`, `agility`, `guard`, `labour`, `IQ` FROM userstats WHERE userid = %u', $_GET['ID']); $sta = $db->query($sta); $sats=$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($sats['strength'] > $ir['strength']) { $stren="<font color=red>Weaker</font>"; } elseif($sats['strength'] == $ir['strength']) { $stren="<font color=blue>Equal</font>"; } else { $stren="<font color=green>Stronger</font>"; } if($sats['agility'] > $ir['agility']) { $agility="<font color=red>Weaker</font>"; } elseif($sats['agility'] == $ir['agility']) { $agility="<font color=blue>Equal</font>"; } else { $agility="<font color=green>Stronger</font>"; } if($sats['guard'] > $ir['guard']) { $guard="<font color=red>Weaker</font>"; } elseif($sats['guard'] == $ir['guard']) { $guard="<font color=blue>Equal</font>"; } else { $guard="<font color=green>Stronger</font>"; } if($sats['labour'] > $ir['labour']) { $labour="<font color=red>Weaker</font>"; } elseif($sats['labour'] == $ir['labour']) { $labour="<font color=blue>Equal</font>"; } else { $labour="<font color=green>Stronger</font>"; } if($sats['IQ'] > $ir['IQ']) { $IQ="<font color=red>Weaker</font>"; } else if($sats['IQ'] == $ir['IQ']) { $IQ="<font color=blue>Equal</font>"; } else { $IQ="<font color=green>Stronger</font>"; } $money=number_format($r['money']); $bmoney=number_format($r['bankmoney']); echo "<table width='75%' border='1' class='h'> <tr><th>Primary</th><th>Secondary</th><th>Armor</th></tr> <tr><td>$prim</td><td>$secon</td><td>$arm</td></tr> </table> <table width='75%' border='1' class='h'> <tr><th>Stats</th> <th>Your Stats</th><th>Compare</th></tr> <tr><td>Strength: {$sats['strength']}</td><td>Strength: {$ir['strength']}</td><td><center>[b]$stren[/b]</center></td></tr> <tr><td>Agility: {$sats['agility']}</td><td>Agility: {$ir['agility']}</td><td><center>[b]$agility[/b]</center></td></tr> <tr><td>Guard: {$sats['guard']}</td><td>Guard: {$ir['guard']}</td><td><center>[b]$guard[/b]</center></td></tr> <tr><td>Labour: {$sats['labour']}</td><td>Labour: {$ir['labour']}</td><td><center>[b]$labour[/b]</center></td></tr> <tr><td>IQ: {$sats['IQ']}</td><td>IQ: {$sats['IQ']}</td><td><center>[b]$IQ[/b]</center></td></tr></table> <table width='75%' border='1'> <tr><td><center>[url='attack.php?ID={$_GET['][b]Attack?[/b][/url]</center></td></tr> </table> <table width='45%' border='1' class='h'> <tr><th>$$$</th><th>Misc</th></tr> <tr><td>Money: \${$money}</td><td>Rating: {$r['rating']}</td></tr> <tr><td>Bank Money: \${$bmoney}</td><td>Crime exp: {$r['crimexp']}</td></tr> <tr><td>Crystals {$r['crystals']}</td><td>Level: {$r['level']}</td></tr> </table> <table width='75%' border='1' class='h'> <tr><th>Name</th> <th>Ammount</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` FROM items WHERE itmid = %u', $e['inv_itemid']); $t = $db->query($t); $itm=$db->fetch_row($t); print "<tr><td>[b]{$itm['itmname']}[/b]</td><td>[b]{$e['inv_qty']}[/b]</td></tr>"; } print "</table> >[url='viewuser.php?u={$_GET[']Back To Profile.[/url]</br> Created By Zero-Affect"; } } else if($_GET['ID']) { $cost=$r['level']*2000; print "[b]You are hiring a spy on {$r['username']}[/b] It will cost you $$cost for the spys expenses. But be warned spying is not always 100% successful. <form action='rentaspy.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>"; } $h->endpage(); ?>
-
Re: [mccodes][V2] owner`s pannel and here is just a better way doing it since your code uses unecasery code <?php include("globals.php"); if($ir['user_level'] !=1) { echo"Excuse me but i think your not allowed here."; } else { echo"Welcome {$ir['username']} [url='staff.php']staff panel[/url] <a href='secpanel.php'>Secretary Panel<a/> [url='asspanel.php']Assistant Panel[/url]"; include("smenu.php"); } $h->endpage(); ?> wow its basicly the same and its more less lines
-
Re: [mccodes][V2] owner`s pannel do you call this coding? basicly all you did was add this part: if($ir['userid'] != 1) { die("404 u are not alowerd here"); } if($_POST['submit']) $tresder=(int) rand(100,999); print "[b]WELCOLME WELARD.[/b] <table width=75%><tr height=100><td valign=top> <u>Quick links</u> the rest you just copied/past thats it!!! THAT IS NOT CODING!!! LEARN REAL CODING!
-
Re: [mccode] Ajax chat script that should be the v2 one
-
Re: A little help? ok well if($ir['days in gang']<2) { die("this user can not be kicked out of the gang he has to be in for more than 2 days"); } change the days in gang for what ever the thing is called mosted probaly
-
Re: 3 Word Game is to suck...
-
Re: [$10] Secure Password System magictall guy just ask if he can make a dp pack on his game and only u know where it is and that way u can buy it
-
Re: [Free] [v1] Profile Image Uploader did i say i hacked iso's site? NO ask iso if i did any thing bad to his site please i could have deleted every thing i got into his cpanel even now im not the type of person who likes deleting files ok so now if u realy want to be a bad ass and be such a dick go ahead hack my game but the favour might return!
-
Re: Script For Thought i am gonna make in when i finish my project and yes it will take days and hours of coding but if u want the $$$ u need to put your time into this right? just like my whore house advanced mod it has got a total of 15 files tho it could be fit into 7-8 but it still took along time and alot of coding skills
-
Re: [Free] [v1] Profile Image Uploader lol did u know i can bypass that ? i already used this on my game and i can delete your hole game now if i realy wanted to but im not cruel add me on [email protected] and ill show u how i bypass it and then ill tell u how to do it then u can secure the file :D
-
Re: [Free] [v1] Profile Image Uploader you might want to secure this file it could be usefull for some thing unless u secure it
-
Re: Script For Thought me and oxi were gonna make it but then i needed to go bcoz i needed to fly lol it was gonna be cool bcoz u can own 2 children every day they grow per yr at the age of 4 they need to study until the age of 18 then they advance to college then at the age of 24 they must leave the house and go on there own lol
-
Re: [mccode] Mining mod delete all those sqls rider put and just re put them but just add befor the ; default (whatevernumber) with out the () and then the ;
-
Re: [v1] NEW - Weapon Stocks & Transport wow another illegal mod sold by zaver
-
Re: [v1] NEW - Weapon Stocks & Transport and who did u get it from?