Patch 1.15 gz. Banks always reset saved values. What i do:
-Preload my Bank
-Open my Bank
-Signature enabled
-Load required value
-Save modified value
-Save bank
Open my map in bnet. Launch map. Play 1 time. After, open my bank in banks folder (i found it) and look - all values saved as it must be.
Now launch map 2nd time. And what i see.... all values reseted to 0... but no reset actions in triggers. May be im doing something wrong?
same thing happened to me one time. i looked back through all of my bank triggers just to find that in ONE instance i had accidentally capitalized a letter when it should have been lower case. banks are extremely sensitive to tiny changes in the bank's name. go back and make sure that the bank is referenced EXACTLY the same in all the triggers (capitalization, number of spaces, etc). that's all i can think of on this problem, hope that's what the problem is :/
Do not attempt to open or preload your banks using any functions, only constants. To simplify, at the start of your map, preload the bank for player 1. Then preload the bank for player 2. Then preload the bank for player 3. And so on.
@KingRadical: Go
My bank name is constant string variable.
@BasharTeg: Go
I found same solutions, but why I must do this china code? I've done it through "while", and as i said my bank successfully created in banks folder.
Preload bank cant be used in loops or with variables, because it doesnt actually compile to source code, but an xml file called BankList.xml It also doesnt matter where in code the preload action is used.
Created special trigger for that and add:
Preload bank for player 1
...
Preload bank for player 2
After I checked my bank in banks folder. All values stored successfully. But 2nd run reseted values. So it nevermind how to preload.
Patch 1.15 gz. Banks always reset saved values. What i do:
-Preload my Bank
-Open my Bank
-Signature enabled
-Load required value
-Save modified value
-Save bank
Open my map in bnet. Launch map. Play 1 time. After, open my bank in banks folder (i found it) and look - all values saved as it must be.
Now launch map 2nd time. And what i see.... all values reseted to 0... but no reset actions in triggers. May be im doing something wrong?
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
same thing happened to me one time. i looked back through all of my bank triggers just to find that in ONE instance i had accidentally capitalized a letter when it should have been lower case. banks are extremely sensitive to tiny changes in the bank's name. go back and make sure that the bank is referenced EXACTLY the same in all the triggers (capitalization, number of spaces, etc). that's all i can think of on this problem, hope that's what the problem is :/
Do not attempt to open or preload your banks using any functions, only constants. To simplify, at the start of your map, preload the bank for player 1. Then preload the bank for player 2. Then preload the bank for player 3. And so on.
@KingRadical: Go My bank name is constant string variable.
@BasharTeg: Go I found same solutions, but why I must do this china code? I've done it through "while", and as i said my bank successfully created in banks folder.
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Preload bank cant be used in loops or with variables, because it doesnt actually compile to source code, but an xml file called BankList.xml It also doesnt matter where in code the preload action is used.
This file tells the engine what banks to preload.
Created special trigger for that and add:
Preload bank for player 1
...
Preload bank for player 2
After I checked my bank in banks folder. All values stored successfully. But 2nd run reseted values. So it nevermind how to preload.
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
@xxxNEARBYxxx: Go Try another name for your banks.
No spaces, no special chars!!!
So, use a bank name like "awesomeSave".
It fails to load banks with special chars resulting in a new bank on every map load. However, maps can save bank files with those chars...
Bank name without spaces, and chars
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
well... who can attach screenshot of 100% workable bank for multiplayer?
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
H8 code like this, but if no other ways will try that style =(
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!