Game Development Community

Dedicated Server Error

by Wayne Eversole · in · 10/13/2004 (9:05 am) · 7 replies

Im not sure if this pack is giveing me the trouble but when i try to host a dedicated server the dos box just keeps loading and after the lighting it reloads like a loop error.
anyone have any ideas?

#1
10/14/2004 (10:05 am)
I found the problem , if i comment out exec.sglights.cs from game.cs the dedicated server loads fine.
any idea how this file would inpact a dedicated server?
or how i could fix it?
Thanks
#2
10/14/2004 (10:22 am)
Never mind, found the problem
Thanks Raverix
#3
10/14/2004 (10:51 am)
Would you mind to share your solution with the others instead of just disappearing with the answer?
#4
10/14/2004 (11:58 am)
I ran into something like this a while back
below is John's response

Quote:
The global '$sgLightEditor::lightDBPath' defines where the Lighting
Pack
looks for the light datablocks, however it's defined in
'/client/ui/sgLightEditor.gui', which is not called in a dedicated
server. You can add a second instance of this global in
'/server/scripts/sgLights.cs', but you'll need to remember that it's
defined twice if you change it later.

-John

#5
10/14/2004 (4:40 pm)
Hi guys,

Just wanted to let you know I'm working on this and it should make it into the 1.2 release.

-John
#6
10/15/2004 (2:41 am)
Sure, just open server/scripts/sglights.cs and change the top path from *.cs to %path = $sgLightEditor::lightDBPath @ "./starter.fps/server/scripts/sglights/"; or what ever path you have the sglight folder in.
#7
10/15/2004 (2:43 am)
Oops
this
%path = $sgLightEditor::lightDBPath @ "*.cs";
to
this
%path = $sgLightEditor::lightDBPath @ "./starter.fps/server/scripts/sglights/";