Skip to content

Commit ba964b8

Browse files
committed
More rework
1 parent de9573d commit ba964b8

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

COAN/COAN.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
<Compile Include="GameDate.cs" />
8585
<Compile Include="Info.cs" />
8686
<Compile Include="Map.cs" />
87-
<Compile Include="Network\Network.cs" />
8887
<Compile Include="Enums\NetworkAction.cs" />
8988
<Compile Include="Network\NetworkClient.cs" />
9089
<Compile Include="Network\NetworkInputThread.cs" />

COAN/Network/Network.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

COAN/Network/NetworkClient.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,11 @@ public NetworkClient()
6363
public void Disconnect()
6464
{
6565
socket.Close();
66-
//mThread.Abort();
6766
}
6867

6968
public bool Connect(string hostname, int port, string password)
7069
{
71-
this.adminPassword = password;
70+
adminPassword = password;
7271
if (adminPassword.Length == 0 || hostname.Length == 0)
7372
{
7473
var errorMessage = "Can't connect with empty ";
@@ -86,9 +85,7 @@ public bool Connect(string hostname, int port, string password)
8685
MessageBox.Show(errorMessage);
8786
return false;
8887
}
89-
//this.adminHost = hostname;
90-
//this.adminPort = port;
91-
//
88+
9289

9390
try
9491
{
@@ -209,6 +206,7 @@ public void pollDate()
209206

210207
public void sendAdminJoin()
211208
{
209+
logger.Log(LogLevel.Trace, string.Format("sendAdminJoin - adminPassword: {0} | botName: {1} | botVersion: {2}", adminPassword, botName, botVersion));
212210
Packet p = new Packet(getSocket(), PacketType.ADMIN_PACKET_ADMIN_JOIN);
213211

214212
p.WriteString(adminPassword);

0 commit comments

Comments
 (0)