The only thing I still do not understand about Starcode: how do you merge more values (say Played Games and Won Games) into one single encypted string, and even more important, how can you extract that exact value from the string being sure it's the thing you want, say Won Games? And, if for example I later add a third value into the string creating a new code, would that mess the old one, so that I am no more able to find the value of Won Games using the method used until that time?
I had to use the "save multiple values in one string" myself recently, and I figured it out. I've attached a map explaining each step to this post.
It's the same map as the example map in the first post, expect for my own trigger which goes through each step of saving and loading multiple values.
I hope that helps you and a few other users who're stuck with this!
As for the second question: In theory, you totally can add a new value and still make the code work with your other stuff. You just have to add and retrieve the value after you save/before you retrieve everything else.
See my example map and toy around with it a bit to understand this process better.
Here's a fixed version of this library. Fixes include:
Starcode is now compatible with the automatic map obfuscation by blizzard, making it possible to publish maps using this library IMPORTANT: You might have to redo the parts of your map using an older version of this library when you update it. Just be warned.
fixed a bug that crashed Sc2 when you hash an empty string