Added login process to client
Doesn't work yet, gotta figure this out.
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Barotrauma.Networking
|
||||
else
|
||||
{
|
||||
nonceMsg.Write(true); //true = password
|
||||
nonceMsg.Write(unauthClient.Nonce); //here's nonce, encrypt with this
|
||||
nonceMsg.Write((Int32)unauthClient.Nonce); //here's nonce, encrypt with this
|
||||
}
|
||||
server.SendMessage(nonceMsg, conn, NetDeliveryMethod.Unreliable);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user