[outdated] Zombies Bank Fix
-
By .cfg you mean the
dedicated_zm.cfg
?I just can't get it to work
I added this
set bank_print 1
to the .cfg and it doesn't show up when I deposit money into the bank.Which version of IW4M Admin are you using? I'm using the latest pre release on github.
Edit: I also don't see the messages in games_zm.log. So evidently I'm doing something wrong with loading the gsc. And I can't verify if it gets loaded using procmon, since plutonium apparently uses Themida ...
To clarifiy:
-
I have a black ops 2 client on one laptop. Does it need the banking gsc?
-
I have the black ops 2 server on another laptop. It needs the banking gsc? The path would be
G:\gameservers\t6_pluto\t6r\maps\mp\zombies
. -
I have IW4MAdmin on the same laptop as the server. Does it need the banking gsc? The path would be
G:\gameservers\IW4MAdmin-2020.10.25.13\GameFiles\PT6\t6r\data\maps\mp\zombies
. -
IW4M successfully loads and even creates the bank.json, when using the older version, and writes that my playerid has 0 money.
-
G:\gameservers\t6_pluto\t6r\data\logs\games_zm.log
contains nothing about adding money to the bank or not. So the gsc propably does not get loaded. Can you copy & paste the path where your working gsc is located?
-
-
I fixed it. The path needs to be
t6r/data/maps/mp/zombies
. Additionally, according to gsc, the cfg setting isbank_printing
(but I didn't get that to work). But the bank stored my money. -
withmorten If you are using the right gsc files just write set bank_printing 1 to make the message print
-
Sorex I seem to have an issue with getting the bank to save a player's bank balance once the game has ended. Both the bank fix DLL file and the .GSC file are loading as both the plutonium T6 and IW4MAdmin server consoles both report successful imports. Also, I was able to configure the bank print to show a players balance once they put money into the bank.
When I put a couple thousand points into the bank everything seems to work fine, the bank print reports the current balance as it should. The issue lies when I die/leave the game and start the match again. When I go to the bank again in the new match, I am unable to withdrawal any money. When I deposit money into the bank, the bank print just reports back the amount of money I just put in. The logs show an increase in my balance once I put money in, but once I start a new match the logs show my balance is zero.
I have attached a section of my logs to this post. Any help is appreciated. Thank you.
-
Goobage
The problem may be caused by iw4m not being able to read the data and save it, or iw4m not being able to send the data in time. I see that in the log the value of the bank is sent correctly but I also see that when you re-entered the value received is 0. So it may be your iw4m is not active or some other kind of problem. I use this script on my servers and it works. -
Goobage
The problem may be caused by iw4m not being able to read the data and save it, or iw4m not being able to send the data in time. I see that in the log the value of the bank is sent correctly but I also see that when you re-entered the value received is 0. So it may be your iw4m is not active or some other kind of problem. I use this script on my servers and it works.Sorex Ok, thank you very much for your input. I'll try messing around with IW4MAdmin some more.
-
Goobage
The problem may be caused by iw4m not being able to read the data and save it, or iw4m not being able to send the data in time. I see that in the log the value of the bank is sent correctly but I also see that when you re-entered the value received is 0. So it may be your iw4m is not active or some other kind of problem. I use this script on my servers and it works.Sorex I reinstalled IW4MAdmin with a more basic configuration and also set the server IP to loopback and that fixed it for some reason. I look forward to being able to use the bank now, thank you for all of your work.
-
is this the command .w and .d or the in game bank?
-
Roachhh
No. This is a bank fix as you can see from the video. There no commands -
withmorten If you are using the right gsc files just write set bank_printing 1 to make the message print
Sorex I was wondering if you can make it work without IW4MAdmin, I wanted to use your script if I had a version without IW4MAdmin I thank you
-
GAMEX
Unfortunately, this is not possible. Not having the possibility to store data that persist over time through gsc the only solution is the use of an external program. IW4M is well suited for this. -
GAMEX
Unfortunately, this is not possible. Not having the possibility to store data that persist over time through gsc the only solution is the use of an external program. IW4M is well suited for this.Sorex how to use the IW4M on a local network, in offiline mode?
-
GAMEX
Like normal server. Start the serve then start iw4m. Use as ip 127.0.0.1 -
Sorex do you know how to setup a mp dedicated server? Because Iām struggling setting up mine and I need some help
-
Black op II Zombies Bank Fix
Through these files it will be possible to get the Zombies Server Bank Fully Working. Implementing the following scripts is very easy, in fact they are only two drag and drop files.
- fed has dedicated himself to the IW4M plugin in C#
- DoktorSAS has dedicated itself to the GSC part of the code and the logic of the script
# Prerequisites
- IW4M Admin: To have the bank running on a server you must have IW4M
How this work?
Everything is done to make it easy to understand the script. This script uses IW4M Admin to store bank information related to a specific user. When a player enters the game IW4M Admin takes the data and sends it to the GSC code that will transform the message of IW4M Admin in the value of the bank of the game. When the player will leave the game on the log file I will be written when the player remains in the bank and IW4M Admin will take this data and update the saved data.
This is a bank fix the commands to withdraw or/and deposit they will never be implemented.
How to use it?
To implement these features takes two minutes, just follow this guide carefully and you will understand how to implement the bank on your servers.
Step by step
- Download the compiled files and not the source code
- Take/Copy the BankFix.dll file and put it in the plugins folder of IW4M Admin
- Take/Copy the file _zm_banking.gsc and put it in the plutonium zombies folder. Follow the path t6r/maps/mp/ and if the zombies folder doesn't exist you create it and put the file in it, otherwise if the folder already exists you put directly in it.
- Start the server and start IW4M Admin and if you have done all the steps correctly then you will have the bank working
How to disable bank print?
- Write on your .cfg file set bank_printing 0
Video Preview
Download
Download the files from Github
Source Code
Download and/or read the source files from Github
Use this forum post to report problems, also for code improvements and new features to implement
Sorex I want to tell you I don't know why but it doesn't work but I have done it several times but it doesn't work
-
Kratos_26000 Just follow the guide. If work for me should work also for you
-
the bank.dll crashes my IW4Admin. It simply crashes
-
gats1212
Tha bank will not work with the new version of iw4m. The meta service system is different then the system we used to make this bank fix so you have to use the last release and not the pre-release.
This is the last official iw4m release https://github.com/RaidMax/IW4M-Admin/releases/tag/2020.10.25.11 -
gats1212
Tha bank will not work with the new version of iw4m. The meta service system is different then the system we used to make this bank fix so you have to use the last release and not the pre-release.
This is the last official iw4m release https://github.com/RaidMax/IW4M-Admin/releases/tag/2020.10.25.11Sorex thank you!
-
gats1212
Tha bank will not work with the new version of iw4m. The meta service system is different then the system we used to make this bank fix so you have to use the last release and not the pre-release.
This is the last official iw4m release https://github.com/RaidMax/IW4M-Admin/releases/tag/2020.10.25.11Sorex Are you going to update the bank fix so we can use the last iw4m version?