getting good

This commit is contained in:
Boki 2026-02-22 17:28:48 -05:00
parent 7225547467
commit 634373fa4d
4 changed files with 15 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 MiB

After

Width:  |  Height:  |  Size: 7.3 MiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 MiB

After

Width:  |  Height:  |  Size: 5.8 MiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 KiB

After

Width:  |  Height:  |  Size: 339 KiB

Before After
Before After

View file

@ -975,12 +975,23 @@ public class BossRunExecutor : GameExecutor
}
await Sleep(Delays.PostTravel);
// /hideout to go home
var arrivedHome = await _inventory.WaitForAreaTransition(
_config.TravelTimeoutMs, () => _game.GoToHideout());
// /hideout to go home — retry up to 3 times (command can fail to register while loading)
var arrivedHome = false;
for (var attempt = 1; attempt <= 3; attempt++)
{
arrivedHome = await _inventory.WaitForAreaTransition(
_config.TravelTimeoutMs, () => _game.GoToHideout());
if (arrivedHome) break;
if (attempt < 3)
{
Log.Warning("Hideout command didn't register (attempt {Attempt}/3), retrying", attempt);
await Sleep(1000);
}
}
if (!arrivedHome)
{
Log.Error("Timed out going to hideout");
Log.Error("Timed out going to hideout after 3 attempts");
return false;
}