mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
feat(master): the server list names each server's port and machine
Master keeps the address and port auth, chat, the dashboard and the UGC server report when they connect and sends them, with its own and every world's, after the list's world states. A server's machine is the address master sees its connection come from; loopback and master's external_ip are master's machine. Servers can report another port than their RakNet one; the UGC server reports its web port. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -170,7 +170,7 @@ Packet* dServer::ReceiveFromMaster() {
|
||||
mMasterSystemAddress = packet->systemAddress;
|
||||
LOG("SendServerInfo called for server type %i", static_cast<int>(GetServerType()));
|
||||
MasterPackets::ServerInfo info;
|
||||
info.port = GetPort();
|
||||
info.port = mAdvertisedPort ? mAdvertisedPort : GetPort();
|
||||
info.zoneID = GetZoneID();
|
||||
info.instanceID = GetInstanceID();
|
||||
info.serverType = GetServerType();
|
||||
|
||||
Reference in New Issue
Block a user