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.
rogue 5.4.5
Please be sure you are using the latest rogue 5.4.5 2026-06-22 or later.
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.
-
Use ./kill_player to terminate a hung setup.
-
It often takes a number of levels before it hangs. Level 6 is about the earliest hand. For example:
or:
./rogomatic -d -S 1989014291
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.
rogue 5.4.5
Please be sure you are using the latest rogue 5.4.5 2026-06-22 or later.
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.Use
./kill_playerto terminate a hung setup.It often takes a number of levels before it hangs. Level 6 is about the earliest hand. For example:
or:
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.