MDK666 Posted April 9, 2007 Posted April 9, 2007 Ok i recoded the crystal temple, along with the staff panel on my game to have diamonds along with tradeing them in at a diamondtemple and crediting users, and editing users to give them diamonds. This has been tested and works great for mc 2.0 only i havent coded it for 1.1 and dont plan too. Considering this is my first mod i dont plan to sell it i will let others try it and see how they like it if i get a positive feed back then maybe ill make some more mods in the future untill then heres my copy of crystal temple.. ----------------------------------------------------------------------------------------------------- Create diamondtemple.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ----------------------------------------------------------------------------------------------------- Add to tables You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ----------------------------------------------------------------------------------------------------- Open explore.php Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add this under it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. save, then refresh ur browser and have fun!!! Quote
Magictallguy Posted September 22, 2007 Posted September 22, 2007 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 And for those who want to add the diamond amount you have on hand to the game then look for this: Open header.php and find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then add this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Isomerizer Posted September 22, 2007 Posted September 22, 2007 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 Ok i recoded the crystal temple, along with the staff panel on my game to have diamonds along with tradeing them in at a diamondtemple and crediting users, and editing users to give them diamonds. This has been tested and works great for mc 2.0 only i havent coded it for 1.1 and dont plan too. Considering this is my first mod i dont plan to sell it i will let others try it and see how they like it if i get a positive feed back then maybe ill make some more mods in the future untill then heres my copy of crystal temple.. ----------------------------------------------------------------------------------------------------- Create diamondtemple.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ----------------------------------------------------------------------------------------------------- Add to tables You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ----------------------------------------------------------------------------------------------------- Open explore.php Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add this under it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. save, then refresh ur browser and have fun!!! Well done, for pressing ctrl + h and replacing "Crystals" with "Diamonds". Quote
HITMAN 17 Posted October 4, 2007 Posted October 4, 2007 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 wat about a cron Quote
Guest Anonymous Posted October 4, 2007 Posted October 4, 2007 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 :lol: don,t need any cron for the crystal/diamond temple u would only need a cron if u wanted players to visit the temple a curtain amount of times a day or so Quote
HITMAN 17 Posted October 5, 2007 Posted October 5, 2007 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 so how do u get diamonds Quote
Guest Anonymous Posted October 5, 2007 Posted October 5, 2007 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 it send and receives data from the database and it updata the database like ..... $iqgain=$_POST['diamonds']*$set['ct_moneypercrys']; $db->query("UPDATE users SET diamonds=diamonds-{$_POST['diamonds']},money=money+$iqgain WHERE userid=$userid"); print "You traded {$_POST['diamonds']} diamonds for \$".number_format($iqgain)."."; Quote
Danny696 Posted May 2, 2009 Posted May 2, 2009 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 a recode your calling this a recode FAIL Quote
wolfe Posted May 2, 2009 Posted May 2, 2009 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 way to bump a thread almost 2 yrs old :) Quote
Zero-Affect Posted May 2, 2009 Posted May 2, 2009 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 Well done, for pressing ctrl + h and replacing "Crystals" with "Diamonds". That's not very nice im sure he had to spell out Diamonds and Crystals first :-D Quote
Danny696 Posted May 2, 2009 Posted May 2, 2009 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 way to bump a thread almost 2 yrs old :) i wanted him to know what an epic fail that was Quote
Uridium Posted May 2, 2009 Posted May 2, 2009 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 way to bump a thread almost 2 yrs old :) i wanted him to know what an epic fail that was I wish people would Bump my threads theyve been collecting dust for ages lol Quote
Danny696 Posted May 2, 2009 Posted May 2, 2009 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 but yours arnt epic fails yours are great Quote
MDK666 Posted May 4, 2009 Author Posted May 4, 2009 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 hmmmm nice way to say a fail, if you feel you can code something up that no one has though of and maybe release a version of it for free, but i had made this mod for the people who dont know how to (replace information in a mod) so if you like saying things about how i like to help the community go ahead i really dont care, as long as i know that it can help the community with there game. so once again i dont care, talk about how i just copy and pasted. Quote
F4R1D Posted May 4, 2009 Posted May 4, 2009 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 Well done, for pressing ctrl + h and replacing "Crystals" with "Diamonds". You hardly recoded crystaltemple and u can tell u did not finish it becuause u can see ['ct_moneypercry']). so its a -1 from me Quote
MDK666 Posted May 4, 2009 Author Posted May 4, 2009 Re: [mccode] Diamond gems, with a Diamondtemple.php for v2.0 thats ok this was one of the first mods, or a copy and replace mod i have released, i was working on a accuall mod that included a crystals, diamonds, and gold or whatever else in a single file but i stopped working with mc2 so i never finished it. but thanks for the feedback atleast Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.