It is currently 05 Jul 2025, 07:17
   
Text Size

Any method to debug long "Waiting for opponent..." delays?

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Any method to debug long "Waiting for opponent..." delays?

Postby 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.
elricod
 
Posts: 18
Joined: 18 Mar 2011, 02:01
Has thanked: 6 times
Been thanked: 0 time

Re: Any method to debug long "Waiting for opponent..." delay

Postby 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


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 15 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 15 users online :: 0 registered, 0 hidden and 15 guests (based on users active over the past 10 minutes)
Most users ever online was 5050 on 26 Jun 2025, 06:02

Users browsing this forum: No registered users and 15 guests

Login Form