Skip to content

Comments

[WIP] Fix Codex Bot match detection logic#31

Draft
Copilot wants to merge 1 commit intoewoogdevfrom
copilot/simplify-codex-bot-logic
Draft

[WIP] Fix Codex Bot match detection logic#31
Copilot wants to merge 1 commit intoewoogdevfrom
copilot/simplify-codex-bot-logic

Conversation

Copy link

Copilot AI commented Nov 21, 2025

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Let's simplify the logic for the Codex Bot. current it's not detecting when it gets into a match, and it throws the error below. Once it enters queue have it wait for the map to change (which the bot will know because the MapID won't be the same as the Outpost) or wait 1 minute what ever is longer.

[20:42:12] [Codex Arena Bot] Waiting for match to start...
[20:42:12] [FSM] Error in self-managed coroutine at state 'Run Codex Match': 'MapCache' object has no attribute 'GetInstanceType'
Traceback:
Traceback (most recent call last):
File "F:\Guild Wars\Py4GW\Py4GWCoreLib\py4gwcorelib_src\FSM.py", line 568, in update
next(routine)
~~~~^^^^^^^^^
File "", line 417, in _run_match
File "", line 199, in wait_for_match_start
AttributeError: 'MapCache' object has no attribute 'GetInstanceType'. Did you mean: 'GetInstanceUptime'?

[20:42:16] [Codex Arena Bot]


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants