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.
 
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?
 
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.
 
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.
 
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.
Back
Top