[Guide] Understanding MapServerInfo.dat

ReaL

New Member
Joined
Apr 13, 2008
Messages
1,244
Reaction score
656
Lets start doing this first i Will post the Map Server Info

// Map Server Infomation

// 1> . ?*???? IP, ??????? (????IP, ?????? ?? ??????)
//
// P.S.> InitSetting (???? ????? ???? ?????) ?? ???? ???
// -1 : connection impossible - connect to first possible server.
// 0 : connection impossible ? connect to random server which is one of possible servers.
// 1 : connection possible
//
// ServerCode MapServerGroup InitSetting IpAddress PortNum
// (?*?????) (??*?????) (????????) (IP???) (??????)
//-----------------------------------------------------------------------------
0
0 0 1 S192.168.1.100 55901
1 0 1 S192.168.1.101 55901

19 0 0 S192.168.38.20 55901
end


// 2> . ?*???? ?? ??? ????? ???? (???? ?*???????? ???? ?*???? ????? ?? ????)
//
// ServerCode MoveAbleOption Map DestServerCode
// (?*?????) (?????????) (??) (???????*?????)
//-----------------------------------------------------------------------------
1
0 0 30 19
0 0 31 19

1 0 30 19
1 0 31 19

19 1 30 -1
19 1 31 -1
end

So lets start all the data between the "0" and the "end" contains the GS Settings so lets start with the first line

0 0 1 S192.168.1.100 55901

1.-
The first number means the Server code that its spicified in ServerInfo.dat (you can put the any number)
2.- the second Number means the MapServerGroup, this means somekind as Global MU servers fro example Wigle and Maya, for example all the subservers of Wigle must use the same number fro example 0 and the subservers of Maya must use another number, for example 1 (normally private Servers dont need to change this values
3.- the S127.0.0.1 tell the GS the location of the server and the other GS, you MUST use you public IP here so if you public IP is 200.100.45.43 you must put S200.100.45.43
4.- the 55901 is the port used to comunicate the server to the client

Now all the data between the "1" and the "end" contain the comunication between servers.


1
0 0 30 19
0 0 31 19

1 0 30 19
1 0 31 19

19 1 30 -1
19 1 31 -1
end

1.- The first Zero means the Server Code
2.- The second zero means the Init Setting, well this specify if the GameServer will "load" all the maps or only will load Castle Siege Maps
If you put 0 will "load" all the maps
If you put 1 will "load" only Castle Siege Maps
3.- the third Number is the Map, when the client go to a gate that transport a Character from X map to the map specified in the third number, the GS will transport to ANOTHER GS, in this case to the GS that has the ServerCode 19
4.- The last number is the destination ServerCode, when a character need to go to the map specified in the third number, it will be transported to the GS with the Server code specified in the las Number
Pd when the Last Number is -1 this means that will be transported to the previos GS

PD the GS with the -1 is ALWAYS the GS_CS, the others are normal GS
 
  • Like
Reactions: timetogo