The player tool hangs a various times, while sometimes reading a scroll, or sometimes reading a potion, or shooting arrows at a monster, or at various other times.
The dungeon seed this happens on early seems to be highly dependent on the code. I.e., sometimes code mods will change when things hang.
Priority
Given recent edits and bug fixes, this problem appears to be the number 1 most common reason why rogomatic fails.
Suggestions
-
Use the -d command line option when debugging as creating a new UTC date & time sub-directory will also cause player to start with an initial / default state. The rogomatic system is supposed to "evolve" over time, so without the -d command line option it may be harder to reproduce a problem.
-
Make with either make clobber gcc or make clobber clang (depending on your local compiler) as this will turn OFF the optimizer, making it easier to debug.
-
You may use killall player to terminate a hung setup, then reset to restore the terminal state.
UPDATE 0c
The archery fix seeks too work, the Hanging as a result of Quaffing a potion, and Hanging as a result of reading a scroll remain a problem.
As of commit 7d2b83e, much of the potion hanging and scroll hanging problems have been fixed. However, more test is needed and there seems to be some corner cases that need to be addressed.
Some seeds will hang due to some corner cases. See comments near the bottom for seeds that cause problems.
The
playertool hangs a various times, while sometimes reading a scroll, or sometimes reading a potion, or shooting arrows at a monster, or at various other times.The dungeon seed this happens on early seems to be highly dependent on the code. I.e., sometimes code mods will change when things hang.
Priority
Given recent edits and bug fixes, this problem appears to be the number 1 most common reason why rogomatic fails.
Suggestions
Use the
-dcommand line option when debugging as creating a new UTC date & time sub-directory will also causeplayerto start with an initial / default state. The rogomatic system is supposed to "evolve" over time, so without the-dcommand line option it may be harder to reproduce a problem.Make with either
make clobber gccormake clobber clang(depending on your local compiler) as this will turn OFF the optimizer, making it easier to debug.You may use
killall playerto terminate a hung setup, thenresetto restore the terminal state.UPDATE 0c
The archery fix seeks too work, the Hanging as a result of Quaffing a potion, and Hanging as a result of reading a scroll remain a problem.
As of commit 7d2b83e, much of the potion hanging and scroll hanging problems have been fixed. However, more test is needed and there seems to be some corner cases that need to be addressed.
Some seeds will hang due to some corner cases. See comments near the bottom for seeds that cause problems.