stryker Posted June 3, 2007 Posted June 3, 2007 bank your crystals, easy install. cbank.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. sql You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. +1 if you like it (yes i know it is edited copy of bank) new version to be released soon Quote
pspotential Posted June 3, 2007 Posted June 3, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] when i run the query i get this error You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
KyleCrispy Posted June 3, 2007 Posted June 3, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] his query is wrong try this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
hamster01 Posted June 3, 2007 Posted June 3, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] That query is also wrong. Proper: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. sql delimiter: ; Quote
oxidati0n Posted June 3, 2007 Posted June 3, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] LOL the title has been BB encoded :P Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] :mrgreen: nice. Quote
hamster01 Posted June 3, 2007 Posted June 3, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] hmm.. That gives me an idea. Need to speak with md.. Quote
stryker Posted June 3, 2007 Author Posted June 3, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] yeah i always forget the delimiter Quote
pspotential Posted June 3, 2007 Posted June 3, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] thnx everyone who helped and of course stryker for the mod lol Quote
03laceys Posted June 6, 2007 Posted June 6, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] Fatal error: Call to a member function query() on a non-object in /home/game/public_html/cbank.php on line 88 Quote
oxidati0n Posted June 6, 2007 Posted June 6, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] Fatal error: Call to a member function query() on a non-object in /home/game/public_html/cbank.php on line 88 It's for V2 Quote
stryker Posted June 7, 2007 Author Posted June 7, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] ppl need to read the title Quote
03laceys Posted June 7, 2007 Posted June 7, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] but i converted it to v1 Quote
stryker Posted June 7, 2007 Author Posted June 7, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] apparently not correctly Quote
Z?v?? Posted June 7, 2007 Posted June 7, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] Try this for v1... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
03laceys Posted June 8, 2007 Posted June 8, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] ty zaver worked brill +1 what was i doing wrong? ty stryker for this also +1 Quote
Magictallguy Posted September 22, 2007 Posted September 22, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] Probably forgot to change mysql_fetch_array() to rows() Quote
HITMAN 17 Posted September 22, 2007 Posted September 22, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] isomeritza can u like make this for v1 so i understand it plz it is so confusing Quote
Godhand Posted September 25, 2007 Posted September 25, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] yo yea I tried the interest except I renamed everything correctly to offset what I changed it to You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. since I'm making donator specific banks. (obviously thats in my cron_day) anyone want to show me where I miscoded. Since it says interest added I thought it might be nice to actually make it work but apparently did it wrong. Quote
parelem Posted September 25, 2007 Posted September 25, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] yo yea I tried the interest except I renamed everything correctly to offset what I changed it to You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. since I'm making donator specific banks. (obviously thats in my cron_day) anyone want to show me where I miscoded. Since it says interest added I thought it might be nice to actually make it work but apparently did it wrong. if you have donatorcrystalbank setup as BIGINT like recommended, adding one tenth percent interest, (donatorcrystalbank*(1/10)), will be impossible unless the user has >10 crystals, since it will do integer division. Quote
Godhand Posted September 25, 2007 Posted September 25, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] that still doesn't help I tested with about 1,000 crystals (crystals are easy to come by in my game) so I figure 10 shouldn't be an issue so any other thing that could be the problem? Quote
parelem Posted September 29, 2007 Posted September 29, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] exactly what's the error? is it actually giving an sql error, or is it just not updating? the only thing i can really see the problem being is that its not the right type, so you might have to do some type casting: (integer)(donatorcrystalbank*(1/10)) Quote
Godhand Posted September 29, 2007 Posted September 29, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] It was just forgetting a ) at the end of the % update. I posted it on the forum already and got answered in a different thread. Quote
halo2master Posted October 6, 2007 Posted October 6, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] whats the normal cron?? 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.