Problem with prefs.cs
by game4Rest · in Torque Game Engine · 09/08/2006 (12:54 am) · 1 replies
Greetings!
Currently, I'm working with Master Server. And for a test, I changed the line $Pref::Server::Name in "~/server/defaults.cs" to my game name like below.
But when I exit the game and open up the prefs.cs in the same directory, the value is not changed.
It has just old value. I think this is giving me a problem in finding my game through master server query.
AFAIK, prefs.cs has to be changed with new one when we exit the game. To get the result, I deleted the prefs.cs before starting my game with no luck. I also edited prefs.cs directly, but no desirable result.
So, would someone give me any advice to solve my problem?
Thanks in advance.
Hongjin
Currently, I'm working with Master Server. And for a test, I changed the line $Pref::Server::Name in "~/server/defaults.cs" to my game name like below.
$Pref::Server::Name ="Troop";
But when I exit the game and open up the prefs.cs in the same directory, the value is not changed.
It has just old value. I think this is giving me a problem in finding my game through master server query.
AFAIK, prefs.cs has to be changed with new one when we exit the game. To get the result, I deleted the prefs.cs before starting my game with no luck. I also edited prefs.cs directly, but no desirable result.
So, would someone give me any advice to solve my problem?
Thanks in advance.
Hongjin
About the author
Torque Owner game4Rest
colyd studio
is to execute the deletePrefs.bat, which deletes all the prefs.cs file.
Hope this help someone.
Hongjin