aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets
AgeCommit message (Collapse)Author
2026-04-01fix only area bugDavid Skoland
2026-04-01always hide charselectDavid Skoland
2026-04-01fix char select bugDavid Skoland
2026-04-01Enable auto pick area and charDavid Skoland
2026-02-11Merge pull request #293 from OmniTroid/better-charloadingstonedDiscord
Better charloading
2026-02-11Deduce emote icon extension from first button to speed up loadingDavid Skoland
Instead of probing extensions for every emote button (N*M HEAD requests), probe once using button1_off and reuse the result for all buttons. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10Refactor playerlist to state-driven rendering with renderPlayerListDavid Skoland
handlePR and handlePU now only update client.playerlist state, and renderPlayerList handles all DOM rendering from that state. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07Use setAOhost return value instead of stale AO_HOST importDavid Skoland
setAOhost now returns the current AO_HOST so handleASS can use the freshly set value rather than the import captured before the update. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07Fix playerlist icons using wrong asset URLDavid Skoland
PR/PU packets arrive before the ASS packet, so playerlist icon srcs were set with the default AO_HOST. Now handleASS re-applies the correct asset URL to existing playerlist images after AO_HOST updates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07Prefetch char.ini for characters present in area via playerlistDavid Skoland
Store player data (charId, area) in an in-memory Map on the client, updated by PR/PU packet handlers. Use this to eagerly load char.ini when a player's character appears in our area or when switching areas, eliminating the lazy-load delay on first IC message. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07Use charicon_extensions from extensions.json for char icon URLsDavid Skoland
Instead of hardcoding .png, read the preferred extension from client.charicon_extensions[0] (populated via extensions.json), falling back to .png if unavailable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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>
2026-02-07Defer char.ini loading and use direct img src for char iconsDavid Skoland
Instead of eagerly fetching char_icon (with HEAD requests per extension) and char.ini for every character on join, set img.src directly to char_icon.png and defer char.ini loading until actually needed (character selection via handlePV, or first IC message via handleMS). This eliminates thousands of HTTP requests on join for large character lists. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-01-27need to bake in version the non-npm wayDavid Skoland
2025-12-28Match client with how missing data is formattedmastyra
See https://github.com/AttorneyOnline/AO2-Client/blob/54afceec66744e758595e6a4e9bd861523f5b016/src/widgets/playerlistwidget.cpp#L207
2025-12-28Show player IDs in list elements when PU packet is sentmastyra
2025-10-28do not loop by defaultstonedDiscord
2025-10-06move setbackgroundstonedDiscord
2025-10-03maybe fix pantiltstonedDiscord
2025-10-02set backgroundsstonedDiscord
2025-09-28move extension fetch after ASSstonedDiscord
2025-09-03also do bgsstonedDiscord
2025-09-03bgurlsstonedDiscord
2025-09-03emotionsstonedDiscord
2025-06-22off by onestonedDiscord
fix #263
2024-12-24fix connection errorsstonedDiscord
2024-12-22Prettified Code!stonedDiscord
2024-12-22only show mod stuff when auth is successfulstonedDiscord
2024-12-13fix modcall newlinesstonedDiscord
2024-12-12get rid of sageTags in a few placesstonedDiscord
plan is to migrate to createTextNode
2024-11-20Prettified Code!stonedDiscord
2024-09-29HandleMS should only be in charge of parsing chat message.Caleb Mabry
2024-08-31give everything but the names a fixed sizestonedDiscord
2024-08-31hide out of area playersstonedDiscord
2024-08-31playerlist fixesstonedDiscord
2024-08-27enable pantilt if the bg has itstonedDiscord
2024-08-27the full bg is called court not fullstonedDiscord
2024-08-12Merge pull request #225 from AttorneyOnline/playerliststonedDiscord
Playerlist
2024-08-12fix evidebce off by one againstoned
2024-08-08fix first piece of evidencestonedDiscord
2024-08-07add ban buttonstonedDiscord
2024-08-07populate fields correctlystonedDiscord
2024-08-07adding and removing worksstonedDiscord
2024-08-07update layoutstonedDiscord
2024-07-18missing =stonedDiscord
2024-07-18stop the mote from grabbing focusstonedDiscord
2024-07-12deprecate fastloading FLstonedDiscord
2024-03-07encoding oopsiestonedDiscord
2024-03-07this is no longer the casestonedDiscord
2024-03-07fix off by onestonedDiscord
zak is back