Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of git://github.com/faramir118/MangosClient

  • Loading branch information...
commit fc6a1992c80088deef2719b7dfaf972af1e226c8 2 parents 244bf66 + c759d45
@Machiavell1 Machiavell1 authored
Showing with 7 additions and 2 deletions.
  1. +6 −1 CLIClient/Program.cs
  2. +1 −1  Client/World/Network/WorldSocket.cs
View
7 CLIClient/Program.cs
@@ -1,4 +1,6 @@
-using Client.UI.CommandLine;
+using System;
+using System.Text;
+using Client.UI.CommandLine;
using Client.UI.CommandLine.Properties;
namespace Client
@@ -14,6 +16,9 @@ static void Main(string[] args)
var logLevel = Settings.Default.Loglevel;
var p = new Game<CommandLineUI>(hostname, port, username, password, logLevel);
+ Console.OutputEncoding = Encoding.UTF8;
+ Console.InputEncoding = Encoding.UTF8;
+
p.Start();
}
}
View
2  Client/World/Network/WorldSocket.cs
@@ -217,7 +217,7 @@ private void HandlePacket(InPacket packet)
if (AuthenticationCrypto.Status == AuthStatus.Ready)
// AuthenticationCrypto is ready, handle the packet asynchronously
- handler.BeginInvoke(packet, null, null);
+ handler.BeginInvoke(packet, result => handler.EndInvoke(result), null);
else
handler(packet);
}
Please sign in to comment.
Something went wrong with that request. Please try again.