quote:
Originally posted by Darkstarbase
Has anyone seen this problem? TWGS crashing when you exit the game manually or when stopping the service as in a batchfile using the twgsserv.exe stop? It seems to crash everytime. It only crashes when running as a service.
The machine is stripped down with nothing else running at the same time.. no AV, nothing else runs on the machine. I have also stopped all services not directly needed to run.
I have installed TWGS on 2 machines one XP Home and 1 XP Pro and they both crash on exit while running as a service.
anyone?
When I first ran the TWGS, it was on 2000. It would load as a service, but I experienced a similar problem. Then it would not load properly at all, and my event viewer showed it had problems running as a service.
When switching to XP Pro, I again noticed my TWGS crashing as a service. So now I run mine via a shortcut in the Start Menu> Programs> Start Up.
The only advantage when running as a service is if the machine reboots, then the program will load and your players can connect, even if you are not logged in as a user on that machine. I had tracked that while the TWGS service tried to load, it was interfering with other services I was running. I too had scaled down to nothing running on it, but to no avail was I able to solve the issue. Hence I now use a shortcut.
I found that running as a shortcut gave me a better advantage as a SysOp. If you've ever visited
http://www.outpost-4.com, you will notice I have a status indicator I display with the servers status. I launch my TWGS via a batch file. When it starts, it updates the indicator. When I exit, it changes the indicator to offline and then terminates the batch. So as a shortcut, it clearly gives the advantage for control, and any type of automation or special features you may want for your site.
The disadvantage to the shortcut is if the machine reboots, then you are at the login prompt (unless you have it going to Windows after booting). There are some utils that will auto-login on some systems. Until you login, your TWGS is not running and inactive. On my particular server, I have multiple profiles, but it does log in the profile automatically (Tweak UI has the Network tab to login) for me.
I hope this will give you an idea of different solutions. I'm still trying to track specifically where the error comes in, or when. And with so many services (ex: TWGS, web servers, mail servers, etc), there is so much that can cause a hiccup at start.