Facts:
-The maximum total bank size you can open/load is about 1mb per player. This probably includes all the banks with different name in the map. But doesnt effected by how much player opens it.
-There are 69 character between keys and 37 more if its in new section and key and section names doesnt counted! This makes storing as much as you can into one string very useful, if you want to save bank space!
-Longest string you can open/load is 775. (you can save actually any length of string, but you cant load it beyond 775)
-Banks saved at My Documents\StarCraft II\Accounts and in you player handle: 2-S2-X-XXXXXX
-Banks saved in folder named after map's uploader handle, this makes that maps can use the same bank if they are uploaded by the same guy.
-Bank size sightly effects loading time.
-Banks load and preloaded under loading screen.
-According to blizz the maximum different banks you can load per player is 33.
-You cant use space in bank names.
-You cant use variables as players.
-You cant use variables as bank names. Bank names must be constant!
-preloading a bank at anywhere, which has no open bank trigger in the map, will cause that non of the banks will be opened.
-you can open banks even without Preload and synchronize. -There are legends that banks causes player drops sometimes. (specially at start with preload)
Tips:
-Always try storing stuff into strings and try combine strings into 1 string. Try not saving reals end if its not needed, like points go down up to 14 decimal! Who needs that much precision.
-Try using RLE compression: http://en.wikipedia.org/wiki/Run-length_encoding (sometimes its very simple to add)
-People can make copy of their bank and replace the banks after any game if they want, to set back the old values, even if it is signatured. (its good to keep this in mind...)
If I missed something than post it and I will add.
Special thx for blizzard for documenting editor so well and making banks as trust able as banks in real life....
Edit:
Added a map which saves kills and deaths. And uses back up bank and simple compression for 8 player
Edit2: Singature hacks out and they work well.(
Edit3: Max bank size still 8kb in 1.5 even 1 blue saying its 1mb... However edit box dialog items now can contain any length strings....
Edit4: Edit box can write out any length string even by triggers, but it can only read strings up to 518 character:(
Edit5: Blizz seems like fixed many stuff: bank resets seems to be fixed, max bank size is 1mb and you can have 33 bank per map.
-The maximum size of bank you can open/load is about 8kb (=8000 character) (+/-0.5kb). This includes all the banks with different name in the map. But doesnt effected by how much player opens it. If the game started with only 1 player than you can open any size of bank. Otherwise bank's keys gets replaced with other bank's keys or other player's bank's keys.
So if you have 4 players in a map, you could only load 2kb/player without problems?
Im not quite sure if this is already meant to be implemented into the game or not, however in my test we werent even able to load a 100kb bank with 2 players, even though I was able to load a 1100kb bank on my own in multiplayer.
I have to admit, the bank system remains a mystery to me.
@Mille25: Go
Yeah I tested it too, Max bank size is still 8k. Somebody should report that in US SC2 forums!
(You can save any sized bank if you are alone in the game)
Its time finally to shed light to all the facts about banks!
How to use a bank.
Facts:
-The maximum total bank size you can open/load is about 1mb per player. This probably includes all the banks with different name in the map. But doesnt effected by how much player opens it.
-There are 69 character between keys and 37 more if its in new section and key and section names doesnt counted! This makes storing as much as you can into one string very useful, if you want to save bank space!
-Longest string you can open/load is 775. (you can save actually any length of string, but you cant load it beyond 775)
-Banks saved at My Documents\StarCraft II\Accounts and in you player handle: 2-S2-X-XXXXXX
-Banks saved in folder named after map's uploader handle, this makes that maps can use the same bank if they are uploaded by the same guy.
-Bank size sightly effects loading time.
-Banks load and preloaded under loading screen.
-According to blizz the maximum different banks you can load per player is 33.
-You cant use space in bank names.
-You cant use variables as players.
-You cant use variables as bank names. Bank names must be constant!
-preloading a bank at anywhere, which has no open bank trigger in the map, will cause that non of the banks will be opened.
-you can open banks even without Preload and synchronize.
-There are legends that banks causes player drops sometimes. (specially at start with preload)
Tips:
-Always try storing stuff into strings and try combine strings into 1 string. Try not saving reals end if its not needed, like points go down up to 14 decimal! Who needs that much precision.
-Try using RLE compression: http://en.wikipedia.org/wiki/Run-length_encoding (sometimes its very simple to add)
-People can make copy of their bank and replace the banks after any game if they want, to set back the old values, even if it is signatured. (its good to keep this in mind...)
If I missed something than post it and I will add.
Special thx for blizzard for documenting editor so well and making banks as trust able as banks in real life....
Edit:
Added a map which saves kills and deaths. And uses back up bank and simple compression for 8 player
Edit2: Singature hacks out and they work well.(
Edit3: Max bank size still 8kb in 1.5 even 1 blue saying its 1mb... However edit box dialog items now can contain any length strings....
Edit4: Edit box can write out any length string even by triggers, but it can only read strings up to 518 character:(
Edit5: Blizz seems like fixed many stuff: bank resets seems to be fixed, max bank size is 1mb and you can have 33 bank per map.
Added a demonstration map.
So if you have 4 players in a map, you could only load 2kb/player without problems?
Very useful list.
@Ahli634: Go No, its per player. So its 8kb per player.
(I updated my first post to make it more clear.)
http://us.battle.net/sc2/en/forum/topic/6232274277#5
New tests required.
@Ahli634: Go
Wow thats awesome news! Might run some tests tomorrow when i find the time.
@Ahli634: Go
One mega-byte?!?!?!?!?!?!?
(couldn't find a better evil laugh on such short notice, but c'mon, it's Barney)
Im not quite sure if this is already meant to be implemented into the game or not, however in my test we werent even able to load a 100kb bank with 2 players, even though I was able to load a 1100kb bank on my own in multiplayer.
I have to admit, the bank system remains a mystery to me.
@Mille25: Go Yeah I tested it too, Max bank size is still 8k. Somebody should report that in US SC2 forums!
(You can save any sized bank if you are alone in the game)
Wow 1mb bank size finally have been added!!!!!!!!
Wow this is really good news. Awesome things can be done with that much bank space!