aboutsummaryrefslogtreecommitdiff
path: root/client/src/main.cpp
diff options
context:
space:
mode:
authorauth <[email protected]>2020-07-18 03:14:23 +0200
committerauth <[email protected]>2020-07-18 03:14:23 +0200
commit0a11963b4a510f212645c68fb92dd114ec2ce427 (patch)
tree9dc7c12f02e7096f7ea903882581b0bfd0b70373 /client/src/main.cpp
parentRefactoring. (diff)
downloadloader-0a11963b4a510f212645c68fb92dd114ec2ce427.tar.xz
loader-0a11963b4a510f212645c68fb92dd114ec2ce427.zip
More placeholders and general plan.
Diffstat (limited to 'client/src/main.cpp')
-rw-r--r--client/src/main.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/client/src/main.cpp b/client/src/main.cpp
index aac1c4f..4413a44 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.");