Game Development Community

TGEA 1.8.1 - Console log errors and how to get rid of them!

by Scottie Sirius · in Technical Issues · 03/20/2009 (8:31 am) · 7 replies

I'm seeing all kinds of errors in the console as I start up a dedicated server and am wonderiing how to get rid of them...mostly because I just don't like seeing them there and I think it will help me understand the server directory structure more thoroughly. If you have a minute and know how to fix it I would appreciate it if you'd post!

This is a Win2003 server machine with no sound card and a very limited video card...

Is there any reason it needs to check in with the Master server? If not, how do I shut that off?

Here's the log...

//-------------------------- 3/20/2009 -- 09:21:45 -----
Processor Init:
Intel Pentium 4, ~3.00 Ghz
(timed at roughly 3.00 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]


#1
03/20/2009 (1:08 pm)
Quote:- No card profile profile/GFXNullDeviceRenderer.cs exists

Around that line might be causing your woes, in my opinion. What kind of graphics card do you have? You're showing DX 9.0c, so you have that installed. Perhaps get the latest driver, or make sure the DX version you're using isn't one with known problems with TGEA.

It's also possible that a file or two is missing from your directory structure that take care of those graphics card profiles. Did you make any changes lately?
#2
03/20/2009 (1:28 pm)
It's a server machine with a built in graphics card running the dedicated server so there's really no need for a graphics card of any quality I wouldn't think. I'd just like to disable that part to get rid of the messages...they don't seem to be affecting anything as far as I know.

Is there any reason it needs to check in with the Master server? If not, how do I shut that off?
#3
03/20/2009 (1:53 pm)
I don't quite understand what happened, but I think that this (the project, not the log file) has been modified.

Quote:common/gameScripts/common.cs (62): Unable to find object: 'Canvas' attempting to call function 'setCursor'

That happens, and then the console gets spammed with errors. It looks like that's where you might want to start looking.

The Master Server is being pinged because Master Servers list the game servers for the players, who then join them from the game lobbies. It's a hold-over from the FPS days, but useful for online games in general.
#4
03/20/2009 (2:23 pm)
hmmm, there is no mouse connected to that machine either, you think that might be it?
#5
03/20/2009 (3:01 pm)
Quote:Unable to find object: 'Canvas'

That is the problem you need to solve: 1) Why is Canvas not there? And 2) since it's a dedicated server- should it be creating it? And 3) If not, then why is it doing that?

Since you haven't answered what kinds of modifications were done, and it's pretty clear something was, because I'm not seeing a bunch of standard .cs files being called in that log that are called when my dedicated server comes up, that's about as far as I can go in helping you out.

For more information to help you out: If you do a search, you should be able to find a chart of the startup sequence, which might shed some light for you. I remember seeing one a while back, but I forget where. Hope that helps.
#6
03/20/2009 (3:53 pm)
Oh, missed that part I guess...no, this is straight out of the box stronghold.exe no changes. I just installed the DX SDK and Torque on that machine and ran stronghold.exe as a dedicated server...kinda weird.
#7
03/31/2009 (2:38 pm)
Hi,

I receive similiar messages from my version of Stronghold running as a dedicated server. I do not get the unable to find Canvas error and its associated errors when I run it on an XP machine instead of a Windows 2003 server.