odamex icon indicating copy to clipboard operation
odamex copied to clipboard

[BUG] Array tokens not being assigned correctly in ACS

Open Xenaero opened this issue 3 years ago • 2 comments

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 Odamex_SOLO_20211212_150006

Xenaero avatar Dec 12 '21 23:12 Xenaero

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.

rakohus avatar Dec 13 '21 02:12 rakohus

Yes, it was only attempted client-side, singleplayer.

Xenaero avatar Dec 13 '21 06:12 Xenaero