SphereCommunity
Sphere.INI versus HEX - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Sphere.INI versus HEX (/Thread-Sphere-INI-versus-HEX)



Sphere.INI versus HEX - PePs1Man - 07-17-2017 11:04 PM

Hello everyone,

I am not sure if this is intented or not because I am not a programmer ...

I did ask that question to a programmer.

In Hex, does 01 is different than 1? Does 0000A is different than A.

To a programmer, there is no difference.

To sphere, there is.

014 is not equal to 14.

Just writing this because I found out that my options flags were not taken in count by sphere until I added a 0 before it.

This post is to advise everyone of this, and maybe check with devs if a bugreport needs to be sent?


RE: Sphere.INI versus HEX - darksun84 - 07-18-2017 02:05 AM

You skipped chapter 1 Tongue

Code:
In SPHERE, that 0 tells the script "Hey, this number is HEX!" 0100 and 100 are very different numbers.

http://wiki.spherecommunity.net/index.php?title=Chapter_1


RE: Sphere.INI versus HEX - PePs1Man - 07-18-2017 02:27 AM

God damnit, Tongue lol I did read it, ... guess I skipped that line, or forgot it completely, hehe, thanks!