diff options
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."); |