Castlequest icon indicating copy to clipboard operation
Castlequest copied to clipboard

Game closes/crashes without warning on 3rd death

Open warrigal24 opened this issue 4 years ago • 2 comments

I compiled from the patches branch using gfortran on Windows 7 and confirm that the werewolf can certainly kill you.

The first time you get killed, you are offered the chance of reincarnation. If you accept, your belongings are scattered and you restart in the bedroom.

The second time you get killed, you are again offered the chance of reincarnation. If you accept, your belongings are scattered and you restart in the upper hallway.

The third time you get killed, the command window closes. At least I am assuming that you got killed, as this happens so quickly that you don't get a chance to see what happened. I'm presuming that the program crashed on the third death. As my Fortran skills are zilch, perhaps someone could check this out.

warrigal24 avatar Mar 18 '21 23:03 warrigal24

This just sounds like your "command window" automatically closes on process termination. You can check this by starting a new game and entering the command QUIT (or the command SAVE). Both of those also end the game and exit the process, and if your command window also "closes so quickly" in those situations, well, that's an issue with your command window.

Quuxplusone avatar Mar 18 '21 23:03 Quuxplusone

The workaround is to open a command window and run cquest from the command line. Try

  [Windows key]
  run
  cmd

and that should get you to a command prompt. cd to the directory containing the cquest executable and data files, and run it from there.

You should be able to end the game (save, quit, die) without the window closing,

apthorpe avatar Apr 14 '21 18:04 apthorpe