diff options
| author | auth12 <[email protected]> | 2020-07-19 11:46:24 -0700 |
|---|---|---|
| committer | auth12 <[email protected]> | 2020-07-19 11:46:24 -0700 |
| commit | a4117f05f70fc20a05dc6b454db77447a0c8300b (patch) | |
| tree | f8eab7a7bae237ad697feecfae26b17bab91b16e /client/src/main.cpp | |
| parent | Added asmjit. (diff) | |
| parent | More placeholders and general plan. (diff) | |
| download | loader-a4117f05f70fc20a05dc6b454db77447a0c8300b.tar.xz loader-a4117f05f70fc20a05dc6b454db77447a0c8300b.zip | |
Merge branch 'master' into windows
Diffstat (limited to 'client/src/main.cpp')
| -rw-r--r-- | client/src/main.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/client/src/main.cpp b/client/src/main.cpp index 4a47e01..f67ecf1 100644 --- a/client/src/main.cpp +++ b/client/src/main.cpp @@ -2,7 +2,6 @@ #include "util/io.h" #include "client/client.h" #include "shellcode/shellcode.h" -#include "injection/mapper.h" int main(int argc, char* argv[]) { io::init(); @@ -75,12 +74,17 @@ int main(int argc, char* argv[]) { if (res == tcp::login_result::login_success) { client.state = tcp::client_state::logged_in; - - io::logger->info("logged in."); } } + if (id == tcp::packet_id::game_select) { + /*auto pe = nlohmann::json::parse(message); + + + client.read_stream(client.mapper_data.imports);*/ + } + if (id == tcp::packet_id::ban) { io::logger->error( "your computer is blacklisted, please contact a developer."); |