diff options
| author | boris <wzn@moneybot.cc> | 2018-12-10 15:34:33 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-12-10 15:34:33 +1300 |
| commit | a25b6f6b11a3ae44d0c3b19ba8081a3d9eb1ac5f (patch) | |
| tree | 1aaddf834dd6c95c5fd685ec4be5269086df924a /loader/client/client_windows.cpp | |
| parent | dd9bbd12ef353f270d95ba733e1ef465d15d2b44 (diff) | |
removed loader 'tism
Diffstat (limited to 'loader/client/client_windows.cpp')
| -rw-r--r-- | loader/client/client_windows.cpp | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/loader/client/client_windows.cpp b/loader/client/client_windows.cpp index 9795e17..225b37f 100644 --- a/loader/client/client_windows.cpp +++ b/loader/client/client_windows.cpp @@ -35,30 +35,16 @@ 17. Call DLLMain with correct parameters (Included Base Addresses)
18. In cheat DLLMain set up base addresses and do cheat stuff.
*/
-
-// note below is just pseudo unprotected code...
-// will make not retarded soon.
int main( ) {
- // TEMPORARY, WE NEED TO ENCRYPT IP STRING SO WE DON'T HAVE DDOS NOOBS.
- // or we could do char address[] = { 127, 0, 0, 1 };
- std::string ip = "127.0.0.1";
- // std::cin >> ip;
-
- // okay now this is epic
- auto syscaller = std::make_unique<syscall::c_syscall_mgr>();
-
- if (!syscaller->start())
- return 3;
-
// START.
- //client::c_connect c( ip.c_str( ) );
- //if( !c.setup( ) )
- // return 1;
- //
- //if( !c.connect( ) )
- // return 2;
- //
- //c.handle( );
+ client::c_connect c( "127.0.0.1" );
+ if( !c.setup( ) )
+ return 1;
+
+ if( !c.connect( ) )
+ return 2;
+
+ c.handle( );
system( "pause" );
|
