Jump to content
MakeWebGames

Zero-Affect

Members
  • Posts

    3,713
  • Joined

  • Last visited

    Never

Everything posted by Zero-Affect

  1. Re: stop same ip transfers I like the code yet i wouldn't use it since using this would give my staff nothing to do and adding this would just make people smarter and use proxies but still i like it nice idea
  2. Re: Advanced RentASpy[V2] Bump
  3. Re: Advanced RentASpy[V2] depends on what you mean by background...
  4. Re: Advanced RentASpy[V2] yeah but its quicker than noting them down and checking isn't it... wow always the optimistic...
  5. Make the file rentaspy.php: <?php /*----------------------------------------------------- -- RentASpy V2 -- Coded by Zero-Affect -----------------------------------------------------*/ include "globals.php"; if(!$ir['donatordays']) { die("You have to be a donator to do this!"); } $q=mysql_query("SELECT * FROM users WHERE userid={$_GET['ID']}",$c); $r=mysql_fetch_array($q); if($_GET['ID']==$userid) { die("Wow some people are stupid trying to spy on yourself wont work here sorry."); } if($_GET['ID'] && $_GET['PAID']) { $cost=$r['level']*2000; if($_GET['PAID']!=$cost) { die("Quit trying to abuse bugs."); } if($_GET['PAID']>$ir['money']) { die("You don't have enough cash to rent a spy on {$r['username']}."); } $rand=rand(1,15); if($rand==1) { $lk=mysql_query("SELECT * FROM users WHERE userid=$userid",$c); $n=mysql_fetch_array($lk); mysql_query("UPDATE users SET money=money-{$_GET['PAID']} WHERE userid=$userid",$c); print "[b]Your spy has been caught. 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.",$c); } else { $sta=mysql_query("SELECT * FROM userstats WHERE userid={$_GET['ID']}",$c); $sats=mysql_fetch_array($sta); $st=mysql_query("SELECT * FROM userstats WHERE userid=$userid",$c); $stats=mysql_fetch_array($st); $we=mysql_query("SELECT * FROM items WHERE itmid={$r['equip_primary']}",$c); $pri=mysql_fetch_array($we); $we1=mysql_query("SELECT * FROM items WHERE itmid={$r['equip_secondary']}",$c); $sey=mysql_fetch_array($we1); $we2=mysql_query("SELECT * FROM items WHERE itmid={$r['equip_armor']}",$c); $arm=mysql_fetch_array($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'] > $stats['strength']) { $stren="<font color=red>Weaker</font>"; } elseif($sats['strength'] == $stats['strength']) { $stren="<font color=blue>Equal</font>"; } else { $stren="<font color=green>Stronger</font>"; } if($sats['agility'] > $stats['agility']) { $agility="<font color=red>Weaker</font>"; } elseif($sats['agility'] == $stats['agility']) { $agility="<font color=blue>Equal</font>"; } else { $agility="<font color=green>Stronger</font>"; } if($sats['guard'] > $stats['guard']) { $guard="<font color=red>Weaker</font>"; } elseif($sats['guard'] == $stats['guard']) { $guard="<font color=blue>Equal</font>"; } else { $guard="<font color=green>Stronger</font>"; } if($sats['labour'] > $stats['labour']) { $labour="<font color=red>Weaker</font>"; } elseif($sats['labour'] == $stats['labour']) { $labour="<font color=blue>Equal</font>"; } else { $labour="<font color=green>Stronger</font>"; } if($sats['IQ'] > $stats['IQ']) { $IQ="<font color=red>Weaker</font>"; } else if($sats['IQ'] == $stats['IQ']) { $IQ="<font color=blue>Equal</font>"; } else { $IQ="<font color=green>Stronger</font>"; } print "<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>"; mysql_query("UPDATE users SET money=money-{$_GET['PAID']} WHERE userid=$userid",$c); print "<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: {$stats['strength']}</td><td><center>[b]$stren[/b]</center></td></tr> <tr><td>Agility: {$sats['agility']}</td><td>Agility: {$stats['agility']}</td><td><center>[b]$agility[/b]</center></td></tr> <tr><td>Guard: {$sats['guard']}</td><td>Guard: {$stats['guard']}</td><td><center>[b]$guard[/b]</center></td></tr> <tr><td>Labour: {$sats['labour']}</td><td>Labour: {$stats['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>"; print "<table width='45%' border='1' class='h'><tr><th>$$$</th><th>Misc</th></tr> <tr><td>Money {$r['money']}</td><td>Rating: {$r['rating']}</td></tr> <tr><td>Bank Money: {$r['bankmoney']}</td><td>Crime exp: {$r['crimexp']}</td></tr> <tr><td>Nuggets {$r['crystals']}</td><td>Level: {$r['level']}</td></tr></table>"; print "<table width='75%' border='1' class='h'><tr><th>Name</th> <th>Ammount</th></tr>"; $z=mysql_query("SELECT * FROM inventory WHERE inv_userid={$_GET['ID']} ORDER BY inv_itemid DESC"); while($e=mysql_fetch_array($z)) { $t=mysql_query("SELECT * FROM items WHERE itmid={$e['inv_itemid']}",$c); $itm=mysql_fetch_array($t); print "\n<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(); ?>   Then Open viewuser.php: Find: } if($ir['donatordays'] > 0) { print "   Add Below: [[url='rentaspy.php?ID={$r[']Rent A Spy[/url]]   Okay i know i have posted this before but i edited it a little this is actually made by me so please no comments on this being hireaspy if you read the old thread you'd see its proven it isn't... also anyone who uses this please post i'd love some feedback for this :-P Note: Please post any problems/edits. Note: also i make it a rule if you use my free mod(s) you have to leave the little parts that says "Created By Zero-Affect" in. Its like you get it for free so leaving it in is only right because i have seen loads of people using this without leaving it in and afew claiming it is theres lol saying they coded it... so please follow that one little rule or coders will think before posting free mods...
  6. Re: New improved mailbox. yeah actually i looked at coding some similarities but not the same but you commented on mine without even looking so why can't i? karma sucks dun it;)
  7. Re: Updated Mailbox [v1] Yeah if you want v1 then convert it i run v2 and i don't do v1 now ill convert one from v1 to v2 but not the other way since i don't need to lol if you actually read then you would realize i posted it for v2... so the word DUH comes to mind right now... lol
  8. Re: New Amazing Register Page Yeah i use firefox like over half the population of the internet do also, i hate IE because well microsoft is lame lol
  9. Re: New improved mailbox. http://criminalexistence.com/ceforums/i ... c=17855.75 ^works perfect just doesn't have the smiley option which i think is a little stupid anyway   are you sure about that kyle the code looks very similar to the edited version of the one on here... weird huh? anyone else think thats a little weird?
  10. Re: [Free Mod]Rent A Spy[v2] lol see now if anyone posts anything here that could improve the mod then please do and i will add it to the mod and repost it in here gladly if anyone can think of anything to make it better or whatever...
  11. Re: [Free Mod]Rent A Spy[v2] yeah not a bad idea maybe when i edit it later ill add that function in, least no one is saying it hireaspy anymore lol
  12. Re: Updated Mailbox [v1] True google is a very powerful search engine also is ask.com, msn.com, yahoo.com etc.. etc... but i still prefer google myself for images.
  13. Re: [Free Mod]Rent A Spy[v2] well i am using it on 2 games and it works fine... must be just you
  14. Re: [Free Mod]Rent A Spy[v2]   maybe look back through the coding....
  15. Re: [Free Mod]Rent A Spy[v2] yeah i haven't denied its the same kinda mod but the coding is actually different and i put it on here for people who wanted hireaspy but for nothing... so whats your problem? i mean you can clearly see it isn't hireaspy yet you proceed to criticize its just a free mod to help people with there games.
  16. Re: Free 2 - Search wow once again great mod Nyna
  17. Re: New Amazing Register Page also maybe change the [img=new.bmp] To: [url='new.bmp'][img=new.bmp][/url]   so when someone clicks the screenshot(s) they goto a new window/tab to see the fullsize images?
  18. Re: New Amazing Register Page Hey mate i'm a little bit of a perfectionist and i maybe thing the rules etc.. could be centered? make it look more even cause to me it looks so wrong but besides that good job there mate nice... +1
  19. Re: [Free Mod]Rent A Spy[v2] hireaspy isn't a free mod though is it? i mean i only added this so people who wanted a similar mod that does basically the same thing then they could use it... just trying to help people out.. and yes actually i was a user of a site and still am a user of a site that uses hireaspy but i never actually had the coding so how can you rip something you don't have? and i couldn't find the mod free so i thought i'd make my own has i said on my first post but there ya go proven it ain't hireaspy so yeah.. anymore comments?
  20. Re: [Free Mod]Rent A Spy[v2] but until proven wrong please don't say its hireaspy unless u can prove it which is impossible because i coded it. so yeah :-D
  21. Re: [mccode] Multiple Event Deleter Your very welcome
  22. Re: [Free Mod]Rent A Spy[v2] look at the code... i don't actually have hirespy thats why i made it and i don't see it has a free mod on here either... but if someone who has it could look at the difference of the coding and let all these people know i would appreciated it. thanks...
  23. Re: View User Addon - Profile Views ah yeah fair comment mate.
  24. Make the file rentaspy.php: <?php include "globals.php"; if($ir['donatordays'] = 0) { die("You have to be a donator to do this!"); } $q=mysql_query("SELECT * FROM users WHERE userid={$_GET['ID']}",$c); $r=mysql_fetch_array($q); if($_GET['ID']==$userid) { die("What would spying on yourself do? coo off!"); } if($_GET['ID'] && $_GET['PAID']) { $cost=$r['level']*2000; if($_GET['PAID']!=$cost) { die("Quit trying to Cheat!"); } if($_GET['PAID']>$ir['money']) { die("You don't have enough cash to rent a spy on {$r['username']}."); } $rand=rand(1,15); if($rand==1) { $lk=mysql_query("SELECT * FROM users WHERE userid=$userid",$c); $n=mysql_fetch_array($lk); mysql_query("UPDATE users SET money=money-{$_GET['PAID']} WHERE userid=$userid",$c); print "[b]Your spy has been caught. 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.'",$c); } else { $sta=mysql_query("SELECT * FROM userstats WHERE userid={$_GET['ID']}",$c); $sats=mysql_fetch_array($sta); $we=mysql_query("SELECT * FROM items WHERE itmid={$r['equip_primary']}",$c); $pri=mysql_fetch_array($we); $we1=mysql_query("SELECT * FROM items WHERE itmid={$r['equip_secondary']}",$c); $sey=mysql_fetch_array($we1); $we2=mysql_query("SELECT * FROM items WHERE itmid={$r['equip_armor']}",$c); $arm=mysql_fetch_array($we2); print "<table width='45%' border='1'><tr background='header.jpg'><th>Primary</th> <th>Secondary</th><th>Armor</th></tr> <tr><td>{$pri['itmname']}</td><td>{$sey['itmname']}</td><td>{$arm['itmname']}</td></tr></table>"; mysql_query("UPDATE users SET money=money-{$_GET['PAID']} WHERE userid=$userid",$c); print "<table width='45%' border='1'><tr background='header.jpg'><th>Stats</th> <th>Misc</th></tr> <tr><td>Strength: {$sats['strength']}</td><td>Bank Money: {$r['bankmoney']}</td></tr> <tr><td>Agility: {$sats['agility']}</td><td>Crime exp: {$r['crimexp']}</td></tr> <tr><td>Guard: {$sats['guard']}</td><td>Rating: {$r['rating']}</td></tr> <tr><td>Labour: {$sats['labour']}</td><td>Gems {$r['votetoken']}</td></tr> <tr><td>IQ: {$sats['IQ']}</td><td>Level: {$r['level']}</td></tr></table>"; print "<table width='75%' border='1'><tr background='header.jpg'><th>Name</th> <th>Ammount</th></tr>"; $z=mysql_query("SELECT * FROM inventory WHERE inv_userid={$_GET['ID']} ORDER BY inv_itemid DESC"); while($e=mysql_fetch_array($z)) { $t=mysql_query("SELECT * FROM items WHERE itmid={$e['inv_itemid']}",$c); $itm=mysql_fetch_array($t); print "\n<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(); ?>   Then Open viewuser.php: Find: } if($ir['donatordays'] > 0) { print "   Add Below: [[url='rentaspy.php?ID={$r[']Rent A Spy[/url]]   I couldn't find this mod for free anywhere so i decided on making my own and thought maybe i should share what i made. Note: Please post any problems/edits.
  25. Re: View User Addon - Profile Views i was written mine has he posted lol mine does take away the fact that when you view your profile it doesn't count though so yeah i added that extra i guess lol
×
×
  • Create New...