import sys sys.path.insert(0, r"C:\git\bt411\scratchpad\night7") import gitea # 1. split the lag half out of #157 r = gitea.call("/issues", "POST", { "title": "Conn Man: lag during drops -- missiles / direct fire exploding in empty space", "body": "Split out of #157 (whose 'crash' half was resolved as not-a-crash) so this real " "symptom is not buried under a closed investigation.\n\n" "Report (night 14): *\"Conn Man was lagging sometimes during drops and that caused " "the effect of missiles or direct fire exploding/hitting empty space.\"*\n\n" "What we know from the same night's logs: his 20-minute drop shows NO steamnet " "errors, disconnects, or retries -- so this is latency/jitter presentation, not " "connection loss. The shape (impacts rendering where the target WAS) points at " "replicated-position extrapolation during peer lag spikes.\n\n" "NEXT SESSION: if anyone sees fire hitting empty space, note the shooter + target " "+ rough time; we can then read both machines' matchlogs (PROJ/DMG receipts carry " "positions) and measure the divergence directly."}) num = r["number"] if isinstance(r, dict) and "number" in r else None print("created lag ticket #", num) # 2. #157: remediation landed gitea.comment(157, "**Remediation landed (all port-layer, no gameplay paths):**\n\n" "1. **Foreground handoff** -- the dying generation now grants its foreground right " "to the child it spawns (AllowSetForegroundWindow before ExitProcess), so the " "between-rounds menu lands IN FRONT instead of behind the desktop clutter. A denial " "is logged.\n" "2. **Clean-exit markers** -- lastrun_.txt now records deliberate exits: " "'clean exit: player quit from the menu' / 'clean exit: player closed the game " "window'. The file answers crash-or-quit by itself now. Verified live: menu boot -> " "close -> marker written, exit 0.\n" "3. **Bat sign-offs reworded** (play_steam / play_solo) -- 'The game has exited' now " "says round-end returns and menu closes are NORMAL, and asks for files only if it " "CRASHED or would not start. No more teaching players to report quits as crashes.\n\n" + ("The lag / missiles-hitting-empty-space half is now its own issue: #%d.\n\n" % num if num else "") + "With that, everything actionable here is done -- recommend closing after the next " "session confirms the round-end transition reads sanely.") # 3. #71 plasma gitea.comment(71, "**Fixed.** The Plasma window's X now MINIMIZES instead of hiding " "(L4PLASMAWIN.cpp WM_CLOSE: SW_HIDE -> SW_MINIMIZE). The taskbar button survives in " "both framed and ,noframe styles, so the display is recoverable without a restart. " "Verify: close the plasma window, click its taskbar button, it comes back live.") # 4. #69 Denkou gitea.comment(69, "**Renamed.** The vehicle picker now shows **Denkou** for snd1 (btl4fe kVehicles; " "the egg key stays snd1 so nothing else moves). Also updated the L4GAUGE.CFG " "section comment and the docs mapping. Draco / Conn Man -- check the menu next " "session and confirm the spelling is the one you remember.") print("all posted")