summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'csgo-loader/csgo-client/Client.cpp')
-rw-r--r--csgo-loader/csgo-client/Client.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/csgo-loader/csgo-client/Client.cpp b/csgo-loader/csgo-client/Client.cpp
index 3fc15fd..dc08da2 100644
--- a/csgo-loader/csgo-client/Client.cpp
+++ b/csgo-loader/csgo-client/Client.cpp
@@ -9,6 +9,8 @@
#define SERVER_IP 0xE53CA523 // Hexadecimal representation of the server IP, obtained by inet_addr()
#define SERVER_PORT 0xF2C // Hexadecimal representation of the server port.
+// hey nave just wanna let u know u r epic
+// yea
#if 0
void hhahahaha()
{
@@ -43,11 +45,18 @@ void hhahahaha()
}
#endif
-void OpenConsole()
+// is this loss/
+__forceinline void OpenConsole()
{
+#ifdef DEBUG
+ // ;ddDDDDdDDDd
AllocConsole();
+
+ // yo dude
+ // get this handles
FILE *file;
freopen_s(&file, "CONOUT$", "w", stdout);
+#endif // DEBUG
}
int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow)
@@ -77,7 +86,6 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow)
// Attempt to connect to the remote server.
if(!Client.Start(LOCAL_IP, SERVER_PORT))
ERROR_ASSERT("[000F:0002A000] Server did not accept the connection.");
-
// Allow the user to input their log-in data.
UserInterface->m_Data.m_ExecutionState = UserExperience::EXECUTION_LOG_IN;