You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One morning I woke up to a message that casino.js failed to run because we are out of money. This happened because we were studying while heading to the casino. I could have sworn I had code which stopped any player actions before heading to the casino, but I might have missed something. so we should double check.
If casino.js runs into this scenario (or any error scenario after having killed all scripts) and cannot proceed, it should be running the "on completion" scripts to restart autopilot.js so we can recover from debt and try again later.
The text was updated successfully, but these errors were encountered:
alainbryden
changed the title
autopilot.js: Deal with massive debt
autopilot.js / casino.js: Avoid going into debt and getting stuck at the casino with no money
Nov 8, 2024
- I believe the current source of this bug is a race condition with daemon.js choosing to study just after autopilot runs stopAction. Hopefully killing it prevents this situation.
- Also increased the buffer slightly
Two issues to look at here:
The text was updated successfully, but these errors were encountered: