- Joined
- Aug 3, 2008
- Messages
- 2,345
Ok, so I did my research, and I found that the object rawcodes are generated from integers based on the letters' ASCII values. I found this by printing the rawcode
EDIT:
I found a library with it in.
http://www.hiveworkshop.com/forums/jass-functions-413/string-functions-133059/
Thanks Maskedpoptart!
'0'
to the game, thinking it would print as "0", but what I found was that it was "48", the character 0's ASCII value. Now, how could I use this knowledge to convert the long numbers the game prints out to readable strings, or vica versa? I figured it was probably something to do with base conversion, but I have no idea how I could make that work with every single ASCII character from 1 to 256. Any help?EDIT:
I found a library with it in.
http://www.hiveworkshop.com/forums/jass-functions-413/string-functions-133059/
Thanks Maskedpoptart!
Last edited: