
Swiss Bank
Description
This mod add a global bank for your money where you can deposit or withdraw from every savegame.
Important: Multiaplayer only works with Version 1.2 (and newer)
Shortcuts
Add money to the global bank = Shift + V
Get money from the global bank = Shift + C
show your balance on the global bank = Shift + B
Disable GUI from the beginning
If you wanna disable the GUI (Menu) which appears at the start of a game then you can do this:
1. Open the Modfile (.zip) with Winrar, 7zip or a similar tool
2. Move the "register.lua" to the desktop and open it with a texteditor (Notepad, Notepad++, ...)
3. Search for "SwissBank.hud = true;" (at the beginning of the file)
4. Change this line to "SwissBank.hud = false;" (without quotation marks)
5. Save the file
6. Move the file back to the Modfile (.zip)
If there are enough request for that i will upload a new version where this is the default setting.
Developement
------------------------------------------------------------------------------------------------
Version
1.0
Changelog
Add money to the bank function
Get money from the bank function
Show balance function
external file for storage (global balance)
add encryption for the value in the file
ToDo
Add a HUD (GUI)
Add mouse to manage
Save money to file only after save the game
Allow money add / get only after a several time of playing the current mission
Add text for multiple languages
------------------------------------------------------------------------------------------------
Version
1.1
Changelog
Add HUD (GUI)
Save money to file only after save the game (Only singeplayer at the moment)
ToDo
Add mouse to manage
Allow money add / get only after a several time of playing the current mission
Add text for multiple languages
------------------------------------------------------------------------------------------------
Version
1.2
Changelog
Add text for multiple languages
Save money to file only after save the game (Multiplayer)
Save money on disconnect from a server (Multiplayer)
ToDo
Add mouse to manage
Allow money add / get only after a several time of playing the current mission
------------------------------------------------------------------------------------------------
Version
1.3
Changelog
Changes on the path for the global file which saves the value of the bank
Change the shorotcuts for user without a numpad (+ inc. HUD)
Try to use another method to catch the save event (pevent mod conflicts)
------------------------------------------------------------------------------------------------
Possible errors / Errorhandling
Money not saved on the Swiss Bank
- Youre not using the default mods path (FarmingSimulator2017/mods/SwissBank.zip)
- The file "swissBank.xml" cant created in the FarminSimulator2017 folder
- Errors in Log
My money is not there!
- Forget to save (Singleplayer) ?
- Another Admin on the Server who can manage the Money on the Server (Multiplayer) ?
- Game crashed ? (money is stored ingame till not saved what means: game crash = game cache removed)
- maybe deleted the "swissBank.xml" ?
- Server crashed ?
Thanks and greetings from Germany
Comments51
You must be logged in to comment.
No comments yet.