Merge commit 'ed5bcc97'
This commit is contained in:
@@ -290,9 +290,11 @@ void LobbyMenu::HandleLoginRejection(TextPacket* const argPacket) {
|
|||||||
//-------------------------
|
//-------------------------
|
||||||
|
|
||||||
void LobbyMenu::SendBroadcastRequest() {
|
void LobbyMenu::SendBroadcastRequest() {
|
||||||
//broadcast to the network, or a specific server
|
//broadcast to the home server, and to the LAN
|
||||||
ClientPacket packet;
|
ClientPacket packet;
|
||||||
|
|
||||||
packet.type = SerialPacketType::BROADCAST_REQUEST;
|
packet.type = SerialPacketType::BROADCAST_REQUEST;
|
||||||
|
network.SendTo(config["server.home"].c_str(), config.Int("server.port"), &packet);
|
||||||
network.SendTo(config["server.host"].c_str(), config.Int("server.port"), &packet);
|
network.SendTo(config["server.host"].c_str(), config.Int("server.port"), &packet);
|
||||||
|
|
||||||
//reset the server list
|
//reset the server list
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#TODO: (9) split this file in two, one for each program
|
#TODO: (9) split this file in two, one for each program
|
||||||
|
|
||||||
#server specific settings
|
#server specific settings
|
||||||
|
server.home = island.krgamestudios.com
|
||||||
server.host = 255.255.255.255
|
server.host = 255.255.255.255
|
||||||
server.port = 21795
|
server.port = 21795
|
||||||
server.name = local
|
server.name = local
|
||||||
|
|||||||
Reference in New Issue
Block a user