rssBank System (bank)
Category: | script |
---|---|
Author(s): | 50p |
Downloads: | 77194 |
Rate: | You need to be logged in to vote |
Rating: | 3.9 (469 Votes) |
Description:
GUI Based bank system.
FOR MTA:SA 1.0 USERS:
Download 2.2 if you get negative money or GUI window gets stuck (can't click anything).
IMPORTANT!!!
Because I moved saving money back to accounts.xml I added a command that can be helpful. BEFORE you use that command I recommend you BACKUP accounts.xml because at the time of moving accounts that file can get wiped but not after that!!!
The command is: /transferaccounts
it moves all SQLite accounts to currently used MTA account system. Use this function only once! If you'll use it again after transferring accounts your users' accounts will get the old bank balance that was stored in SQLite table. To be safe, after accounts were moved successfully just delete the bank_accounts table from registry.db using SQLite Database Browser program which can be found here:
http://sqlitebrowser.sourceforge.net/
Use debug window (/debugscript 3) to see how many accounts were moved from SQLite database to accounts.xml.
REMEMBER TO BACKUP ACCOUNTS.XML BEFORE USING THIS COMMAND!
Script description:
Deposit your money at any banks and get them out when you join the server next time. You can get rich if don't die losing all or some of your money; go to the bank as often as you can to prevent losing any money :)
Main features:
- depositing money :)
- transferring money to you friends
- withdrawing cash
- ATMs (Automatic Teller Machines)
- bank locations defined in XML file (bank.locations.xml)
- and GUI window to let you control your bank account
To add a new bank location you need to:
- get your coords of the bank (interior too if it's not 0)
- open bank.locations.xml
- copy the template (which is commented, between <!-- and -->)
- paste it outside <!-- and -->
- add your x,y and z of your bank to <location/> (posX,posY,posZ respectively)
-- if your bank's interior is not 0, you need to specify the entrance and exit locations too (teleX,teleY and teleZ are coords of the place where you will be teleported)...
(more)
FOR MTA:SA 1.0 USERS:
Download 2.2 if you get negative money or GUI window gets stuck (can't click anything).
IMPORTANT!!!
Because I moved saving money back to accounts.xml I added a command that can be helpful. BEFORE you use that command I recommend you BACKUP accounts.xml because at the time of moving accounts that file can get wiped but not after that!!!
The command is: /transferaccounts
it moves all SQLite accounts to currently used MTA account system. Use this function only once! If you'll use it again after transferring accounts your users' accounts will get the old bank balance that was stored in SQLite table. To be safe, after accounts were moved successfully just delete the bank_accounts table from registry.db using SQLite Database Browser program which can be found here:
http://sqlitebrowser.sourceforge.net/
Use debug window (/debugscript 3) to see how many accounts were moved from SQLite database to accounts.xml.
REMEMBER TO BACKUP ACCOUNTS.XML BEFORE USING THIS COMMAND!
Script description:
Deposit your money at any banks and get them out when you join the server next time. You can get rich if don't die losing all or some of your money; go to the bank as often as you can to prevent losing any money :)
Main features:
- depositing money :)
- transferring money to you friends
- withdrawing cash
- ATMs (Automatic Teller Machines)
- bank locations defined in XML file (bank.locations.xml)
- and GUI window to let you control your bank account
To add a new bank location you need to:
- get your coords of the bank (interior too if it's not 0)
- open bank.locations.xml
- copy the template (which is commented, between <!-- and -->)
- paste it outside <!-- and -->
- add your x,y and z of your bank to <location/> (posX,posY,posZ respectively)
-- if your bank's interior is not 0, you need to specify the entrance and exit locations too (teleX,teleY and teleZ are coords of the place where you will be teleported)...
(more)
Version history
Version | Publish Date | Changes | |
---|---|---|---|
2.3.0 | 2010-03-17 04:53:09 | * fixed: invisible bank/ATM markers | Download |
2.2.0 | 2009-09-30 21:40:36 | * fixed: negative money... * changed: now money gets saved back to accounts.xml since account system works correctly now... |
Download |
2.1.1 | 2009-08-30 05:39:18 | Download | |
2.1.0 | 2009-08-28 07:47:43 | * fixed: now works with MTA:SA v1.0 | Download |
2.0.2 | 2009-01-17 07:37:37 | * fixed: The difference between 99999999 and (the total of pocket money + money to withdraw) could be lost. That would make you lose money if you wanted to withdraw more, this is caused by GTA itself because you can only have 99,999,999 at a time. Although, sometimes your account balance (in GUI window) may not be shown correctly because the amount to be displayed isn't sent correctly to the client. | Download |
2.0.1 | 2008-11-01 22:57:41 | * removed: message saying wrong version number when player joins server | Download |
2.0.0 | 2008-11-01 20:37:34 | * added: lots of new features | Download |
1.4.0 | 2008-06-04 12:25:09 | * changed: money in database should now be updated when player withdraw/deposit/transfer money. If it doesn't, please report, so I can improve it! | Download |
1.3.1 | 2008-05-12 19:06:44 | * fixed: when you typed negative values you'd get lots of money! | Download |
1.3.0 | 2008-05-11 09:22:12 | * changed: now bank locations are saved in an XML file. You can add your new banks into the file and the new bank will be on your server after restart! | Download |
1.2.1 | 2008-05-10 13:38:29 | * fixed: at the time you log in, everyone saw your bank balance | Download |
1.2.0 | 2008-05-10 13:31:33 | * fixed: /deposit command not working | Download |
1.1.0 | 2008-05-08 15:51:15 | * fixed: now it saves money, it wasn't in 1.0 | Download |
1.0.0 | 2008-05-07 16:11:11 | * fixed: accounts.xml does not get deleted anymore! * changed: money gets saved into SQLite database |
Download |
0.2.1 | 2008-03-02 10:01:32 | * fixed: message in chatbox showing "userdata: <number> userdata <number>" | Download |
0.2.0 | 2008-03-01 23:17:22 | * Lots of changes - read description above | Download |
0.1.1 | 2008-02-18 07:55:18 | * commented print lines in "bank.funcs.lua" file | Download |
0.1.0 | 2008-02-18 07:50:00 | First public release | Download |