
Karlos
Members-
Posts
951 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Karlos
-
Re: Boat + Planks Mod [V2] Go into your chat logs on MSN and take a screen shot, Or no-one will believe you :wink: he made a version where you only buy 1 set of planks in the shop so i edited made there more, compressed his 3 files into 1, i fixed his version cuz he had planks=10 and it should of been planks=planks+10 But He Got The Idea And I Do See I Put Him There As Well
-
Re: Snak Attak [v2] everyone should :-D
-
Im really bored so im just gonna post a mod :-D Create file and call it passesshop.php <?php //Passes Mod //Made By Karlos //Made For Mccode V2 //Date Made: 04 - Sep - 2008 //Free To Criminal Exsitence Forum Users include "globals.php"; if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } if(!$_GET['spend']) { print "<h2>Passes Shop</h2> You Need Passes To Gain Access To Special Places.... <h3>Passes</h3> <table border='1' width='90%' bordercolor='#000000'><tr background='none'> <th>Passes</th><th>Cost</th><th>Description</th><th><center>Buy</th></tr><tr> <td><center>Gym</td><td><center>$100</td><td><center>Need This To Get Access To Gym</td><td><center>[url='passesshop.php?spend=GymPass']Buy now[/url]</td></tr><tr> <td><center>Crystal Gym</td><td><center>$75</td><td><center>Need This To Get Access To Crystal Gym</td><td><center>[url='passesshop.php?spend=CryGymPass']Buy now[/url]</td></tr><tr> <td><center>Passport</td><td><center>$75</td><td><center>Need This To Travel</td><td><center>[url='passesshop.php?spend=Passport']Buy now[/url]</a></td></tr></table>"; } else { if($_GET['spend'] == 'GymPass') { if($ir['money'] <99) { print "You don't have enough money to buy the Gym Pass, you need $100!"; } else { $db->query("UPDATE users SET money=money-100, gympass=gympass+1 WHERE userid=$userid",$c); print "Congratulations, you bought a gym pass for $100! [url='passesshop.php']Back to Shop[/url] [url='gym.php']Work Out[/url]"; } } else if($_GET['spend'] == 'CryGymPass') { if($ir['money'] <49) { print "You don't have enough money to buy the Crystal Gym Pass, you need $100!"; } else { $db->query("UPDATE users SET money=money-50, crygympass=crygympass+1 WHERE userid=$userid",$c); print "Congratulations, you bought a crystal gym pass for $50! [url='passesshop.php']Back to Shop[/url] [url='crystalgym.php']Work Out[/url]"; } } else if($_GET['spend'] == 'Passport') { if($ir['money'] <74) { print "You don't have enough money to buy the passport, you need $75!"; } else { $db->query("UPDATE users SET money=money-100, passport=passport+1 WHERE userid=$userid",$c); print "Congratulations, you bought a passport for $75! [url='passesshop.php']Back to Shop[/url] [url='monorail.php']Travel[/url]"; } } } $h->endpage(); ?> Now The 3 Edits 1. Open monorail.php find (Will Need to edit text as im using my game text XD): if($ir['money'] < 1000) { print "You Dont Have Enough Money To Charge For Fuel..."; } Add Below: if($ir['passport'] < 1) { print " You Don't Have A Passport...You Can't Leave The Island"; } Save It 2. Open Up gym.php and find: include "globals.php"; Add Below: if($ir['gympass']== 0) { die("You do not have a gym pass, >[url='passesshop.php']Buy a gym pass[/url]"); } 3. Finally Open crystalgym.php or cgym.php or whatever you called you crystal gym :-D And Find include "globals.php"; Save It Add below if($ir['crygympass']== 0) { die("You do not have a crystal gym pass, >[url='passesshop.php']Buy a gym pass[/url]"); } Save It Thats The Edits Done Open Up explore.php And Add [url='passesshop.php']Buy Game Passes[/url] Where ever you desire Finally add this SQL ALTER TABLE users ADD gympass INT(11) DEFAULT 0; ALTER TABLE users ADD crygympass INT(11) DEFAULT 0; ALTER TABLE users ADD passport INT(11) DEFAULT 0; And Your Done :-D Any Problems Contact Karlos Please Leave Comments :wink:
-
Re: [V2] Race Mod & Status Mod on Page 2 [V2] if you think your that good then: Code It, Release It, Prove It
-
Re: Kill A Gangster [v2] funnily enough he edited more but he might aswell just edited the output text
-
Re: Kill A Gangster [v2] Loooks Soooooooooo Familer :|
-
Re: Boat + Planks Mod [V2] Cheers :P I Was Gonna Do it But I had To Go To School :lol: I Know But I Still Put It On 8-) :wink:
-
Some People Like The Passport Mod But I Dont So, Me Ans Sniko Made It So You Need To Make A Boat Via Buying Planks And Making The Boat Create A File And Call it planksshop.php <?php //Planks Mod //Made By karlos + sniko //Copyright © //Made For Mccode V2 //Date Made: 20 - Aug - 2008 //Free To Criminal Exsitence Forum Users include "globals.php"; if($ir['jail'] or $ir['hospital']) { echo("This page cannot be accessed while in jail or hospital."); } if(!$_GET['spend']) { print "<h2>Plank And Boat Shop</h2> [i]Here you can buy Planks. Planks Are Needed To Make A Boat The You Can Travel.[/i] [i]You can also Build Your Boat Here.[/i] You Currently Have {$ir['planks']} Planks. <table width=95% border=1> <th height=10%># Of Planks</th><th height=10%>Price</th><th height=10%>Buy</th></tr> <td><center>5</td><td><center>$250</td><td><center>[url='planksshop.php?spend=5']Buy now[/url]</td></tr> <td><center>10</td><td><center>$500</td><td><center>[url='planksshop.php?spend=10']Buy now[/url]</td></tr> <td><center>15</td><td><center>$750</td><td><center>[url='planksshop.php?spend=15']Buy now[/url]</td></tr><tr> <td><center>20</td><td><center>$1000</td><td><center>[url='planksshop.php?spend=20']Buy now[/url]</td></tr> <td><center>25</td><td><center>$1250</td><td><center>[url='planksshop.php?spend=25']Buy now[/url]</a></td></tr></table> <table width=95% border=1> <th height=10%>Boat</th><th height=10%>Build</th></tr> <td><center>Small Boat</td><td><center>[url='planksshop.php?spend=boat']Build Now[/url]</td></tr><tr></table>"; } else { if($_GET['spend'] == '5') { if($ir['money'] <249) { print "You don't have enough money to buy the planks, you need $50!"; } else { $db->query("UPDATE users SET money=money-250, planks=planks+5 WHERE userid=$userid",$c); print "Congratulations, you bought 5 planks for $250! [url='planksshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '10') { if($ir['money'] <499) { print "You don't have enough money to buy the planks, you need $500!"; } else { $db->query("UPDATE users SET money=money-500, planks=planks+10 WHERE userid=$userid",$c); print "Congratulations, you bought 10 planks for $500! [url='planksshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '15') { if($ir['money'] <749) { print "You don't have enough money to buy the planks, you need $50!"; } else { $db->query("UPDATE users SET money=money-750, planks=planks+15 WHERE userid=$userid",$c); print "Congratulations, you bought 15 planks for $750! [url='planksshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '20') { if($ir['money'] <999) { print "You don't have enough money to buy the planks, you need $1000!"; } else { $db->query("UPDATE users SET money=money-1000, planks=planks+20 WHERE userid=$userid",$c); print "Congratulations, you bought 20 planks for $50! [url='planksshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '25') { if($ir['money'] <1249) { print "You don't have enough money to buy the planks, you need $1250!"; } else { $db->query("UPDATE users SET money=money-1250, planks=planks+25 WHERE userid=$userid",$c); print "Congratulations, you bought 25 planks for $1250! [url='planksshop.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == 'boat') { if($ir['planks'] <49) { print "You only have {$ir['planks']} planks you need 50"; } else { $db->query("UPDATE users SET planks=planks-50, boat=boat+1 WHERE userid=$userid",$c); print "Congratulations, you built a boat for 50 planks! [url='planksshop.php']Back to Shop[/url] "; } } } } } } } } $h->endpage(); ?> Save It Open Monorail And Find if($ir['money'] < 1000) { print "You Dont Have Enough Money To Charge For Fuel..."; } Add This Under it if($ir['boat'] < 1) { print " You Don't Have A Boat.....You Will Drown If You Swim And Never Get There....."; } Save monorail.php Open explore and add [url='planksshop.php']Plank Shop[/url] And Finallly Add These To SQL's ALTER TABLE users ADD boat INT( 11 ) DEFAULT 0; ALTER TABLE users ADD planks INT(11) DEFAULT 0; All Tested And Should Work
-
Re: Game Aim Mod try the main post again, i edited it it should work if not tell me :D
-
Re: Snak Attak [v2] i might use this cuz then i dont have to create items for them and im lazy so :-D :wink:
-
Re: Snak Attak [v2] No Probs :wink:
-
Re: Snak Attak [v2] This Is V2 Try One File called snakattack.php And place this in it: <?php //Snak Attak Mod //Made By sniko Edited By Karlos //Made For Mccode V2 //Date Made: 03 - Sep - 2008 //Free To Criminal Exsitence Forum Users include "globals.php"; print "Welcome To Snakattak! [i]Snackattack Was Brought Out In 2008...Brought Out For You For Those Despreate Needs[/i] [b]Energy Snacks[/b] <table border=2> <th>Snack Brand</th><th>Energy Add-on</th><th>Cost</th><th>Buy</th><tr> <td>Piraticles ©</td><td>3</td><td>$1000</td><td>[url='snakattack.php?spend=1']Buy[/url]</td> <tr><td>Magic Wilfys' ©</td><td>6</td><td>$2000</td><td>[url='snakattak.php?spend=2']Buy[/url]</td></table>"; else { if($_GET['spend'] == '1') { if($ir['money'] <999) { print "You don't have enough money to buy the Piraticles, you need $1000!"; } else { $db->query("UPDATE users SET money=money-1000, energy=energy+3 WHERE userid=$userid",$c); print "Congratulations, you bought 1 Piraticles for $1000! [url='snakattak.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '2') { if($ir['money'] <1999) { print "You don't have enough money to buy the Magic Wilfys, you need $2000!"; } else { $db->query("UPDATE users SET money=money-2000, energy=energy+6 WHERE userid=$userid",$c); print "Congratulations, you bought 1 Magic Wilfys for $2000! [url='snakattak.php']Back to Shop[/url] "; } } } $h->endpage(); ?> This Is V1 (NOT TESTED) <?php //Snak Attak Mod //Made By sniko Edited By Karlos //Made For Mccode V1 //Date Made: 03 - Sep - 2008 //Free To Criminal Exsitence Forum Users 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']); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm); $h->menuarea(); print "Welcome To Snakattak! [i]Snackattack Was Brought Out In 2008...Brought Out For You For Those Despreate Needs[/i] [b]Energy Snacks[/b] <table border=2> <th>Snack Brand</th><th>Energy Add-on</th><th>Cost</th><th>Buy</th><tr> <td>Piraticles ©</td><td>3</td><td>$1000</td><td>[url='snakattack.php?spend=1']Buy[/url]</td> <tr><td>Magic Wilfys' ©</td><td>6</td><td>$2000</td><td>[url='snakattak.php?spend=2']Buy[/url]</td></table>"; else { if($_GET['spend'] == '1') { if($ir['money'] <999) { print "You don't have enough money to buy the Piraticles, you need $1000!"; } else { mysql_query("UPDATE users SET money=money-1000, energy=energy+3 WHERE userid=$userid",$c); print "Congratulations, you bought 1 Piraticles for $1000! [url='snakattak.php']Back to Shop[/url] "; } } else { if($_GET['spend'] == '2') { if($ir['money'] <1999) { print "You don't have enough money to buy the Magic Wilfys, you need $2000!"; } else { mysql_query("UPDATE users SET money=money-2000, energy=energy+6 WHERE userid=$userid",$c); print "Congratulations, you bought 1 Magic Wilfys for $2000! [url='snakattak.php']Back to Shop[/url] "; } } } $h->endpage(); ?> EDIT: Added V1
-
Re: Snak Attak [v2] :-D Ill do it Now Then ill Do Our One
-
Re: Snak Attak [v2] would be better if it was 1 file :wink:
-
Re: Game Aim Mod nopee, i made it from exterminations mod, iv seen other personal infomation bit and ive never seen it sooo :-D
-
Game Aim Mod Originally Made As Race Mod By Extermination Edited Into Game Aim Mod By Karlos - 1.) Open preferences.php and Find: case 'picchange2': do_pic_change(); break; case 'picchange': pic_change(); break; ADD Below: case 'aimchange2': do_aim_change(); break; case 'aimchange': aim_change(); break; - 2.) Next Find: (Still in preferences.php) [url='preferences.php?action=picchange']Display Pic Change[/url] ADD Below: [url='preferences.php?action=aimchange']Aim Change[/url] - 3.) Next Find: (Still in preferences.php) function do_pic_change() { global $db,$ir,$c,$userid,$h; if($_POST['newpic'] == "") { print "You did not enter a new pic. [url='preferences.php?action=picchange']> Back[/url]"; } else { $_POST['newpic']=str_replace('\\\'',''', $_POST['newpic']); $db->query("UPDATE users SET display_pic='{$_POST['newpic']}' WHERE userid=$userid"); print "Pic changed!"; } } ADD Below: function aim_change() { global $ir,$c,$userid,$h; print "<center><hr width='20%'>Aim Of Game Change<hr width='20%'> <form action='preferences.php?action=aimchange2' method='post'> <select class=textbox name='mood'> <option value='Be The Best'>Be The Best</option> <option value='Become Popular'>Become Popular</option> <option value='Game Dork'>Game Dork</option> <option value='Game Clown'>Game Clown</option> <option value='Make Enemies'>Make Enemies</option> <option value='Make Friends'>Make Friends</option> <option value='Slayer'>Slayer</option> </Select> <input class='textbox' type='submit' value='Change Game Aim' /> </form>"; } function do_aim_change() { global $db,$ir,$c,$userid,$h; $db->query("UPDATE users SET aim='{$_POST['aim']}' WHERE userid=$userid"); print "You have changed your aim! [url='preferences.php']Back[/url]"; } Save preferences.php - 4.) Open viewuser.php and Find: Gender: {$r['gender']} ADD After: Game Aim: {$r['aim']} Save viewuser.php - 5.) Run This SQL in Phpmyadmin: Code: ALTER TABLE `users` ADD `aim` enum('Be The Best', 'Become Popular', 'Game Dork', 'Game Clown', 'Make Enemies', 'Make Friends', 'Slayer', 'Unknown') NOT NULL default 'Unknown'; Mod not tested yet! Should Work If Not Post the Problem and Ill Fix It :-D :wink:
-
Re: Macro Page Edit [V2] thats mean :roll: i like it :-P 8-) :-D :wink:
-
Re: Macro Page Edit [V2] well said :]
-
Re: Fav band, music Great Choice :P
-
Re: Macro Page Edit [V2] Thats Kinda Unfair On Blind People :| I Dunno They May Have Special Equipment To Help Them But If A Blind Persons Not Alowed On Your Not :-) Looool.
-
Re: Macro Page Edit [V2] Give It To Us*Cough :wink:
-
Re: View Donators [V2] [Edit] Well Ill Put It Like That Incase that Mod I Found Was Yours, + Its To early To Argue :)
-
Re: View Donators [V2] In that case ill remove it but i saw a mod like this browsing other forums and i saw this mod so i edited it to make it look neater
-
Re: Macro Page Edit [V2] well im not that advanced yet but u might aswell post it :-D :-P :wink:
-
Re: View Donators [V2] To Be 100% Honest I Edited The MCCodes V2 Script Why I Heard That People Think Echo Is Easier on The Eye Than Die So I Attemped It