Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Review guide for my open PRs

Open moss-orbit-9f339e opened this issue 1 month ago • 0 comments

I have 43 open PRs here, far more than you can review. New ones are crash fixes and issues that you, sprunk or players filed, and I answer questions and fix problems in the open ones. This issue groups them and says where to start.

In October I closed 25 PRs that I thought were low value. Several were reopened and merged later, and on #6037 you said that a fix mattering to few people is not a reason to close it, so I will not close more on my own.

Start here

  1. #5885 (9 lines): APM stats error, 107 crash reports in a year.
  2. #5884 (3 lines): DCIcon error, 104 crash reports in a year.
  3. #5943 (2 lines): regression from my #5894. After a commshare leader leaves, a new unit on an old squad team goes to the wrong team (a player ID is used as a team ID).
  4. #6135 (12 lines): shot-down aircraft that crash now count as value killed (a player report in #zkdev). I answered your question about double counting there, with the negative tests I ran.
  5. #6025 (6 lines): unticked Local Widgets options are ignored (sprunk's #6012).
  6. #5886 (6 lines): BuildETA draws only the labels in view. +11% FPS (80.2 to 89.0) in a 27-player replay. No cache, no delay.

Also approved by sprunk, only needs a merge: #6056.

Requested

Sparkezel asked for #6002 and #6004 in #zkdev and has seen the changes, and for #6097 and #6098 in #zk. #6099 was asked for in #zkdev. #6096 is split out of #6004 after your review. The rest fix the open issue in brackets, or follow your comment there.

# Title Lines Impact
#5877 CUS GL4: skip deleted units when assigning draw bins (#5652) 10 medium
#5991 Area attack: one anti-air unit gets orders (your >= 1 from #5927) 2 low
#5998 Highlight Geos: follow terrain height changes (#5050) 20 low
#6002 End graph: show the values under the mouse (Sparkezel) 135 medium
#6004 Metal Territories: optional overlay, off by default (Sparkezel) 1464 medium
#6009 Spotter: rebuild rings when team colours change (#3206) 9 low
#6023 Vote window: drag only in UI tweak mode (#5252) 2 low
#6025 Widget handler: respect unticked Local Widgets options (#6012) 6 medium
#6029 base64: decode bytes >= 192 and NUL bytes (#5331) 2 medium
#6031 Chicken panel: non-ASCII wave rows in the engine font (#2628) 21 low
#6038 German and Turkish: grid requirement in superweapon descriptions (#4659) 12 low
#6096 Widget and gadget handlers: pass DrawInMiniMapBackground (split from #6004) 29 low
#6097 Crawling Bomb Range widget, off by default (Sparkezel) 146 medium
#6098 Constructors leave the factory on Fight and Patrol, a Settings option (Sparkezel) 89 medium
#6099 Chicken panel: show the time until the next wave (#zkdev) 56 low
#6116 Fix the D-Gun not firing when the commander has a Set Target (#5917; per weapon, as you suggested) 56 medium
#6135 Shot-down aircraft that crash count as value killed (a player in #zkdev) 12 medium
#6145 Radar icons drawn in Lua, an optional widget, off by default (your #6144) 905 medium

Error and crash fixes

# Title Lines Impact
#5885 APM stats: no error when the end-game panel is off (107 reports a year) 9 high
#5884 DCIcon: GetGameState instead of the removed GetHasLag (104 reports a year) 3 high
#5983 Field factory: reject a select command whose target is gone (seen in a real replay; synced) 2 medium
#5995 Player Name Tags: use the avatar unit ID (2 reports) 4 medium
#5989 Deferred Lights GL4: guard cleanup after a failed start (1 report) 18 low
#6054 Epic Menu: plain-text search like the merged #5976; [ removed the menu for the game 8 low
#5982 Command Insert: Ctrl+Space resurrect modifiers 2 low

Bug fixes

# Title Lines Impact
#6048 LUPS StaticParticles: delete its display list (leak per mex glow, radar light) 4 medium
#5993 LUPS OverdriveParticles: delete its display list 4 low
#5970 Select keys: transport filters match their labels 4 low
#5987 Transport AI: remove the finished unit from auto-call lists 2 low
#6050 Metal features: the minimum metal option works 19 low
#6052 Area attack: shuffled step reaches every target 4 low
#6056 Chicken Spawner: keep the burrow target in PvP mode (approved by sprunk; synced) 6 low

UI and visual

All have before/after screenshots.

# Title Lines Impact
#5979 Chili font: redraw when colour, outline or shadow changes 4 medium
#5959 Bomber repair icon texture 1 low
#5980 Metal features: remove the CUS highlight when a wreck leaves view 7 low
#5985 Show All Commands: check the unit being drawn 2 low
#5986 Selection Send: remove expired ally selections 29 low

Performance

# Title Lines Impact
#5886 BuildETA: draw only labels in view (+11% FPS, 27 players) 6 high
#5888 SSAO: fewer FBO binds and blur taps (+3 to 5% FPS with SSAO on; off by default) 38 low

Gameplay changes (your call)

All change synced behaviour. The numbers are in each PR.

# Title Lines Impact
#5943 Commshare: store the leader's team after unmerge (regression from #5894) 2 medium
#5942 Commshare: count the sender's team for unmerge 2 low
#5972 Sudden death: open armored units take 2.7x damage 2 medium
#5880 Game Over: the AI resign and overwhelming advantage options work 4 low

Review together

  • #5942, #5943: commshare, same file.
  • #5993, #6048: the same display list fix in two LUPS classes.
  • #5991, #6052: cmd_area_attack_tweak.lua.
  • #5980, #6050: same file.
  • #6004, #6096: #6004 carries the same handler lines until #6096 is merged.
  • #6116 and Stiofan-K's #5764: both are for the D-Gun problem in #5917. #6116 changes only the set-target gadget; #5764 changes the four commander scripts.

Lobby and server PRs

Chobby: ZeroK-RTS/Chobby#933 (lobby commands split over three or more socket reads are lost; seen in crash reports, fixes ZeroK-RTS/Chobby#776), ZeroK-RTS/Chobby#935 (a maximized lobby shrinks when you return from a match at UI scale above 100%), ZeroK-RTS/Chobby#929 (an error line at every lobby start), and four bundles of small lobby fixes: ZeroK-RTS/Chobby#924 (also fixes ZeroK-RTS/Chobby#922), ZeroK-RTS/Chobby#925, ZeroK-RTS/Chobby#926 and ZeroK-RTS/Chobby#927.

Zero-K-Infrastructure: ZeroK-RTS/Zero-K-Infrastructure#3081 and ZeroK-RTS/Zero-K-Infrastructure#3082 (your ZeroK-RTS/Zero-K-Infrastructure#3079 and ZeroK-RTS/Zero-K-Infrastructure#3080: inactive players leave the ladder without a restart, and the hourly matchmaking ladder decay; meant to be merged together), ZeroK-RTS/Zero-K-Infrastructure#3077 (crash reports keep the Lua error; approved by sprunk, Licho1 asked a question that I answered).

I will keep this list updated and close any PR you don't want; a one-word comment is enough.

moss-orbit-9f339e avatar Oct 25 '26 22:10 moss-orbit-9f339e