Guest Sniko` Posted November 23, 2008 Posted November 23, 2008 i know this is basic to my last 2 mods but i was bored This is an upgraded crystal temple for V2 i an unable to do form POST due to haven learnt that yet. Sorry if the field names are wrong in the database query(s) Thanks +1 if you like it / use it Thanks You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Coded from scratch, reply with any errors, Thanks Sniko Quote
MrGi Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple Here is some fixes iv found, Not tested throughly but im sure it works. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Every Code i fix for you mate its where you space your querys wrong..lol In the future instead of spacing your queries like: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Just Post them up like : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Always get a error when you space your qqueries as you do.. Good Mod Mate. +1 Quote
BlueDevil23 Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple Good idea Sniko`, I always thought the original Crystal Template was quite boring, and could use a revamp :) +1 Quote
Guest Sniko` Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple Here is some fixes iv found, Not tested throughly but im sure it works. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Every Code i fix for you mate its where you space your querys wrong..lol In the future instead of spacing your queries like: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Just Post them up like : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Always get a error when you space your qqueries as you do.. Good Mod Mate. +1 Good idea Sniko`, I always thought the original Crystal Template was quite boring, and could use a revamp :) +1 Thank you both and thanks MrGi for the query fix i thought it would work like that anyway Quote
AlabamaHit Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple Every Code i fix for you mate its where you space your querys wrong..lol In the future instead of spacing your queries like: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Just Post them up like : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Always get a error when you space your qqueries as you do.. Good Mod Mate. +1 I have always spaced my querys, and never got an error.... :? Like i would write that like this...Before.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now i write them like this... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MrGi Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple Well For some odd reason, When he spaces his querys never fails that I get a error over it. I havnt really looked into spacing querys but whatever way you like to do it lol... Your Welcome Sniko... Iv had your back plenty of time on your mods, Haha...Good Work Quote
Guest Sniko` Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple Iv had your back plenty of time on your mods, Haha...Good Work Its True - Thanks Quote
MrGi Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple no Problem mate.. Maybe one day me and you can get together and create a mod together..haha Quote
AlabamaHit Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple I wasnt trying to start nothying lol :roll: just saying lol .lol.... Quote
MrGi Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple I wasnt trying to start nothying lol :roll: just saying lol .lol.... Yes I know, I have different ways of coding than plenty others on CE...And im sure many other do to. I was just pointing it out haha... Quote
Guest Sniko` Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple no Problem mate.. Maybe one day me and you can get together and create a mod together..haha yea ok sounds good, all we need is an idea Quote
MrGi Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple Iv been thinking on some ideas for weeks now.. Nothing really jumped at me if ya know what i mean haha Quote
Karlos Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple Now i write them like this... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thats how im starting to do mine, its better Quote
MrGi Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple okay, Well dont come in here bashing about how good yours is. He tried, and its decent...If you want to do better post it up... Quote
Zero-Affect Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple Now i write them like this... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thats how im starting to do mine, its better good mate its much longer coding but more secure i think and spacing has never been a issue with my codes... for example You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
nedved Posted November 23, 2008 Posted November 23, 2008 Re: [V2] crystal Temple This mod is messd up lol Quote
Djkanna Posted December 6, 2008 Posted December 6, 2008 Re: [V2] crystal Temple Nice Mod Sniko +1 :-D MrGi -- Always Helping lol Quote
Guest Sniko` Posted December 6, 2008 Posted December 6, 2008 Re: [V2] crystal Temple Nice Mod Sniko +1 :-D MrGi -- Always Helping lol Thanks and yep he/she is Quote
_Ricky_ Posted December 6, 2008 Posted December 6, 2008 Re: [V2] crystal Temple great mod, however if you want your members energy, brave, and health to go up to match their level you might want to add that in something like this. else if($_GET['trade'] == level) { if($ir['crystals'] < 50) { print "Error, you dont have enough crystals (You need 50)"; } else { print "You trade in 50 crystal for a level enhancement!"; $db->query("UPDATE users SET level = level + 1, crystals = crystals - 50 WHERE userid = $userid"); $db->query("UPDATE users SET maxenergy = maxenergy + 2 WHERE userid = $userid"); $db->query("UPDATE users SET maxbrave = maxbrave + 2 WHERE userid = $userid");"); $db->query("UPDATE users SET maxhp = maxhp + 10 WHERE userid = $userid"); } Quote
_Ricky_ Posted December 6, 2008 Posted December 6, 2008 Re: [V2] crystal Temple else if($_GET['spend'] == level) { if($ir['crystals'] < 50) { print "Error, you dont have enough crystals (You need 50)"; } else { print "You trade in 50 crystal for a level enhancement!"; $db->query("UPDATE users SET level = level + 1, crystals = crystals - 50 WHERE userid = $userid"); $db->query("UPDATE users SET maxenergy = maxenergy + 2 WHERE userid = $userid"); $db->query("UPDATE users SET maxbrave = maxbrave + 2 WHERE userid = $userid"); $db->query("UPDATE users SET maxhp = maxhp + 10 WHERE userid = $userid"); sorry, had some extras in that last post...this one should work } Quote
Zero-Affect Posted December 6, 2008 Posted December 6, 2008 Re: [V2] crystal Temple You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
_Ricky_ Posted December 6, 2008 Posted December 6, 2008 Re: [V2] crystal Temple small mistake would be 50 hp per level as well not 10 :-P Quote
Zero-Affect Posted December 6, 2008 Posted December 6, 2008 Re: [V2] crystal Temple small mistake would be 50 hp per level as well not 10 :-P replce You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. simple Quote
_Ricky_ Posted December 6, 2008 Posted December 6, 2008 Re: [V2] crystal Temple ya just pointing them out, good job both of you :-P 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.