jdolan / quetoo

Quetoo ("Q2") is a free first person shooter based on id Tech2. GPL v2 license.
http://quetoo.org
204 stars 28 forks source link

Dedicated runs by default in the background #663

Closed Paril closed 2 years ago

Paril commented 2 years ago

This might only need to be a Windows-only change, but, the default behavior for queded is to have zero user feedback and spin away eating CPU in the background. It's already bit me a few times during testing where I have to end the process, and I have no doubt we're going to have users opening it once or multiple times trying to figure out how to get a console open like the original Quake dedicated executables did.

jdolan commented 2 years ago

Is this related to #636 maybe? Perhaps I'm never seeing the ncurses console because the server is spin-locking?

Paril commented 2 years ago

Oh, maybe, actually..

jdolan commented 2 years ago

If you comment out the call to Sv_InitConsole do you at least get a working, non-CPU destroying server? That's what I get on macOS. It's something curses-specific, I think. But it's difficult to debug curses, because it requires a proper terminal (can't run in Xcode).

jdolan commented 2 years ago

I think you should retest this with #636 now fixed.

Paril commented 2 years ago

Still an issue on Windows, will keep digging.

Paril commented 2 years ago

Sv_CheckForUpdates just gets stuck in a loop on Windows, with no UI visible