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
The new "script obfuscation" was causing the issue.
I need a library for compressing integers into a string. Is this still active? Or am I better of just writing my own?
@finiteturtles: Go
You can try using QuickCat. You would just need to make use the "Convert Integer To String" function.
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?
@alfx01: Go
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.
Starcode 1.5
Here's a fixed version of this library. Fixes include:
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.
@TheUltragon: Go that's great!
replacing codes now XD
Not working anymore. It gives me "Expected a boolean expression" error in Starcode source when trying to publish.
we need starcode :/
These download links are broken :(
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here