florian.berthold c955937b12 fix(items): grace window for nil-after-occupied without retry polling
GetContainerItemInfo returns nil for some occupied slots during server
lag, causing Bagnon to draw the slot empty. Earlier retry-polling
approach caused massive lag because every legitimately emptied slot
also matched the "previously had item, now nil" condition and ran ~30
live reads over 3s per move.

New approach: on a nil-after-occupied read, if we're within
GRACE_WINDOW (0.5s) of the last good draw, keep the prior draw and
queue ONE re-check at the deadline — no polling. A genuinely emptied
slot resolves at the deadline; a recovered slot redraws with correct
data. lastGoodTime is set only on non-nil reads, so persistent lag
eventually accepts the empty.
2026-05-15 16:13:34 +02:00
2022-10-21 06:30:58 -07:00
2022-10-21 06:30:58 -07:00
2022-10-21 06:37:39 -07:00

Bagnon

This is the repository for Bagnon. Modified for Ascension.gg.

S
Description
Ascension fork of Bagnon for CoA Guild 'Exiles'
Readme 280 KiB
2.14.0-coa.2 Latest
2026-05-29 08:43:54 +00:00
Languages
Lua 99.3%
Shell 0.7%