mirror of
https://github.com/glest/glest-source.git
synced 2025-10-04 03:11:53 +02:00
added new commandline to specify internal/external port #'s to use when hosting:
--use-ports=61390,61390
This commit is contained in:
@@ -1866,7 +1866,7 @@ std::map<string,string> ServerInterface::publishToMasterserver() {
|
||||
publishToServerInfo["activeSlots"] = intToStr(slotCountUsed);
|
||||
publishToServerInfo["networkSlots"] = intToStr(slotCountHumans);
|
||||
publishToServerInfo["connectedClients"] = intToStr(slotCountConnectedPlayers);
|
||||
string externalport = config.getString("MasterServerExternalPort", "61357");
|
||||
string externalport = config.getString("MasterServerExternalPort", intToStr(GameConstants::serverPort).c_str());
|
||||
publishToServerInfo["externalconnectport"] = externalport;
|
||||
publishToServerInfo["privacyPlease"] = intToStr(config.getBool("PrivacyPlease","false"));
|
||||
publishToServerInfo["gameStatus"] = intToStr(game_status_in_progress);
|
||||
|
Reference in New Issue
Block a user