DeadlySilence Posted June 6, 2013 Posted June 6, 2013 (edited) File Name: Advanced Bank with nearly unlimited maximum balanceFile Submitter: DeadlySilenceFile Submitted: 06 Jun 2013File Category: UtilitiesContent Author: DeadlySilenceThis is my bank NPC which I made since I couldn't find any bank that can store huge amounts of Zeny.Special Credits: Thanks to Anakid for the great idea to implement an @bank command.The NPC supports the following features: Deposit Withdraw Transfer Zeny to other player's bank accounts (by name or account id) Password protection Transaction log (deposits, withdrawals, incoming and outgoing transfers) daily interest (every morning at 6 o'clock server time, default: 5%, can be changed) maximum amount per process is only determined by the server's input_max_value and the script's .maxInput vast amounts of Zeny can be stored (the MySQL column is BigInt, so you can store up to 18,446,744,073,709,551,615 Zeny, that's more than 18,000,000,000 deposits of 1,000,000,000 Zeny) other features are planned and I take feature requests, if I think they make sense (you can ask directly in the thread, but I prefer private messages or emails [address provided in both scripts]) The @bank command supports the following features: the same as the NPC, but more versatile higher limits (as it is not connected to the input_max_value, default value per process is 1,000,000,000 Zeny) shortcuts for @bank <function> commands: @info, @deposit, @withdrawl, @transaction, @password The @bankadmin (exclusively for admins) command supports the following features: @bankadmin <option> returns the current value of an option @bankadmin <option> <value> sets the value of an option Valid options are name, maxinput, maxzeny, interest, whereas name must be a string and the other three have to be integers. The name can also be written with a colour code (like "@bankadmin set name "^F68712Banker^000000"" [please note the the ^000000 after the NPC's name to make the text after the name black again]) You need to read the README.txt file to get the database creation commands and some basic information on how to install the script.Changelog: 1.0: initial Release 2.0: added caching for passwords and atcommand-menu 2.1: fixed problem with spaces in usernames and added shortcuts (@bn, @info, @deposit, @withdrawl, @transaction, @password), also fixed a typo inside the commons.txt file 2.2: added admin command @bankadmin where the administrators can set the NPC's variables directly (set name, maxInput, maxZeny, interest without reloading scripts) 2.3 fixed some bugs with @bankadmin Downloads: As of version 2.2 I will provide complete packets as both, a tar.gz file for linux users as well as a zip file for windows users (even though you can extract zip under linux and tar.gz under windows...). banker_2_3.tar.gz banker_2_3.zip Edited June 15, 2013 by DeadlySilence 8 Quote
Euphy Posted June 6, 2013 Posted June 6, 2013 You did a very nice job with this. One of the best banker scripts I've seen. Quote
DeadlySilence Posted June 11, 2013 Author Posted June 11, 2013 Currently I'm working on some optimization and a @bank command with which every function can be used without talking to the NPC. (As of last night, this feature is almost done, only logs are still in progress. It's likely that I will finish this tonight.) A loan system sounds good, but how could the payback be forced to prevent a player from loaning 1,000,000,000 Zeny without paying them back? I finally found some time to finish version 2.0. It now contains a fully functional @bank command with which every bank action can be done from afar. Thanks to Anakid for this suggestion. 1 Quote
Drakkus Posted June 12, 2013 Posted June 12, 2013 Thank you DeadlySilence this is the best bank script every!!! :3 Quote
DeadlySilence Posted June 13, 2013 Author Posted June 13, 2013 link dead? The link works for me Quote
DeadlySilence Posted June 13, 2013 Author Posted June 13, 2013 (edited) Meh, that's probably because the new version is yet to be approved. I'll attach both versions and the other files to the first post. //edit: Sorry for the inconvenience, the scripts are now attached to the first post. Please let me know if there are still any problems. Edited June 13, 2013 by DeadlySilence Quote
retroflav Posted June 13, 2013 Posted June 13, 2013 it was just being added..there was no links when I checked a couple of hours ago. Quote
DeadlySilence Posted June 13, 2013 Author Posted June 13, 2013 Yes, the direct download links have been added about half an hour ago. But the link to the download section (including version 2.0) have been there for 2 days now. I gues they're inaccessible because they're not approved yet. Quote
retroflav Posted June 13, 2013 Posted June 13, 2013 there's a problem with using @bank transaction when the name of the player has spaces. I tried using " " but it never worked. And also, I suggest it could be better if it could be shorter commands like @bn @deposit @withdraw @transfer ..just a suggestion tho. Im impressed. Quote
DeadlySilence Posted June 13, 2013 Author Posted June 13, 2013 Thank you for your feedback. I'll have a look at the problem with the spaces and add shorter commands, too. Quote
Stolao Posted June 14, 2013 Posted June 14, 2013 I have an idea, why not try adding a "credit card" to this let players buy and sell without having to ever visit the bank at all. Just a little challenge for you Also very nice bank script ill probably switch to yours soon. Quote
DeadlySilence Posted June 14, 2013 Author Posted June 14, 2013 Update: I have fixed the problem with spaces in names and added shortcuts for the longer commands. The new commands are @bn, @info, @deposit, @withdrawl, @transaction, @password. Usage: @bn: same as @bank @info : will display information about the bank and your account @deposit <amount> : deposits given amount @withdraw <amount> : withdraws given amount @transaction <username/id> <amount> : transfers given amount to give username's/id's account @password [<new password>] : changes current bank password to new password, new password is optional and the password will be reset if no new password was given End of update log. @Stolao: That's a good idea. I'll have a look at this this weekend, maybe. I think it will require a source modification, unless every merchant NPC gets updated manually to support the bank, though. Quote
Stolao Posted June 14, 2013 Posted June 14, 2013 Ya probably will need a source modification, to do sql queries when buying if players Zeny is less then required amount and another query when selling and Zeny is above max. Quote
nanakiwurtz Posted June 15, 2013 Posted June 15, 2013 (edited) Ahhh.. Honestly, I'm tired with source mods.... I have to patch it over and over again, please stop this torture... Arrggghhhh! (I was under the 'Masquerade - Gloomy' spell) Edit: Before I forget, can you please put all of those files in a single archive file? Thanks Edited June 15, 2013 by nanakiwurtz Quote
DeadlySilence Posted June 15, 2013 Author Posted June 15, 2013 (edited) Ahhh.. Honestly, I'm tired with source mods.... I have to patch it over and over again, please stop this torture... Arrggghhhh! (I was under the 'Masquerade - Gloomy' spell) Edit: Before I forget, can you please put all of those files in a single archive file? Thanks That's a great idea. I'll put the latest files into an archive with the next release. I'll release version 2.2 in about one or two hours. Updated again. 2.2: added admin command @bankadmin where the administrators can set the NPC's variables directly (set name, maxInput, maxZeny, interest without reloading scripts) The @bankadmin (exclusively for admins) command supports the following features: @bankadmin <option> returns the current value of an option @bankadmin <option> <value> sets the value of an option Valid options are name, maxinput, maxzeny, interest, whereas name must be a string and the other three have to be integers. The name can also be written with a colour code (like "@bankadmin set name "^F68712Banker^000000"" [please note the the ^000000 after the NPC's name to make the text after the name black again]) //edit: I really shouldn't release stuff at night, I made some mistakes with version 2.2. If you happened to download it already, please download version 2.3 instead. @bankadmin works now. I'm sorry for the inconvenience. Edited June 16, 2013 by DeadlySilence Quote
Stolao Posted June 16, 2013 Posted June 16, 2013 Lol, deadly I always work on scripts after work, and ya tend to make mistakes so your not alone ~ Quote
GmOcean Posted September 18, 2013 Posted September 18, 2013 (edited) As nanakiwurtz said, it's a script command, however unless you have rAthena, this script will most likely not work for you. Atleast, the command won't work for you. Edited September 18, 2013 by GmOcean Quote
panducakep Posted September 26, 2013 Posted September 26, 2013 Thanks for sharing this banker script... it's awesomeee.... +1 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.