Author Topic: Auto Chamber / Parry Hack  (Read 16816 times)

0 Members and 1 Guest are viewing this topic.

Troll

  • Online Villain
  • ***
  • Posts: 249
  • Look left -> Fool!
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #75 on: May 13, 2014, 06:56:47 pm »
Has anyone suggestions how to make the code work?
A wise man once said:

e^(i*pi) + 1 = 0

anderslise

  • Intentional Cheater
  • **
  • Posts: 38
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #76 on: May 13, 2014, 11:15:37 pm »
Has anyone suggestions how to make the code work?

I'm even having a bit of trouble understanding your code, but of course if anything comes to mind I'll let you know :p

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Re: Auto Chamber / Parry Hack
« Reply #77 on: May 14, 2014, 12:01:47 am »
Skip the CPP/Asm stuff to begin with and start easy with TMK or similar. Its a more robust solution if you aren't experienced with cpp, less things can go wrong.
Heckling is an art, and game hacking a science.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #78 on: May 14, 2014, 12:33:34 am »
Troll your not calling the code.

youve found the correct offsets but you need to

hook the game and call the routine mid function.

at the moment the codes just sitting there doing nothing, if you dont call it it will never execute.

eq.. jmp AutoChamber() or call AutoChamber() and ret

did a quick google and

Code: [Select]
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);
}


looking at the ^ code there it would be something like

SetupHook((warband exe etc +youroffset ),(DWORD)AutoChamber,5);

... your going to have to do some tutorials and do some language course's troll i think this is way over your head and is probably more confusing than helping but i thought id show you the way to go just incase you needed the push in the right direction, good luck.
« Last Edit: May 14, 2014, 12:48:14 am by MrMedic »
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

anderslise

  • Intentional Cheater
  • **
  • Posts: 38
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #79 on: May 14, 2014, 12:49:24 am »
Skip the CPP/Asm stuff to begin with and start easy with TMK or similar. Its a more robust solution if you aren't experienced with cpp, less things can go wrong.

Any alternatives to TMK? Won't run on W7.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #80 on: May 14, 2014, 12:51:20 am »
Skip the CPP/Asm stuff to begin with and start easy with TMK or similar. Its a more robust solution if you aren't experienced with cpp, less things can go wrong.

Any alternatives to TMK? Won't run on W7.

spiro , ollydbg , tsearch , cheatengine , artmoney

http://memoryhacking.com/feature.php

can codecave out of the box.

eg.

   Specify a code-cave address, or let Memory Hacking Software find or allocate one for you.
    Memory Hacking Software automatically adds the JMP to the code cave.
    Adding the JMP to the code cave causes some instructions in the original code to be overwritten, but these are automatically moved to the code cave too, with your choice to put them at the beginning or end.
    The JMP back to the original code is automatically added for you.
    Injections can be set to load automatically when a process is opened.

EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

anderslise

  • Intentional Cheater
  • **
  • Posts: 38
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #81 on: May 14, 2014, 12:56:50 am »
Skip the CPP/Asm stuff to begin with and start easy with TMK or similar. Its a more robust solution if you aren't experienced with cpp, less things can go wrong.

Any alternatives to TMK? Won't run on W7.

spiro , ollydbg , tsearch , cheatengine , artmoney

http://memoryhacking.com/feature.php

can codecave out of the box.

eg.

   Specify a code-cave address, or let Memory Hacking Software find or allocate one for you.
    Memory Hacking Software automatically adds the JMP to the code cave.
    Adding the JMP to the code cave causes some instructions in the original code to be overwritten, but these are automatically moved to the code cave too, with your choice to put them at the beginning or end.
    The JMP back to the original code is automatically added for you.
    Injections can be set to load automatically when a process is opened.



Thanks. Gonna play around with this for a 'lil :)

Troll

  • Online Villain
  • ***
  • Posts: 249
  • Look left -> Fool!
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #82 on: May 14, 2014, 01:25:44 am »
Have 3 questions

   1. BYTE Buffer[10]; -what does it exactly do and why  10?


   2. memset(Buffer,0x90,10); - 0x90 ?


   3. Buffer[0] = 0xE9; - 0xE9

I think you are right. This is a bit to hard for me. But I thaught I was so close to this hack... :icon_sad2

Ok so BYTE should be something like DWORD just in 8 bit style. But the ten?
« Last Edit: May 14, 2014, 01:37:35 am by Troll »
A wise man once said:

e^(i*pi) + 1 = 0

Troll

  • Online Villain
  • ***
  • Posts: 249
  • Look left -> Fool!
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #83 on: May 14, 2014, 01:32:58 am »
Quote
hook the game and call the routine mid function.

at the moment the codes just sitting there doing nothing, if you dont call it it will never execute.

eq.. jmp AutoChamber() or call AutoChamber() and ret

But I wrote call AutoChamber. Maybe it was on the wrong place. But in every other code the call is directly at the end of the code. And the under it is a ret.
A wise man once said:

e^(i*pi) + 1 = 0

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Re: Auto Chamber / Parry Hack
« Reply #84 on: May 14, 2014, 04:49:45 am »
It's hard for you because you rush right into the middle of the book, instead of starting from page one. ;)



Looks like a new TMK is needed, it's a lot of work though.

I think there's complete Delphi and/or C++ sourcecode either in posts or in the DL section. Inline asm is powerful, but a natural start would be to write opcodes. Then when you see the benefits you can proceed to make things more compliated.

I prefer Delphi for trainers because it's RAD-friendly. It's a bit like TMK once you have the code foundation.
« Last Edit: May 14, 2014, 05:02:26 am by M. O. »
Heckling is an art, and game hacking a science.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #85 on: May 14, 2014, 08:59:25 pm »
the point in which the code should be intercepted is directly related to the auto block function , find that , divert the code to your routine and you will have a working auto chamber with the code posted.

it also can be done 2 other ways but the method that i posted may be patched in a future update so use it if/while you can.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Troll

  • Online Villain
  • ***
  • Posts: 249
  • Look left -> Fool!
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #86 on: May 14, 2014, 09:37:28 pm »
I dobt want it to be released. Cuz it would be spoonfeeding. But I have no clue of that hook thingy. The hook code was so hard and that call jmp i dont know where exactly to write that.  :icon_sad2
A wise man once said:

e^(i*pi) + 1 = 0

centuri0n7

  • Poptart
  • *
  • Posts: 2
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #87 on: May 16, 2014, 11:29:24 am »
Interesting i need to make me one of these  :icon_teehee

Captain

  • Relentless Teamkiller
  • **
  • Posts: 68
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #88 on: May 16, 2014, 03:49:57 pm »
the point in which the code should be intercepted is directly related to the auto block function , find that , divert the code to your routine and you will have a working auto chamber with the code posted.

it also can be done 2 other ways but the method that i posted may be patched in a future update so use it if/while you can.

I don't think warband will be seeing any future patches after 1.158. They are concentrating on Bannerlord.
Best Warband player NA

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Auto Chamber / Parry Hack
« Reply #89 on: May 16, 2014, 04:07:22 pm »
I dobt want it to be released. Cuz it would be spoonfeeding. But I have no clue of that hook thingy. The hook code was so hard and that call jmp i dont know where exactly to write that.  :icon_sad2

ive released an auto chamber hack along with aimbot and some other things like slow motion etc  ,its in another thread with game killer in the title.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157