matoom / frostbite

MUD client for dragonrealms.
29 stars 17 forks source link

Lich error code 0 #42

Open halprind opened 6 years ago

halprind commented 6 years ago

--- Open "ruby /Users/***/Dropbox/lich/lich.rbw --dragonrealms --frostbite -g dr.simutronics.net:11024"

--- Lich process exited with code 0

Connecting ...

*

Thoughts on what this could mean?

matoom commented 6 years ago

In the context of this message code 0 means that the program (lich) exited without any errors. That means it did not explicitly crash but doesn't mean there were no errors in the program that caused it to exit prematurely. In short the exit code here doesn't help much.

ruby /Users/*******/Dropbox/lich/lich.rbw --dragonrealms --frostbite -g dr.simutronics.net:11024

This was the exact command that was executed in your terminal to run Lich. In my experience Lich doesn't seem to flush the pipes before it gets stuck in the connect loop. There could have been errors printed in the console but not displayed in Frostbite.

One thing you could do is to run the same exact command in your terminal and see what happens.

Another thing to note is that the "--frostbite" argument is only present in the rcuhljr fork of Lich, other versions probably won't run.

https://github.com/rcuhljr/dr-lich

Dartellum commented 5 years ago

This condition also occurs when trying to connect to the game after it crashes. The way I have found to resolve it is to close Frostbite completely, make sure it is not hung as a process, and launch again. This usually resolves it.

matoom commented 5 years ago

Yep, it's likely the background process that runs lich will still be open after a client crash.