[Bug] Script commands and the game's replies are not interleaved in the game window
Maintainers usually reply within 5 days
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
First verify on Genie 5.0.0 or later, since the waitfor/matchwait change in #433 may have affected the behavior. Reproduce with a .cmd script in MDI layout and capture #audit on timing alongside the game window text; check whether the ordering is wrong in the queue or only during rendering, and whether it occurs outside MDI. Done means each echoed command appears in its correct position relative to the game's replies.
Written by the indexing model from the issue text.
Description
What happened
While a .cmd script runs, the game window can show the script's sent commands grouped together and the game's replies afterwards, instead of each command followed by its reply. The commands are sent in the right order and the script behaves correctly; only the display order is wrong. It reads as if several script lines fired at once, which makes a script hard to debug from the window.
Seen on a release build, MDI layout, Linux.
What you expected
Each echoed command appears in the window where it was sent, relative to the game text around it, as in Genie 4.
Needs verification
- No capture is attached yet. A short run with
#audit on(send and reply timing) alongside the window text would show whether the order is wrong at the queue or only at render. - It has not been checked whether this is specific to the MDI layout.
- The fix for waitfor/matchwait resuming mid-read (#433) landed after this was seen and may have changed it; re-test on 5.0.0 or later before any work starts.
Source
Raised on the Genie Discord (#genie-5-development, 26 October).
- Dominant language
- C#
- Stars
- 2
- Forks
- 5
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenieClient/Genie5
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
GenieClient/Genie5#496 ·
Maintainers usually reply within 5 days
-
enhancement g4-regression
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
GenieClient/Genie5#494 ·
Maintainers usually reply within 5 days
-
area:ui-dock enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GenieClient/Genie5#462 ·
Maintainers usually reply within 5 days
-
area:mapper bug est:<1d P2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
GenieClient/Genie5#449 · 1 comment ·
Maintainers usually reply within 5 days
-
[Bug] Maps ▸ Update from Official Repo / Repair Maps give no notification of success or failurePossibly taken A pull request linked to this issue is open or already merged. Openarea:mapper area:updater bug est:<1d P3
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
GenieClient/Genie5#423 · 1 assignee ·
Maintainers usually reply within 5 days
All issues in GenieClient/Genie5
Similar issues
-
documentation good first issue kind:task level:starter size:s
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Arggon/ArggonStores#66 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Tool] MockAPIOpenhas-image has-license has-readme new-tool ready-to-approve repo-verified
Difficulty 1/5 Under an hour Newbie friendliness 72/100
shanselman/TinyToolTown#956 ·
Maintainers usually reply within 2 days
-
bug frontend
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Bug]: Native build script prints a traceback when Git is missing from PATHPossibly taken @Jaisuryan-web claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
KnifeLemon/Filee#1953 ·
Maintainers usually reply within 1 day