Jump to content
MakeWebGames

Zero-Affect

Members
  • Posts

    3,713
  • Joined

  • Last visited

    Never

Everything posted by Zero-Affect

  1. Re: Counting (nr game) 2173 http://www.killah-city.net
  2. Re: Counting (nr game) 2171
  3. Re: [mccode v2] View Donators forgetful mind lol i get that alot
  4. Re: [mccode v2] View Donators   i dont know what you mean by the spammer bit liike what arte you trying to say?   Ok what he was saying is it gives potential spammers the ability to pick out your donators and spam their links to them knowing they have a better chance to get a donator for their game. someone actually understands me... wow or you could just add if($ir['daysold'] < 4) { echo 'You cannot access this page at this time.'; $h->endpage(); exit; }   not so hard huh lol http://www.killah-city.net
  5. Re: Counting (nr game) 2168 http://www.killah-city.net
  6. Re: [showcase] CriminalImpulse.com Released! Jobs were completely redone, completely custom job system that no other game has, guaranteed. You can even get fired for being inactive. im half way through coding something like that... lol the sms / txt sender, im assuming that's only set for like north america or have you got it set everywhere?
  7. Re: [mccodes][anysite really] PAGE Refrencing. i have more than that lol try 1000
  8. Re: [mccode] A better Safer Forum for your members to enjoy   its easy to fix i still have a bug somewhere on mine though jsomeone reported it lastnight lol
  9. Re: Counting (nr game) good 2166
  10. Re: Counting (nr game) lol no i was talking about adding ur link in posts is free advertising and i was saying it's easier to pay lol like on the top of ce... 2164
  11. Re: [mccode v2] cMarket Total Limiter very true lol on all my games i have always added something unique in the coding somewhere i've not seen any other site with half the things i add:p lol thats what makes it special if you ever have to sell
  12. Re: Counting (nr game) i was meaning ^^^ look up when refreshing on CE lol 2162
  13. Re: Counting (nr game) 2160 http://www.killah-city.net
  14. Re: [mccode v2] Fight the good Fight i prefer the take exp lol
  15. Re: [mccode v2] View Donators right... yeah Karla (inside joke) did you reply to rosie and can you tell her CE says HIIIIIIIIIIIIIIIIIII!
  16. Re: [mccode v2]New Edit user   very good moderator work Tezza + 1
  17. Re: [mccode] A better Safer Forum for your members to enjoy   way to go on the saying exactly what i said + 1
  18. Re: Counting (nr game) 2157
  19. Re: [mccode v2] cMarket Total Limiter i don't show anyone my (background) coding lol not even my partner (50% owner) has seen half of the extra little options i added
  20. Re: Counting (nr game)   i smell free advertising... try putting it on the header like my site is:P http://www.killah-city.net 2156
  21. Re: Counting (nr game) 2153
  22. Re: [mccode v1]Starter Pack Item i've seen so many of these ej.am and co.cc websites using this and forgetting on minor thing to make the button disappear after the kit or days are over. so say for example you set it for people under 5 days and the other row in the db updates also if(!$ir['whatever'] AND $ir['daysold'] <= 5) { // button code here }   how hard was that...
  23. Re: [mccode v2] Revamped RentaSpy lol i forgot i used sprintf and % was in 100% so i justified it and <?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 = $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(); ?>   TESTED and works
  24. Re: Counting (nr game) 2149
  25. Re: Counting (nr game) 2147
×
×
  • Create New...