Author Topic: I had troubles :(  (Read 484 times)

0 Members and 1 Guest are viewing this topic.

Skyrim42

  • Cheater Apprentice
  • *
  • Posts: 12
    • View Profile
I had troubles :(
« on: February 09, 2015, 04:48:08 pm »
Hi I can help you I can not find the chamber and tricks :icon_sad2 :icon_sad2 Pls Help pls  :cry:
« Last Edit: February 09, 2015, 06:05:34 pm by Skyrim42 »

ZOldDude

  • The Unknown Rank!
  • Administrator
  • MasstKer
  • *
  • Posts: 20874
  • Old School TKC
    • View Profile
    • Admin
Re: I had troubles :(
« Reply #1 on: February 09, 2015, 10:56:58 pm »

*While we crash and burn, small, low tech, agrarian societies such as the Hmong in the mountains of Laos will continue on without so much as blinking an eye.*

Skyrim42

  • Cheater Apprentice
  • *
  • Posts: 12
    • View Profile
Re: I had troubles :(
« Reply #2 on: February 10, 2015, 03:36:02 pm »
http://tkc-community.net/forum/index.php?action=downloads
Chamber I found the code for the cheat code, but how do I do that I found them
    [code1]


    __declspec(naked) void AutoChamber()
    {
       __asm
       {

           // seeing as we are here he is in a attack and swinging
          pushad
                mov edx,[esp+10] // direction of the enemy swing.
                mov dword ptr AttackDirection,edx // direction my guy will chamber
          popad

                mov edx,[esp+0x10] // lets restore the old code and go back in to this game
                jmp AutoChamber_Ret // back to warband 1.158 meanwhile that 'other' routine is chambering in his swing direction

       }
    }

    // edited found a faster version

    [code2]


    void CopyBuffer(BYTE *Buffer, int Size, DWORD *Address)
    {
       DWORD pPrevious = 0;
       VirtualProtect(Address, Size, PAGE_EXECUTE_READWRITE, &pPrevious);
       memcpy(Address, Buffer, Size);
       VirtualProtect(Address, Size, pPrevious, &pPrevious);
    }
    //-- -----------------------
    void SetupHook(DWORD Function, DWORD Hook, int Size)
    {
       Hook = Hook - Function - 5;
       BYTE bHook[4];
       memcpy(bHook,(void*)&Hook,4);
       BYTE Buffer[10];
       memset(Buffer,0x90,10);
       Buffer[0] = 0xE9;
       Buffer[1] = bHook[0];
       Buffer[2] = bHook[1];
       Buffer[3] = bHook[2];
       Buffer[4] = bHook[3];
       CopyBuffer(Buffer, Size, (DWORD*)Function);
    }[/list]