aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleRMC.ts
AgeCommit message (Collapse)Author
5 daysDelete obsolete and unused packetsOsmium Sorcerer
The following packets are unused and have no reason to have handlers: - CI: character information, unused and handled by SC. - EI: evidence information, unused and handled by LE. - EM: area and music information, handled by SM, and obsoleted by dedicated FA and FM. - MM: clientside toggle of whether a client is allowed to change music. The handler doesn't even do anything beyond acknowledging its existence. - RMC: plays a music track with an offset. Unused in practice, not present in AO2 Client. - ackMS: sent by the server to acknowledge an IC message, a relic from AO1.
2026-02-07Catch rejected play() promises from browser autoplay policyDavid Skoland
Browsers reject .play() with a DOMException when the user hasn't interacted with the document yet. Add .catch(() => {}) to all 9 play() call sites to suppress the uncaught promise rejection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2024-11-20Prettified Code!stonedDiscord
2022-08-30One more handlerCaleb