| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Extern is not running https://mail.black-squirrel.com/viewtopic.php?f=45&t=31741 |
Page 1 of 1 |
| Author: | mtdew [ Wed Jun 22, 2011 12:50 pm ] |
| Post subject: | 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. |
|
| Author: | John Pritchett [ Wed Jun 22, 2011 1:13 pm ] |
| Post subject: | 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. |
|
| Author: | John Pritchett [ Wed Jun 22, 2011 1:39 pm ] |
| Post subject: | 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! |
|
| Author: | mtdew [ Wed Jun 22, 2011 2:15 pm ] |
| Post subject: | Re: Extern is not running |
Extern will run using the "x" command in remote admin. I am using v2.03. |
|
| Author: | John Pritchett [ Wed Jun 22, 2011 3:18 pm ] |
| Post subject: | 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. |
|
| Author: | Stoneslinger [ Wed Jun 22, 2011 3:49 pm ] |
| Post subject: | 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. |
|
| Author: | John Pritchett [ Wed Jun 22, 2011 11:17 pm ] |
| Post subject: | 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. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|