From d1ec3d3bb3a87a08e1c9348ca6e482549ebde664 Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 2 Jan 2019 17:46:05 +1300 Subject: fixed bug and idk i really dont wanna work on this anymore holy fuck --- csgo-loader/csgo-server/Security/Encryption.cpp | 2 +- csgo-loader/csgo-server/Server.cpp | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'csgo-loader/csgo-server') diff --git a/csgo-loader/csgo-server/Security/Encryption.cpp b/csgo-loader/csgo-server/Security/Encryption.cpp index b42b4ab..e9195e5 100644 --- a/csgo-loader/csgo-server/Security/Encryption.cpp +++ b/csgo-loader/csgo-server/Security/Encryption.cpp @@ -570,7 +570,7 @@ namespace Wrapper { if(!CryptAcquireContextA(&m_CryptProvider, nullptr, nullptr, PROV_RSA_AES, CRYPT_NEWKEYSET)) { - printf("Failed to initialise encryption provider.\n"); + printf("[ E! ] Failed to initialise encryption provider (%08x).\n", GetLastError()); return; } } diff --git a/csgo-loader/csgo-server/Server.cpp b/csgo-loader/csgo-server/Server.cpp index eeeb2b3..580c17a 100644 --- a/csgo-loader/csgo-server/Server.cpp +++ b/csgo-loader/csgo-server/Server.cpp @@ -1,9 +1,6 @@ #include -void ConnectionHandler(Networking::TCPConnection &Connection) -{ - -} +void ConnectionHandler(Networking::TCPConnection &Connection) { } int __stdcall WinMain(HINSTANCE, HINSTANCE, char*, int) { @@ -26,7 +23,7 @@ int __stdcall WinMain(HINSTANCE, HINSTANCE, char*, int) } if(!Result) - printf("[ !! ] Failed to initialise server. (%08lx)\n", WSAGetLastError()); + printf("[ E! ] Failed to initialise server. (%08lx)\n", WSAGetLastError()); system("pause"); } \ No newline at end of file -- cgit v1.2.3