odamex
odamex copied to clipboard
[BUG] Array tokens not being assigned correctly in ACS
Describe the bug Setting some array values evidently do not either get assigned correctly or overwrite other array values.
Build that the bug occurred in 0.9.5 (g4183-6903)
To Reproduce Create a script with array and print values to reflect assignments in console, or just run attached file in multiple ports
Expected behavior Arrays playing nice!!!!
Screenshots, NetDemos, & Crash Dumps Attached screenshot shows the arrays going all wacky
Additional context
Tested and returned expected results in Zandronum 3.1 and GZDoom 4.6.0
odamex_array_test.zip
Was this tested only on the client? For anyone that attempts to address this bug, it's worth considering that the server/client will need to intelligently sync this logic and know when to leave it up to the server.
Yes, it was only attempted client-side, singleplayer.