Game Development Community

Virgin Dedicated Server Crashes

by Kyle Cook · in Torque Game Engine · 04/14/2006 (7:39 am) · 8 replies

I don't know what the problem is, but I can't run a dedicated server from a virgin build of 1.4. Here is my code.

dedicated.bat
torqueDemo.exe -dedicated -mission starter.fps/data/missions/Stronghold.mis

here is my console log. Trimmed a little so it fits.
*** LOADING MISSION: starter.fps/data/missions/Stronghold.mis
*** Stage 1 load
*** Stage 2 load
Executing starter.fps/data/missions/Stronghold.mis.
[b]onNeedRelight: Unknown command.  //This happens about 40 times[/b]
*** Mission loaded

--------- Initializing: Torque Creator ---------
Compiling creator/editor/editor.cs...
Loading compiled script creator/editor/editor.cs.
Compiling creator/editor/particleEditor.cs...
Loading compiled script creator/editor/particleEditor.cs.
Compiling creator/scripts/scriptDoc.cs...
Loading compiled script creator/scripts/scriptDoc.cs.
Compiling creator/ui/creatorProfiles.cs...
Loading compiled script creator/ui/creatorProfiles.cs.
Compiling creator/ui/InspectDlg.gui...
Loading compiled script creator/ui/InspectDlg.gui.
Compiling creator/ui/GuiEditorGui.gui...

And after that it just closes down on its own, no error or anything. Just vanishes. I tried running it on a different computer and that yielded the same results. Once again this is an out of the box compile with no modifications excent to main.cs where I directed the game to load starter.fps instead of the tutorial base.

#1
04/14/2006 (8:32 am)
Yet another bug in 1.4, the quick (hack) way to fix it is...

main.cs
$modcount = 1;
$userMods = $defaultGame;

This will get the dedicated server working but it disables the editors.
#2
04/14/2006 (12:44 pm)
Quote:This will get the dedicated server working but it disables the editors

...which should always be the case, by definition (which is the bug in the first place--the dedicated build is still trying to load the editors).

Torque editors are not networked, and by definition a dedicated server is designed to have the server standalone, and clients always not co-located.
#3
04/14/2006 (8:42 pm)
Stephen, it disables the editors permanently, even for a single player game. That's why it's a hack fix, as you said the editor should be enabled for normal game play and disabled for dedicated server. Much like it was in 1.3.
#4
04/15/2006 (11:52 am)
It's a script file man...your entire build has to be different (compiled as dedicated once you start making substantial changes to your code) for a dedicated server, including script files...so why is this an issue?

Seriously...when 1.4 was released, they forgot to put in an "If isDedicatedServer(), don't run editors" line into the startup script...and you gave the fix (although you didn't check for if it was dedicated or not), but it's a 3 liner...
#5
04/16/2006 (5:23 am)
It's not a big problem at all Stephen, it's just that all the little 1%'ers add up and apart from being frustrating are time consuming. Add all the things "they forgot" or broke in 1.4 and it's not a 3 liner, and it's not just script. Gui, projectile, explosion, winWindow, precipitation, weather, networking, audio, particle, font source code has been damaged in some way in 1.4. They're just the ones that came immediately to mind, the list goes on.

I consider the $100+ I gave to this company an investment. I'd like to see my money (and everyone elses) put to better use regarding maintenance and improvement of your products. I am not suggesting that this isn't currently happening, it's just not happening well enough. It would be nice to have some finished products, the early adopter term makes me cringe now.

From the surface it would appear GG tries to tackle too many tasks at once. This might be considered a superficial point of view, but what else are we (customers) supposed to think. Shader engine has been dragging along for 2 years, constructor develpoment didn't do much better, audio layer is desperately in need of an overhaul yet Marble Blast seems to have rolled onto Xbox live with remarkable speed & efficiency. Naturally you're entitled to make a living, and of course I'm happy for your success, but you have also choosen to provide a service to the indie game scene and I feel you (GG) need to lift your game.

You can choose to take offence or hold me in contempt for my comments, but seriously that's not what I want. I'd just like a copy of Torque that works relatively pain free. I'm sure you do too and I definately know the general Torque community does. It's a pity most are too scared to voice their true opinions, I fear you (GG) may never get the message.

Don't be too disheartened by my comments, as a whole most of the work GG does is fabulous / incredible. However, don't for a second think that means you don't have areas that need improvement. Just once I'd like to see constructive criticism taken onboard by GG, rather than having it taken personally.
#6
04/16/2006 (5:51 am)
Quote:
$100+ I gave to this company an investment

Do people really feel that way? That they didn't spend the 100 bucks to get what TGE currently has, but they spent it for what TGE might be one day? I could see that idea if you were paying a monthly maintenance fee, but a one time fee of 100 bucks in my mind hardly seems to warrant expected future enhancements to anything you buy. I would go even so far as to take TSE with that level which I know has been a sore point for others. If it doesn't currently meet your needs don't get it. Wait until it does. It doesn't currently meet my need so I am working with something else. If you can't wait then expect to make the enhancements yourself. In my mind there is a reason why companies doesn't give a time line for feature enhancements. They don't know which means to me "if it gets done" I have been around long enough to know that the best plans of mice and Software Creation often go astray.

Edit - minor update.
#7
04/16/2006 (6:05 am)
Quote:
Do people really feel that way? That they didn't spend the 100 bucks to get what TGE currently has, but they spent it for what TGE might be one day?

You're straying from the point I'm trying to make. I agree with you in the sense that it's unreasonable to expect too much for your $100, it even states in the eula that the engine is sold 'as is' and GG will not be responsible for maintaining or fixing the source code. However, GG choose to release 1.4, and they choose to rush it's release and they choose to include many annoying niggling bugs. This is what, in part, I was trying to get at.

Heck, if money is the problem I'd gladly pay an 'update fee' for a stable working copy of Torque. I don't think GG are low on funds, I don't think this is an unreasonable request, I don't think it unfair for me to want this. The point is, the way things are atm, I don't think GG are capable of doing this.
#8
04/16/2006 (6:10 am)
Tim,

Sorry you felt I was straying from the point. Just the investiment idea really through me for a loop.

Regards,

Dan