Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Fix CTRL Freeze multiples cuentas  (Visto 9555 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline becoloko #20 Posteado: October 28, 2019, 10:27:39 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 42
  • Gracias recibida: 12
  • br
Controller   gController;
// ----------------------------------------------------------------------------------------------

void __declspec(naked) iconHook()
{
   static DWORD dwIcon = (DWORD)LoadIcon(gController.Instance, MAKEINTRESOURCE(IDI_ICON1));///chuckhai icoi
   static DWORD dwJmp = 0x004D0E3C;

   _asm
   {
      MOV EAX, dwIcon
      JMP dwJmp
   }
}
bool Controller::Load()
{
   this->VKF9_State = 0;
   if( !this->MouseHook )
   {
      this->MouseHook = SetWindowsHookEx(WH_MOUSE, this->Mouse, gController.Instance, GetCurrentThreadId());
      // ----
      if( !this->MouseHook )
      {
         return false;
      }
   }
   // ----
   if( !this->KeyboardHook )
   {
      this->KeyboardHook = SetWindowsHookEx(WH_KEYBOARD_LL, this->Keyboard, gController.Instance, NULL);
      // ----
      if( !this->KeyboardHook )
      {
         return false;
      }
   }
   //chuckhai icoi
   SetRange((LPVOID)0x004D0E2F, 13, ASM::NOP);
   
   SetOp((LPVOID)0x004D0E2F, iconHook, ASM::CALL);///icoi

   

   return true;
}
// ----------------------------------------------------------------------------------------------

LRESULT Controller::Mouse(int Code, WPARAM wParam, LPARAM lParam)
{
   if( GetForegroundWindow() != *(HWND*)(MAIN_WINDOW) )
   {
      return CallNextHookEx(gController.MouseHook, Code, wParam, lParam);
   }

   MOUSEHOOKSTRUCTEX * Mouse   = (MOUSEHOOKSTRUCTEX*)lParam;
   
   switch(wParam)
   {
      break;
      case WM_LBUTTONUP:
      case WM_LBUTTONDOWN:
      {
         if(GetForegroundWindow() == *(HWND*)(MAIN_WINDOW))
         {
            gController.ProcInterface(wParam);
            if (gNewInterface.EventAllWindow(wParam,Mouse) == true)
            {
               return 1;
            }
         }
      
         
      }
      break;
   }
   // ----
   return CallNextHookEx(gController.MouseHook, Code, wParam, lParam);
}
// ----------------------------------------------------------------------------------------------

LRESULT Controller::Keyboard(int Code, WPARAM wParam, LPARAM lParam)
{
   

   if (Code < 0) return CallNextHookEx(gController.KeyboardHook, Code, wParam, lParam);

   if( (Code == HC_ACTION) && (wParam == WM_KEYDOWN))
   {
      KBDLLHOOKSTRUCT Hook = *((KBDLLHOOKSTRUCT*)lParam);
      // ----
      if( GetForegroundWindow() == *(HWND*)(MAIN_WINDOW) )
      {
         if (gInterface.ControlTextBox(Hook))
         {
            return 1;
         }
      }
      // ----
      switch(Hook.vkCode)
      {
      
      case VK_F12:///chuckhai fix ctr + f12 fullll
         {
            if( gTrayMode.TempWindowProc == NULL )
            {
               gTrayMode.TempWindowProc = SetWindowLong(*(HWND*)(MAIN_WINDOW), GWL_WNDPROC, (long)gController.Window);
            }
            // ----
            gTrayMode.SwitchState();
         }
         default:
         break;
         // --
      }
   }
   
   return (LRESULT)NULL;
}
///104e

¿Cómo uso tu código?
1.04.05?
///Controller.cpp
#include "Import.h"

if (GetForegroundWindow() != pGameWindow)
   {
      return CallNextHookEx(gController.KeyboardHook, Code, wParam, lParam);
   }


Todavía no puedo resolver mi problema, está dando error al agregar el código; /
Sigue siendo el mismo problema

Gracias:


Offline chuckhai #21 Posteado: October 28, 2019, 10:28:05 PM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 134
  • Gracias recibida: 1063
  • vn
Todavía no puedo resolver mi problema, está dando error al agregar el código; /

video ?????

Gracias:


Offline chuckhai #22 Posteado: October 28, 2019, 10:34:31 PM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 134
  • Gracias recibida: 1063
  • vn

Gracias:


Offline becoloko #23 Posteado: October 28, 2019, 10:46:59 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 42
  • Gracias recibida: 12
  • br

Offline repiolaa #24 Posteado: August 01, 2021, 04:39:37 AM | Modificado: September 21, 2021, 04:47:49 AM by repiolaa

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 238
  • Gracias recibida: 1735
  • ar

Gracias:


Offline T-LEGENDARY #25 Posteado: January 12, 2022, 09:26:39 AM

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 693
  • Gracias recibida: 8603
  • br
ctrl fix freeze , in 2 main open , not working in 1.04e .. @RinOv

Gracias:


Offline xiazaipw #26 Posteado: August 20, 2022, 05:30:13 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 65
  • Gracias recibida: 13
  • cn

Online Arazox #27 Posteado: September 17, 2022, 01:14:03 PM

  • 3D Maker
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 460
  • Gracias recibida: 3018
  • ve
Aqui dejo el codigo a remplazar para correjir el fix en la version 1.04.05

Pd: El codigo es limpio sin agregar ninguna funcion extra de teclas por lo cual para aquellos que tengan funciones extra simplemente usen este codigo base y agreguen lo restante.





Offline samsunggon #28 Posteado: September 18, 2022, 12:14:41 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 434
  • Gracias recibida: 1308
  • ph
Controller   gController;
// ----------------------------------------------------------------------------------------------

void __declspec(naked) iconHook()
{
   static DWORD dwIcon = (DWORD)LoadIcon(gController.Instance, MAKEINTRESOURCE(IDI_ICON1));///chuckhai icoi
   static DWORD dwJmp = 0x004D0E3C;

   _asm
   {
      MOV EAX, dwIcon
      JMP dwJmp
   }
}
bool Controller::Load()
{
   this->VKF9_State = 0;
   if( !this->MouseHook )
   {
      this->MouseHook = SetWindowsHookEx(WH_MOUSE, this->Mouse, gController.Instance, GetCurrentThreadId());
      // ----
      if( !this->MouseHook )
      {
         return false;
      }
   }
   // ----
   if( !this->KeyboardHook )
   {
      this->KeyboardHook = SetWindowsHookEx(WH_KEYBOARD_LL, this->Keyboard, gController.Instance, NULL);
      // ----
      if( !this->KeyboardHook )
      {
         return false;
      }
   }
   //chuckhai icoi
   SetRange((LPVOID)0x004D0E2F, 13, ASM::NOP);
   
   SetOp((LPVOID)0x004D0E2F, iconHook, ASM::CALL);///icoi

   

   return true;
}
// ----------------------------------------------------------------------------------------------

LRESULT Controller::Mouse(int Code, WPARAM wParam, LPARAM lParam)
{
   if( GetForegroundWindow() != *(HWND*)(MAIN_WINDOW) )
   {
      return CallNextHookEx(gController.MouseHook, Code, wParam, lParam);
   }

   MOUSEHOOKSTRUCTEX * Mouse   = (MOUSEHOOKSTRUCTEX*)lParam;
   
   switch(wParam)
   {
      break;
      case WM_LBUTTONUP:
      case WM_LBUTTONDOWN:
      {
         if(GetForegroundWindow() == *(HWND*)(MAIN_WINDOW))
         {
            gController.ProcInterface(wParam);
            if (gNewInterface.EventAllWindow(wParam,Mouse) == true)
            {
               return 1;
            }
         }
      
         
      }
      break;
   }
   // ----
   return CallNextHookEx(gController.MouseHook, Code, wParam, lParam);
}
// ----------------------------------------------------------------------------------------------

LRESULT Controller::Keyboard(int Code, WPARAM wParam, LPARAM lParam)
{
   

   if (Code < 0) return CallNextHookEx(gController.KeyboardHook, Code, wParam, lParam);

   if( (Code == HC_ACTION) && (wParam == WM_KEYDOWN))
   {
      KBDLLHOOKSTRUCT Hook = *((KBDLLHOOKSTRUCT*)lParam);
      // ----
      if( GetForegroundWindow() == *(HWND*)(MAIN_WINDOW) )
      {
         if (gInterface.ControlTextBox(Hook))
         {
            return 1;
         }
      }
      // ----
      switch(Hook.vkCode)
      {
      
      case VK_F12:///chuckhai fix ctr + f12 fullll
         {
            if( gTrayMode.TempWindowProc == NULL )
            {
               gTrayMode.TempWindowProc = SetWindowLong(*(HWND*)(MAIN_WINDOW), GWL_WNDPROC, (long)gController.Window);
            }
            // ----
            gTrayMode.SwitchState();
         }
         default:
         break;
         // --
      }
   }
   
   return (LRESULT)NULL;
}
///104e

¿Cómo uso tu código?
1.04.05?
///Controller.cpp
#include "Import.h"

if (GetForegroundWindow() != pGameWindow)
   {
      return CallNextHookEx(gController.KeyboardHook, Code, wParam, lParam);
   }

thanks working in TAKUMI FILES :D


DISCORD: valentino1515

Gracias:


Offline fhengsho #29 Posteado: October 01, 2022, 07:22:47 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 12
  • Gracias recibida: 5
  • tw
this won't work in rox source update 9


Offline samsunggon #30 Posteado: November 14, 2022, 12:49:02 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 434
  • Gracias recibida: 1308
  • ph
this won't work in rox source update 9

yes not working in rox source update 9

im looking for help and pay for the fix :D


DISCORD: valentino1515


Offline stark98 #31 Posteado: November 14, 2022, 06:09:55 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 124
  • Gracias recibida: 1755
  • fr
this won't work in rox source update 9

yes not working in rox source update 9

im looking for help and pay for the fix :D

I have the fix
Contact me on skype:
sky.hack2

Be cool, and all will be ok))
Skype: sky.hack2
Discord: bonny9

Gracias:


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1001 Views
Last post July 09, 2020, 11:17:23 PM
by alivejr
1 Replies
1238 Views
Last post January 27, 2021, 05:40:19 AM
by mantios
11 Replies
3413 Views
Last post October 01, 2022, 11:01:25 AM
by fhengsho
7 Replies
1088 Views
Last post April 11, 2023, 08:53:28 PM
by bin9xhn2
27 Replies
1966 Views
Last post March 23, 2024, 03:07:13 PM
by gang