TKC-Community

Hacking and Art => Mount and Blade => Topic started by: Troll on May 04, 2014, 03:09:11 am

Title: Auto Chamber / Parry Hack
Post by: Troll on May 04, 2014, 03:09:11 am
I'm a newb in modding and hacking  :icon_biggrin2 But I know a little bit and the best thing is: I know how to Google  :icon_laugh

So pls dont blame me.

Well I wanted to know if this is posible (as an .exe or else) for warband 1.158

One of the best Programmer and coder here, MrMedic, has posted sonething Like that a while ago but i didnt understood how to implent the c++ code ingame. (Thanks you MrMedic you are so good never stop coding)

Also my english is Bad sry I'm German :icon_blush  :icon_thumbsup
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 04, 2014, 03:45:00 pm
Any1?   :unsure
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 04, 2014, 11:01:28 pm
So, thanks to MrMedics nice code, I have a light in the dark:

Quote
__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

But I do not know how to implent it. I tried to paste it in Visual Basic c++ but got some Errors.
Title: Re: Auto Chamber / Parry Hack
Post by: Kalorexoc on May 05, 2014, 11:56:44 pm
yeah im having some problems with this as hell, as far as trying to hook it
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 06, 2014, 12:02:08 am
yeah im having some problems with this as hell, as far as trying to hook it

Yeah Im not the only one  :icon_biggrin2
Who else has problems with it?

Well the thing is that I unterstand the lines of that little snippet, but it's , as you said, hard to hook it.
Title: Re: Auto Chamber / Parry Hack
Post by: Captain on May 07, 2014, 07:34:28 pm
What to do with this code/ how to inject/ urn it into something easily workable. I am so conffuzzled... but with auochambe, noone shall beat me!
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 07, 2014, 09:31:05 pm
What to do with this code/ how to inject/ urn it into something easily workable. I am so conffuzzled... but with auochambe, noone shall beat me!

Yes thats the thingy. I know what it is (the code) but all of us don't know how to implent it. MrMedic said we should find it out by ourselves. But I dont know how to do that...
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 08, 2014, 12:57:52 am
Thing is if i tell you how to find what needs to be found , the 'anti-cheaters' around here will try and get it patched.

released this snippet to give the ones that want to learn a push in the correct direction.

edit a big clue this next part :
edx .. 0 1 2 3 .

Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 08, 2014, 01:20:22 am
Thing is if i tell you how to find what needs to be found , the 'anti-cheaters' around here will try and get it patched.

released this snippet to give the ones that want to learn a push in the correct direction.

edit a big clue this next part :
edx .. 0 1 2 3 .



Usually I love quizes cuz they are easy, but this one is a hard stone  :icon_biggrin2

Anderslise told me about this that you had problems with those stupid 'anti-cheaters' and I understand it now.

So as far as I know eax or edx is some Assmbler Registry in which you can store numbers.... and 0 1 2 3 are numbers  :icon_laugh

But how to use them...... Maybe with OllyDB ..... I dont know need to think about it  :icon_laugh
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 08, 2014, 10:41:29 am
OK so I tried to implent the code in cheat engine (with auto-assembler) but it keeps saying to me AttackDirection and AutoChamber_ret cant be implented.

Edit: I watched a Video and they said that pushad will write all the things that are associated with them (mov edx ...) to the first free lines of the memory. And popad will restore them. I just need to know which programm should I use to implent the c++ code.
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 08, 2014, 05:18:32 pm
Ok I can see you are trying..

Bloodshed dev c , visual studio express , masm , etc can all handle asm.

Basically this routine in laymen's terms does:

1: knows the enemy is attacking (or it would not be executed but instead skipped ) ,then stores the enemy's attack direction (in my location that i chose to name: attackdirection.. could of been anything instead of attackdirection it could of been anticheatersareallkidsthatgotdroppedontheirheadasasmallchild) (for another routine to read)

2: returns to the game ( jumps back to the location stored in AutoChamber_Ret the ret part at the end is short hand to me for return address )and the game continues..

-- -- -------------------------------------------------------------------

Another routine reads the attack direction of the enemy attack ( which was previously stored )

then sets my attack direction to the same as the attacker.

The result is ( the impossible ) an autochamber hack.

btw since posting the routine i have found a much simpler way

tip : push 06 no .. push 07 yes.

next part : anti guest size control in effect QUOTE TO READ.

 in theory there are always more than 1 way to accomplish the task, in this game what i am finding the more i dig deeper is it is quite badly coded ( programed )
.

for example:
 the other day i was testing something else and literally froze all the players in a server and i was not disconnected and to my amazement i could still move freely ...

inbetween i ran round and killed all the players ( they were all stood still ) i then changed what i had previously changed and the server gave me the points, i havent been able to reproduce this yet but i will im sure of it so there's another avenue for you to peruse.  :smile

i remember it being close to the autoblock routine , some routines around there will reproduce the effect and its probably linked to a bool which will be something like ismultiplay issingleplay so have a wander inside them routines and see if you can find it.

note: im starting to believe that 'its all server side' is complete bullshit to be truthful , its more likely to be a background thread backing up data and then restoring it.




Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 08, 2014, 07:29:48 pm
First I need to say something. I really like how you try to help others, even thoughits hard and there are many anti-cheaters out there.

Also read your ultra-tiny text   :icon_laugh

But I forgot to tell you something. I tried in visual c++ (visual studio) too and got the same error for trying to paste the code. Same again. AttackDirection and AutoChamber gave me those errors. Even though I renamed them to MaChick and MaSheep (dont ask me why i used them  :icon_laugh) gave me errors.

Edit: Maybe I did something wrong. As itryed in visual studio i tryed to create a dll (to inject it laer in cheat engine)
Title: Re: Auto Chamber / Parry Hack
Post by: Geriop on May 08, 2014, 07:31:58 pm
same problem :icon_cry2
Title: Re: Auto Chamber / Parry Hack
Post by: anderslise on May 08, 2014, 10:21:15 pm
I'm also trying (pretty slowly, but still) to understand this part by part and how to actually turn it into something useful.

I will spend most of my day tommorow (with breaks of course) trying to create and understand how an ESP hack works. (Not auto-chamber, but something I have wanted to do for a little while).

Not getting spoonfed .exe's have motivated me to learn. Thank you Medic  :icon_thumbsup
Title: Re: Auto Chamber / Parry Hack
Post by: Kalorexoc on May 08, 2014, 10:26:33 pm
First I need to say something. I really like how you try to help others, even thoughits hard and there are many anti-cheaters out there.

Also read your ultra-tiny text   :icon_laugh

But I forgot to tell you something. I tried in visual c++ (visual studio) too and got the same error for trying to paste the code. Same again. AttackDirection and AutoChamber gave me those errors. Even though I renamed them to MaChick and MaSheep (dont ask me why i used them  :icon_laugh) gave me errors.

Edit: Maybe I did something wrong. As itryed in visual studio i tryed to create a dll (to inject it laer in cheat engine)

He's one of the best, I used to love it when his hacks came out
Title: Re: Auto Chamber / Parry Hack
Post by: FriendsKnow on May 08, 2014, 10:40:26 pm
an Interesing topic
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 08, 2014, 10:41:28 pm
an Interesing topic

Yes I know  :icon_biggrin2
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 08, 2014, 11:02:25 pm
First I need to say something. I really like how you try to help others, even thoughits hard and there are many anti-cheaters out there.

Also read your ultra-tiny text   :icon_laugh

But I forgot to tell you something. I tried in visual c++ (visual studio) too and got the same error for trying to paste the code. Same again. AttackDirection and AutoChamber gave me those errors. Even though I renamed them to MaChick and MaSheep (dont ask me why i used them  :icon_laugh) gave me errors.

Edit: Maybe I did something wrong. As itryed in visual studio i tryed to create a dll (to inject it laer in cheat engine)

Ok so in Visual Studio 2008 Express I get the error named C2094 label not defined or something (for AutoChamber_ret and AttackDirection). I need to say that I first just copied the Code and pasted it. Nothing else. I just created a dll. And paste the code to main.cpp which i created as the code of the dll.
Title: Re: Auto Chamber / Parry Hack
Post by: anderslise on May 09, 2014, 04:22:40 pm
So I've been looking at some tutorials and things like that for inspirations and how-to's, but they're mostly all of them for other games and so I try implementing it into M&B, but I have had no success. How would I go about using olly to find some offsets? What do I attach to? I have so many questions, but nowhere to find answers.
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 10, 2014, 05:31:08 pm
Anyone has a solution? :unsure
Title: Re: Auto Chamber / Parry Hack
Post by: papadoo on May 10, 2014, 06:01:21 pm
wtf is this shit?
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 10, 2014, 06:19:08 pm
wtf is this shit?

I asked for solution, not for stupid comments.  :cluebat_new
Title: Re: Auto Chamber / Parry Hack
Post by: 2000hamza on May 10, 2014, 10:09:10 pm
lkşilk
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 10, 2014, 10:50:45 pm
lkşilk

What does this mean?  :icon_o_o
Title: Re: Auto Chamber / Parry Hack
Post by: M. O. on May 11, 2014, 01:50:32 am
The key to understanding is to know what you're doing at all times. ;)

The fundamental questions you need answered are how people make computer programs, how they make cheats, and how it all works. In order to make use of that code snippet you first have to know that.
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 11, 2014, 02:03:49 am
The key to understanding is to know what you're doing at all times. ;)

The fundamental questions you need answered are how people make computer programs, how they make cheats, and how it all works. In order to make use of that code snippet you first have to know that.


Well I know a Bit of programming. But thats the thing. It's just a Bit.

I personally wanted to make a dll of that snippet, to inject IT than in cheat engine. But as said those two variables Autochamber_ret and attackdirection aren't asm variables like edx or esp or whatever.

Those other things like the basics i can easily google myself.
Title: Re: Auto Chamber / Parry Hack
Post by: M. O. on May 11, 2014, 02:18:07 am
I'm trying to figure out how to explain, knowing the basics is a good start. However, to get anywhere with the snippet you have to know what it is and what you need to do to understand it.

The value of it is not the specific code itself, it's the idea. But, in fact you may not even have to know any programming to implement this. However, you absolutely have to know how to use memory scanners like Cheat Engine and programs like Trainer Maker Kit. A tool maker called L. Spiro had a promising project going on, but I never saw what came out of it:

http://memoryhacking.com/download.php

Could be worth a check, but Cheat Engine and TMK are definitely beginner friendly. That's the first step.

After that you need to know how to make a basic hack like Unlimited Ammo. It's a good exercise and is where everyone starts. Once you have managed to do that, you will know the answer to your question.





Title: Re: Auto Chamber / Parry Hack
Post by: anderslise on May 11, 2014, 03:07:42 am
Quote
mov edx,[esp+10] // direction of the enemy swing

Right now the big question on my mind is: "How did he find this?"

I tried messing around with Olly, but I didn't come any closer and I don't know what else I should use/do to reproduce this.
Title: Re: Auto Chamber / Parry Hack
Post by: M. O. on May 11, 2014, 03:58:02 am
Olly is good, but I would not start with it, but rather use the debugger in Cheat Engine.

You need to find an entry point by using a memory searcher. It pays off to think about it beforehand, because some approaches may be easier than others.

Programming experience is for sure good, because you get better understanding of eg how a swing can be coded and how information can be stored.


There is a game hacking archive in the DL section which includes everything anyone needs to get started and more. Cheat Engine has some kind of search/sieve tutorial/challenge which may be good to complete as well. Generally it's a prerequisite for this kind of hack. If someone can't do an unlimited ammo or complete the tutorials there, he won't be able to reproduce this hack.
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 11, 2014, 03:59:06 am
I'm trying to figure out how to explain, knowing the basics is a good start. However, to get anywhere with the snippet you have to know what it is and what you need to do to understand it...



So I have a question for you: did you made this hack running? And if yes, what programm did you use.

I read on the lspiro website and found out that it has a codecaving and code injection feature. It can also convert asm into machine language. I dont know if i understood this right but you said the snippet with attackDirection and autochamber_ret are an idea. But thats the important thing. I need to know how to convert the idea into a functional variable. And thats the big stone in my way.
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 11, 2014, 05:04:09 am
Troll...

Understand the basics first , you cant jump in and expect anyone to drop everything and teach you ..you have to put the effort in yourself just like we did.

do a c course it should take a couple of hours ,
http://www.learncpp.com/

spoon feeding does no good but on this occasion i will unravel the clue i gave away as it may kickstart you into learning.


0 1 2 3 is the enemy's attack direction and if edx doesnt equal -1 ( 0xffffffff ) then your being attacked.

02 = he is attacking with a swing from the right... now get to work.

start a server , put a bot on , when he attacks freeze the game , search for 2 if he is attacking with a right swing .. etc etc different numbers for the other directions.

when you find that you can very easily make an auto chamber hack.

example ..instead of auto blocking .. you auto attack because you now know from which direction the enemy is attacking you .... you then set your attack to the same as his and voila ..auto chamber ..

you follow what i am saying?
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 11, 2014, 11:48:45 am
Troll...

Understand the basics first , you cant jump in and expect anyone to drop everything and teach you ..you have to put the effort in yourself just like we did.....

Oh ma gash now I understand it. The rest i can try to figure out myself. 1000 thanks. Thanks for the link.

Btw.: nice new signatur  :icon_biggrin2
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 11, 2014, 12:37:09 pm
So now how about that: if i do it in assembly, i could write before that snippet "start:" and instead of jmp autochamber_ret i would write jmp start.

 And AttackDirection should be my attackdirection,  which is replaced with edx (the enemys attackdirection) ....now i understand.

So i could do the same as you described mrmedic. I could start the server, make a bot but instead i would try to find out my attackdirection.

And then i basicly write

mov dword ptr "whatifoundoutofmyattackdirection" ,edx

Question: is this jmp start possible or would it end in a loop
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 11, 2014, 06:14:35 pm
So now how about that: if i do it in assembly, i could write before that snippet "start:" and instead of jmp autochamber_ret i would write jmp start.

 And AttackDirection should be my attackdirection,  which is replaced with edx (the enemys attackdirection) ....now i understand.

So i could do the same as you described mrmedic. I could start the server, make a bot but instead i would try to find out my attackdirection.

And then i basicly write

mov dword ptr "whatifoundoutofmyattackdirection" ,edx

Question: is this jmp start possible or would it end in a loop

if you jump back to where you started then it will loop endlessly ( recursive ) normally you would jump to the next instruction or in certain cases ret to return to call that called the code.


http://www.tutorialspoint.com/assembly_programming/
Assembly programming with tutorial .

http://www.codeproject.com/Articles/20240/The-Beginners-Guide-to-Codecaves
code cave tutorial.



Title: Re: Auto Chamber / Parry Hack
Post by: SK04 on May 11, 2014, 09:50:05 pm
So, thanks to MrMedics nice code, I have a light in the dark:

Quote
__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

But I do not know how to implent it. I tried to paste it in Visual Basic c++ but got some Errors.

That's assembly, not C++.
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 11, 2014, 10:35:43 pm
So, thanks to MrMedics nice code, I have a light in the dark:

Quote
__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

But I do not know how to implent it. I tried to paste it in Visual Basic c++ but got some Errors.

That's assembly, not C++.

c++ with inline asm
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 11, 2014, 10:50:47 pm
So I can't find it because i have a problem:

0 = ?
1 = ?
2 = right swing
3 = ?
Title: Re: Auto Chamber / Parry Hack
Post by: M. O. on May 11, 2014, 10:57:56 pm
A powerful tool is to search/sieve for unknown variables. The fact that you know that right is 2 should speed things up.
Title: Re: Auto Chamber / Parry Hack
Post by: SK04 on May 11, 2014, 11:33:03 pm
So I can't find it because i have a problem:

0 = ?
1 = ?
2 = right swing
3 = ?

0 = top
1 = lunge
2 = right swing
3 = left

Note sure though, with some testing you should get it.
Title: Re: Auto Chamber / Parry Hack
Post by: DragonEmi on May 12, 2014, 08:40:28 am
So I can't find it because i have a problem:

0 = ?
1 = ?
2 = right swing
3 = ?

0 - down
1 - left
2 - right
3 - up
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 10:42:06 am
So i made a code in c++ with help of those two websites (thanks mrmedic) and it don't show up errors. It will just say that mb_warband has no debugginformation or something like that.

So I want someone of those high-master-coders to check it rather it will work or not or i forgot something or some tips.

But i am not sure if i should publish the code (guest)
Title: Re: Auto Chamber / Parry Hack
Post by: anderslise on May 12, 2014, 04:03:08 pm
So i made a code in c++ with help of those two websites (thanks mrmedic) and it don't show up errors. It will just say that mb_warband has no debugginformation or something like that.

So I want someone of those high-master-coders to check it rather it will work or not or i forgot something or some tips.

But i am not sure if i should publish the code (guest)

I was going to send you a message (for some reason I can't send or reply to any messages) about discussing the coding since we (as far as I understand) both don't have that much experience but are both willing to learn, but I guess I'll just have to keep "working like normal".
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 08:58:45 pm
So I can't find it because i have a problem:

0 = ?
1 = ?
2 = right swing
3 = ?

0 - down
1 - left
2 - right
3 - up

well done , you can use cheat engine..


(http://oi61.tinypic.com/30ijlfa.jpg)

have a nice day  :icon_laugh
Title: Re: Auto Chamber / Parry Hack
Post by: DragonEmi on May 12, 2014, 09:18:39 pm
I was 100% sure that this smartass will reply to my helpfull comment...

You said that you will ruin the game, that you will make hacks that I said that are impossible (like money hack) and many many more lies... Yep...it's pointless to talk to you.
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 09:28:03 pm
I was 100% sure that this smartass will reply to my helpfull comment...

You said that you will ruin the game, that you will make hacks that I said that are impossible (like money hack) and many many more lies... Yep...it's pointless to talk to you.

your anti cheat  :smile

(http://oi61.tinypic.com/30ijlfa.jpg)

problum fish .. how many game keys you offering me this time to stop hacking warband lel

pm me and we can discuss prices.

btw make sure you have a paypal account.
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 09:31:04 pm
I was 100% sure that this smartass will reply to my helpfull comment...

You said that you will ruin the game, that you will make hacks that I said that are impossible (like money hack) and many many more lies... Yep...it's pointless to talk to you.

stop it. MrMedic is a good coder. No need of insulting other people because they can code.
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 09:34:52 pm
I was 100% sure that this smartass will reply to my helpfull comment...

You said that you will ruin the game, that you will make hacks that I said that are impossible (like money hack) and many many more lies... Yep...it's pointless to talk to you.

stop it. MrMedic is a good coder. No need of insulting other people because they can code.

drainenergy has much love for us lol
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 09:36:19 pm
So my Code. It wont work however. Can someone tell me what I'm doing wrong. Worked hard for this (Even though its a piece of sh*beeb* code.

Quote
//this is the main.cpp used for the dll. I have no header file or etc. Just the main.cpp

#include <windows.h>
#include <TlHelp32.h>
#include <fcntl.h>
#include <stdio.h>
#include <io.h>


DWORD AttackDirection = -1; //since he wil start "attacking" with nothing (stand stil)
DWORD AutoChamberAddy = 0x004F6C27; //found this with the ebx 0 1 2 3 method. Clicked "what writes to the address
DWORD AutoChamber_Ret = 0x004F6C2B; //though my code is 4 lines, i decided to move on after 4 lines


//the basic code
__declspec(naked) void AutoChamber()
{
   __asm
   {

      pushad
            mov edx,[esp+10] // direction of the enemy swing
            mov dword ptr AttackDirection,edx // direction I will chamber (Attack Direction) is replaced with edx (enemys attack direction)
      popad

            mov edx,[esp+0x10] // restoration of enemy swing
         jmp AutoChamber_Ret //don't know if this works? :D

   }
}


Just to say, no exe just a dll injected with cheat engine (later tried than with winject). Shows that its succsesfully injected, but won't change anything, if i go to the memory view of this adress 004F6C27
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 09:37:48 pm
[Hidden post: You need reply to this topic to see it.]

So my Code. It wont work however. Can someone tell me what I'm doing wrong. Worked hard for this (Even though its a piece of sh*beeb* code.

Quote
//this is the main.cpp used for the dll. I have no header file or etc. Just the main.cpp

#include <windows.h>
#include <TlHelp32.h>
#include <fcntl.h>
#include <stdio.h>
#include <io.h>


DWORD AttackDirection = -1; //since he wil start "attacking" with nothing (stand stil)
DWORD AutoChamberAddy = 0x004F6C27; //found this with the ebx 0 1 2 3 method. Clicked "what writes to the address
DWORD AutoChamber_Ret = 0x004F6C2B; //though my code is 4 lines, i decided to move on after 4 lines


//the basic code
__declspec(naked) void AutoChamber()
{
   __asm
   {

      pushad
            mov edx,[esp+10] // direction of the enemy swing
            mov dword ptr AttackDirection,edx // direction I will chamber (Attack Direction) is replaced with edx (enemys attack direction)
      popad

            mov edx,[esp+0x10] // restoration of enemy swing
         jmp AutoChamber_Ret //don't know if this works? :D

   }
}


you need to intercept that adress and sent it to 'your' function ( hook the code to point to 'your' code )

your allmost there now
:icon_thumbsup well done  :icon_biggrin2
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 09:40:34 pm
But won't work :D
Title: Re: Auto Chamber / Parry Hack
Post by: DragonEmi on May 12, 2014, 09:40:48 pm
I won't offer you anything...because even if i'll give you real money, you still wouldn't stop...
You will see my powers when you will release your next hack....most of the players here will complain that they are banned from servers, etc... It's your move...it's your choice...


Edit: @troll I never said that he is not a good coder...i actually respecteD him a while ago, but I start hating him because most of the time he talk through one's hat.
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 09:41:23 pm
I won't offer you anything...because even if i'll give you real money, you still wouldn't stop...
You will see my powers when you will release your next hack....most of the players here will complain that they are banned from servers, etc... It's your move...it's your choice...
i told you all he was anticheat and now he has just proven it.  :smile
Title: Re: Auto Chamber / Parry Hack
Post by: DragonEmi on May 12, 2014, 09:44:06 pm
I won't offer you anything...because even if i'll give you real money, you still wouldn't stop...
You will see my powers when you will release your next hack....most of the players here will complain that they are banned from servers, etc... It's your move...it's your choice...

love you , you love me?  :icon_laugh

i told you all he was anti cheat lel i can spot them a mile away  :smile

Lier....my modified exe stayed up for more than 2 months...
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 09:45:16 pm
cry more it looks ace on the screenshots lol :icon_laugh
Title: Re: Auto Chamber / Parry Hack
Post by: DragonEmi on May 12, 2014, 09:46:15 pm
cry more it looks ace on the screenshots lol :icon_laugh

Just release one hack for warband and you will see...

btw I am not doing what you are doing (crying) :icon_laugh :icon_laugh
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 09:52:33 pm
Can someone tell me why this wont work?  :icon_rolleyes2
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 09:59:55 pm
Can someone tell me why this wont work?  :icon_rolleyes2

re read my post in reply to you
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 10:01:18 pm
cry more it looks ace on the screenshots lol :icon_laugh

Just release one hack for warband and you will see...

btw I am not doing what you are doing (crying) :icon_laugh :icon_laugh

lol im not crying , far from it , what im actually doing is trolling you ... why .. because i can .. why can i ? .. because your intellectually inferior to me.

you were born with it , accept it .. or if you wish to blame somebody then blame your parents.  :icon_laugh
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 10:03:11 pm
I know this will end in a locked topic  :icon_laugh :icon_laugh :icon_laugh :icon_laugh
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 10:07:52 pm
ahahah it allways does  :icon_laugh me v the haters/anti cheaters i allways win they allways fuck off lol

because im so good at game hacking i just sit and troll them knowing what i know and know they dont know what i know.

so their opinion doesn't matter but i enjoy the troll element so i reply to their inane drivel.

i have always got a hack , they haven't , that's what its all about , its a game hacking forum after all. :icon_laugh
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 10:15:22 pm
cry more it looks ace on the screenshots lol :icon_laugh

Just release one hack for warband and you will see...


what will i see... you getting upset fish?

why dont you go for a ride in your friends BENZ lel  :icon_laugh
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 10:28:14 pm
So now what if i write after "mov dword ptr AttackDirection,edx"
just
"call AutoChamberAddy".

Or am I thinking in the wrong direction?  :icon_teehee
Title: Re: Auto Chamber / Parry Hack
Post by: ZOldDude on May 12, 2014, 10:29:46 pm
what im actually doing is trolling you ...

(https://2.bp.blogspot.com/-WgfRH9zfkdY/Ub6mY65J3NI/AAAAAAAAX1M/C5FgqPLMNk8/s1600/shatner2.gif)
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on May 12, 2014, 10:38:05 pm
what im actually doing is trolling you ...

(https://2.bp.blogspot.com/-WgfRH9zfkdY/Ub6mY65J3NI/AAAAAAAAX1M/C5FgqPLMNk8/s1600/shatner2.gif)

"Twilight Zone" Nightmare at 20,000 Feet

remake was just as good

(http://img3.wikia.nocookie.net/__cb20121219005719/villains/images/5/5a/Twilight-zone-the-movie-gremlin.jpg)

https://www.youtube.com/watch?v=WNNy172zofk
full episode of me pwning drainenergy  :icon_laugh



Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 10:49:53 pm
Will this work?  :icon_biggrin2
Title: Re: Auto Chamber / Parry Hack
Post by: anderslise on May 12, 2014, 11:30:56 pm
Quote
DWORD AutoChamber_Ret = 0x004F6C2B; //though my code is 4 lines, i decided to move on after 4 lines

What is this address?
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 11:37:12 pm
Quote
DWORD AutoChamber_Ret = 0x004F6C2B; //though my code is 4 lines, i decided to move on after 4 lines

What is this address?

Well I thought if i have 4 lines of code, i will return 4 lines After the code. If i would jump back again to the First line of my code, i would get a loop. However my code wont work But mrmedic said i'm close to finish the code. But i have No clue what i should write to make it Hook at my found address.
Title: Re: Auto Chamber / Parry Hack
Post by: FriendsKnow on May 12, 2014, 11:42:59 pm
https://www.youtube.com/watch?v=KUlvcdii69o&feature=youtu.be
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 12, 2014, 11:46:42 pm
Instead of Posting Videos you Could help me...  :icon_thumbsup
Title: Re: Auto Chamber / Parry Hack
Post by: Kalorexoc on May 13, 2014, 12:15:14 am
this is too funny. He admits hes an anti-cheat..yet there is room for speculation...? LMAO what a tosser.
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 13, 2014, 12:21:26 am
Man i'm so close just don't know how to hook it...DA HECK... the call wont show up any errors. But is this the right  :icon_biggrin2 :icon_biggrin2 :icon_biggrin2
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 13, 2014, 12:58:36 am
So have overwritten my code :

Quote
//this is the main.cpp used for the dll. I have no header file or etc. Just the main.cpp

#include <windows.h>
#include <TlHelp32.h>
#include <fcntl.h>
#include <stdio.h>
#include <io.h>

#define FunctionCall 0x004F6C27

DWORD AttackDirection = 0x004DF76A; //same like the one under it "what writes to the address" this is my attack direction
DWORD AutoChamberAddy = 0x004F6C27; //found this with the ebx 0 1 2 3 method. Clicked "what writes to the address
DWORD AutoChamber_Ret = 0x004F6C2B; //though my code is 4 lines, i decided to move on after 4 lines
DWORD myfunc = FunctionCall;

//the basic code
__declspec(naked) void AutoChamber()
{
   __asm
   {
      call dword ptr [myfunc]; //maybe this will tell where to hook???
      pushad
            mov edx,[esp+10] // direction of the enemy swing
            mov dword ptr AttackDirection,edx // direction I will chamber (Attack Direction) is replaced with edx (enemys attack direction)
         call AutoChamberAddy //don't know why
      popad

            mov edx,[esp+0x10] // restoration of enemy swing
         jmp AutoChamber_Ret //don't know if this works? :D

   }
}

Title: Re: Auto Chamber / Parry Hack
Post by: feldmarschall on May 13, 2014, 01:38:19 am
https://www.youtube.com/watch?v=fLqDoz_W8VY This guy probably got autochamber long time ago or he is just super good.
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 13, 2014, 01:42:45 am
Stop Posting Videos about autochamber. Noone asked for them. You Could help developing thr code instead
Title: Re: Auto Chamber / Parry Hack
Post by: Geriop on May 13, 2014, 03:16:22 am
Looks good
Title: Re: Auto Chamber / Parry Hack
Post by: Troll on May 13, 2014, 06:56:47 pm
Has anyone suggestions how to make the code work?
Title: Re: Auto Chamber / Parry Hack
Post by: anderslise 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
Title: Re: Auto Chamber / Parry Hack
Post by: M. O. 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.
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic 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.
Title: Re: Auto Chamber / Parry Hack
Post by: anderslise 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.
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic 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.

Title: Re: Auto Chamber / Parry Hack
Post by: anderslise 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 :)
Title: Re: Auto Chamber / Parry Hack
Post by: Troll 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?
Title: Re: Auto Chamber / Parry Hack
Post by: Troll 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.
Title: Re: Auto Chamber / Parry Hack
Post by: M. O. 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.
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic 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.
Title: Re: Auto Chamber / Parry Hack
Post by: Troll 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
Title: Re: Auto Chamber / Parry Hack
Post by: centuri0n7 on May 16, 2014, 11:29:24 am
Interesting i need to make me one of these  :icon_teehee
Title: Re: Auto Chamber / Parry Hack
Post by: Captain 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.
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic 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.
Title: Re: Auto Chamber / Parry Hack
Post by: MrDarkblade on June 09, 2014, 10:18:05 am
:c cant find out how to inject it
Title: Re: Auto Chamber / Parry Hack
Post by: Mr_Turtle on June 09, 2014, 01:48:51 pm
very nice  :smile
Title: Re: Auto Chamber / Parry Hack
Post by: Worm on June 09, 2014, 02:13:41 pm
This code means nothing with no real offset.(Just saying so you guys won't get false hopes).
It's some simple inline asm.


The hooking is a simple jump routine and a retn.

0xE9 - Op code of a jump.
0x90 - > NOP.

First byte is the jmp type.
The next 4 is the address of the function.

Code: [Select]
jmp ourFunc
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on June 09, 2014, 07:14:17 pm
https://www.youtube.com/watch?v=2CY_NBSwcWg

C++ Mid Function Hooking/Codecaving Tutorial 
Title: Re: Auto Chamber / Parry Hack
Post by: Shyana on July 14, 2014, 10:56:07 am
What a hidden post?
Title: Re: Auto Chamber / Parry Hack
Post by: Tomtom17 on July 14, 2014, 06:29:53 pm
Something you cant see unless you have 10 posts  :icon_thumbsup
Title: Re: Auto Chamber / Parry Hack
Post by: AngryFriendly on July 23, 2014, 03:39:13 pm
Need 10 posts to see this download ?
Title: Re: Auto Chamber / Parry Hack
Post by: Tomtom17 on July 23, 2014, 04:21:18 pm
I'm sure there is no download, just a youtube link  :icon_rolleyes2
Title: Re: Auto Chamber / Parry Hack
Post by: AngryFriendly on July 23, 2014, 05:57:24 pm
I'm sure there is no download, just a youtube link  :icon_rolleyes2
uHH, SORRY, WAS HAVING few tabs open on this forum and made a reply in the wrong one.
Title: Re: Auto Chamber / Parry Hack
Post by: Klaviermann on July 25, 2014, 03:27:13 am
Good to see. #10posts
Title: Re: Auto Chamber / Parry Hack
Post by: bugrahan53 on August 01, 2014, 01:07:20 pm
Thanks
Title: Re: Auto Chamber / Parry Hack
Post by: Leban on October 03, 2014, 01:35:26 am
Thanks MrMedic
Title: Re: Auto Chamber / Parry Hack
Post by: Skyrim42 on January 24, 2015, 03:23:32 pm
 :icon_devil :icon_devil
Title: Re: Auto Chamber / Parry Hack
Post by: Drukalovisck on January 25, 2015, 05:03:38 pm
Cool
Title: Re: Auto Chamber / Parry Hack
Post by: callingback22 on January 25, 2015, 07:39:33 pm
I don't understand it that much.  :icon_magician
Title: Re: Auto Chamber / Parry Hack
Post by: sonica on January 25, 2015, 08:24:27 pm
very cool
Title: Re: Auto Chamber / Parry Hack
Post by: Ftort on January 25, 2015, 08:57:25 pm
So do you have a download for it or...
Title: Re: Auto Chamber / Parry Hack
Post by: Waxher on January 26, 2015, 11:09:59 am
wow
Title: Re: Auto Chamber / Parry Hack
Post by: xrow33 on January 27, 2015, 08:17:48 pm
wouuld be awesome to have for napoleonic dlc
Title: Re: Auto Chamber / Parry Hack
Post by: MrMedic on January 27, 2015, 09:15:42 pm
please stop pming me asking me for unlock keys i will post one when i decide to ,far too many to read and its making it difficult to keep in touch with people through pm.

there is a sticky , read it.

thanks.
Title: Re: Auto Chamber / Parry Hack
Post by: FriendsKnow on January 27, 2015, 10:13:22 pm
 :icon_laugh yeah fuck off spammers,You make all my incoming messages delayed   :icon_shifty
Title: Re: Auto Chamber / Parry Hack
Post by: callingback22 on January 31, 2015, 03:18:59 am
HOW ABOUT OYU FUCK OFF FRIENDS