Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [outdated] Zombies Bank Fix

[outdated] Zombies Bank Fix

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
42 Posts 19 Posters 10.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • withmortenundefined Offline
    withmortenundefined Offline
    withmorten
    wrote on last edited by withmorten
    #12

    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:

    1. I have a black ops 2 client on one laptop. Does it need the banking gsc?

    2. 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.

    3. 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.

    4. IW4M successfully loads and even creates the bank.json, when using the older version, and writes that my playerid has 0 money.

    5. 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?

    1 Reply Last reply
    0
    • withmortenundefined Offline
      withmortenundefined Offline
      withmorten
      wrote on last edited by
      #13

      I fixed it. The path needs to be t6r/data/maps/mp/zombies. Additionally, according to gsc, the cfg setting is bank_printing (but I didn't get that to work). But the bank stored my money.

      1 Reply Last reply
      0
      • Sorexundefined Offline
        Sorexundefined Offline
        Sorex
        Contributor
        wrote on last edited by Sorex
        #14

        withmorten If you are using the right gsc files just write set bank_printing 1 to make the message print

        GAMEXundefined 1 Reply Last reply
        0
        • Goobageundefined Offline
          Goobageundefined Offline
          Goobage
          wrote on last edited by Goobage
          #15

          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.

          log.PNG

          1 Reply Last reply
          0
          • Sorexundefined Offline
            Sorexundefined Offline
            Sorex
            Contributor
            wrote on last edited by
            #16

            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.

            Goobageundefined 2 Replies Last reply
            0
            • Sorexundefined Sorex

              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.

              Goobageundefined Offline
              Goobageundefined Offline
              Goobage
              wrote on last edited by
              #17

              Sorex Ok, thank you very much for your input. I'll try messing around with IW4MAdmin some more.

              1 Reply Last reply
              0
              • Sorexundefined Sorex

                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.

                Goobageundefined Offline
                Goobageundefined Offline
                Goobage
                wrote on last edited by
                #18

                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.

                1 Reply Last reply
                0
                • Roachhhundefined Offline
                  Roachhhundefined Offline
                  Roachhh
                  wrote on last edited by
                  #19

                  is this the command .w and .d or the in game bank?

                  1 Reply Last reply
                  0
                  • Sorexundefined Offline
                    Sorexundefined Offline
                    Sorex
                    Contributor
                    wrote on last edited by
                    #20

                    Roachhh
                    No. This is a bank fix as you can see from the video. There no commands

                    Roachhhundefined 1 Reply Last reply
                    0
                    • Sorexundefined Sorex

                      withmorten If you are using the right gsc files just write set bank_printing 1 to make the message print

                      GAMEXundefined Offline
                      GAMEXundefined Offline
                      GAMEX
                      wrote on last edited by
                      #21

                      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

                      1 Reply Last reply
                      0
                      • Sorexundefined Offline
                        Sorexundefined Offline
                        Sorex
                        Contributor
                        wrote on last edited by
                        #22

                        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.

                        GAMEXundefined 1 Reply Last reply
                        0
                        • Sorexundefined Sorex

                          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.

                          GAMEXundefined Offline
                          GAMEXundefined Offline
                          GAMEX
                          wrote on last edited by
                          #23

                          Sorex how to use the IW4M on a local network, in offiline mode?

                          1 Reply Last reply
                          0
                          • Sorexundefined Offline
                            Sorexundefined Offline
                            Sorex
                            Contributor
                            wrote on last edited by
                            #24

                            GAMEX
                            Like normal server. Start the serve then start iw4m. Use as ip 127.0.0.1

                            1 Reply Last reply
                            0
                            • Sorexundefined Sorex

                              Roachhh
                              No. This is a bank fix as you can see from the video. There no commands

                              Roachhhundefined Offline
                              Roachhhundefined Offline
                              Roachhh
                              wrote on last edited by
                              #25

                              Sorex do you know how to setup a mp dedicated server? Because I’m struggling setting up mine and I need some help

                              1 Reply Last reply
                              0
                              • Sorexundefined Sorex

                                Black op II Zombies Bank Fix

                                Developed by fed & DoktorSAS

                                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
                                1. Download the compiled files and not the source code
                                2. Take/Copy the BankFix.dll file and put it in the plugins folder of IW4M Admin
                                3. 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.
                                4. 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?

                                1. Write on your .cfg file set bank_printing 0

                                Video Preview

                                https://youtu.be/7UgtPc1LcqU

                                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
                                Kratos_26000undefined Offline
                                Kratos_26000undefined Offline
                                Kratos_26000
                                wrote on last edited by Kratos_26000
                                #26

                                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

                                1 Reply Last reply
                                1
                                • Sorexundefined Offline
                                  Sorexundefined Offline
                                  Sorex
                                  Contributor
                                  wrote on last edited by
                                  #27

                                  Kratos_26000 Just follow the guide. If work for me should work also for you šŸ™‚

                                  1 Reply Last reply
                                  0
                                  • gats1212undefined Offline
                                    gats1212undefined Offline
                                    gats1212
                                    wrote on last edited by
                                    #28

                                    the bank.dll crashes my IW4Admin. It simply crashes šŸ˜ža816dc49-2d82-453e-9ea9-7d70a506665a-imagen.png

                                    1 Reply Last reply
                                    0
                                    • Sorexundefined Offline
                                      Sorexundefined Offline
                                      Sorex
                                      Contributor
                                      wrote on last edited by
                                      #29

                                      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

                                      gats1212undefined MetalThunderundefined 2 Replies Last reply
                                      0
                                      • Sorexundefined Sorex

                                        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

                                        gats1212undefined Offline
                                        gats1212undefined Offline
                                        gats1212
                                        wrote on last edited by
                                        #30

                                        Sorex thank you!

                                        1 Reply Last reply
                                        0
                                        • Sorexundefined Sorex

                                          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

                                          MetalThunderundefined Offline
                                          MetalThunderundefined Offline
                                          MetalThunder
                                          wrote on last edited by
                                          #31

                                          Sorex Are you going to update the bank fix so we can use the last iw4m version?

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • 1
                                          • 2
                                          • 3
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Donate