stryker Posted June 3, 2007 Share 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 Link to comment Share on other sites More sharing options...
pspotential Posted June 3, 2007 Share 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 Link to comment Share on other sites More sharing options...
KyleCrispy Posted June 3, 2007 Share 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 Link to comment Share on other sites More sharing options...
hamster01 Posted June 3, 2007 Share 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 Link to comment Share on other sites More sharing options...
oxidati0n Posted June 3, 2007 Share 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 Link to comment Share on other sites More sharing options...
hamster01 Posted June 3, 2007 Share 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 Link to comment Share on other sites More sharing options...
stryker Posted June 3, 2007 Author Share Posted June 3, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] yeah i always forget the delimiter Quote Link to comment Share on other sites More sharing options...
pspotential Posted June 3, 2007 Share 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 Link to comment Share on other sites More sharing options...
03laceys Posted June 6, 2007 Share 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 Link to comment Share on other sites More sharing options...
oxidati0n Posted June 6, 2007 Share 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 Link to comment Share on other sites More sharing options...
stryker Posted June 7, 2007 Author Share Posted June 7, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] ppl need to read the title Quote Link to comment Share on other sites More sharing options...
03laceys Posted June 7, 2007 Share Posted June 7, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] but i converted it to v1 Quote Link to comment Share on other sites More sharing options...
stryker Posted June 7, 2007 Author Share Posted June 7, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] apparently not correctly Quote Link to comment Share on other sites More sharing options...
Z?v?? Posted June 7, 2007 Share 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 Link to comment Share on other sites More sharing options...
03laceys Posted June 8, 2007 Share 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 Link to comment Share on other sites More sharing options...
Magictallguy Posted September 22, 2007 Share Posted September 22, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] Probably forgot to change mysql_fetch_array() to rows() Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted September 22, 2007 Share 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 Link to comment Share on other sites More sharing options...
Godhand Posted September 25, 2007 Share 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 Link to comment Share on other sites More sharing options...
parelem Posted September 25, 2007 Share 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 Link to comment Share on other sites More sharing options...
Godhand Posted September 25, 2007 Share 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 Link to comment Share on other sites More sharing options...
parelem Posted September 29, 2007 Share 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 Link to comment Share on other sites More sharing options...
Godhand Posted September 29, 2007 Share 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 Link to comment Share on other sites More sharing options...
halo2master Posted October 6, 2007 Share Posted October 6, 2007 Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] whats the normal cron?? Quote Link to comment Share on other sites More sharing options...
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.