Game Development Community

Error when creating dedicated server

by Huan Li · in Torque Game Engine Advanced · 03/13/2009 (3:44 am) · 1 replies

I used to create dedicated server successfuly on My machine,but lately it can't. So I install TGEA 1.8.1 on both two same machines and same WindowXPs.
using the following .bat file:
stronghold.exe -mission scriptsAndAssets/data/missions/barebones.mis
The problem is one machine can create dedicated server but Another can't(Mine can't).

I debug the app on the my machine. The I found that, it crash at
function buildLoadInfo( %mission ) {
	clearLoadInfo();

	%infoObject = "";
	%file = new FileObject();

	if ( %file.openForRead( %mission ) ) { /*This is the crash line*/
I don't know whether it's a bug.
I really have no idea why?
Someone can explain and resolve this problem?

#1
04/24/2009 (10:34 pm)
solved!!My own fault!!
the path pattern i used is wrong.
In TGEA 1.8.1,it's a backdash '' error!
This is right:
scriptsAndAssets/data/missions/server_pref_test2.mis
This is wrong:
scriptsAndAssetsdatamissionsserver_pref_test2.mis
but it seems that both are right in TGEA 1.7.1