Add a built in master server
by Vis · 11/27/2005 (10:44 pm) · 44 comments
On a LAN the game clients find active servers via broadcast packets, however these broadcast packets cannot be used over the Internet so we arrange for the game servers to contact a master server, then when a game client wants a list of active servers it only needs to talk to the master server.
When a Torque game server is started it sends a heartbeat packet to the master server at Garage Games, the master server will send a GameMasterInfoRequest packet back and the game server then sends a GameMasterInfoResponse back, telling the master server all the details about itself (the master server will continue to request this infomation periodicly to keep its internal list upto date), a client can ask the master server to send a list of active game servers that meet certain requirements such as mission type or number of players, ect.
Seeing as the default game browser in the Torque client does not provide filtering, and to keep this example simple, we will create a master server that will return only a full list of all active game servers with no filtering.
(EDIT July 29 2011)
This resource was written for TGE 1.3
If using TGE 1.5.2 you will need to change line 6 in main.cs to read;
First we create a structure to hold the address and the time we last got a heartbeat from the server, place the following in enginegamenetserverQuery.h after the structure for MasterInfo (line 35):
add the following to enginegamenetserverQuery.cc (at line 102)
Now we create two packet handler functions, the first, handleGameHeartbeat(), is sent by game servers on a regular basis, the default is every 2 minutes, and the master server uses it to keep its list uptodate. The second function handleMasterServerListRequest() is sent by game clients, and is used to get a list of active game servers.
Find the last function definition at the bottom of the file, add the following code above that function (at aound line 2014):
We need to add case statments for our two new packet handlers to DemoNetInterface::handleInfoPacket() function, you will find it at the bottom of serverQuery.cc
Before the closing break on the switch statement, add the following:
compile the changes.
Now we are ready to test the changes, we can do this on a single workstation, using starter.fps.
We need to change the default master server that our build will use, open examplestarter.fpsserverdefaults.cs
Edit the master server address on line 9 from:
"2:master.garagegames.com:28002"; to "2:(your ip address here):28111"
example: "2:192.168.2.4:28111" (although your IP will likley be different!)
Note: do not use 127.0.0.1 because this address is filtered out by code in Net::process(), you must use your workstations IP
save the file.
To run multiple servers out of the same directory we need to create a different pref file for each server, make a copy of examplestarter.fpsserverdefaults.cs and name it master_prefs.cs
open it and make the following changes:
Change the server name from "FPS Starter Kit" to "Master Server" on line 12
Change the server port from 28000 to 28111 on line 28.
Now make 3 copies of master_prefs.cs and name them:
game_1_prefs.cs
game_2_prefs.cs
game_3_prefs.cs
open game_1_prefs.cs and change the server name (on line 12) to "Game Server 1" and the server port (on line 28) to 28101
open game_2_prefs.cs and change the server name (on line 12) to "Game Server 2" and the server port (on line 28) to 28102
open game_3_prefs.cs and change the server name (on line 12) to "Game Server 3" and the server port (on line 28) to 28103
now move up to the "example" directory and create a batch file named run_master.bat
open it and add this line:
NOTE: check your executable name it may have been created as torqueDemo_DEBUG.exe, change the above line to reflect your executable name.
make three copies of this file and name them:
run_game_1.bat
run_game_2.bat
run_game_3.bat
Edit each file and change master_prefs.cs to game_1_prefs.cs, game_2_prefs.cs and game_3_prefs.cs respectively.
Start the master server with run_master.bat, once its up and running start up the three game servers with the other batch files.
the master server will list the new game servers as they are started, along with itself.
There is a problem that relates to the pref.cs file created when the servers are stopped, the client will use this file with the servers settings, to avoid this we need to force the client to use the default.cs file, the easiest way to do this is to start the client from a batch file that deletes the offending pref.cs files before running TorqueDemo.exe
create examplerun_client.bat
open it and paste the following:
Now delete the files:
starter.fpsclientprefs.cs.dso
starter.fpsclientprefs.cs
These files hold the old settings for the master server and deleting them will force the adoption of the new master server location.
start the client using run_client.bat
hit Join Server and then Query Master, all of your servers should be listed.
job done.
Note: it would be prudent to run your PC on a static IP for testing/development, it can be a pain to track down the problem when your DHCP and PC conspire to trip you up with a covert IP change :)
When a Torque game server is started it sends a heartbeat packet to the master server at Garage Games, the master server will send a GameMasterInfoRequest packet back and the game server then sends a GameMasterInfoResponse back, telling the master server all the details about itself (the master server will continue to request this infomation periodicly to keep its internal list upto date), a client can ask the master server to send a list of active game servers that meet certain requirements such as mission type or number of players, ect.
Seeing as the default game browser in the Torque client does not provide filtering, and to keep this example simple, we will create a master server that will return only a full list of all active game servers with no filtering.
(EDIT July 29 2011)
This resource was written for TGE 1.3
If using TGE 1.5.2 you will need to change line 6 in main.cs to read;
$defaultGame = "starter.fps";
First we create a structure to hold the address and the time we last got a heartbeat from the server, place the following in enginegamenetserverQuery.h after the structure for MasterInfo (line 35):
struct ExampleServerData
{
NetAddress address;
U32 lastBeatTime;
ExampleServerData()
{
lastBeatTime = 0;
}
};add the following to enginegamenetserverQuery.cc (at line 102)
Vector<ExampleServerData> gExampleServerList(__FILE__, __LINE__); static const U32 gExampleHeartbeatTimeout = 120000;
Now we create two packet handler functions, the first, handleGameHeartbeat(), is sent by game servers on a regular basis, the default is every 2 minutes, and the master server uses it to keep its list uptodate. The second function handleMasterServerListRequest() is sent by game clients, and is used to get a list of active game servers.
Find the last function definition at the bottom of the file, add the following code above that function (at aound line 2014):
static void handleGameHeartbeat( const NetAddress* address, U32 key, U8 flags )
{
// post message to console
char netString[256];
Net::addressToString(address, netString);
Con::printf( "Received Heartbeat from [%s].", netString);
// scan through the list of servers and find the sending server
// then set its "last heartbeat value" to timenow
// if the server is not in the list add it.
U32 TimeNow = Sim::getCurrentTime();
bool found = false;
for ( U32 i = 0; i < gExampleServerList.size(); i++ )
{
// if this address is in the list update the time and flag it as found
if(Net::compareAddresses(&gExampleServerList[i].address, address))
{
gExampleServerList[i].lastBeatTime = TimeNow;
found = true;
break;
}
}
// if we did not find the address add it with the current time
if(!found)
{
Con::printf( "Adding [%s] to list", netString);
ExampleServerData update;
update.address = *address;
update.lastBeatTime = TimeNow;
gExampleServerList.push_back(update);
}
// dump the current list to console,
// this has only been included for development.
Con::printf( "----- Current List ------");
Con::printf( " Time now: %u",TimeNow);
for ( U32 i = 0; i < gExampleServerList.size(); i++ )
{
char tempString[256];
Net::addressToString(&gExampleServerList[i].address, tempString);
Con::printf( " %u. [%s] expires at %u ",
i,
tempString,
gExampleServerList[i].lastBeatTime+gExampleHeartbeatTimeout);
}
Con::printf( "-------------------------");
}
static void handleMasterServerListRequest(const NetAddress* address,U32 key,U8 flags)
{
// Rather than adding a house keeping function to find and remove inactive
// servers it has been simpler to do it here, to ensure only an upto date
// list is sent to the client.
// post message to console
char netString[256];
Net::addressToString(address, netString);
Con::printf( "Received MasterServerListRequest packet from [%s].", netString);
// remove any servers where:
// "time now" > "last heartbeat time" + "heart beat timeout"
U32 TimeNow = Sim::getCurrentTime();
U32 i = 0;
while(true)
{
// exit loop if we are out of range
if(i >= gExampleServerList.size() )
break;
if (TimeNow > (gExampleServerList[i].lastBeatTime + gExampleHeartbeatTimeout))
{
// for development we are posting our removal of this server to console
Net::addressToString(address, netString);
Con::printf( "[%s] has timed out, and has been removed from the list",
netString);
// this server has timed out so remove it from the list
gExampleServerList.erase(i);
continue;
}
++i;
}
// Send each server to the calling network address
// NOTE we *should* fill a packet with a list of servers but we
// are sending a packet for each server.
for(U32 i = 0; i < gExampleServerList.size() ; ++i)
{
BitStream *out = BitStream::getPacketStream();
out->write( U8( NetInterface::MasterServerListResponse ) );
out->write( U8(flags) );
out->write( U32(key) );
out->write( U8(i) ); // packet index
out->write( U8(gExampleServerList.size()) ); // total number of packets
out->write( U16(1) ); // servers in this packet
out->write( U8(gExampleServerList[i].address.netNum[0])); // server address
out->write( U8(gExampleServerList[i].address.netNum[1])); // server address
out->write( U8(gExampleServerList[i].address.netNum[2])); // server address
out->write( U8(gExampleServerList[i].address.netNum[3])); // server address
out->write( U16(gExampleServerList[i].address.port)); // server port
BitStream::sendPacketStream(address);
Net::addressToString(address, netString);
Con::printf( "Sending server list to [%s].", netString );
}
// 2011 update, added the following code so that if no servers are in the list the client still gets told!
if(gExampleServerList.size() == 0)
{
BitStream *out = BitStream::getPacketStream();
out->write( U8( NetInterface::MasterServerListResponse ) );
out->write( U8(flags) );
out->write( U32(key) );
out->write( U8(0) ); // packet index
out->write( U8(0) ); // total number of packets
out->write( U16(0) ); // servers in this packet
BitStream::sendPacketStream(address);
Net::addressToString(address, netString);
Con::printf( "Sending empty server list to [%s].", netString );
}
}We need to add case statments for our two new packet handlers to DemoNetInterface::handleInfoPacket() function, you will find it at the bottom of serverQuery.cc
Before the closing break on the switch statement, add the following:
case GameHeartbeat:
handleGameHeartbeat( address, key, flags );
break;
case MasterServerListRequest:
handleMasterServerListRequest( address, key, flags );
break;compile the changes.
Now we are ready to test the changes, we can do this on a single workstation, using starter.fps.
We need to change the default master server that our build will use, open examplestarter.fpsserverdefaults.cs
Edit the master server address on line 9 from:
"2:master.garagegames.com:28002"; to "2:(your ip address here):28111"
example: "2:192.168.2.4:28111" (although your IP will likley be different!)
Note: do not use 127.0.0.1 because this address is filtered out by code in Net::process(), you must use your workstations IP
save the file.
To run multiple servers out of the same directory we need to create a different pref file for each server, make a copy of examplestarter.fpsserverdefaults.cs and name it master_prefs.cs
open it and make the following changes:
Change the server name from "FPS Starter Kit" to "Master Server" on line 12
Change the server port from 28000 to 28111 on line 28.
Now make 3 copies of master_prefs.cs and name them:
game_1_prefs.cs
game_2_prefs.cs
game_3_prefs.cs
open game_1_prefs.cs and change the server name (on line 12) to "Game Server 1" and the server port (on line 28) to 28101
open game_2_prefs.cs and change the server name (on line 12) to "Game Server 2" and the server port (on line 28) to 28102
open game_3_prefs.cs and change the server name (on line 12) to "Game Server 3" and the server port (on line 28) to 28103
now move up to the "example" directory and create a batch file named run_master.bat
open it and add this line:
torquedemo.exe -dedicated -prefs starter.fps/server/master_prefs.cs -mission starter.fps/data/missions/stronghold.mis
NOTE: check your executable name it may have been created as torqueDemo_DEBUG.exe, change the above line to reflect your executable name.
make three copies of this file and name them:
run_game_1.bat
run_game_2.bat
run_game_3.bat
Edit each file and change master_prefs.cs to game_1_prefs.cs, game_2_prefs.cs and game_3_prefs.cs respectively.
Start the master server with run_master.bat, once its up and running start up the three game servers with the other batch files.
the master server will list the new game servers as they are started, along with itself.
There is a problem that relates to the pref.cs file created when the servers are stopped, the client will use this file with the servers settings, to avoid this we need to force the client to use the default.cs file, the easiest way to do this is to start the client from a batch file that deletes the offending pref.cs files before running TorqueDemo.exe
create examplerun_client.bat
open it and paste the following:
del starter.fpsserverprefs.cs.dso del starter.fpsserverprefs.cs torquedemo.exe
Now delete the files:
starter.fpsclientprefs.cs.dso
starter.fpsclientprefs.cs
These files hold the old settings for the master server and deleting them will force the adoption of the new master server location.
start the client using run_client.bat
hit Join Server and then Query Master, all of your servers should be listed.
job done.
Note: it would be prudent to run your PC on a static IP for testing/development, it can be a pain to track down the problem when your DHCP and PC conspire to trip you up with a covert IP change :)
About the author
#22
It might be a few milliseconds slower than GG's flat file system but it will work.
01/28/2007 (8:04 pm)
It should be quite straightforward to create a CGI application which queries and updates an online Mysql server to do all the above.It might be a few milliseconds slower than GG's flat file system but it will work.
#23
I have just updated this resource to work with version 1.5
I no longer have version 1.4 so the issues that existed there may still remain.
I would appreciate it if someone could verify that this resource as it stands now is adequate for 1.5 ?
03/11/2007 (5:32 pm)
I have left this far too long but have finally found some time to spend on this resource.....I have just updated this resource to work with version 1.5
I no longer have version 1.4 so the issues that existed there may still remain.
I would appreciate it if someone could verify that this resource as it stands now is adequate for 1.5 ?
#24
06/01/2007 (1:26 pm)
well i have been trying to get this to work for the past day..no luck.. im using version 1.5 just so you know...basicly whats happening is the client searches for the master server but does not find it, im new at all this so am having trouble working out what to do to correct the problem...help would be appreciated
#25
the problem was the ports on my server not being open
which i still have not figured out how to do :(
06/04/2007 (4:19 am)
I found out what my problem was...nothing to do with the code :)the problem was the ports on my server not being open
which i still have not figured out how to do :(
#26
06/04/2007 (7:26 am)
ok scrap that! Its just my inferior networking skills :P
#27
Secondly I have got my server up and running properly....
Just need to get the code right but am having problems with serverQuery.cc it wont compile I am getting the following errors:-
ompiler: Default compiler
Executing g++.exe...
g++.exe "C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc" -o "C:\Torque\Ruthless Earth\engine\game\net\serverQuery.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
C:\Torque\Ruthles
s Earth\engine\game\net\serverQuery.cc:79:34: game/net/serverQuery.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:81:31: platform/platform.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:82:28: platform/event.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:83:23: core/dnet.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:84:26: core/tVector.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:85:29: core/resManager.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:86:28: core/bitStream.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:87:29: console/console.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:88:29: console/simBase.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:89:26: game/banList.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:90:26: game/version.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:91:23: game/auth.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:92:33: game/gameConnection.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:97: error: expected constructor, destructor, or type conversion before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:97: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:98: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:98: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:99: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:99: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:100: error: `NetAddress' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:102: error: expected constructor, destructor, or type conversion before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:102: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:103: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:104: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:105: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:106: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:107: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:108: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:109: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:110: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:111: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:112: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:113: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:114: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:118: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:119: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:123: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:124: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:125: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:127: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:127: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:133: error: `NetAddress' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:134: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:135: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:136: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:137: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:142: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:142: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:143: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:143: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:149: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:150: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:151: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:152: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:154: error: expected `)' before "_index"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:163: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:163: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:164: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:185: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:185: error: enumerator value for `OfflineQuery' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:186: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:186: error: enumerator value for `NoStringCompress' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:191: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:191: error: enumerator value for `Dedicated' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:192: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:192: error: enumerator value for `NotPassworded' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:193: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:193: error: enumerator value for `Linux' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:194: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:194: error: enumerator value for `CurrentVersion' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:197: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:198: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:199: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:200: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:201: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:202: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:203: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:204: error: `U16' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:205: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:206: error: ISO C++ forbids declaration of `U32' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:206: error: expected `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In constructor `ServerFilter::ServerFilter()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:210: error: `queryFlags' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:210: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:211: error: `NULL' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:213: error: `minPlayers' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:214: error: `maxPlayers' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:215: error: `maxBots' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:216: error: `regionMask' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:217: error: `maxPing' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:218: error: `filterFlags' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:219: error: `minCPU' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:220: error: `buddyCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:221: error: `buddyList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In destructor `ServerFilter::~ServerFilter()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:227: error: `dFree' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:230: error: `buddyList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:242: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:242: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:243: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:243: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:246: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:247: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:247: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:248: error: expected init-declarator before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:248: error: expected `,' or `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:249: error: expected init-declarator before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:249: error: expected `,' or `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:250: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:250: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: variable or field `sendPacket' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: variable or field `writeCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: variable or field `readCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: expected primary-expression before "char"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: variable or field `writeLongCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: variable or field `readLongCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: expected primary-expression before "char"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:256: error: variable or field `processMasterServerQuery' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:256: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: variable or field `processPingsAndQueries' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: expected primary-expression before "bool"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:258: error: variable or field `processServerListPackets' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:258: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:259: error: variable or field `processHeartbeat' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:259: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:262: error: expected constructor, destructor, or type conversion before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:262: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:273: error: expected class-name before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:274: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:276: error: expected `)' before "_session"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:280: error: variable or field `process' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:280: error: expected `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:284: error: expected `;' before '}' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:288: error: expected class-name before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:289: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:291: error: expected `)' before "_session"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:295: error: variable or field `process' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:295: error: expected `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:299: error: expected `;' before '}' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:303: error: expected class-name before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:304: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:306: error: expected `)' before "_session"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:311: error: variable or field `process' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:311: error: expected `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:315: error: expected `;' before '}' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:319: error: expected class-name before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:320: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:322: error: expected `)' before "seq"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:326: error: variable or field `process' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:326: error: expected `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:330: error: expected `;' before '}' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: variable or field `queryLanServers' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U16' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:341: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:342: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:342: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:380: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:380: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void queryMasterGameTypes()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:411: error: `Vector' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:411: error: `MasterInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:411: error: `masterList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:411: error: `getMasterServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:414: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:414: error: expected `;' before "master"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:416: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:416: error: `printf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `NetInterface' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `MasterServerGameTypesRequest' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `master' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `gKey' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `sendPacket' cannot be used as a function
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:423: error: variable or field `queryMasterServer' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:423: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:423: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:423: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `U16' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `buddyList' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:426: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:426: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:488: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:488: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:518: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:518: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:535: error: variable or field `queryFavoriteServers' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:535: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:536: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:548: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:549: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void querySingleServer(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:551: error: `ServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:551: error: `si' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:551: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:551: error: `findServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:553: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:553: error: `Status_New' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:553: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:553: error: `Status_Updating' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:556: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:556: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:556: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:556: error: `gFinishedList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:558: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:558: error: `compareAddresses' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:565: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:565: error: `executef' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:566: error: `gServerPingCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:566: error: `gServerQueryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:568: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:568: error: `processPingsAndQueries' cannot be used as a function
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void cancelServerQuery()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:579: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:579: error: `printf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:580: error: `ServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:580: error: `si' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:583: error: `gPacketStatusList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:586: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:588: error: `findServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:589: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:589: error: `Status_Responded' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:590: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:590: error: `Status_TimedOut' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:592: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:596: error: `gQueryList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:599: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:600: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:610: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:610: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void stopServerQuery()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:624: error: `gPacketStatusList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:626: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:630: error: `gFinishedList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:631: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:639: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:639: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:647: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:647: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:657: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:657: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:665: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:665: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:671: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:671: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:710: error: expected constructor, destructor, or type conversion before '::' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:710: error: expected `,' or `;' before '::' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:726: error: expected constructor, destructor, or type conversion before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:726: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `bool pickMasterServer()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:767: error: 'struct Ping' has no member named 'time'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:768: error: 'struct Ping' has no member named 'key'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:769: error: 'struct Ping' has no member named 'tryCount'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:769: error: `gMasterServerRetryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:770: error: 'struct Ping' has no member named 'session'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:770: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:773: error: `NULL' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:774: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:774: error: expected `;' before "serverCount"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:775: error: `serverCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:781: error: expected `;' before "region"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:782: error: expected `;' before "index"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:785: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:785: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:787: error: `gMasterServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:787: error: `index' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:787: error: `region' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:789: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:789: error: `addressToString' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:790: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:790: error: `printf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:791: error: 'struct Ping' has no member named 'address'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:799: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:800: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:801: error: 'struct Ping' has no member named 'address'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void clearServerList()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:810: error: `gPacketStatusList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:811: error: `gServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:812: error: `gFinishedList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:813: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:814: error: `gQueryList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:815: error: `gServerPingCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:815: error: `gServerQueryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:817: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:822: error: variable or field `sendHeartbeat' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:822: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:823: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:838: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:839: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void pushPingRequest(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:840: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:844: error: 'struct Ping' has no member named 'address'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:845: error: 'struct Ping' has no member named 'session'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:845: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:846: error: 'struct Ping' has no member named 'key'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:847: error: 'struct Ping' has no member named 'time'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:848: error: 'struct Ping' has no member named 'tryCount'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:848: error: `gPingRetryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:850: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:851: error: `gServerPingCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:856: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:857: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void pushPingBroadcast(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:858: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:862: error: 'struct Ping' has no member named 'address'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:863: error: 'struct Ping' has no member named 'session'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:863: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:864: error: 'struct Ping' has no member named 'key'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:865: error: 'struct Ping' has no member named 'time'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:866: error: 'struct Ping' has no member named 'tryCount'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:868: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:875: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void pushServerFavorites()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:891: error: `S32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:891: error: expected `;' before "count"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:892: error: `count' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:894: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:894: error: `setIntVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:898: error: `NetAddress' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:898: error: expected `;' before "addr"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:899: error: `NULL' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:901: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:901: error: expected `;' before "sz"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:902: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:902: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:904: error: `dSprintf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:905: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:905: error: `getVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:908: error: `sz' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:908: error: `dStrcspn' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:911: error: `len' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:912: error: `dStrncpy' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:917: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:917: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:917: error: `stringToAddress' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:918: error: `ServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:918: error: `si' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:918: error: `findOrCreateServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:919: error: `AssertFatal' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:920: error: `dStrlen' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:920: error: `dRealloc' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:921: error: `dStrcpy' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:931: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:941: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:942: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `bool addressFinished(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:943: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:943: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:943: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:943: error: `gFinishedList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:944: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:944: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:944: error: `compareAddresses' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:951: error: expected init-declarator before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:951: error: expected `,' or `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:961: error: expected init-declarator before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:961: error: expected `,' or `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:976: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:977: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void removeServerInfo(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:978: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:978: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:978: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:978: error: `gServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:980: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:980: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:980: error: `compareAddresses' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: variable or field `sendPacket' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: redefinition of `int sendPacket'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `int sendPacket' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1028: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: variable or field `writeCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: redefinition of `int writeCString'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: `int writeCString' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1040: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: variable or field `readCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: redefinition of `int readCString'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: `int readCString' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: expected primary-expression before "char"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1050: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: variable or field `writeLongCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: redefinition of `int writeLongCString'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: `int writeLongCString' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1065: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: variable or field `readLongCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: redefinition of `int readLongCString'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: `int readLongCString' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: expected primary-expression before "char"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1075: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1093: error: variable or field `processMasterServerQuery' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1093: error: redefinition of `int processMasterServerQuery'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:256: error: `int processMasterServerQuery' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1093: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1094: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1180: error: variable or field `processPingsAndQueries' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1180: error: redefinition of `int processPingsAndQueries'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: `int processPingsAndQueries' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1180: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1180: error: expected primary-expression before "bool"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1181: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1312: error: variable or field `processServerListPackets' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1312: error: redefinition of `int processServerListPackets'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:258: error: `int processServerListPackets' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1312: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1313: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1368: error: variable or field `processHeartbeat' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1368: error: redefinition of `int processHeartbeat'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:259: error: `int processHeartbeat' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1368: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1369: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void updatePingProgress()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1380: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1387: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1387: error: expected `;' before "pingsLeft"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1389: error: `pingsLeft' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1392: error: `dSprintf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1395: error: `F32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1395: error: expected `;' before "progress"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1396: error: `gServerPingCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1397: error: `progress' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1400: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1400: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1400: error: `getFloatArg' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1400: error: `executef' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void updateQueryProgress()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1407: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1411: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1411: error: expected `;' before "queriesLeft"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1412: error: `queriesLeft' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1412: error: `dSprintf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1415: error: `F32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1415: error: expected `;' before "progress"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1416: error: `gServerQueryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1417: error: `progress' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1420: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1420: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1420: error: `getFloatArg' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1420: error: `executef' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: variable or field `handleMasterServerGameTypesResponse' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1431: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1431: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: variable or field `handleMasterServerListResponse' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1457: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1457: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1537: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1538: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void handleGameMasterInfoRequest(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1539: error: `GNet' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1541: error: `U8' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1541: error: expected `;' before "temp8"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1542: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1542: error: expected `;' before "temp32"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1545: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1545: error: `address' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1545: error: `addressToString' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1547: error: `Vector' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1547: error: `MasterInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1547: error: `masterList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1547: error: `getMasterServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1548: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1548: error: expected `;' before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1550: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1550: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1552: error: `masterAddr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1553: error: expected primary-expression before ')' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1553: error: expected primary-expression before ')' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1560: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1560: error: `printf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1562: error: `BitStream' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1562: error: `out' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1562: error: `BitStream' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1562: error: `getPacketStream' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1564: error: `NetInterface' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1564: error: `GameMasterInfoResponse' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1565: error: `flags' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1566: error: `key' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1568: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1568: error: `getVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1568: error: `writeCString' cannot be used as a function
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1569: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1569: error: `writeCString' cannot be used as a function
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1570: error: `temp8' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1570: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1570: error: `getIntVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1572: error: `temp32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1572: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1574: error: `getVersionNumber' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1580: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1580: error: `getBoolVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1581: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1581: error: `Status_Dedicated' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1582: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1582: error: `dStrlen' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1583: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1583: error: `Status_Passworded' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1585: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1587: error: `Platform' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1587: error: `SystemInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1589: error: expected `;' before "playerCount"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1590: error: `playerCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1592: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1594: error: `dStrcpy' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1595: error: `dStrtok' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1599: error: `dAtoi' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1600: error: `NULL' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1609: error: `BitStream' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1609: error: `sendPacketStream' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1615: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1616: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engi
06/07/2007 (1:53 am)
Right firstly I want to apologize for not knowing what the hell im doing with all this....Secondly I have got my server up and running properly....
Just need to get the code right but am having problems with serverQuery.cc it wont compile I am getting the following errors:-
ompiler: Default compiler
Executing g++.exe...
g++.exe "C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc" -o "C:\Torque\Ruthless Earth\engine\game\net\serverQuery.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
C:\Torque\Ruthles
s Earth\engine\game\net\serverQuery.cc:79:34: game/net/serverQuery.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:81:31: platform/platform.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:82:28: platform/event.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:83:23: core/dnet.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:84:26: core/tVector.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:85:29: core/resManager.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:86:28: core/bitStream.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:87:29: console/console.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:88:29: console/simBase.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:89:26: game/banList.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:90:26: game/version.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:91:23: game/auth.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:92:33: game/gameConnection.h: No such file or directory
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:97: error: expected constructor, destructor, or type conversion before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:97: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:98: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:98: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:99: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:99: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:100: error: `NetAddress' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:102: error: expected constructor, destructor, or type conversion before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:102: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:103: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:104: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:105: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:106: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:107: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:108: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:109: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:110: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:111: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:112: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:113: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:114: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:118: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:119: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:123: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:124: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:125: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:127: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:127: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:133: error: `NetAddress' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:134: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:135: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:136: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:137: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:142: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:142: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:143: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:143: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:149: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:150: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:151: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:152: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:154: error: expected `)' before "_index"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:163: error: expected init-declarator before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:163: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:164: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:185: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:185: error: enumerator value for `OfflineQuery' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:186: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:186: error: enumerator value for `NoStringCompress' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:191: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:191: error: enumerator value for `Dedicated' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:192: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:192: error: enumerator value for `NotPassworded' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:193: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:193: error: enumerator value for `Linux' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:194: error: a function call cannot appear in a constant-expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:194: error: enumerator value for `CurrentVersion' not integer constant
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:197: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:198: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:199: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:200: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:201: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:202: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:203: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:204: error: `U16' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:205: error: `U8' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:206: error: ISO C++ forbids declaration of `U32' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:206: error: expected `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In constructor `ServerFilter::ServerFilter()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:210: error: `queryFlags' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:210: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:211: error: `NULL' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:213: error: `minPlayers' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:214: error: `maxPlayers' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:215: error: `maxBots' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:216: error: `regionMask' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:217: error: `maxPing' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:218: error: `filterFlags' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:219: error: `minCPU' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:220: error: `buddyCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:221: error: `buddyList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In destructor `ServerFilter::~ServerFilter()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:227: error: `dFree' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:230: error: `buddyList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:242: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:242: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:243: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:243: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:246: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:247: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:247: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:248: error: expected init-declarator before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:248: error: expected `,' or `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:249: error: expected init-declarator before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:249: error: expected `,' or `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:250: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:250: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: variable or field `sendPacket' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: variable or field `writeCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: variable or field `readCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: expected primary-expression before "char"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: variable or field `writeLongCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: variable or field `readLongCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: expected primary-expression before "char"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:256: error: variable or field `processMasterServerQuery' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:256: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: variable or field `processPingsAndQueries' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: expected primary-expression before "bool"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:258: error: variable or field `processServerListPackets' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:258: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:259: error: variable or field `processHeartbeat' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:259: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:262: error: expected constructor, destructor, or type conversion before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:262: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:273: error: expected class-name before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:274: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:276: error: expected `)' before "_session"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:280: error: variable or field `process' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:280: error: expected `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:284: error: expected `;' before '}' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:288: error: expected class-name before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:289: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:291: error: expected `)' before "_session"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:295: error: variable or field `process' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:295: error: expected `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:299: error: expected `;' before '}' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:303: error: expected class-name before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:304: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:306: error: expected `)' before "_session"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:311: error: variable or field `process' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:311: error: expected `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:315: error: expected `;' before '}' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:319: error: expected class-name before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:320: error: `U32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:322: error: expected `)' before "seq"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:326: error: variable or field `process' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:326: error: expected `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:330: error: expected `;' before '}' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: variable or field `queryLanServers' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:339: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:340: error: `U16' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:341: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:342: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:342: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:380: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:380: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void queryMasterGameTypes()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:411: error: `Vector' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:411: error: `MasterInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:411: error: `masterList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:411: error: `getMasterServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:414: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:414: error: expected `;' before "master"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:416: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:416: error: `printf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `NetInterface' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `MasterServerGameTypesRequest' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `master' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `gKey' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:417: error: `sendPacket' cannot be used as a function
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:423: error: variable or field `queryMasterServer' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:423: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:423: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:423: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:424: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `U16' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:425: error: `buddyList' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:426: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:426: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:488: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:488: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:518: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:518: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:535: error: variable or field `queryFavoriteServers' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:535: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:536: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:548: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:549: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void querySingleServer(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:551: error: `ServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:551: error: `si' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:551: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:551: error: `findServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:553: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:553: error: `Status_New' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:553: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:553: error: `Status_Updating' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:556: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:556: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:556: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:556: error: `gFinishedList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:558: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:558: error: `compareAddresses' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:565: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:565: error: `executef' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:566: error: `gServerPingCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:566: error: `gServerQueryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:568: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:568: error: `processPingsAndQueries' cannot be used as a function
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void cancelServerQuery()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:579: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:579: error: `printf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:580: error: `ServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:580: error: `si' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:583: error: `gPacketStatusList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:586: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:588: error: `findServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:589: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:589: error: `Status_Responded' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:590: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:590: error: `Status_TimedOut' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:592: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:596: error: `gQueryList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:599: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:600: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:610: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:610: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void stopServerQuery()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:624: error: `gPacketStatusList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:626: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:630: error: `gFinishedList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:631: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:639: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:639: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:647: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:647: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:657: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:657: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:665: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:665: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:671: error: expected constructor, destructor, or type conversion before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:671: error: expected `,' or `;' before '(' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:710: error: expected constructor, destructor, or type conversion before '::' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:710: error: expected `,' or `;' before '::' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:726: error: expected constructor, destructor, or type conversion before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:726: error: expected `,' or `;' before '<' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `bool pickMasterServer()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:767: error: 'struct Ping' has no member named 'time'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:768: error: 'struct Ping' has no member named 'key'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:769: error: 'struct Ping' has no member named 'tryCount'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:769: error: `gMasterServerRetryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:770: error: 'struct Ping' has no member named 'session'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:770: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:773: error: `NULL' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:774: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:774: error: expected `;' before "serverCount"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:775: error: `serverCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:781: error: expected `;' before "region"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:782: error: expected `;' before "index"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:785: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:785: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:787: error: `gMasterServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:787: error: `index' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:787: error: `region' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:789: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:789: error: `addressToString' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:790: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:790: error: `printf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:791: error: 'struct Ping' has no member named 'address'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:799: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:800: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:801: error: 'struct Ping' has no member named 'address'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void clearServerList()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:810: error: `gPacketStatusList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:811: error: `gServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:812: error: `gFinishedList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:813: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:814: error: `gQueryList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:815: error: `gServerPingCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:815: error: `gServerQueryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:817: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:822: error: variable or field `sendHeartbeat' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:822: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:823: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:838: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:839: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void pushPingRequest(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:840: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:844: error: 'struct Ping' has no member named 'address'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:845: error: 'struct Ping' has no member named 'session'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:845: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:846: error: 'struct Ping' has no member named 'key'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:847: error: 'struct Ping' has no member named 'time'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:848: error: 'struct Ping' has no member named 'tryCount'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:848: error: `gPingRetryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:850: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:851: error: `gServerPingCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:856: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:857: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void pushPingBroadcast(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:858: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:862: error: 'struct Ping' has no member named 'address'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:863: error: 'struct Ping' has no member named 'session'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:863: error: `gPingSession' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:864: error: 'struct Ping' has no member named 'key'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:865: error: 'struct Ping' has no member named 'time'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:866: error: 'struct Ping' has no member named 'tryCount'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:868: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:875: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void pushServerFavorites()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:891: error: `S32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:891: error: expected `;' before "count"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:892: error: `count' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:894: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:894: error: `setIntVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:898: error: `NetAddress' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:898: error: expected `;' before "addr"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:899: error: `NULL' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:901: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:901: error: expected `;' before "sz"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:902: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:902: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:904: error: `dSprintf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:905: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:905: error: `getVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:908: error: `sz' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:908: error: `dStrcspn' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:911: error: `len' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:912: error: `dStrncpy' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:917: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:917: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:917: error: `stringToAddress' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:918: error: `ServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:918: error: `si' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:918: error: `findOrCreateServerInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:919: error: `AssertFatal' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:920: error: `dStrlen' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:920: error: `dRealloc' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:921: error: `dStrcpy' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:931: error: `S32' does not name a type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:941: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:942: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `bool addressFinished(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:943: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:943: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:943: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:943: error: `gFinishedList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:944: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:944: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:944: error: `compareAddresses' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:951: error: expected init-declarator before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:951: error: expected `,' or `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:961: error: expected init-declarator before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:961: error: expected `,' or `;' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:976: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:977: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void removeServerInfo(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:978: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:978: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:978: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:978: error: `gServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:980: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:980: error: `addr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:980: error: `compareAddresses' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: variable or field `sendPacket' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: redefinition of `int sendPacket'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:251: error: `int sendPacket' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1027: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1028: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: variable or field `writeCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: redefinition of `int writeCString'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:252: error: `int writeCString' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1039: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1040: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: variable or field `readCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: redefinition of `int readCString'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:253: error: `int readCString' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1049: error: expected primary-expression before "char"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1050: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: variable or field `writeLongCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: redefinition of `int writeLongCString'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:254: error: `int writeLongCString' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1064: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1065: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: variable or field `readLongCString' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: redefinition of `int readLongCString'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:255: error: `int readLongCString' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1074: error: expected primary-expression before "char"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1075: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1093: error: variable or field `processMasterServerQuery' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1093: error: redefinition of `int processMasterServerQuery'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:256: error: `int processMasterServerQuery' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1093: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1094: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1180: error: variable or field `processPingsAndQueries' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1180: error: redefinition of `int processPingsAndQueries'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:257: error: `int processPingsAndQueries' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1180: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1180: error: expected primary-expression before "bool"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1181: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1312: error: variable or field `processServerListPackets' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1312: error: redefinition of `int processServerListPackets'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:258: error: `int processServerListPackets' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1312: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1313: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1368: error: variable or field `processHeartbeat' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1368: error: redefinition of `int processHeartbeat'
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:259: error: `int processHeartbeat' previously defined here
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1368: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1369: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void updatePingProgress()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1380: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1387: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1387: error: expected `;' before "pingsLeft"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1389: error: `pingsLeft' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1392: error: `dSprintf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1395: error: `F32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1395: error: expected `;' before "progress"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1396: error: `gServerPingCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1397: error: `progress' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1400: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1400: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1400: error: `getFloatArg' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1400: error: `executef' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void updateQueryProgress()':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1407: error: `gPingList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1411: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1411: error: expected `;' before "queriesLeft"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1412: error: `queriesLeft' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1412: error: `dSprintf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1415: error: `F32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1415: error: expected `;' before "progress"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1416: error: `gServerQueryCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1417: error: `progress' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1420: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1420: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1420: error: `getFloatArg' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1420: error: `executef' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: variable or field `handleMasterServerGameTypesResponse' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1430: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1431: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1431: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: variable or field `handleMasterServerListResponse' declared void
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: `BitStream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: `stream' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: `U32' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1456: error: `U8' was not declared in this scope
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1457: error: initializer expression list treated as compound expression
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1457: error: expected `,' or `;' before '{' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1537: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1538: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: In function `void handleGameMasterInfoRequest(int)':
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1539: error: `GNet' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1541: error: `U8' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1541: error: expected `;' before "temp8"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1542: error: `U32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1542: error: expected `;' before "temp32"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1545: error: `Net' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1545: error: `address' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1545: error: `addressToString' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1547: error: `Vector' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1547: error: `MasterInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1547: error: `masterList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1547: error: `getMasterServerList' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1548: error: expected primary-expression before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1548: error: expected `;' before "const"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1550: error: expected `;' before "i"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1550: error: `i' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1552: error: `masterAddr' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1553: error: expected primary-expression before ')' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1553: error: expected primary-expression before ')' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1560: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1560: error: `printf' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1562: error: `BitStream' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1562: error: `out' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1562: error: `BitStream' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1562: error: `getPacketStream' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1564: error: `NetInterface' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1564: error: `GameMasterInfoResponse' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1565: error: `flags' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1566: error: `key' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1568: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1568: error: `getVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1568: error: `writeCString' cannot be used as a function
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1569: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1569: error: `writeCString' cannot be used as a function
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1570: error: `temp8' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1570: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1570: error: `getIntVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1572: error: `temp32' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1572: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1574: error: `getVersionNumber' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1580: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1580: error: `getBoolVariable' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1581: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1581: error: `Status_Dedicated' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1582: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1582: error: `dStrlen' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1583: error: `ServerInfo' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1583: error: `Status_Passworded' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1585: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1587: error: `Platform' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1587: error: `SystemInfo' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1589: error: expected `;' before "playerCount"
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1590: error: `playerCount' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1592: error: `Con' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1594: error: `dStrcpy' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1595: error: `dStrtok' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1599: error: `dAtoi' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1600: error: `NULL' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1609: error: `BitStream' has not been declared
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1609: error: `sendPacketStream' undeclared (first use this function)
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc: At global scope:
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1615: error: expected `,' or `...' before '*' token
C:\Torque\Ruthless Earth\engine\game\net\serverQuery.cc:1616: error: ISO C++ forbids declaration of `NetAddress' with no type
C:\Torque\Ruthless Earth\engi
#28
06/07/2007 (4:28 am)
looks like summing with the directory structure
#29
Try adding -I"C:\Torque\Ruthless Earth\engine"
The errors all seem to stem from the compiler not finding the header files .....
06/07/2007 (2:44 pm)
This is a shot in the dark as I've not used g++Try adding -I"C:\Torque\Ruthless Earth\engine"
The errors all seem to stem from the compiler not finding the header files .....
#30
Now to the next problem....I have followed the steps detailed above over and over but the client keeps searching for the master then times out :( no master servers found ! the client is looking at the right address and port so Im assuming its something to do with the master server but dont know what :(
06/08/2007 (2:02 am)
thanks Vis I managed to compile the thing!Now to the next problem....I have followed the steps detailed above over and over but the client keeps searching for the master then times out :( no master servers found ! the client is looking at the right address and port so Im assuming its something to do with the master server but dont know what :(
#31
if so can you ping any other PC on the local network ?
can you ping 127.0.0.1 ?
06/08/2007 (7:25 am)
Is your PC on a local network ?if so can you ping any other PC on the local network ?
can you ping 127.0.0.1 ?
#32
06/09/2007 (2:01 am)
no Vis the pc im using is in the UK and the server is in the US, however i can ping the server from the pc im using and it works...also the 'out of the box' TGE stuff works its just when I try to implement this mod that it cant find the server. :(
#33
This code looks nice, but I nned some help with it, look:
I've done exactly what is written with the server prefs and everything.
And when I start up the "Master Server", it says: "Sending Hartbeat to master server: 192.168.1.4:28111" (or something like that).
And then nothing more happends...
Then I start up the "Game Server 1", and it does the same thing when it is loaded; "Sending Hartbeat to master server: 192.168.1.4:28111"...
Ok well, Then I try to start up the client, and when I push "Query Master", it says: No Master Server Found.
So I guess my Game Server 1,2,3m doesn't find the Master Server, so what can be wrong here?
Do I have to open all the ports ? 28000,28111,28101,28102,28103...
07/01/2007 (3:53 am)
Hi!This code looks nice, but I nned some help with it, look:
I've done exactly what is written with the server prefs and everything.
And when I start up the "Master Server", it says: "Sending Hartbeat to master server: 192.168.1.4:28111" (or something like that).
And then nothing more happends...
Then I start up the "Game Server 1", and it does the same thing when it is loaded; "Sending Hartbeat to master server: 192.168.1.4:28111"...
Ok well, Then I try to start up the client, and when I push "Query Master", it says: No Master Server Found.
So I guess my Game Server 1,2,3m doesn't find the Master Server, so what can be wrong here?
Do I have to open all the ports ? 28000,28111,28101,28102,28103...
#34
The master server is in the states ... I suspect you mean the GG master server, is this the case ?
@Eric;
The ports should be open 28111,28101,28102,28103
The Master server will list any connectons it gets to the console, including itself ....
07/02/2007 (8:12 am)
@Steve;The master server is in the states ... I suspect you mean the GG master server, is this the case ?
@Eric;
The ports should be open 28111,28101,28102,28103
The Master server will list any connectons it gets to the console, including itself ....
#35
Let us know if anyone try to do that. :-)
01/07/2008 (7:09 am)
Is it still not sure work with Torque 1.4?Let us know if anyone try to do that. :-)
#36
This is the only way I can get the Master Server to recognize the 7 other computers if I use the local ip and not my static ip. I need the client (my game) to be able to locate the Master Server at 75.145.75.238:28111 or www.atomixworld:28111 and not the local ip.
I hope I have been clear on this point. I can ping the 75.145.75.238 static ip but the client does not find the list if I set the master server to the above address. I'm stuck and any help will be greatly appreciated!!
03/24/2008 (3:35 pm)
@Vis: Got the code working but I must have a different situation. I have a static ip 75.145.75.238 which runs a web server (www.atomixworld.com) on port 80, an ftp server on port 20-21 and a database manager. I ran the Master server there with the port 28111 forwarded, it has a local ip of 10.1.10.90. Then I have 7 other computers on the local network that have ports 28101 - 28107 forwarded to each computer. I have no problem getting the Master Server to get the heartbeat of each of the 7 computers and adding them to it's list, but only if I set each of the 7 to look for the local ip address of the Master server, ex: 10.1.10.90:28111This is the only way I can get the Master Server to recognize the 7 other computers if I use the local ip and not my static ip. I need the client (my game) to be able to locate the Master Server at 75.145.75.238:28111 or www.atomixworld:28111 and not the local ip.
I hope I have been clear on this point. I can ping the 75.145.75.238 static ip but the client does not find the list if I set the master server to the above address. I'm stuck and any help will be greatly appreciated!!
#37
Have you tried to connect a client from 'outside' your local network ?
Can you browse your webserver from any of the 7 other computers ?
03/24/2008 (11:48 pm)
Shon, Have you tried to connect a client from 'outside' your local network ?
Can you browse your webserver from any of the 7 other computers ?
#38
Answering your 2nd question: I can't do that either. When I try www.AtomixWorld.com on my LAN all I get is my modem to log into. I definitely need another ip. I appreciate your help and am going to get another ip/modem to add to the system.
03/26/2008 (4:52 am)
@Vis: Thanks for responding so quickly. I haven't tried to connect from another outside ip, I may have to order another ip. I tried to connect to the Master Server at 28111 via network or LAN and didn't get any response. When you run 1 dedicated server copy of the game on 1 computer, I have no problem going to the port and connecting. But I can't seem to get a connection to this build on the LAN.Answering your 2nd question: I can't do that either. When I try www.AtomixWorld.com on my LAN all I get is my modem to log into. I definitely need another ip. I appreciate your help and am going to get another ip/modem to add to the system.
#39
As you notice I only get 1 entry on my local network, there are 3 servers running right now. 2 dedicated and 1 master.
My problem now is the port number from each dedicated server is not correct. I don't know where to change it so it will register the correct port. Here are excerpts from my console.log(s)
All of the remaining dedicated servers send the same port number 28201 and I can't figure out where it is getting that value.
Thanks a lot for your help. I almost got this.
04/19/2008 (2:55 pm)
@Vis: You still out there? Sorry it has been so long but I have been so busy I can barely keep up. I believe I have made some progress as I can now connect to the Master Server as shown below.
As you notice I only get 1 entry on my local network, there are 3 servers running right now. 2 dedicated and 1 master.My problem now is the port number from each dedicated server is not correct. I don't know where to change it so it will register the correct port. Here are excerpts from my console.log(s)
--------- Starting Dedicated Server 1--------- Binding server port to default IP UDP initialized on port 28201 [b]======> This is correct[/b] *** ==>Sending heartbeat to master server: [IP:10.1.10.90:28111] *** ==>Sending heartbeat to master server: [IP:10.1.10.90:28111] --------- Starting Dedicated Server 2--------- Binding server port to default IP UDP initialized on port 28201 [b]======> Should be 28202[/b] *** ==>Sending heartbeat to master server: [IP:10.1.10.90:28111] *** ==>Sending heartbeat to master server: [IP:10.1.10.90:28111] --------- Starting Master Server --------- Binding server port to default IP UDP initialized on port 28111 *** ==>Received Heartbeat from [IP:10.1.10.95:28201]. Adding [IP:10.1.10.95:28201] to list ----- Current List ------ Time now: 30301 0. [IP:10.1.10.95:28201] expires at 150301 ------------------------- *** ==>Received Heartbeat from [IP:10.1.10.73:28201]. [b]======> Should be 28202[/b] Adding [IP:10.1.10.73:28201] to list ----- Current List ------ Time now: 52411 0. [IP:10.1.10.95:28201] expires at 150301 1. [IP:10.1.10.73:28201] expires at 172411 [b]======> Should be 28202[/b] -------------------------
All of the remaining dedicated servers send the same port number 28201 and I can't figure out where it is getting that value.
Thanks a lot for your help. I almost got this.
#40
05/09/2008 (9:03 pm)
How do i find line 35 and all those other lines? 
Torque Owner Weston Elliott
Weston Elliott