diff options
| author | boris <wzn@moneybot.cc> | 2018-11-28 16:00:02 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-11-28 16:00:02 +1300 |
| commit | 3d412a4b30a9f7c7f51ea6562e694315948bd3da (patch) | |
| tree | 26d67dfd1f3e5fd12903ad13e85d0cb8bcf8f21c /tf2/Source.cpp | |
| parent | e4729e4393d90271a3814c7a79950a660c48325a (diff) | |
cleaned up
in short, the cheat and loader are now separate solutions. unused stuff was moved into the legacy solution in case anyone wants to compile it or whatever.
i can change this back if you want to. also, i configured the loader to compile in x64, and have separate build types for linux and win64
Diffstat (limited to 'tf2/Source.cpp')
| -rw-r--r-- | tf2/Source.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/tf2/Source.cpp b/tf2/Source.cpp deleted file mode 100644 index 3bd44af..0000000 --- a/tf2/Source.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#pragma warning (disable:4018)
-
-#include <Windows.h>
-#include <iostream>
-
-#include "console.hpp"
-#include "interfaces.h"
-#include "search.h"
-#include "hooks.h"
-#include <thread>
-#include "base_cheat.h"
-
-HMODULE g_dll;
-
-void main_thread( HMODULE module ) {
-
- cl.initialize( );
-
-
-
- while ( !( GetAsyncKeyState( VK_END ) & 0x8000 ) ) {
- std::this_thread::sleep_for( std::chrono::milliseconds( 100 ) );
- }
-
-}
-
-bool __stdcall DllMain(
- _In_ HINSTANCE hinstDLL,
- _In_ DWORD fdwReason,
- _In_ LPVOID lpvReserved ) {
- if ( fdwReason == DLL_PROCESS_ATTACH /*&& ( uintptr_t )( lpvReserved ) == 20*/ ) { //nigga suck who dick?
- DisableThreadLibraryCalls( hinstDLL );
- g_dll = hinstDLL;
- // coca cola coca cola yayo bought me everything
-
- //no i did not dummy
-
- CreateThread( nullptr, 0, reinterpret_cast< LPTHREAD_START_ROUTINE >( main_thread ), hinstDLL, 0, nullptr );
- }
-
- return true;
-}
\ No newline at end of file |
