-
Notifications
You must be signed in to change notification settings - Fork 1
Why your bot may crash
dtdannen edited this page Sep 4, 2013
·
3 revisions
Over time I have discovered numerous causes for crashed games, and list them here to help future researchers:
-
Null pointers. Check the last chunk of code you wrote. You may need to check some variable is not null before using it
-
Too many log file writes (this can cause the bot to crash in late game for apparently no reason)
Using the debugger is EXTREMELY helpful. See: How to Debug Starcraft Programs (BWAPI bots)