Script47 Posted June 30, 2013 Posted June 30, 2013 This mod was created a while back, but I wasn't able to upload it as I lost all my coding things when my laptop got messed up. However I did find a backup, so here it is. It is a back for Crystals or whatever you're game has named them, hence the name secondary bank. All feedback welcome. :) seBank.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. Quote
Guest Posted June 30, 2013 Posted June 30, 2013 Nice nice, very good to see some more releases keep 'em coming :). Quote
Script47 Posted June 30, 2013 Author Posted June 30, 2013 Nice nice, very good to see some more releases keep 'em coming :). Thanks mate. :) Quote
Mofo1 Posted January 10, 2014 Posted January 10, 2014 Hi there great addon I am getting this error if u could poin me right direction Ty BANK QUERY ERROR: QUERY WAS UPDATE `USERS` SET `MONEY` = `MONEY` - 10000, `BANKCRYSTALS` = 0 WHERE `USERID` = 1 Quote
Seker Posted January 10, 2014 Posted January 10, 2014 Hi there great addon I am getting this error if u could poin me right direction Ty BANK QUERY ERROR: QUERY WAS UPDATE `USERS` SET `MONEY` = `MONEY` - 10000, `BANKCRYSTALS` = 0 WHERE `USERID` = 1 What's the exact error? Did you run the SQL? Quote
Mofo1 Posted January 10, 2014 Posted January 10, 2014 Hi got sorted forgot add crystal bank to db table :p cheer for reply Quote
Script47 Posted January 10, 2014 Author Posted January 10, 2014 Hi there great addon I am getting this error if u could poin me right direction Ty BANK QUERY ERROR: QUERY WAS UPDATE `USERS` SET `MONEY` = `MONEY` - 10000, `BANKCRYSTALS` = 0 WHERE `USERID` = 1 I posted on your other thread about it. Quote
PHPStudent Posted September 18, 2020 Posted September 18, 2020 (edited) Get this; Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\seBank.php on line 89 help anyone?? Edited September 18, 2020 by PHPStudent Quote
ags_cs4 Posted September 18, 2020 Posted September 18, 2020 wtf, this have 86 lines. unless u edited some function and removed the end } of that function 1 Quote
PHPStudent Posted September 18, 2020 Posted September 18, 2020 My text editor Atom always adds an extra blank link or two at the end when I hit save. But the error is just the same: Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\seBank.php on line 87 Quote
peterisgb Posted September 18, 2020 Posted September 18, 2020 (edited) 1 hour ago, PHPStudent said: My text editor Atom always adds an extra blank link or two at the end when I hit save. But the error is just the same: Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\seBank.php on line 87 Heh I remember this. I'm credited woop woop lol. As to your fix. Try adding } or two just before $h->endpage(); ?> If not let me know as I'm credited and will redo/bug fix this when I get on my PC tomorrow. Your Web PHP version and mccodes version too would be great help in a recode/fix for you. I use php 7.5 which is latest. Missing from scripts47 post is you need to add a field to your settings table and called it crystalname with a text value Crystal Edited September 18, 2020 by peterisgb Quote
PHPStudent Posted September 18, 2020 Posted September 18, 2020 8 minutes ago, peterisgb said: Heh I remember this. I'm credited woop woop lol. As to your fix. Try adding } or two just before $h->endpage(); ?> If not let me know as I'm credited and will redo/bug fix this when I get on my PC tomorrow. Your Web PHP version and mccodes version too would be great help in a recode/fix for you. I use php 7.5 which is latest 😄 Using Mccodes v2.05b, and PHP 7 (I think? 🤔). Also I did add some extra }'s at the end but no good. 🙂 Quote
peterisgb Posted September 18, 2020 Posted September 18, 2020 (edited) Not sure why your getting an error after checking this myself. My copy is below, Its abit more than the original as it includes a money bank aswell as a crystal bank. like all in one. Page Settings are on lines 44 - 49. you can call this file whatever you like as i php selfed all links. I've called it sebank.php (without the Cap B). You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and of course run this sql like the first post. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. If the above script I put above doesnt work then I'd suggest its somewhere else on your site. Edited September 19, 2020 by peterisgb 1 Quote
peterisgb Posted May 17, 2023 Posted May 17, 2023 I have updated this. You can find this on my Mod Site. https://infamous-wars.com/mod/index.php Why my Mod site? Well This is one of my LIVE mods. Visit the site and Select "Triple Bank" 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.