View unanswered posts | View active topics It is currently Thu May 07, 2026 7:54 pm



Reply to topic  [ 7 posts ] 
 Running as a service on XP Pro SP2 
Author Message
Gameop

Joined: Wed Jun 07, 2006 2:00 am
Posts: 241
Location: Daytona Beach, Florida
Unread post 
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?

_________________
-=Darkstarbase TWGS=-
http://www.darkstarbase.com
telnet://darkstarbase.no-ip.org:23
Like us on Facebook http://facebook.com/darkstarbase


Thu Jun 29, 2006 7:28 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post 
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.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Thu Jun 29, 2006 8:11 pm
Profile
Captain
User avatar

Joined: Sat Jun 18, 2005 2:00 am
Posts: 2214
Location: USA
Unread post 
If this helps is from JP's recent call for bugs thread:

quote:Originally posted by Vulcan

Also there is an issue of the twgs setting as a service on windows server 2003, it will set as a service, but will not let you access the GUI, this is from a sysops standpoint, cause if we can't set it as a service on an online server we have to keep the connection live, so that the twgs will not shut down from a logoff, and can't log off the server, only way we can disconnect and keep the game running is to click the close window to just disconnect, and if a server has more than one admin on it, the server keeps the connection used, and if there are say 3 admins on the server and one connection is live from one admin disconnecting and the other two need to get on to work on things, one can't cause of the active connection of the admin that disconnected.

I have talked to a couple of sysops that have online servers and have twgs on them, and we all have this problem, but on a side note, the twgs works as a service on XP home, and pro with no problems, and on older versions of windows. It just gives problems on windows server 2003 as a service. Thanks JP for letting us get out some of the bug reports so as to improve things, but if the service issue can't be fixed too easily then no problem on the issue, I have been doing the disconnect work around on it for a couple of years now, and have shown the others with this issue on how to do the same.

Also for any other sysops that has the service issue on the twgs with server 2003 get with me and I will show you this work around too.


I also recall something about a problem regarding being logged in on the admin account (or not being logged in on the admin account) that caused or solved some type of issue(s), not sure exactly what it had to do with though? Other then pertaining to TWGS running as a service.

WABBIT give some outstanding advice in this thread as well:
http://www.tw-attac.com/TWForum/topic.a ... C_ID=3046&

_________________
Your reliance upon subjective IRM's, subjugates you through utter omission, obfuscation, and distortion of fact!
Don't mess with me, I will 26 U.S.C. § 7212(a) your IRS!


Thu Jun 29, 2006 8:40 pm
Profile ICQ WWW
Gameop

Joined: Wed Jun 07, 2006 2:00 am
Posts: 241
Location: Daytona Beach, Florida
Unread post 
Yes Rexx I did a search and read before I posted the above. It doesnt address the problem I am having.

_________________
-=Darkstarbase TWGS=-
http://www.darkstarbase.com
telnet://darkstarbase.no-ip.org:23
Like us on Facebook http://facebook.com/darkstarbase


Thu Jun 29, 2006 9:39 pm
Profile ICQ WWW
Captain
User avatar

Joined: Sat Jun 18, 2005 2:00 am
Posts: 2214
Location: USA
Unread post 
Yea, from what I read on this it is pretty buggy, only work around it seems is to just it run at start or go along with EP's suggestion, from what I found in my reading.

quote:Originally posted by ElderProphet

The task scheduler doesn't rely on logons. So instead of dropping the shortcut in the Startup folder, create a scheduled task to launch the shortcut when the computer starts. Not sure about other OSes, but WinXP has that option.

+EP+

_________________
Your reliance upon subjective IRM's, subjugates you through utter omission, obfuscation, and distortion of fact!
Don't mess with me, I will 26 U.S.C. § 7212(a) your IRS!


Thu Jun 29, 2006 11:29 pm
Profile ICQ WWW
Gameop
User avatar

Joined: Fri Sep 03, 2004 2:00 am
Posts: 2041
Location: Acworth, Georgis USA
Unread post 
also check to see if the telnet server is on on your puters, if it is shut it off. sometimes this interferes with the twgs as a service, cause they both use telnet. I had the same problem on my Xp puters too, and this fixed my problems, but it will not setup as a service properly on windows server 2003 tho. So have to leave my account running on the online server and just disconnect. without logging off, this works for me on that one, but try what I suggest on the xp machines and see if it helps.

_________________
Vulcan's Forge
v1 TWGS telnet://vulcansforge.homeip.net:2002
v2 TWGS telnet://vulcansforge.homeip.net:23
Forum and site down for now.
my Email is vulcan219@comcast.net now


Fri Jun 30, 2006 5:59 am
Profile ICQ YIM
Gameop
User avatar

Joined: Mon Aug 25, 2003 2:00 am
Posts: 233
Location: USA
Unread post 
I use FireDaemon to keep my TWGS server always up. It works flawlessly even after power failures, etc. I also use it to kick off serveral java processes I wrote to query the TWGS server, etc. It is a great program. I started using it when it was still free in Beta, and liked it so much I ended up buying it. There is a 30-day trial version available here (sorry no more beta versions i guess):
http://www.firedaemon.com/downloads-firedaemon-pro.php

_________________
twgs: telnet: reviving this in Sep 2019
web: http://www.roguegalaxy.com


Wed Aug 02, 2006 7:49 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.