Regarding Banks (size increase!)

Status
Not open for further replies.
Level 11
Joined
Aug 1, 2009
Messages
963
Just loaded a 3k character string perfectly fine. Too lazy to figure out exactly what the limit is, but clearly it is much much larger than the one from beta.

UPDATE: 9k characters, still working. Will keep you guys posted.



Okay, 90,000 characters works fine. Think this is enough; if any map needs more than 90k character it is poorly coded.
 
Level 6
Joined
Sep 28, 2009
Messages
222
cant confirm.

i tried to load 5 strings with a lengh of ~ 200 each and it crashed.

are you sure you tested in in multiplayer and not singleplayer? if yes i have to test it again :)

also, did you check the string length after loading it to ensure that it didnst stop loading at char nr 781?
 
Level 11
Joined
Aug 1, 2009
Messages
963
I did it in multiplayer, and I only used one string that was very long. This was merely bank testing repeated, however, but I don't think they have any form of compression. I also restarted SC2 after each time I editted the bank file, just to make sure that editting it with SC2 open didn't mess anything up.

Did you preload it first and such? Basically all I did was have it preload, open the bank, read off the string in a debug msg, then save the bank.

Also, I don't think it got cut off, but I'll have to run tests again just to check.
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
Maybe it's not news, but aren't the banks server-sided now? I was able to save and load bank while single-player testing my map, but when I publish it and test it online, it uses a different bank.

Thats most likely true to prevent cheating.
 
Level 10
Joined
Aug 25, 2004
Messages
473
Does anyone knows if using multiple variables will increase the size drastically. We are yet to implement a bank with 2 array variables, each 15 values of type string. Each about 3 digits. Thats makes it 2*15*3 = 135 for each player. 6 players total, 810 digits overall for all layers. + 10 digits for each player as a control string, to prevent cheating. that makes it 870 digits for the entire game.
Would be nice to be able to go up till 9 000 :)
 
Status
Not open for further replies.
Top