Jump to content
MakeWebGames

Zero-Affect

Members
  • Posts

    3,713
  • Joined

  • Last visited

    Never

Everything posted by Zero-Affect

  1. Re: [mccodes] Horoscopes   + 1 looks interesting
  2. Re: [mccode v2] Donator Packs To Items what on earth are you after?
  3. Re: Counting (nr game) 2145
  4. Re: Counting (nr game) 2143
  5. Re: [mccode v2] Revamped RentaSpy   try: <?php /*-------------------------------------------------------------- -- RentASpy -- Compatible: Mono Country Version 2 -- Script Verion: 3.1 -- Made by: Zero-Affect --------------------------------------------------------------*/ include "globals.php"; $_GET['ID']=abs((int) $_GET['ID']); $_GET['PAID']=abs((int) $_GET['PAID']); // If you want it so anyone can use this modification remove the next 12 lines 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`, `rating`, `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']) { // below is the price determined by the victims level times 2000 (ie: 20 times 2000 equals 40000) $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 sprintf(' Invalid Command. You dont have enough money to spy on %s. >[url="index.php"]Go Home[/url] ', $r['username'] ); $h->endpage(); exit; } $rand=rand(1,15); if($rand==1) { $query = sprintf('UPDATE `users` SET `%s` = `%s` - %u WHERE userid = %u', money, money, $_GET['PAID'], $userid); $db->query($query); echo ' [b]Your spy has been caught. Your name may have been mentioned.[/b] '; event_add($_GET['ID'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] tried to rent a spy on you but failed."); } else { $query = sprintf('UPDATE `users` SET `%s` = `%s` - %u WHERE userid = %u', money, money, $_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 { $prim = "{$sey['itmname']}"; } if(!$arm['itmname']) { $arm = "None"; } else { $prim = "{$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>"; } echo sprintf(' <table width="75%" border="1" class="h"> <tr> <th>Primary</th> <th>Secondary</th> <th>Armor</th> </tr> <tr> <td>%s</td> <td>%s</td> <td>%s</td> </tr> </table> ', $prim, $secon, $arm ); echo " <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> "; $moni = number_format($r['money']); $bmoni = number_format($r['bankmoney']); $cryi = number_format($r['crystals']); echo sprintf(' <table width="75%" border="1"> <tr> <td><center>[url="attack.php?ID=%u"][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: %s</td><td>Rating: %u</td></tr> <tr><td>Bank Money: %s</td><td>Crime exp: %u</td></tr> <tr><td>Crystals: %s</td><td>Level: %u</td></tr> </table> ', $_GET['ID'], $moni, $r['rating'], $bmoni, $r['crimexp'], $cryi, $r['level'] ); echo ' <table width="75%" border="1" class="h"> <tr> <th>Name</th> <th>Ammount</th> </tr> '; $creator = 'Zero-Affect'; $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($db->query($z))) { $t = sprintf('SELECT `itmname` FROM items WHERE itmid = %u', $e['inv_itemid']); $t = $db->query($t); $itm=$db->fetch_row($t); echo sprintf(' <tr> <td> [b]%s[/b] </td> <td>[b]%u[/b]</td> </tr> ', $itm['itmname'], $e['inv_qty'] ); } echo sprintf(' </table> >[url="viewuser.php?u=%u"]Back To Profile.[/url] Created By %s ', $_GET['ID'], $creator ); } } else if($_GET['ID']) { $cost = abs((float) $r['level']*2000); $costi = number_format($cost); echo sprintf(' [b]You are hiring a spy on %s[/b] It will cost you $%s for the spys expenses. But be warned spying is not always 100% successful. <form action="'.$_SERVER['PHP_SELF'].'" method="get"> <input type="hidden" name="ID" value="%u" /> <input type="hidden" name="PAID" value="%u" /> <input type="submit" value="Hire Spy" /> </form> ', $r['username'], $costi, $_GET['ID'], $cost ); } $h->endpage(); ?>
  6. Re: Counting (nr game) 2141
  7. Re: [MOD] V2 Fight the good Fight easier to just take all their exp lol it stops them from leaving fights more than once
  8. Re: Counting (nr game) 2139
  9. Re: Counting (nr game) 2137
  10. Re: Counting (nr game) 2135
  11. Re: Counting (nr game)   2133 http://www.killah-city.net
  12. Re: [mccode v2] Revamped RentaSpy rentaspy.php: <?php /*-------------------------------------------------------------- -- RentASpy -- Compatible: Mono Country Version 2 -- Script Verion: 3.1 -- Made by: Zero-Affect --------------------------------------------------------------*/ include "globals.php"; $_GET['ID']=abs((int) $_GET['ID']); $_GET['PAID']=abs((int) $_GET['PAID']); // If you want it so anyone can use this modification remove the next 12 lines 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`, `rating`, `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']) { // below is the price determined by the victims level times 2000 (ie: 20 times 2000 equals 40000) $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 sprintf(' Invalid Command. You dont have enough money to spy on %s. >[url="index.php"]Go Home[/url] ', $r['username'] ); $h->endpage(); exit; } $rand=rand(1,15); if($rand==1) { $query = sprintf('UPDATE `users` SET `%s` = `%s` - %u WHERE userid = %u', money, money, $_GET['PAID'], $userid); $db->query($query); echo ' [b]Your spy has been caught. Your name may have been mentioned.[/b] '; event_add($_GET['ID'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] tried to rent a spy on you but failed."); } else { $query = sprintf('UPDATE `users` SET `%s` = `%s` - %u WHERE userid = %u', money, money, $_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 { $prim = "{$sey['itmname']}"; } if(!$arm['itmname']) { $arm = "None"; } else { $prim = "{$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>"; } echo sprintf(' <table width="75%" border="1" class="h"> <tr> <th>Primary</th> <th>Secondary</th> <th>Armor</th> </tr> <tr> <td>%s</td> <td>%s</td> <td>%s</td> </tr> </table> ', $prim, $secon, $arm ); echo " <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> "; $moni = number_format($r['money']); $bmoni = number_format($r['bankmoney']); $cryi = number_format($r['crystals']); echo sprintf(' <table width="75%" border="1"> <tr> <td><center>[url="attack.php?ID=%u"][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: %s</td><td>Rating: %u</td></tr> <tr><td>Bank Money: %s</td><td>Crime exp: %u</td></tr> <tr><td>Crystals: %s</td><td>Level: %u</td></tr> </table> ', $_GET['ID'], $moni, $r['rating'], $bmoni, $r['crimexp'], $cryi, $r['level'] ); echo ' <table width="75%" border="1" class="h"> <tr> <th>Name</th> <th>Ammount</th> </tr> '; $creator = 'Zero-Affect'; $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($db->query($z))) { $t = sprintf('SELECT `itmname` FROM items WHERE itmid = %u', $e['inv_itemid']); $t = $db->query($t); $itm=$db->fetch_row($t); echo sprintf(' <tr> <td> [b]%s[/b] </td> <td>[b]%u[/b]</td> </tr> ', $itm['itmname'], $e['inv_qty'] ); } echo sprintf(' </table> >[url="viewuser.php?u=%u"]Back To Profile.[/url] Created By %s ', $_GET['ID'], $creator ); } } else if($_GET['ID']) { $cost = abs((float) $r['level']*2000); $costi = number_format($cost); echo sprintf(' [b]You are hiring a spy on %s[/b] It will cost you $%s for the spys expenses. But be warned spying is not always 100% successful. <form action="'.$_SERVER['PHP_SELF'].'" method="get"> <input type="hidden" name="ID" value="%u" /> <input type="hidden" name="PAID" value="%u" /> <input type="submit" value="Hire Spy" /> </form> ', $r['username'], $costi, $_GET['ID'], $cost ); } $h->endpage(); ?>   Find (viewuser.php): } if($ir['donatordays'] > 0) { print "   Add below: [[url='rentaspy.php?ID={$r[']Rent A Spy[/url]]   Fixed afew minor bugs should work much better now
  13. Re: [mccode v2] cMarket Total Limiter lol you should see my staff options on cmarket lol it's actually quite advanced lol
  14. Re: [mccodes V1-V2]Selling MYOP - Players can make their Own Donor Packs ($75)   lol Do not need nyna to confirm, I know all the ways to bypass mc code security and that is not one =] maybe you should teach me the mystical ways of lost one then huh When you can afford my knowledge, let me know lol ill let you know when i have enough money lmao
  15. Re: Counting (nr game) 2131
  16. Re: Counting (nr game)   Yes it is Fair Zero Effect you have been ban from this Game lol 2122 Affect not Effect, zero effect would be what you do in the bedroom... when your admin you can ban me 2125
  17. Re: Counting (nr game) do i really have to post another 2000 numbers lol no fair! 4125
  18. Re: [V2] View Donators   if your going to do a job do it right... im sure Nyna may have a good enough reason why opening and closing php all the time could be a issue google it lol Extensible Hypertext Markup Language (XHTML)
  19. Re: [V2] View Donators I dislike your style of coding but it's a ok mod i guess but leaves you open to spammers they know who to spam now lol +1 anyways mate
  20. Re: [mccode v2]New Edit user   Sorry mate + 1
  21. Re: [mccode v2] User Shops [$35.00]   i forgot to update sorry... 4 Copies Left
  22. Re: Owner Panel V.2 lol Killah how little you know my friend... how little you know I can imagine a 13 year old sitting at a computer with his soda and playboy mags using google found exploits (like the old ' OR "=' OR '1'='1) reading this post and thinking he's a "master hacker" spitting out references from movies like "hackers", "hackers 2 - operation takedown" or "antitrust". all i can say to that is GET A LIFE i bet 1/8th of CE users are self proclaimed hackers lol really you have to ask yourself can they prove it... (not by using sql exploits or html tricks on your site) wow i am bored lol
  23. Re: [mccode v2] Donator Packs To Items   autocrediting is quite funny when you install it let me know ill buy a 100 pack for 0.1 lol
  24. Re: [mccode v2] Display Cabinet   Your like me Zero :P, you hate them.... and i dont stop banging on about tables :P like i stated in previous posts Tezza TABLES CAN LOOK NICE... just repost the mod Kix
  25. Re: [mccode v2] Donator Packs To Items lol (inside joke here hence the lol) the ipn donation
×
×
  • Create New...