
MDK666
Members-
Posts
268 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by MDK666
-
Title: The-Dark-One Site URL: http://www.thedarkone.net Site Description: Every night, there are demons and monsters who haunt the darkness, Vampires, and Werewolves who war and kill one another, until the last dark one fights, which is the dark one and only who can stop the war between the beasts who drink blood to live, and the one who kill for the sport, who will be The Dark One to stop the war? Yes i know i need a better description :cry: but im not good with those kinda things.
-
Re: marquee with admin function nice mod +1 i myself never though of adding a marquee in the admin panel, i more of just added it by hand if i wanted it though but yea nice job..
-
Re: [mccode2] Updated Attack Script That Works With My Updated Inventory ($5.00) i was waiting till you to get back on msn to see if u wanted $5.00 back for me changeing the cost of the attack script, and as for my hosting im trying to get it advertised so im doing low cost plans and well i have unlimited bandwidth and space so i dont have a problem offering hosting for $1.00, as for support yes i do, try and keep the support as quick as possible because i know how people can be very agitated for waiting for a long time for support so yea, i do apologize if you feel scammed but get ahold of me on msn and we can talk this out more.
-
Re: [MCCODES V2] New Schooling Advanced sounds like the team are coders are gettin back to help each other out :-o its been awhile congrats everyone.
-
Re: [mccode2] New echange temple how about you quit trying to steal my mod as if u made it and remove your post because u dont have toc credits in your game so yea go ahead and remove it plz
-
Re: [mccode2] Updated Attack Script That Works With My Updated Inventory ($5.00) yea that did sound a little concedid like you were better then everyone but i understand where you come from with that :) and good luck on selling the script but it seems no one wants a updated attack script that works with my inventory mod so oh well its gonna be on here for awhile i might end up releaseing it in the future for free but not sure yet.
-
Re: [MCCODES V2] New Schooling Advanced yay lol and have fun on the ELSE i hate those damn things there annoying.
-
mccode-v2 New and improved inventory code sources for free!
MDK666 replied to MDK666's topic in Free Modifications
Re: [mccodes v2]New and improved inventory code sources for free! tnks domination, i plan on putting my game back up for people to play :) it'll be at http://www.the-dark-hosting.com/the-dark-ones/login.php or http://the-dark-ones.the-dark-hosting.com im useing my sub-domain cuz i dont feel like buying a domain at the moment :) -
mccode-v2 New and improved inventory code sources for free!
MDK666 replied to MDK666's topic in Free Modifications
Re: [mccodes v2]New and improved inventory code sources for free! look dude i dont know who the hell you are, but look dont do comments like that ok your starting to piss me off and i dont see you releaseing any mods atleast im nice enough to release majority of my mods for free so if you dont like it then stay out of my topics, end of disscussion. -
Re: [mccode2] New echange temple its not a donation script, its a exchange script just like crystal temple, but u have a person donate for credits through the donation script or u give them out in events or how ever, then they exchange them for the items i have in the script or the ones u put in
-
Re: Ravan Game Engine i have done some reserch on this engine a few months ago thinking it was a nice stable engine but to come to find out he sells the mccode v2 source codes to people he isnt selling his game just the accually mccode game which hes ripping people off i mean you can find mc2 leaked all over google, so i dont really see why people would pay 15.00 for a leaked version of mc2
-
Re: LOGD Game Engine... its a good engine i give you that i used to run this awhile ago, but as for the how the game runs it eats up alot of bandwidth just running the game itself with no users so i doubt anyone would want to do that because when they pay for hosting its usally bandwidth they pay for.
-
Re: [mccode 2] another explore hmmmm let me think about that one lol i was accually thinking of selling this game because i was gonna start a new mccodes game but dunno yet, i might just release the header who knows
-
Re: [mccode 2] another explore i dunno do u want this header or my 3 column header :) cuz im useing my back up at the moment just to test the mods
-
Re: [mccode 2] another explore hehehehehe how you know about my header :evil:
-
Re: [mccode 2] another explore thanks but it was all tnks from illusions for helping me out on it so +2000 to him :)
-
Re: [mccode2] New echange temple lol its just the basic that i had you can change it to whatever you want :)
-
Re: [mccode 2] another explore here ya go
-
Re: [mccode2] New echange temple donatordays.php <?php //Coded By MDK666 //Free Mod/Code session_start(); include "globals.php"; print "<h3>Welcome to the TOC Credits Donator Days Shop this is were you can spend all you Donator Credits on Donator Days.</h3>"; print "You currently have {$ir['credits']} TOC Credits & {$ir['donatordays']} Donator Days "; if($_GET['type'] == "") { Print "<h5><u>donatordays</u></h5> [url='donatordays.php?type=1']1 Donator Days - 10 TOC Credits[/url] [url='donatordays.php?type=2']10 Donator Days - 100 TOC Credits[/url] [url='donatordays.php?type=3']100 Donator Days - 1,000 TOC Credits[/url] [url='donatordays.php?type=4']1,000 Donator Days - 10,000 TOC Credits[/url] [url='donatordays.php?type=5']10,000 Donator Days - 100,000 TOC Credits[/url] [url='donatordays.php?type=6']100,000 Donator Days - 1,000,000 TOC Credits[/url] [url='donatordays.php?type=7']1,000,000 Donator Days - 2,000,000 TOC Credits[/url] [url='donatordays.php?type=8']2,000,000 Donator Days - 3,000,000 TOC Credits[/url] "; } else if($_GET['type'] == "1") { if($ir['credits'] <10) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET donatordays=donatordays+1,credits=credits-10 WHERE userid=$userid",$c); print "You successfully traded 10 TOC Credits for 1 Donator Days. [url='donatordays.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "2") { if($ir['credits'] <100) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET donatordays=donatordays+10,credits=credits-100 WHERE userid=$userid",$c); print "You successfully traded 100 TOC Credits for 10 Donator Days. [url='donatordays.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "3") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET donatordays=donatordays+100,credits=credits-1000 WHERE userid=$userid",$c); print "You successfully traded 1000 TOC Credits for 100 Donator Days. [url='donatordays.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "4") { if($ir['credits'] <10000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET donatordays=donatordays+1000,credits=credits-10000 WHERE userid=$userid",$c); print "You successfully traded 10,000 TOC Credits for 1,000 Donator Days. [url='donatordays.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "5") { if($ir['credits'] <100000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET donatordays=donatordays+10000,credits=credits-100000 WHERE userid=$userid",$c); print "You successfully traded 100,000 TOC Credits for 10,000 Donator Days. [url='donatordays.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "6") { if($ir['credits'] <1000000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET donatordays=donatordays+100000,credits=credits-1000000 WHERE userid=$userid",$c); print "You successfully traded 1,000,000 TOC Credits for 100,000 Donator Days. [url='donatordays.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "7") { if($ir['credits'] <2000000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET donatordays=donatordays+1000000,credits=credits-2000000 WHERE userid=$userid",$c); print "You successfully traded 2,000,000 TOC Credits for 1,000,000 Donator Days. [url='donatordays.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "8") { if($ir['credits'] <3000000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET donatordays=donatordays+2000000,credits=credits-3000000 WHERE userid=$userid",$c); print "You successfully traded 3,000,000 TOC Credits for 2,000,000 Donator Days. [url='donatordays.php']Go Back To Shop[/url]"; } } print "<h4> [url='entrance.php']Go Back[/url]</h4>"; $h->endpage(); ?> currency.php <?php //Coded By MDK666 //Free Mod/Code session_start(); include "globals.php"; print "<h3>Welcome to the TOC Credits Currency Shop this is were you can spend all you Donator Credits on other currencys.</h3>"; print "You currently have {$ir['credits']} TOC Credits, {$ir['money']} Money, {$ir['crystals']} Crystals, & {$ir['diamonds']} Diamonds "; if($_GET['type'] == "") { Print "<h5><u>Money</u></h5> [url='currency.php?type=1']1,000 Money - 1 TOC Credits[/url] [url='currency.php?type=2']10,000 Money - 10 TOC Credits[/url] [url='currency.php?type=3']100,000 Money - 100 TOC Credits[/url] [url='currency.php?type=4']1,000,000 Money - 1,000 TOC Credits[/url] <h5><u>Crystals</u></h5> [url='currency.php?type=5']1,000 Crystals - 10 TOC Credits[/url] [url='currency.php?type=6']10,000 Crystals - 100 TOC Credits[/url] [url='currency.php?type=7']100,000 Crystals - 1,000 TOC Credits[/url] [url='currency.php?type=8']1,000,000 Crystals - 10,000 TOC Credits[/url] <h5><u>Diamonds</u></h5> [url='currency.php?type=9']1,000 Diamonds - 100 TOC Credits[/url] [url='currency.php?type=10']10,000 Diamonds - 1,000 TOC Credits[/url] [url='currency.php?type=11']100,000 Diamonds - 10,000 TOC Credits[/url] [url='currency.php?type=12']1,000,000 Diamonds - 100,000 TOC Credits[/url] "; } else if($_GET['type'] == "1") { if($ir['credits'] <1) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET money=money+1000,credits=credits-1 WHERE userid=$userid",$c); print "You successfully traded 1 TOC Credit for 1,000 Money. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "2") { if($ir['credits'] <10) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET money=money+10000,credits=credits-10 WHERE userid=$userid",$c); print "You successfully traded 10 TOC Credits for 10,000 Money. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "3") { if($ir['credits'] <100) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET money=money+100000,credits=credits-100 WHERE userid=$userid",$c); print "You successfully traded 100 TOC Credits for 100,000 Money. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "4") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET money=money+1000000,credits=credits-1000 WHERE userid=$userid",$c); print "You successfully traded 1,000 TOC Credits for 1,000,000 Money. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "5") { if($ir['credits'] <10) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET crystals=crystals+1000,credits=credits-10 WHERE userid=$userid",$c); print "You successfully traded 10 TOC Credits for 1,000 Crystals. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "6") { if($ir['credits'] <100) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET crystals=crystals+10000,credits=credits-100 WHERE userid=$userid",$c); print "You successfully traded 100 TOC Credits for 10,000 Crysyals. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "7") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET crystals=crystals+100000,credits=credits-1000 WHERE userid=$userid",$c); print "You successfully traded 1000 TOC Credits for 100,000 Crystals. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "8") { if($ir['credits'] <10000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET crystals=crystals+1000000,credits=credits-10000 WHERE userid=$userid",$c); print "You successfully traded 10,000 TOC Credits for 1,000,000 Crystals. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "9") { if($ir['credits'] <100) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET diamonds=diamonds+1000,credits=credits-100 WHERE userid=$userid",$c); print "You successfully traded 100 TOC Credits for 1,000 Diamonds. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "10") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET diamonds=diamonds+10000,credits=credits-1000 WHERE userid=$userid",$c); print "You successfully traded 1,000 TOC Credits for 10,000 Diamonds. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "11") { if($ir['credits'] <10000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET diamonds=diamonds+100000,credits=credits-10000 WHERE userid=$userid",$c); print "You successfully traded 10,000 TOC Credits for 100,000 Diamonds. [url='currency.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "12") { if($ir['credits'] <100000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET diamonds=diamonds+1000000,credits=credits-100000 WHERE userid=$userid",$c); print "You successfully traded 100,000 TOC Credits for 1,000,000 Diamonds. [url='currency.php']Go Back To Shop[/url]"; } } print "<h4> [url='entrance.php']Go Back[/url]</h4>"; $h->endpage(); ?>
-
i had a exchange temple for some time made that has more then just the ussual, i have it set up to use credits, which you can change to what ever but its 4 pages long and pretty nice im my eyes,, you can exchange the credits in for weapons/armors, currencys, and donator days, you can freely modify this mod if you like, i didnt know how to go about makeing it into a single page so i didnt. ill add the sql once i find the code for it :oops: but as of right now the files are theses. sql ALTER TABLE `users` ADD `credits` bigint(15) NOT NULL DEFAULT 0; entrance.php <?php //Coded By MDK666 //Free Mod/Code session_start(); include "globals.php"; print "<h3>Welcome to the TOC Credits shop this is were you can spend all you Donator Credits on.</h3>"; print "You currently have {$ir['credits']} TOC Credits "; print "Below you will find differnt types of items to choose from select one to view the items in that catagory. "; print "<center> [url='weapons.php']Weapons & Armor <font color='red'><blink>(new)</blink>[/url] [url='donatordays.php']Donator Days <font color='red'><blink>(new)</blink>[/url] [url='currency.php']Currency <font color='red'><blink>(new)</blink>[/url] </center>"; print " <h4>[url='explore.php']Go Back[/url]</h4>"; $h->endpage(); ?> weapons.php <?php //Coded By MDK666 //Free Mod/Code session_start(); include "globals.php"; print "<h3>Welcome to the TOC Credits Weapon Shop this is were you can spend all you Donator Credits on Weapons.</h3>"; print "You currently have {$ir['credits']} TOC Credits "; if($_GET['type'] == "") { Print "<h5><u>Weapons</u></h5> [url='weapons.php?type=1']Dragons Blood Sword - 1000 TOC Credits[/url] [url='weapons.php?type=2']Dragons Flame Blade - 1000 TOC Credits[/url] [url='weapons.php?type=3']Tornado Whip - 1000 TOC Credits[/url] [url='weapons.php?type=4']Twisted Dragon Staff - 1000 TOC Credits[/url] [url='weapons.php?type=5']Bloody Killing Dagger - 1000 TOC Credits[/url] [url='weapons.php?type=6']Final Thunder Hammer - 1000 TOC Credits[/url] [url='weapons.php?type=7']Caotic Fire Knives - 1000 TOC Credits[/url] [url='weapons.php?type=8']Dragons Sacred Flail - 1000 TOC Credits[/url] [url='weapons.php?type=9']Decapatator Tsnami Gun - 1000 TOC Credits[/url] [url='weapons.php?type=10']Bloody Demon Knuckles - 1000 TOC Credits[/url] [url='weapons.php?type=11']Platinum Dragon Axe - 1000 TOC Credits[/url] [url='weapons.php?type=12']Demons Moon Spear - 1000 TOC Credits[/url] "; print "<h5><u>Armor</u></h5> [url='weapons.php?type=13']Hell Gaurdin Helmet - 4000 TOC Credits[/url] [url='weapons.php?type=14']Hell Gaurdin Armor - 8000 TOC Credits[/url] [url='weapons.php?type=15']Hell Gaurdin Boots - 4000 TOC Credits[/url] "; print "<h5><u>Amulets</u></h5> [url='weapons.php?type=16']Health Amulet - 500 TOC Credits[/url] "; print "<h5><u>Braclets</u></h5> [url='weapons.php?type=17']Will Braclet - 500 TOC Credits[/url] "; print "<h5><u>Rings</u></h5> [url='weapons.php?type=18']Strength Ring - 500 TOC Credits[/url] "; print "<h5><u>Special Items</u></h5> [url='weapons.php?type=19']Vampire Wings - 1000 TOC Credits[/url] "; } else if($_GET['type'] == "1") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',2,$userid,1)",$c); print "You successfully bought 1 Dragons Blood Sword for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "2") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',3,$userid,1)",$c); print "You successfully bought 1 Dragons Flame Blade for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "3") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',4,$userid,1)",$c); print "You successfully bought 1 Tornado Whip for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "4") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',5,$userid,1)",$c); print "You successfully bought 1 Twisted Dragon Staff for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "5") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',6,$userid,1)",$c); print "You successfully bought 1 Bloody Killing Dagger for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "6") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',7,$userid,1)",$c); print "You successfully bought 1 Final Thunder Hammer for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "7") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',8,$userid,1)",$c); print "You successfully bought 1 Caotic Fire Knives for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "8") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',9,$userid,1)",$c); print "You successfully bought 1 Dragons Sacred Flail for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "9") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',10,$userid,1)",$c); print "You successfully bought 1 Decapatator Tsnami Gun for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "10") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',11,$userid,1)",$c); print "You successfully bought 1 Bloody Demon Knuckles for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "11") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',12,$userid,1)",$c); print "You successfully bought 1 Platinum Dragon Axe for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "12") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',13,$userid,1)",$c); print "You successfully bought 1 Demons Moon Spear for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "13") { if($ir['credits'] <4000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-4000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',22,$userid,1)",$c); print "You successfully bought 1 Hell Gaurdin Helmet for 4000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "14") { if($ir['credits'] <8000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-8000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',14,$userid,1)",$c); print "You successfully bought 1 Hell Gaurdin Armor for 8000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "15") { if($ir['credits'] <4000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-4000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',19,$userid,1)",$c); print "You successfully bought 1 Hell Gaurdin Boots for 4000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "16") { if($ir['credits'] <500) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-500 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',23,$userid,1)",$c); print "You successfully bought 1 Health Amulet for 500 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "17") { if($ir['credits'] <500) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-500 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',25,$userid,1)",$c); print "You successfully bought 1 Will Braclet for 500 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "18") { if($ir['credits'] <500) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-500 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',24,$userid,1)",$c); print "You successfully bought 1 Strength Ring for 500 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } else if($_GET['type'] == "19") { if($ir['credits'] <1000) { die("You don't have enough TOC Credits!"); } else { mysql_query("UPDATE users SET credits=credits-1000 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',26,$userid,1)",$c); print "You successfully bought 1 Vampire Wings for 1000 TOC Credits, The item was placed into your inventory. [url='weapons.php']Go Back To Shop[/url]"; } } print " <h4>[url='entrance.php']Go Back[/url]</h4>"; $h->endpage(); ?>