Exemplo n.º 1
0
 public void Start(String ip)
 {
     client.Start(ip);
     if (client.IsConnected())
     {
         Log.InGame("Connected to server");
         PacketSender.Active = true;
         PacketSender.Authenticate();
     }
     else
     {
         Log.InGame("Unable to connect to server");
     }
 }
 public void StartMultiplayer(String ipAddress)
 {
     client.Start(ipAddress);
     if (client.IsConnected())
     {
         PacketSender.Active = true;
         PacketSender.Authenticate();
         ClientLogger.IngameMessage("Connected to server");
     }
     else
     {
         ClientLogger.IngameMessage("Unable to connect to server");
     }
 }
Exemplo n.º 3
0
 private void StartMultiplayer(String ipAddress)
 {
     client.Start(ipAddress);
     PacketSender.Active = true;
     PacketSender.Authenticate();
 }