[2.0.1] R2S still broken in ptr (fixed)

As stated in this post: https://us.forums.blizzard.com/en/warcraft3/t/200-r2s-native-is-broken/33534, patch 2.0.0 broke the R2S native. This causes reals to be represented as incorrect numbers, or just null when converted to strings. This also affects custom gameplay constants. I tested setting a gameplay constant to 347.895, and when I clicked ok, it set it to 347.8. I then tried setting it to 347.9, and it set it to 347.8. I then saved that same value (347.8) with no changes, and it set it to 347.7. I’m sure there are bigger issues than just this when editing gameplay constants that I haven’t tested enough to find, but this should really be fixed sooner rather than later. Some poking around from other people in the community suggests that there’s an internal function named sprintf that was changed for patch 2.0.0 that should be reverted.

7 Likes

Still broken, both R2S and R2SW, check both JASS and Lua.

3 Likes

Have they fixed it in the latest PTR?

they did, actually :partying_face::partying_face::partying_face: