Azurency / Azurency/CQUI_Community-Edition
[Integration] Builder Lens doesn't support Hotseat Multiplayer
- Dominant language
- Lua
- Stars
- 397
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
How to test:
Start a hotseat multiplayer game, setting the first 3 players as human (first 2 humans in a team, 3rd one solo), and the last player(s) occupied by computer(s). A duel sized pangaea probably works best for this.
What happens:
The Builder Lens only works as expected for player 1. As for players 2 & 3, the Builder Lens darkens all their owned tiles. Interestingly, when player 2 uses the Builder lens, it highlights improvable tiles owned by player 1 (as they have shared visibility), but does not highlight it's own improvable tiles.
If you start a fresh game, it only works for player 1. But if you then save it when it's another players turn, and reload the game from that point, it will only work for that player going forward (and won't work for player 1).
- OS: Windows 10
- Version: 1.0.0.290
- Expansions: All expansions and DLC, including Rise & Fall, and Gathering Storm
- Other mods: None
I should also note that I played a number of hotseat multiplayer games with CQUI enabled prior to Gathering Storm, and this issue was not present until this recent update.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the hotseat multiplayer scenario described in the issue, including saving and reloading during another player's turn, then trace the Builder Lens entry point and its player/visibility handling. Done means the lens highlights the current player's improvable owned tiles correctly for players 1, 2, and 3, including after save and reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- frontend, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100