From 1ffc46956da5dade9f62fd63a821b365ea891b66 Mon Sep 17 00:00:00 2001 From: TheUltiOne <118567564+warden161@users.noreply.github.com> Date: Wed, 4 Jan 2023 22:52:03 -0500 Subject: [PATCH 1/2] Update to SL 12.0 --- Scope.Client/API/Features/Client.cs | 11 ++++++----- Scope.Client/Scope.Client.csproj | 3 ++- Scope.Client/packages.config | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Scope.Client/API/Features/Client.cs b/Scope.Client/API/Features/Client.cs index 7bef3dd..dc897a1 100644 --- a/Scope.Client/API/Features/Client.cs +++ b/Scope.Client/API/Features/Client.cs @@ -279,12 +279,13 @@ private void OnReceivingData(ReceivingDataEventArgs dataEv) byte[] salt = new byte[32]; - QueryProcessor.Localplayer.Key = new UnhollowerBaseLib.Il2CppStructArray(default(IntPtr)); - QueryProcessor.Localplayer.CryptoManager.ExchangeRequested = true; + QueryProcessor queryProcessor = ReferenceHub.LocalHub.queryProcessor; + queryProcessor.Key = new UnhollowerBaseLib.Il2CppStructArray(default(IntPtr)); + queryProcessor.CryptoManager.ExchangeRequested = true; - QueryProcessor.Localplayer.CryptoManager.EncryptionKey = new UnhollowerBaseLib.Il2CppStructArray(default(IntPtr)); - QueryProcessor.Localplayer.Salt = salt; - QueryProcessor.Localplayer.ClientSalt = salt; + queryProcessor.CryptoManager.EncryptionKey = new UnhollowerBaseLib.Il2CppStructArray(default(IntPtr)); + queryProcessor.Salt = salt; + queryProcessor.ClientSalt = salt; TransmissionNetworkObject.SendData(TransmissionNetworkObject.GetSource(1, "Client connected successfully")); return; diff --git a/Scope.Client/Scope.Client.csproj b/Scope.Client/Scope.Client.csproj index fe2935c..b277fca 100644 --- a/Scope.Client/Scope.Client.csproj +++ b/Scope.Client/Scope.Client.csproj @@ -9,10 +9,11 @@ Properties Scope.Client Scope.Client - v4.7.2 + v4.8 9 512 true + true diff --git a/Scope.Client/packages.config b/Scope.Client/packages.config index 067b570..94ff929 100644 --- a/Scope.Client/packages.config +++ b/Scope.Client/packages.config @@ -1,7 +1,7 @@  - + From 3791931e2ff2ac5a35b8872fd52542d215089258 Mon Sep 17 00:00:00 2001 From: warden161 <118567564+warden161@users.noreply.github.com> Date: Wed, 4 Jan 2023 22:53:02 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a6905a2..c44337e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ -# Scope +# ScopeReborn SCP:SL Modding API and Client + +WIP +# Known Bugs +Cannot open console