Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 7, 2015, 5:21:45 PM (9 years ago)
Author:
frovelli
Message:

Implemented playercount in multiplayer lobby

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/multiplayerFS15/src/libraries/network/LANDiscoverable.cc

    r10427 r10434  
    5757  void LANDiscoverable::setConfigValues()
    5858  {
    59     /* update msaddress string from orxonox.ini config file, if it
     59    /* update ownName string from orxonox.ini config file, if it
    6060     * has changed.
    6161     */
    62     SetConfigValueExternal(ownName, "WANDiscovery", "ownName", "tme213");
     62    SetConfigValueExternal(ownName, "Discovery", "ownName", "tme213");
    6363  }
    6464
     
    120120            packet::ServerInformation info;
    121121            info.setServerName(this->ownName);
     122            info.setClientNumber(this->clientNumber);
    122123            info.send(event.peer);
    123124//             ENetPacket* packet = enet_packet_create( LAN_DISCOVERY_ACK, strlen(LAN_DISCOVERY_ACK)+1, ENET_PACKET_FLAG_RELIABLE );
Note: See TracChangeset for help on using the changeset viewer.