I doubt you'll need more then that saved in a bank file.
I need infinity size probably:D
First thing I want to add to my pictionary map:
Saving names of the pictures to bank, so that in next game you can click on a button to get tip for what to draw and it will use this bank.
I would like to use 1000 word for it with max 30-40 character.
Second:
I want to add that people could save their drawing (if there is enough bank size as it really needs lot).
On picture can have up to 7000 points! than I would need to save its color and text size of the points.... (and if the banks are really huge than I could add ability to save more pictures)
Run this trigger:
Elapsed time = 0.01
Set bank Integer for player 1
For Each A from 1 - 100000 with increment of 1
Add value A to key A section A to last created bank
Save last created bank
Wait .01 seconds
Eventually, it will give you an error, or maybe the limit is even higher. I don't want to run that because it will take a large amount of time, and my CPU will start bitching.
That, however, is the trigger to determine the max (up to 100k).
Set bank Integer for player 1
For Each A from 1 - 100000 with increment of 1
Add value A to key A section A to last created bank
Save last created bank
Wait .01 seconds
Eventually, it will give you an error, or maybe the limit is even higher. I don't want to run that because it will take a large amount of time, and my CPU will start bitching.
That, however, is the trigger to determine the max (up to 100k).
yeah I cant test it like that, but I read in other thread that is also depends on how much player in the game?
I think Blizzard went away from their custom limitations. There might be some other other default limitations of how much streaming data can actually be sent at once. I think it's somewhere around 540k characters, but it might as well be infinite, or some other high limitation Blizzard has choosen.
In short, you should'nt fear of HOW big a bank file can be, but how long it will actually take players to recieve this data. It will most likely freeze up the game for all players for a time. You should look into how you can make it most efficient instead. Like, I guess, all your 'points' are probably units, you should'nt save them as units, but write it yourself with the fewest amount of data, like: "pos-x", "pos-y", "color" and "size" only.
I think Blizzard went away from their custom limitations. There might be some other other default limitations of how much streaming data can actually be sent at once. I think it's somewhere around 540k characters, but it might as well be infinite, or some other high limitation Blizzard has choosen.
In short, you should'nt fear of HOW big a bank file can be, but how long it will actually take players to recieve this data. It will most likely freeze up the game for all players for a time. You should look into how you can make it most efficient instead. Like, I guess, all your 'points' are probably units, you should'nt save them as units, but write it yourself with the fewest amount of data, like: "pos-x", "pos-y", "color" and "size" only.
they are text tags and I will write them like that, (however color takes 3 value)
Banks get synchronized for every player during load screen. So a large bank will just add to the overall load time of the map and not freeze up anything during the game.
Quote from s3rius:
Banks get synchronized for every player during load screen. So a large bank will just add to the overall load time of the map and not freeze up anything during the game.
Yeah, that is loading, but what about saving the bank-file? That is done during the game, sending that amount of data from the host to a player might freeze the game..
Banks get synchronized at the time of loading. After that all players have a copy of each players' bank. During the game all data is written into all banks of all players at synchronous time. In the end a player only saves his own bank to the hdd.
The host doesn't manage the bank files, the players keep them themselves.
So did anyone figured it out since patch 1.1 that what is the correct new limit? (I read many threads about it but nobody could pinpoint anything...)
The ones i tested:
Integer - 1000 +
Unit - 100 +
I doubt you'll need more then that saved in a bank file.
I need infinity size probably:D
First thing I want to add to my pictionary map: Saving names of the pictures to bank, so that in next game you can click on a button to get tip for what to draw and it will use this bank. I would like to use 1000 word for it with max 30-40 character.
Second: I want to add that people could save their drawing (if there is enough bank size as it really needs lot). On picture can have up to 7000 points! than I would need to save its color and text size of the points.... (and if the banks are really huge than I could add ability to save more pictures)
You can always use multiple banks, in your case it sounds like you'll never actually load everything, but just want to have it in the backend.
still it would be good to know, so I could know how much bank I need.
yeah I cant test it like that, but I read in other thread that is also depends on how much player in the game?
they are text tags and I will write them like that, (however color takes 3 value)
Also are there any reason to make compression?
you can save the color in 1 string you just save it as (red green blue) later you can take the first word of the text string then the second ....
I know how to compress stuff.
Banks get synchronized for every player during load screen. So a large bank will just add to the overall load time of the map and not freeze up anything during the game.
@JakeCake26: Go
Banks get synchronized at the time of loading. After that all players have a copy of each players' bank. During the game all data is written into all banks of all players at synchronous time. In the end a player only saves his own bank to the hdd.
The host doesn't manage the bank files, the players keep them themselves.
Can anyone confirm that I can safely save 30 integers per bank, using two banks per player, and 12 players online (total of 720 integers).
Well there seems to be a limit on the number of banks you can load, looks like it's around 22 banks, regardless of how small the banks are.
I was going to store two banks per player for a backup bank, but it looks like this wont be possible now ;(.