I'd like to count the total of games played on my map. Not for a single player, but the number of games played with 1-12 players. Starcraft 2 could probably and easily provide it (where are the server banks ?), but it doesn't.
Before to reinvent cold water, I'd like to know if a system already exists somewhere. Else if someone has already thought about it and can explain me the main idea, to save me time.
I have some ideas, but I am afraid that it would be huge to store in the banks (it would be only one field in a server bank...), optimized system may exist.
The only way I could think that it would be possible to get this information is make each player store a secret token inside the bank, and each player that plays these maps writes a token to each other banks, In the end the banks file would be massive but it would require players that played commonly with each other to gain a bank file that has information of all players that played the map, It wouldn't be very accurate but could give you an idea of how many times its been played.
This is the only way that I see too. I think that the banks can keep a reasonable size if I use in addition a validity number which I change from time to time, to erase the old data. I may lose some games in this process but I don't really care about the accuracy, excepted for curiosity but it is not my goal, I only need a progression relative to the number of games played.
Banks are a really easy way to do this. Look at a bank tutorial in the tutorial link in my signature. You have to manually set them up and tell it what and where to store info, but it's only one or two commands to take and pull info from it after that.
I already know how to use banks, my map already saves the number of game modes played for each player .
But I need to get something which progresses according to the global activity on the map, so every players included (or most of them at least).
some ideas, it's on you to put them together,
every player has an player handle (S2-1-XXXXX), use the last part (XXXXX) of all players, add it together and you have something like a SessionID (very unlikely but possible that different player combinations have the same sessionID).
since you can count every single game now you can merge all sessions of every player. now every player has the same sessions in their bank after a game.
i would use more than 1 bank for this, you need a list of sessionIDs (key 1 = SessionID1, key 2 = SessionID2, etc)
a Session should contain the number of times this combination has played together.
Thanks for your ideas FunkyUserName, however I need to register an unique ID for each game. Else a game could be counted several times.
I may use the addition of the numbers that you say, and concatenate the duration of the game.
only if there would be a global map bank which can be accessed from all games, but i think there will be only a bank per player if they do it. actually i dont think they will do it
Yes, you are right.
But I think that if they wanted to make same banks than the actual but server side, they would not need to ask to the community what it desires.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello,
I'd like to count the total of games played on my map. Not for a single player, but the number of games played with 1-12 players. Starcraft 2 could probably and easily provide it (where are the server banks ?), but it doesn't.
Before to reinvent cold water, I'd like to know if a system already exists somewhere. Else if someone has already thought about it and can explain me the main idea, to save me time. I have some ideas, but I am afraid that it would be huge to store in the banks (it would be only one field in a server bank...), optimized system may exist.
@Kloupz: Go
The only way I could think that it would be possible to get this information is make each player store a secret token inside the bank, and each player that plays these maps writes a token to each other banks, In the end the banks file would be massive but it would require players that played commonly with each other to gain a bank file that has information of all players that played the map, It wouldn't be very accurate but could give you an idea of how many times its been played.
This is the only way that I see too. I think that the banks can keep a reasonable size if I use in addition a validity number which I change from time to time, to erase the old data. I may lose some games in this process but I don't really care about the accuracy, excepted for curiosity but it is not my goal, I only need a progression relative to the number of games played.
Thanks for your answer.
Banks are a really easy way to do this. Look at a bank tutorial in the tutorial link in my signature. You have to manually set them up and tell it what and where to store info, but it's only one or two commands to take and pull info from it after that.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
I already know how to use banks, my map already saves the number of game modes played for each player . But I need to get something which progresses according to the global activity on the map, so every players included (or most of them at least).
some ideas, it's on you to put them together,
every player has an player handle (S2-1-XXXXX), use the last part (XXXXX) of all players, add it together and you have something like a SessionID (very unlikely but possible that different player combinations have the same sessionID).
since you can count every single game now you can merge all sessions of every player. now every player has the same sessions in their bank after a game.
i would use more than 1 bank for this, you need a list of sessionIDs (key 1 = SessionID1, key 2 = SessionID2, etc)
a Session should contain the number of times this combination has played together.
Thanks for your ideas FunkyUserName, however I need to register an unique ID for each game. Else a game could be counted several times. I may use the addition of the numbers that you say, and concatenate the duration of the game.
Funny?!
I would have thought it very easy.. you type an email/message to "send a tray" or another blizzard blue.. and ask them for the stats...
ps: i'm working hard at improving my sense of sarcasm.. how am i doing?
pps: f ck the guy/gal that keeps forcing/"gifting" me "premium"
To know what they have decided about the server banks, I could. It would be so usefull.
@Kloupz: Go
only if there would be a global map bank which can be accessed from all games, but i think there will be only a bank per player if they do it. actually i dont think they will do it
Yes, you are right. But I think that if they wanted to make same banks than the actual but server side, they would not need to ask to the community what it desires.