Game Development Community

TGEA 1.8.1 Dedicated server quits accepting connections

by Scottie Sirius · in Technical Issues · 03/25/2009 (1:15 pm) · 6 replies

When I first initialize the stronghold example as a dedicated server (out of the box with the known bug files fixed) I can log in and play and so can people from anywhere in the world...as far as I know. I'm in Minnesota and we've tested it from Germany, New Hampshire and downstairs...that's most of the world right? Anyway...after about a half hour to an hour with no activity, when you try to connect, the client gets to Loading Mission and just sits there...The server shows that it got a connection request from a given IP and yawns and goes back to sending heartbeats and receiving info requests from the GG Master server...(How do I end that btw?) Any and all help is appreciated!

Here's a chunk of the log... I see 3 odd things...

1. scriptsAndAssets/server/scripts/player.cs (750): Unable to find object: '' attempting to call function 'onDeath'

2. At one spot it says it can't find defaults.cs...there IS no defaults.cs in the common directory...should there be? There isn't out of the box.

Got Connect challenge Request from IP:209.180.62.69:57519
Got Connect Request
Connect request from: IP:209.180.62.69:57519
CADD: 1679 IP:209.180.62.69:57519
*** Sending mission load to client: scriptsandassets/data/missions/stronghold.mis
Mapping string: MissionStartPhase1Ack to index: 0
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissionStartPhase3Ack to index: 2
Client 1679 disconnected.
Issuing Disconnect packet.
CDROP: 1679 IP:209.180.62.69:57519
Resetting server defaults...
Missing file: D:/MyGame/game/common/defaults.cs!
*** ENDING MISSION


3. Then this odditiy...it says it can't find the mission file? It found it before!
Received info request from a master server [IP:74.63.12.22:28002].
*** MISSION RESET
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
*** ENDING MISSION
CREATING TERRAIN 0x3d60020 (scriptsandassets/data/missions/stronghold.ter)
*** LOADING MISSION:
*** Stage 1 load
Mission file not found.
*** Stage 2 load
Could not find mission



Here's the whole log...still lots of errors about my sound card which doesn't exist and video card which shouldn't need to be special, its a Win 2003 server...

//-------------------------- 3/25/2009 -- 12:27:53 -----
Processor Init:
Intel Pentium 4, ~3.00 Ghz
(timed at roughly 2.99 Ghz)
FPU detected
MMX detected
SSE detected

Math Init:
Installing Standard C extensions
Installing Assembly extensions
Installing FPU extensions
Installing MMX extensions
Installing SSE extensions

Initializing platform...
Input Init:
keyboard0 input device created.
mouse0 input device created.
DirectInput enabled.

Done
--------- Loading DIRS ---------

--------- Parsing Arguments ---------
Reading Display Device information...
Primary Display Device Found:
Vendor Id: VEN_0000
Device Id: DEV_0000
Binding server port to default IP
UDP initialized on port 0
DirectX 8 version - 9.0c
DirectX 9 version - 9.0c
GLExtensions: Extension bind failed for wglGetExtensionsStringARB
GLExtensions: Extension bind failed for wglGetExtensionsStringEXT
Attempting to create GFX device: GFX Null Device
Initializing GFXCardProfiler (GFX Null Device Renderer)
o Chipset : 'NULL Device'
o Card : 'GFX Null Device Card'
o Version : '0'
- Scanning card capabilities...
- Loading card profiles...
- No card profile profile/GFXNullDeviceRenderer.cs exists
- No card profile profile/GFXNullDeviceRenderer.NULLDevice.cs exists
- No card profile profile/GFXNullDeviceRenderer.NULLDevice.GFXNullDeviceCard.cs exists
- No card profile profile/GFXNullDeviceRenderer.NULLDevice.GFXNullDeviceCard.0.cs exists
Device created, setting adapter and enumerating modes
common/gameScripts/common.cs (62): Unable to find object: 'Canvas' attempting to call function 'setCursor'
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8A8 not supported with specified profile.
Format GFXFormatR8G8B8A8 not supported with specified profile.
Format GFXFormatR8G8B8A8 not supported with specified profile.
Format GFXFormatR8G8B8A8 not supported with specified profile.
% - Initialized Common

--------- Initializing Directory: scriptsAndAssets ---------
sfxStartup...
Failed to initialize device!



--------- Initializing Stronghold: Server Scripts ---------

--------- Starting Dedicated Server ---------
Exporting server prefs...
Starting multiplayer mode
Binding server port to default IP
UDP initialized on port 28000
SFXProfile(Shore01Snd)::onAdd: The preload failed!
SFXProfile(TreeGrove01Snd)::onAdd: The preload failed!
SFXProfile(Tree01Snd)::onAdd: The preload failed!
SFXProfile(Fire01Snd)::onAdd: The preload failed!
SFXProfile(HealthUseSound)::onAdd: The preload failed!
SFXProfile(WeaponUseSound)::onAdd: The preload failed!
SFXProfile(WeaponPickupSound)::onAdd: The preload failed!
SFXProfile(AmmoPickupSound)::onAdd: The preload failed!
SFXProfile(CrossbowReloadSound)::onAdd: The preload failed!
SFXProfile(CrossbowFireSound)::onAdd: The preload failed!
SFXProfile(CrossbowFireEmptySound)::onAdd: The preload failed!
SFXProfile(CrossbowExplosionSound)::onAdd: The preload failed!

//-----------------------------------------------
Loading light datablocks from: common/lighting/lights/

//-----------------------------------------------
Loading light datablocks from: common/lighting/filters/
SFXProfile(DeathCrySound)::onAdd: The preload failed!
SFXProfile(PainCrySound)::onAdd: The preload failed!
SFXProfile(FootLightSoftSound)::onAdd: The preload failed!
SFXProfile(FootLightHardSound)::onAdd: The preload failed!
SFXProfile(FootLightMetalSound)::onAdd: The preload failed!
SFXProfile(FootLightSnowSound)::onAdd: The preload failed!
SFXProfile(FootLightShallowSplashSound)::onAdd: The preload failed!
SFXProfile(FootLightWadingSound)::onAdd: The preload failed!
SFXProfile(FootLightUnderwaterSound)::onAdd: The preload failed!
Validation required for shape: scriptsAndAssets/data/shapes/player/player.dts
Validation required for shape: scriptsAndAssets/data/shapes/player/player.dts

//-----------------------------------------------
Loading light datablocks from: scriptsAndAssets/server/scripts/sgCustomLights/
*** LOADING MISSION: scriptsandassets/data/missions/stronghold.mis
*** Stage 1 load
*** Stage 2 load
CREATING TERRAIN 0x4340020
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
*** Mission loaded
Engine initialized...
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Got Connect challenge Request from IP:209.180.62.69:52734
Got Connect Request
Connect request from: IP:209.180.62.69:52734
CADD: 1375 IP:209.180.62.69:52734
*** Sending mission load to client: scriptsandassets/data/missions/stronghold.mis
Mapping string: MissionStartPhase1Ack to index: 0
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissionStartPhase3Ack to index: 2
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
scriptsAndAssets/server/scripts/player.cs (750): Unable to find object: '' attempting to call function 'onDeath'
Client 1375 disconnected.
Issuing Disconnect packet.
CDROP: 1375 IP:209.180.62.69:52734
Resetting server defaults...
Missing file: D:/MyGame/game/common/defaults.cs!
*** ENDING MISSION
CREATING TERRAIN 0x4340020 (scriptsandassets/data/missions/stronghold.ter)
*** LOADING MISSION: scriptsandassets/data/missions/stronghold.mis
*** Stage 1 load
*** Stage 2 load
CREATING TERRAIN 0x3d60020
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
*** Mission loaded
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Got Connect challenge Request from IP:209.180.62.69:50276
Got Connect Request
Connect request from: IP:209.180.62.69:50276
CADD: 1531 IP:209.180.62.69:50276
*** Sending mission load to client: scriptsandassets/data/missions/stronghold.mis
Mapping string: MissionStartPhase1Ack to index: 0
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissionStartPhase3Ack to index: 2
Received info request from a master server [IP:74.63.12.22:28002].
Client 1531 disconnected.
Issuing Disconnect packet.
CDROP: 1531 IP:209.180.62.69:50276
Resetting server defaults...
Missing file: D:/MyGame/game/common/defaults.cs!
*** ENDING MISSION
CREATING TERRAIN 0x3d60020 (scriptsandassets/data/missions/stronghold.ter)
*** LOADING MISSION: scriptsandassets/data/missions/stronghold.mis
*** Stage 1 load
*** Stage 2 load
CREATING TERRAIN 0x3d60020
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
*** Mission loaded
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Got Connect challenge Request from IP:209.180.62.69:57519
Got Connect Request
Connect request from: IP:209.180.62.69:57519
CADD: 1679 IP:209.180.62.69:57519
*** Sending mission load to client: scriptsandassets/data/missions/stronghold.mis
Mapping string: MissionStartPhase1Ack to index: 0
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissionStartPhase3Ack to index: 2
Client 1679 disconnected.
Issuing Disconnect packet.
CDROP: 1679 IP:209.180.62.69:57519
Resetting server defaults...
Missing file: D:/MyGame/game/common/defaults.cs!
*** ENDING MISSION
CREATING TERRAIN 0x3d60020 (scriptsandassets/data/missions/stronghold.ter)
*** LOADING MISSION: scriptsandassets/data/missions/stronghold.mis
*** Stage 1 load
*** Stage 2 load
CREATING TERRAIN 0x3d60020
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
Format GFXFormatR8G8B8 not supported with specified profile.
*** Mission loaded
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
*** MISSION RESET
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
*** ENDING MISSION
CREATING TERRAIN 0x3d60020 (scriptsandassets/data/missions/stronghold.ter)
*** LOADING MISSION:
*** Stage 1 load
Mission file not found.
*** Stage 2 load
Could not find mission
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Got Connect challenge Request from IP:209.180.62.69:50738
Got Connect Request
Connect request from: IP:209.180.62.69:50738
CADD: 1831 IP:209.180.62.69:50738
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]

#1
03/31/2009 (2:25 pm)
Hi,
I also have a similiar problem. I use the perl master server from the resource and this works great. When I use my build from TGE on my server everything works and I can connect from inside and outside my network. I had thought when I switched to TGEa and used Stronghold as an example it would also work fine, but it did not. My version of Stonghold sends one hearbeat and hangs. Sometimes if I am quick my client on another machine can connect. If I move the Stronghold build to another PC and set it up as a dedicated server everything works great. The PC with the problem is a Windows 2003 server. The PC that works is Vista 32 and XP sp3. I also notice when running the game on the Windows 2003 PC that the video is not working correctly and the player can run really quick and the animations are not working. I did upgrade the directx and the video drivers (Nvidia 8600 GT). The ports that are open are 28000-28011 TCP and the same for UDP with the addition of those two other ports. I also have all those errors in the log, but I assume since no game is displayed when it is run as dedicated that the video and sound and such are going to a null device and probably this is normal. So if anyone can help me figure out why the hearbeats from the dedicated server stop that would be appreciated. Also Scot, please try your dedicated server on a non Windows 2003 PC.

Thanks.
#2
04/01/2009 (3:08 am)
I just did a little bit of work on my 2003 server. I uninstalled directx from august and installed the latest march 2009 directx and the latest nvidia drivers and rebooting a couple of times. The video is now working correctly for playing stronghold and the heartbeat is happening. I am getting the mission file not found error just like you so it is not that it is not accepting connections, it is not being able to run the mission file after the first client disconnects. That is the big issue.
#3
04/01/2009 (1:31 pm)
The problem is a path problem, server.cs sets $Server::MissionFile when the server is created to a relative path for the current mission.

When the server cycles games, the current onCyclePauseEnd() in game.cs
checks an absolute path against the relative one stored in $Server::MissionFile.

The function tries to cycle to the next mission by finding the current mission, which is never found.

a quick hack to fix this is to check the relative path, then load the relative path.

This should work.
function onCyclePauseEnd()
{
   $Game::Cycling = false;

   // Just cycle through the missions for now.
   %search = $Server::MissionFileSpec;
   for (%file = findFirstFile(%search); %file !$= ""; %file = findNextFile(%search)) {
      // Check relative path against global for current mission wich is a relative path (Check server.cs createServer() )
      %mission = makeRelativePath(%file, getWorkingDirectory());
      if (%mission $= $Server::MissionFile) {
         // Get the next one, back to the first if there
         // is no next.
         %file = findNextFile(%search);
         if (%file $= "")
           %file = findFirstFile(%search);
         break;
      }
   }
   // Make sure our mission name is relative so that it can send
   // across the network correctly---(comment from server.cs createServer())
   %mission = makeRelativePath(%file, getWorkingDirectory());
   loadMission(%mission);
}
#4
04/01/2009 (5:59 pm)
Thank you so much. I will give this a try and report back. But this is very strange as this happens in the shipped Stronghold and does not happen in starter.fps in TGE 1.52 or the arcaneFX 1.81 beta that I can see. This piece of code is the same for all of them, so there must be something subtle going on that is changing how this works.
#5
04/01/2009 (7:54 pm)
// Make sure our mission name is relative so that it can send
   // across the network correctly
   %mission = makeRelativePath(%mission, getWorkingDirectory());

in common/serverScripts/server.cs is what seems to have been added.
This change makes the cycle mission fail because there is never a match for the $Server::MissionFile.

I'm not sure exactly why it was changed, and how the old way was "incorrect" without digging around more and testing.

I'm guessing it has something to do with different install paths or something.

This is probably something that could use posting in 1.8.1 bugs.
#6
04/02/2009 (3:34 am)
I entered it as a bug. Thanks again.