TimeWaster’s Banking Script is an advanced bank based on Eventscripts v1.5 and a SQLite database which makes it incredibly fast.
There’s an converter included to convert and copy “EternalBank” bank accounts for your easy switching pleasure.
Features:
- Multi language capable (atm English and German)
- Display of balance and interest rate within the main menu
- Automatic deposit
- Automatic withdraw
- Transfer money within a menu structure (no need to type silly commands)
- Manual deposit
- Manual withdraw
- Top10 List
- Every round will bear an interest
- Ability to turn off messages send on player spawn
- customizable name, interest rate, info rate and language (English and German atm)
- Included is a converter to copy bank accounts from an existing EternalBank.
This script is released under the GPL: http://www.opensource.org/licenses/gpl-license.php
You’ll find a list of servers running this script here: Game-Monitor.com
Installation:
1. The plugin “Eventscripts” has to be installed on your server: http://www.mattie.info/cs/ (both versions are fine). If you are using ES 1.5, please make sure you have the latest version installed (v1.5.0.171b), otherwise the money transfer will not work.
2. Extract this script inside your MOD folder /cstrike/
4. Configure the Banking script regarding your wishes in the script file itself
5. Add the following line to THE END of your autoexec.cfg
es_load banking
6. Restart your server
7. If you want to copy the bank accounts from an existing EternalBank database, you have to do the following:
7.1 Open your server console and type in: “BankConvert”. this will start the automatic conversion process. there’s nothing more to do.
7.2 After the conversion has successfully finished, remove your EternalBank completely and remove the loading command for EternalBank from your autoexec.cfg.
7.3 Restart your server.
PLEASE NOTE FIRST: the conversion process WILL COMPLETELY STOP your server from responding for the time the conversion is running. do not kill the server process, this is normal. Afterwards a short status message will be displayed in the server console.
In general it is not a bad idea to run this conversion on a local test server. (Recommended)
There’s also a glitch which is ES_Tools related: ES_Tools wants to kill and restart the server process when it’s detecting the server has stopped responding. it is a good idea to deactive ES_Tools by moving away the “es_tools.vdf” file temporarily and restarting the server before starting the conversion process.
Download:
TimeWaster’s Banking Script
Hi TimeWaster,
i like your Bank Plugin and its really great.
But i have 1 question, how can I set the money limit, which the player do not cross.
Great…
Muffin
well you could search for the string “2000000000″ and replace it with the amount you wish.
but there are 3 things to remember:
1. DONT replace the string in this line:
es_sql query banking “UPDATE usermoney SET money=’2000000000′ WHERE money<0;”
this line is to correct wrong bank acounts and has to stay at 2 billion.
2. NEVER set this value above 2 billion, otherwise a bank account could switch to negative saldo.
3. remember to change the amount in the text string stating that the maximum amount of money has reached ;o)
i think i will add this as a feature in a future version.
have fun.
Wow thanks for your fast answer.
I have another wish to your future version, can add a option “pistol round”, it were really great.
Thx
Muffin
hi your plugin is very great, i das a question about the configuration of your plugin. i need to set a start value of cash, so every player that types the first time bank, get an account greated with 50000 $.
my second question is, can i anywhere in the script add admins to
manage the transfers ingame.
thank for your answer.
greets magnat
1.: search for this line:
es_xformatqv sb_sqlQuery “INSERT OR IGNORE INTO usermoney (steamid, money, deposit, withdraw, messages, language, name) VALUES (‘%1′, ‘0′, ‘-1′, ‘-1′, ‘1′, ‘en’, ‘%2′);” sb_steamID sb_tempString2
and replace the ‘0′ value with the amount of money you wish (preserving the ‘ chars).
2.: there is no admin function at all. this is planned for future versions.
if you want a bank with admin functionality switch to “bbank”: http://addons.eventscripts.com/addons/view/bbank
hi, hätte noch ne frage, da du dich ja offensichtlich mit Eventscripts auskennst, ich hab selbst etwas rumprobiert, bin aber jetzt an einem punkt wo ich nicht mehr weiter komme.
danke im vorraus
lg magnat
Ich würde gern wissen wo ich einstellen kann das die bank sich erst ab der x runde aktiviert.
würde mich freuen wenn ihr/du mir a helfen könnt.
das geht leider (noch) nicht, da es nicht eindeutig ist welche runde die erste ist, es ist dir sicherlich shconmal aufgefallen das wenn man der erste auf dem server ist die runde neugestartet wird, wenn genügend leute gejoined sind. in zukunft wird es ein solches feature geben, aber ich bin mir noch nicht sicher wie ich das umsetzen soll.
ok … aber zeitlich aktivieren müsste ja machbar sein oder ? z.b.
{
delay 300
es_load banking
}
weiss nurnicht in welcher sprache ich es schreiben soll und wo am besten. vllt hast du da eine idee wie ich das realisieren könnte
Vergiss uns hier nicht:
http://forums.eventscripts.com/viewtopic.php?p=282425#282425
Gareas: ich habe im moment leider keine zeit mich darum zu kümmern. tut mir leid.
Schade…
Hey, I wanna turn off the “only one player online so no deposit / withdraw etc possible” where can i do that?
btw nice banking script
I’m going to translate the menu to danish, say so if u whant it 4 your next release.
search for all appearances of
getplayercount sb_tempString #human
(should be found 4 times) and replace them with
es_set sb_tempString 2
this should do it.
this feature will be configurable within the next release.
thx alot
my clan server is now running with this mode, I must say, it’s great just as it is, but the upgrade will make it pwn!!
BTW.
i could only see the last of your message in my email, not here on the board.
you are more than welcome to contact me for the translation
Hiho
Ich habe einen Gamesever von Strato.de und nach jedem Restart löscht sich das Bankguthaben wieder auf den “ErsterAcc” wert.
Kennt ihr das problem bzw. könnt ihr mir sagen wie ich das verhindern kann ?
Danke im vorraus
MFG Gamer
das problem von gamer lag an der unfähigkeit des servers dateien zu schreiben…
Hey Admin ich haben mal eine fragen unzwae wie macht man die Zinsen höher?
in der datei “es_banking.txt” ganz oben im bereich “config”
Hallo wie kann man das Startgeld einstllen und gibt es sowas wie bank admin?