1. Configuring MapServerInfo file
Follow to \Server\Files\Data\ and open MapServerInfo.xml file. You can see a list of servers available and mappings to them. Same as in ServerList.xml the first section of MapServerInfo.xml contains list of servers.
<ServerList> <Server Code="0" Group="0" Initiation="1" IP="PUBLIC_IP" Port="56900" MinEntryGrandReset="-1" MaxEntryGrandReset="-1" MinEntryReset="-1" MaxEntryReset="-1" MinEntryLevel="-1" MaxEntryLevel="-1" Name="Regular" /> <Server Code="12" Group="0" Initiation="0" IP="PUBLIC_IP" Port="56912" MinEntryGrandReset="-1" MaxEntryGrandReset="-1" MinEntryReset="-1" MaxEntryReset="-1" MinEntryLevel="-1" MaxEntryLevel="-1" Name="Market" /> <Server Code="13" Group="0" Initiation="0" IP="PUBLIC_IP" Port="56913" MinEntryGrandReset="-1" MaxEntryGrandReset="-1" MinEntryReset="-1" MaxEntryReset="-1" MinEntryLevel="-1" MaxEntryLevel="-1" Name="Arca" /> <Server Code="14" Group="0" Initiation="0" IP="PUBLIC_IP" Port="56914" MinEntryGrandReset="-1" MaxEntryGrandReset="-1" MinEntryReset="-1" MaxEntryReset="-1" MinEntryLevel="-1" MaxEntryLevel="-1" Name="Siege" /> <Server Code="15" Group="0" Initiation="0" IP="PUBLIC_IP" Port="56915" MinEntryGrandReset="-1" MaxEntryGrandReset="-1" MinEntryReset="-1" MaxEntryReset="-1" MinEntryLevel="-1" MaxEntryLevel="-1" Name="Instance" /> <Server Code="480" Group="24" Initiation="0" IP="PUBLIC_IP" Port="56120" MinEntryGrandReset="-1" MaxEntryGrandReset="-1" MinEntryReset="-1" MaxEntryReset="-1" MinEntryLevel="-1" MaxEntryLevel="-1" Name="BattleCore" /> </ServerList>
QuoteServer Code for BattleCore Game Server cannot be changed and must be configured as 480
In case you have configured additional Game Servers they have to be listed in the file as well. For default configuration the only change required is the IP="PUBLIC_IP". Replace PUBLIC_IP with your WAN IP, not sure? check it here
Second part of the file is ServerMapping. It is used to configure in-game map redirection to specified server. By default it is not necessary to modify this area unless additional game servers have been configured. If so the section must include information about each additional server. Configuration is dependent from server type.
<ServerMapping> <Server Code="0" MoveAble="0" MapNumber="30" DestServerCode="14" Name="Regular to Siege"/> <Server Code="0" MoveAble="0" MapNumber="31" DestServerCode="14" Name="Regular to Siege"/> <Server Code="0" MoveAble="0" MapNumber="34" DestServerCode="14" Name="Regular to Siege"/> <Server Code="0" MoveAble="0" MapNumber="41" DestServerCode="14" Name="Regular to Siege"/> <Server Code="0" MoveAble="0" MapNumber="42" DestServerCode="14" Name="Regular to Siege"/> <Server Code="0" MoveAble="0" MapNumber="79" DestServerCode="12" Name="Regular to Market"/> <Server Code="0" MoveAble="0" MapNumber="92" DestServerCode="13" Name="Regular to Arca"/> <Server Code="0" MoveAble="0" MapNumber="96" DestServerCode="13" Name="Regular to Arca"/> <Server Code="0" MoveAble="0" MapNumber="114" DestServerCode="15" Name="Regular to Instance" /> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <Server Code="12" MoveAble="0" MapNumber="30" DestServerCode="14" Name="Market to Siege"/> <Server Code="12" MoveAble="0" MapNumber="34" DestServerCode="14" Name="Market to Siege"/> <Server Code="12" MoveAble="0" MapNumber="31" DestServerCode="14" Name="Market to Siege"/> <Server Code="12" MoveAble="0" MapNumber="41" DestServerCode="14" Name="Market to Siege"/> <Server Code="12" MoveAble="0" MapNumber="42" DestServerCode="14" Name="Market to Siege"/> <Server Code="12" MoveAble="1" MapNumber="79" DestServerCode="-1" Name="Stay on Market"/> <Server Code="12" MoveAble="0" MapNumber="92" DestServerCode="13" Name="Market to Arca"/> <Server Code="12" MoveAble="0" MapNumber="96" DestServerCode="13" Name="Market to Arca"/> <Server Code="12" MoveAble="0" MapNumber="114" DestServerCode="15" Name="Market to Instance"/> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <Server Code="13" MoveAble="0" MapNumber="30" DestServerCode="14" Name="Arca to Siege"/> <Server Code="13" MoveAble="0" MapNumber="31" DestServerCode="14" Name="Arca to Siege"/> <Server Code="13" MoveAble="0" MapNumber="34" DestServerCode="14" Name="Arca to Siege"/> <Server Code="13" MoveAble="0" MapNumber="41" DestServerCode="14" Name="Arca to Siege"/> <Server Code="13" MoveAble="0" MapNumber="42" DestServerCode="14" Name="Arca to Siege"/> <Server Code="13" MoveAble="0" MapNumber="79" DestServerCode="12" Name="Arca to Market"/> <Server Code="13" MoveAble="1" MapNumber="92" DestServerCode="-1" Name="Stay on Arca"/> <Server Code="13" MoveAble="1" MapNumber="96" DestServerCode="-1" Name="Stay on Arca"/> <Server Code="13" MoveAble="0" MapNumber="114" DestServerCode="15" Name="Arca to Instance"/> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <Server Code="14" MoveAble="1" MapNumber="30" DestServerCode="-1" Name="Stay on Siege"/> <Server Code="14" MoveAble="1" MapNumber="34" DestServerCode="-1" Name="Stay on Siege"/> <Server Code="14" MoveAble="1" MapNumber="31" DestServerCode="-1" Name="Stay on Siege"/> <Server Code="14" MoveAble="1" MapNumber="41" DestServerCode="-1" Name="Stay on Siege"/> <Server Code="14" MoveAble="1" MapNumber="42" DestServerCode="-1" Name="Stay on Siege"/> <Server Code="14" MoveAble="0" MapNumber="79" DestServerCode="12" Name="Siege to Market"/> <Server Code="14" MoveAble="0" MapNumber="92" DestServerCode="13" Name="Siege to Arca"/> <Server Code="14" MoveAble="0" MapNumber="96" DestServerCode="13" Name="Siege to Arca"/> <Server Code="14" MoveAble="0" MapNumber="114" DestServerCode="15" Name="Siege to Instance"/> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <Server Code="15" MoveAble="0" MapNumber="30" DestServerCode="-1" Name="Instance to Siege"/> <Server Code="15" MoveAble="0" MapNumber="34" DestServerCode="-1" Name="Instance to Siege"/> <Server Code="15" MoveAble="0" MapNumber="31" DestServerCode="-1" Name="Instance to Siege"/> <Server Code="15" MoveAble="0" MapNumber="41" DestServerCode="-1" Name="Instance to Siege"/> <Server Code="15" MoveAble="0" MapNumber="42" DestServerCode="-1" Name="Instance to Siege"/> <Server Code="15" MoveAble="0" MapNumber="79" DestServerCode="12" Name="Instance to Market"/> <Server Code="15" MoveAble="0" MapNumber="92" DestServerCode="13" Name="Instance to Arca"/> <Server Code="15" MoveAble="0" MapNumber="96" DestServerCode="13" Name="Instance to Arca"/> <Server Code="15" MoveAble="1" MapNumber="114" DestServerCode="15" Name="Stay on Instance"/> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <Server Code="480" MoveAble="0" MapNumber="30" DestServerCode="-1" Name="Stay on BattleCore (Move Disabled)"/> <Server Code="480" MoveAble="0" MapNumber="34" DestServerCode="-1" Name="Stay on BattleCore (Move Disabled)"/> <Server Code="480" MoveAble="0" MapNumber="31" DestServerCode="-1" Name="Stay on BattleCore (Move Disabled)"/> <Server Code="480" MoveAble="0" MapNumber="41" DestServerCode="-1" Name="Stay on BattleCore (Move Disabled)"/> <Server Code="480" MoveAble="0" MapNumber="42" DestServerCode="-1" Name="Stay on BattleCore (Move Disabled)"/> <Server Code="480" MoveAble="1" MapNumber="79" DestServerCode="-1" Name="Stay on BattleCore (Move Enabled)"/> <Server Code="480" MoveAble="0" MapNumber="92" DestServerCode="-1" Name="Stay on BattleCore (Move Disabled)"/> <Server Code="480" MoveAble="0" MapNumber="96" DestServerCode="-1" Name="Stay on BattleCore (Move Disabled)"/> <Server Code="480" MoveAble="0" MapNumber="114" DestServerCode="-1" Name="Stay on BattleCore (Move Disabled)"/> </ServerMapping>
Above examples are based on file configuration from specified stage, actual file may slightly differ. What you need to remember is to change Server Code attribute with unique value for each of the server. Adding sub-server is explained more widely in our other, dedicated tutorial of adding additional servers.