Flame me if you like
by Anthony Rosenbaum · in Torque Game Engine · 08/29/2001 (9:42 pm) · 7 replies
I cannot find what string I gotta change so that when I query my test game it won't say "v12 test server". . . like the others say "rjp's linux server(sp)" or "Slacker's waterworld" please help it is frusterating I've spend too much time on modling and none on coding I know but pleaze if some one could help I would be greatful
Thanks Anthony
Thanks Anthony
About the author
#2
// Host game type is the game type displayed in the master server
// This variable should uniquely identify your game and/or mod.
$Server::GameType = "v12 Experiment";
08/29/2001 (10:04 pm)
in server/scripts/game.cs the first line I think... // Host game type is the game type displayed in the master server
// This variable should uniquely identify your game and/or mod.
$Server::GameType = "v12 Experiment";
#3
08/30/2001 (12:00 pm)
well I tried all that and I don't think that it is that file. I noticed that the string that seems to define it is in example/server/serverPref.cs, if you change the string it will change back to "v12 test server" I deleted the file and it reappeared so I presume it is being created each time the game loads which makes me wonder if this string is actually part of the hard code and has to be changed I will try and find sed file but if any one could speed things up for me and tell me if I'm on the right path, or not please feel free thanks Anthony
#4
clientPrefs.cs "$Pref::Server::Name = "V12 Test Server";"
serverDefaults.cs "$Pref::Server::Name = "V12 Test Server";"
serverPrefs.cs "$Pref::Server::Info = "This is a V12 Test Server.";"
and
serverDefaults.cs.dso
I guess from the string that you are looking for that script is either clientPrefs or serverDefaults.
08/30/2001 (12:13 pm)
I did search of v12 directory (f3 key) for string and it reported 4 occurrences:clientPrefs.cs "$Pref::Server::Name = "V12 Test Server";"
serverDefaults.cs "$Pref::Server::Name = "V12 Test Server";"
serverPrefs.cs "$Pref::Server::Info = "This is a V12 Test Server.";"
and
serverDefaults.cs.dso
I guess from the string that you are looking for that script is either clientPrefs or serverDefaults.
#5
08/30/2001 (12:30 pm)
I think the serverPrefs and serverDefaults aren't being read in correctly. Changing the clientPrefs value should do the trick.
#6
08/30/2001 (2:15 pm)
yep the clienPref.cs in the base folder was it thanks!!!!Anthony
#7
08/30/2001 (2:35 pm)
Matthew is correct, there is a bug with the server/serverPrefs.cs file not being executed correctly. You need to make your changes to the base/scripts (client|server)Defeaults.cs files.
Torque Owner Josh Albrecht
Hint: Search for V12 or test or server, or all of them if it supports it.