
iR00T
Members-
Posts
375 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by iR00T
-
Re: [Free] [v1] Monkey Slaves I had some nice v2 codes custom and everything nice login register...mainmenu was movable and slidded down and stuff but v2 is just so ehh..!...so i delted them im doing v1 now its more easyer to convert v2 to v1 its the other way around that got me so i just use v1...
-
Re: Which login is better??? Definatly the top one..the bottom one i can't read no text on it :S...but +1 on the top one
-
Re: Multi IP Prevention Nice..bit of code..but i was thinking some annoying brats say idk a few people i know likes to make tons of multi's on diff ip's but never do xfer's or nothing but so i was thinkiung why not have it do like 50 pop up's since they keep tryin i mean i logged all users on my game and saw like 5 of them tried like 40 times a day :S...they are no good XD
-
Re: [V2] Donator Shop [V2] FOR V1 <?php /*----------------------------------------------------- Edited By Evolution AKA RiseAK47 -----------------------------------------------------*/ require "glob_func.php"; if($ir['jail']) { die("<h2>Your in Jail!</h2>Come back in {$ir['jail']} Minutes!"); } if($ir['hospital']) { die("<h2>Your in Hospital</h2>Come back in {$ir['hospital']} Minutes!"); } if($ir['donatordays'] == 0) { die("Sorry, This Feature is for Donators only!"); } print "<center><table width=80% class=h border=1><tr><th>Donator Shop</th></tr><tr> <td> <center><hr width='70%'>This Feature is only For Donators, Welcome To The Daily Donator Shop, Please Take Your Time And You Can Use This When You Like!<hr width='70%'> "; if($_GET['reward']) { if($ir['reward_done'] >= 1) { die("<font color=red>Sorry, You Have already shopped here today its closed, Come Back Tomorrow!</font> </td></tr></th></table><table width=80% class=h border=1><tr><th>[url='ddreward.php']- Go Back -[/url]</th></tr></td></th> </table>"); } $num=rand(1, 5); mysql_query("UPDATE users SET reward_done=reward_done+1 WHERE userid=$userid"); $ir['money']-=100; switch($num) { case 1: $money=rand(30, 1200); print "<font color=green>You Have Been Rewarded Money!</font>"; mysql_query("UPDATE users SET money=money+{$money} WHERE userid={$userid}"); break; case 2: print "<font color=green>You Gained Some Brave!</font>"; mysql_query("UPDATE users SET brave=maxbrave WHERE userid={$userid}"); break; case 3: print "<font color=green>You Gained Some Will!</font>"; mysql_query("UPDATE users SET will=maxwill WHERE userid={$userid}"); break; case 4: print "<font color=green>You Gained Some Energy!</font>"; mysql_query("UPDATE users SET energy=+5 WHERE userid={$userid}"); break; case 5: print "<font color=green>You Gained 10 Crystals!</font>"; mysql_query("UPDATE users SET crystals=+10 WHERE userid={$userid}"); break; } print " <a href='test.php'><font color=black>- back -</font> "; } else { print " </td></tr></th></table><table width=80% class=h border=1><tr><th>[url='http://example.exofire.net/shops.php?shop=1?shop=9?reward=1']<font color=green>- Enter Here -</font>[/url]</th></tr></td></th> </table> <table width=80% class=h border=1><tr><th>[url='index.php']- Go To Home -[/url]</th></tr></td></th></table> "; } $h->endpage(); ?>
-
Re: [V2] Donator Shop [V2] nice niec ill be using this and ill conver tif its v2 for v1 people
-
Re: Staff Password without sql's. (ANY VERSION) yeah...there is a code that will strop id 1 or some admins from being feded /....if that is what ur talkin abou
-
Re: [mccode] Owner Panel - Simple I'll post a basic v1 and v2 one but yeah add more stuff u do it but pm me if u want one and or wan tone added to here
-
Re: [Free] Log Suspicious Users i added something speical onto mines it's like if i see them go to something say this installer.php when most people ahve it tooken off it will send me a event and well if they do it three times or if i see something that i dont like i can click block and it will block them from that page
-
Re: [V1] Chests [V1] Nice....I'll be using this i like it nice one
-
Re: [V2][MCCODES]Updated Help tutorial you do got a point
-
Re: [V2]Editing Organised Crimes for gang like a gang crime
-
Re: [v2] Fun mod [v2] when i looked at this i Didn't laugh well i did but i wasn't laughig at the mod more like the maker looks like u just threw a few query's in nothing much but once the user does it and looks around they see it it Might be funny but i don't know :?
-
Re: [V2][MCCODES]Updated Help tutorial umm...not to be rude...but when most(smart people)normaly edit all that but still good job on that i know some people probably dont bother changing stuff..XD
-
Re: [V2] Property gamble <?php include "globals.php"; if ($ir['property'] ==1) {echo "You have already done property dealings today."; EXIT;} if ($ir['hospital']) {echo "You cannot do property dealings while in hospital."; EXIT;} if ($ir['jail']) {echo "You cannot property dealings while in Jail."; EXIT;} if (!isset($_GET['action'])){ echo "<center>Hi and welcome to the property auctioneers, please choose one of the six properties you would like to buy and sell , but be careful, not all of the properties will sell for more than what you paid. <table Border='1' class='table'><tr><td class='table'> [url='property.php?action=do']Tri a door[/url]</td></tr></table>";} else { if($_GET['action']=='do') { $rand=(int) (rand(1,3)); //code start// //property 1 start// if ($rand==1) { echo "You buy property 1 and it manages to sell for 10% more than what you paid for it. [url='index.php']> Back[/url]"; mysql_query("UPDATE users SET money=money*1.1 WHERE userid=$userid"); mysql_query("UPDATE users SET property=1 Where userid=$userid");}//// //property 1 end// //property 2 start// if ($rand==2) {echo "You buy property 2 and it sells for considerably less than what you paid for it, you only get 80% of its original value."; mysql_query("UPDATE users SET money=money*0.8 WHERE userid=$userid"); mysql_query("UPDATE users SET property=1 Where userid=$userid");}//// //property 2 end// //property 3 start// if ($rand==3) {echo "You buy property 3 and get a considerable amount more than what you paid for it 30% more infact and 5 crystals."; mysql_query("UPDATE users SET crystals=crystals+5 Where userid=$userid"); mysql_query("UPDATE users SET money=money*1.3 WHERE userid=$userid"); mysql_query("UPDATE users SET property=1 Where userid=$userid");}//// //property 3 end// //code end// } elseif($_GET['action']!='do') { echo "Hacking attempt"; $h->endpage(); exit; } } ?>
-
Re: [V2] Property gamble nice mod i converted for v1 *sql below*
-
Re: advanced warning system???? yes sir - XD - lol i'll try and remember it next time Magic
-
Re: Tutorial: v2 - v1 Conversion oh yeah thanks to MTG for this but this might help some newbie coders if you take that whole v1 part from the session start down to the mainmenu part put into a file called v1.php and just edit it like when u convert v2 to v1 put <? include "v1.php"; something like that it will help you loads than haveing all that codeing in there
-
Re: User Rating ummm...you do know that u could keep the installer up and just make it where only ur ip can do it if seen games like that like this one game iplay has certain stuff like he can chosse to run his crons mainully witih one click ut onlyhis ip and his coder's can do it This is really quite simple to do. yes XD just like a simple few lines of code bam all ip's except the one ur running is workable with that feature/mod
-
Re: [v2] Fun mod [v2] ha i see what it does nice one ;) i give u a a+ most noobs want even look that close u should of put like brave -34234234324324239874293468768736 XD
-
Re: [V2] Credit Card Mod [V2] V1 CREDIT CARD CONVERTED TESTING WORKS!!!! ENJOY!!!! <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON 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(); print "<center><table width=80% class=h border=1><tr><th>Credit Card</tr><tr> <td>"; if($ir['creditcard']>-1) { switch($_GET['action']) { case "deposit": deposit(); break; case "withdraw": withdraw(); break; default: index(); break; } } else { if(isset($_GET['buy'])) { if($ir['money']>5000) { print "<center> <hr width='70%'>[i]Thank You {$ir['username']}, You Have Finished Signing up and Brought your Card for \$5,000!, We Hope you Enjoy your Stay![/i]<hr width='70%'> </td></tr></th>"; print " <table width=80% cellspacing=1 class='table'> <tr><th> [url='creditcard.php']- Click Here to Start Using your Credit Card -[/url]</th></tr>"; print " <table width=80% cellspacing=1 class='table'> <tr><th> [url='explore.php']- Click Here to Go to Explore -[/url]</th></tr>"; mysql_query("UPDATE users SET money=money-5000,creditcard=0 WHERE userid=$userid"); } else { print "<center> <hr width='70%'>[i]You do not have enough Money to Buy a Credit Card!<hr width='70%'> </td></tr></th>"; print " <table width=80% cellspacing=1 class='table'> <tr><th> [url='explore.php']- Click Here to Go to Explore -[/url]</th></tr>"; } } else { print "<center> <hr width='70%'>[i]<font color=blue>Welcome to your Local Bank!</font> We have Noticed you Currently Havnt got a Credit Card If you wish to Sign up Please feel Free ![i]<hr width='70%'> <font color=#666666>Please Read The Credit Card Information Below before Signing Up </font></center> </td></tr></th></table>"; print " <table width=80% class=h border=1> <tr><th>Credit Card Information</a></tr><tr> <td><center> <hr width='85%'>Our Credit Cards do not Provide Interest and Withdrawal Fees, If you wish to Have Interest Then you should Sign up for the [url='bank.php']<font color=red>Bank</font>[/url] (Which Costs More), You will only have One Credit Card, and one Credit Card only! If you get Caught trying to Hack the Credit Card Machine, Then that will lead to a Fed Sentence for a Long Long Time, If you Wish to Sign up then please Click (Sign Up), Thank You for Taking your Time Reading this!<hr width='85%'> [img=creditcard.png] <hr width='70%'> [i]<font color='#666666'>Please Click (Sign Up) to Continue or (Back) To go Back to Explore</font>[/i] <hr width='70%'> </td></tr></th>"; print " <table width=80% cellspacing=1 class='table'> <tr><th>[url='creditcard.php?buy']- Click Here to Sign up for a Credit Card Now For Just \$5,000! -[/url]</th></tr>"; print " <table width=80% cellspacing=1 class='table'> <tr><th> [url='explore.php']- Click Here to Go Back to Explore -[/url]</th></tr>"; } } function index() { global $db, $ir,$c,$userid,$h; print "<hr width='70%'><center>[i]Welcome Back {$ir['username']}, You currently have \${$ir['creditcard']} Money in your Credit Card![/i]<hr width='70%'> [img=creditcard.png] <table width='75%' cellspacing=1 class='table'> <tr> <td width='50%'> <center><hr width='50%'>[b]Deposit Money[/b] There is no Fee on Deposits!<hr width='50%'> <form action='creditcard.php?action=deposit' method='post'> Amount: <input type='text' name='deposit' value='{$ir['money']}' /> <input type='submit' value='Deposit' /></form></td> </tr> </table> "; print " <table width='75%' cellspacing=1 class='table'> <tr> <td width='50%'> <center><hr width='50%'>[b]Withdraw Money[/b] There is no Fee on Withdrawals!<hr width='50%'><form action='creditcard.php?action=withdraw' method='post'> Amount: <input type='text' name='withdraw' value='{$ir['creditcard']}' /> <input type='submit' value='Withdraw' /></form></td> </tr> </table> "; print " </td><table width=80% cellspacing=1 class='table'> <tr><th> [url='explore.php']- Click Here to Go Back to Explore -[/url]</th></tr>"; } function deposit() { global $db,$ir,$c,$userid,$h; $_POST['deposit']=abs((int) $_POST['deposit']); if($_POST['deposit'] > $ir['money']) { print "<hr width='70%'>[i]<center>You Havnt Got Enough Money to Deposit![/i]<hr width='70%'>"; print " </td><table width=80% cellspacing=1 class='table'> <tr><th> [url='creditcard.php']- Go Back -[/url]</th></tr>"; } else { $gain=$_POST['deposit']-$fee; $ir['creditcard']+=$gain; mysql_query("UPDATE users SET creditcard=creditcard+$gain, money=money-{$_POST['deposit']} where userid=$userid"); print "<hr width='70%'><center>[i]You go to The Local Bank and hand over \${$_POST['deposit']} To be Deposited to your Credit Card! \$$gain is Added to your Credit Card! [b]You now have \${$ir['creditcard']} in Your Credit Card![/b][/i]<hr width='70%'> "; print " </td><table width=80% cellspacing=1 class='table'> <tr><th> [url='creditcard.php']- Go Back -[/url]</th></tr>"; } } function withdraw() { global $db,$ir,$c,$userid,$h; $_POST['withdraw']=abs((int) $_POST['withdraw']); if($_POST['withdraw'] > $ir['creditcard']) { print "<hr width='70%'>[i]<center>You do not have Enough Money In Your Credit Card to Withdraw this Amount![/i]<hr width='70%'>"; print " </td><table width=80% cellspacing=1 class='table'> <tr><th> [url='creditcard.php']- Go Back -[/url]</th></tr>"; } else { $gain=$_POST['withdraw']; $ir['creditcard']-=$gain; mysql_query("UPDATE users SET creditcard=creditcard-$gain, money=money+$gain where userid=$userid"); print "<hr width='70%'><center>[i]You go to the Machine and Decide to Withdraw \$$gain, You wait a Few Seconds and then you get your Money! [b]You now have \${$ir['creditcard']} in Your Card![/b][/i]<hr width='70%'> "; print " </td><table width=80% cellspacing=1 class='table'> <tr><th> [url='creditcard.php']- Go Back -[/url]</th></tr>"; } } $h->endpage(); ?> everything else is just the same pic sql etc...enjoy
-
Re: User Rating ummm...you do know that u could keep the installer up and just make it where only ur ip can do it if seen games like that like this one game iplay has certain stuff like he can chosse to run his crons mainully witih one click ut onlyhis ip and his coder's can do it
-
Re: [Free] Log Suspicious Users ha nice mod ill be using this on my game
-
Re: [Free] [v1] Scuba Diving yeah ummm...i did have the sql after it didnt work and i didnt want a extra sql lieing in there un used so i dropped it and i added it back today and it says this #1060 - Duplicate column name 'oxygen' so yeah thre is no oxygen table i check'd so idk
-
Re: Tutorial: v2 - v1 Conversion ah tried it still didnt work well i tried on a login page a nice on did it neer ever loaded the page so i jsut hit undo save and it loaded the page fast i was like wow
-
Re: Coding Tutorials try...google this w3schools i mean it has alot about all diff coding styles php html C++ css dhtml xss and more!!!!!