View unanswered posts | View active topics It is currently Thu Mar 28, 2024 11:55 pm



Reply to topic  [ 7 posts ] 
 Extern is not running 
Author Message
Veteran Op

Joined: Thu Jun 09, 2011 9:40 pm
Posts: 23
Unread post Extern is not running
I have twgs setup as a service. But the extern does not run every night like it is setup to do. I have changed all the .exe files to Compatibility (Windows XP SP3) setting and run as admin to see if this helps.

I have also stopped and restarted the service.


Wed Jun 22, 2011 12:50 pm
Profile
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: Extern is not running
Thanks. I haven't specifically tested extern under a service for awhile, so let me look into that.

Are you running TWGS v2.03? I'm actually making some changes to service functionality for v2.04 that's coming soon, so that might have an impact.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Wed Jun 22, 2011 1:13 pm
Profile WWW
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: Extern is not running
Could you do me a favor and run a test for me? Could you connect to your game on the admin port, hit X to run Extern, then select one of the games and see if Extern runs properly? This will help me narrow down if it's a problem with Extern running at all, or how it's being run, or the scheduler.

Thanks!

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Wed Jun 22, 2011 1:39 pm
Profile WWW
Veteran Op

Joined: Thu Jun 09, 2011 9:40 pm
Posts: 23
Unread post Re: Extern is not running
Extern will run using the "x" command in remote admin. I am using v2.03.


Wed Jun 22, 2011 2:15 pm
Profile
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: Extern is not running
Ok, I've verified that this is a general issue, not just with extern but with any time-scheduled events while running as a service. Now I need to figure out why. I'll let you know when I know more.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Wed Jun 22, 2011 3:18 pm
Profile WWW
Immortal Op

Joined: Thu May 29, 2008 9:04 am
Posts: 143
Location: Kitchener, Ontario, Canada
Unread post Re: Extern is not running
John Pritchett wrote:
Ok, I've verified that this is a general issue, not just with extern but with any time-scheduled events while running as a service. Now I need to figure out why. I'll let you know when I know more.


You may want to try setting it to shut down the twgs server before running maintenance.

_________________
Stoneslinger
http://theswampbbs.net
telnet://theswampbbs.net


Wed Jun 22, 2011 3:49 pm
Profile WWW
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: Extern is not running
Ok, I figured out what was wrong and fixed it. Standard Delphi thread class doesn't work right with services. I replaced it with my own thread class and it's working fine now.

I've considered providing an option to shut down games before running extern, but have not done that yet. Extern is designed to run while players are online and it has done so for over 10 years. But I'm sure there are some who would like to boot players off, run extern, then let players back on.

Personally, I'd rather just get rid of extern entirely and handle all of the extern processing throughout the day in realtime.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Wed Jun 22, 2011 11:17 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 10 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 STSoftware.