My map has five boolean values that are saved in a bank when the user changes a setting. When testing the map offline the banks load and save fine, but on battle.net they don't work at all. The file is saved with the proper values in the bank folder but it doesn't seem to be loading them. I have it open the bank and pre-load the data. Is there something different that needs to be done when using the banks on battle.net?
1. Preload doesn't work with variables as stated in its description.
2. The first loop is irritating because you are looping over the players and use your own timer instead.
This will fail, if player 2 is missing because then you try to load player2, but the next player would be player3 which results in skipping players...).
3. You can use an "action definition" with the player as a parameter instead. It's a much cleaner and simpler way than using a global variable to pass an integer value around.
My map has five boolean values that are saved in a bank when the user changes a setting. When testing the map offline the banks load and save fine, but on battle.net they don't work at all. The file is saved with the proper values in the bank folder but it doesn't seem to be loading them. I have it open the bank and pre-load the data. Is there something different that needs to be done when using the banks on battle.net?
@Demon4231: Go
Please post all related triggers.
@Mille25: Go
1. Preload doesn't work with variables as stated in its description.
2. The first loop is irritating because you are looping over the players and use your own timer instead.
This will fail, if player 2 is missing because then you try to load player2, but the next player would be player3 which results in skipping players...).
3. You can use an "action definition" with the player as a parameter instead. It's a much cleaner and simpler way than using a global variable to pass an integer value around.