From f845a21de8dc09d505a9e194a4066289ef4bcf7f Mon Sep 17 00:00:00 2001 From: juanjp600 Date: Thu, 1 Sep 2016 13:45:46 -0300 Subject: [PATCH] Fixed login process Time to get the lobby working --- NETCODE REWRITE DESIGN PLAN.html | 4 +- Subsurface/Source/Networking/GameClient.cs | 85 ++++++++++++------- Subsurface/Source/Networking/GameServer.cs | 6 +- .../Source/Networking/GameServerLogin.cs | 13 ++- 4 files changed, 68 insertions(+), 40 deletions(-) diff --git a/NETCODE REWRITE DESIGN PLAN.html b/NETCODE REWRITE DESIGN PLAN.html index e13b7e4ef..358f87832 100644 --- a/NETCODE REWRITE DESIGN PLAN.html +++ b/NETCODE REWRITE DESIGN PLAN.html @@ -17,6 +17,7 @@ body {
  • Hacking is really easy
  • Lag is really hard to hide
  • It'll eventually be unusable because of new stuff being added
  • +
  • Client and server shares code, requiring security checks on the server's side which are too easy to miss
  • Goals of rewrite

    How new netcode will work

    Authentication

    -Login encryption will be essentially the same as it is now. Hash of hashed password + nonce. +Login encryption consists of sending a hash of hashed password with the nonce appended.

    Authentication will be split into two steps: