Any method to debug long "Waiting for opponent..." delays?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
2 posts
• Page 1 of 1
Any method to debug long "Waiting for opponent..." delays?
by elricod » 15 Mar 2023, 22:45
It doesn't happen with all decks or board states. But several turns into a reasonably complicated 4-player EDH game, the computer may stay on "Waiting for opponent" for 15-20 seconds per resolution, which gets rough when there are 30 triggers on the stack.
Not asking for a debug from developers. I am more looking for additional switches or parameters to pass Forge when I launch, to increase the verbosity of the forge.log or a similar location.
I am hoping if I can find which decision tree the AI is getting stuck on, I can avoid decks with those cards entirely.
Not asking for a debug from developers. I am more looking for additional switches or parameters to pass Forge when I launch, to increase the verbosity of the forge.log or a similar location.
I am hoping if I can find which decision tree the AI is getting stuck on, I can avoid decks with those cards entirely.
Re: Any method to debug long "Waiting for opponent..." delay
by resonantmadly » 12 Nov 2024, 01:43
You can increase verbosity by launching Forge with the -debug flag, which may provide more detailed logs. Additionally, check the forge.log file, typically located in the Forge installation directory. This can give you insights into where the AI is getting stuck, especially around complex triggers. To troubleshoot specific deck issues, you might try isolating cards or mechanics that trigger delays by testing the decks in smaller games or using a simplified board state.
- resonantmadly
- Posts: 2
- Joined: 12 Nov 2024, 01:41
- Has thanked: 0 time
- Been thanked: 2 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 15 guests