aboutsummaryrefslogtreecommitdiff
path: root/webAO/lib/jdataview.min.js
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-16 15:42:36 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-04-18 16:52:22 +0000
commitda664ddaa2181cb9ef56f19fdc134eda659572d0 (patch)
tree5b39c93470bffe9c158f1461d88f01528325ee1e /webAO/lib/jdataview.min.js
parentc291a9b769d48aab72f5c133dd71e554a09b5d1a (diff)
Fix offset token substitution in MS packet
In an IC message, x and y offsets are separated by an ampersand, which is unfortunately a conventional separator within packet fields. So, it looks like `25&10` for x = 25 and y = 10. A consequence of that is you have to substitute '&' if you actually want to send it. AO does it by substituting it to `<and>` and back. The MS handler instead expected it to never be decoded, and instead assumed `25<and>10`. By the time the MS packet reaches the handler, the token has already been decoded into '&', however, thus breaking offsets.
Diffstat (limited to 'webAO/lib/jdataview.min.js')
0 files changed, 0 insertions, 0 deletions