diff options
| author | boris <wzn@moneybot.cc> | 2019-01-02 17:46:05 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2019-01-02 17:46:05 +1300 |
| commit | d1ec3d3bb3a87a08e1c9348ca6e482549ebde664 (patch) | |
| tree | b1b4d86bdc9e9c83a02e2ad3258a61674421eb07 /csgo-loader/csgo-server | |
| parent | 16b4fd429ecaf259c4e2bd7307431f3c855812e8 (diff) | |
fixed bug and idk
i really dont wanna work on this anymore holy fuck
Diffstat (limited to 'csgo-loader/csgo-server')
| -rw-r--r-- | csgo-loader/csgo-server/Security/Encryption.cpp | 2 | ||||
| -rw-r--r-- | csgo-loader/csgo-server/Server.cpp | 7 |
2 files changed, 3 insertions, 6 deletions
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 <Server.hpp>
-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 |
