uberserver
uberserver copied to clipboard
SAY needs to update lastid
else on rejoin duplicate messages are shown
maybe: -> JSON {"cmd":"say", "msg": "hello world" ....} <- JSON {"cmd":"say", "lastid": 3}
i guess this needs a new compat flag?!
or easier:
JSON {"cmd": "login", "username": ...."} sets the flag?!
better:
-> JSON {"cmd": "join", "lastid": 1337 ... } -> JSON {"cmd": "say" ... } <- JSON {"cmd": "say", "lastid": 1338, ...}
(json join enables json mode?!)
n2s, mix of json & non-json SAID is involved here