 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
NVisible Cheater
Reputation: 0
Joined: 22 Dec 2012 Posts: 27
|
Posted: Wed Jul 03, 2013 1:23 pm Post subject: How to create Melee Range Hack |
|
|
Hey I was wondering what methods were used to find Melee range?
Another question... Lets say I found the pointer for Melee Attack as a byte... When ever I try to freeze it or change it, the game crashes every time. So I was wondering if it's possible to simulate a keypress while inside Auto Assemble for a "Auto Melee" script.
Thanx in advanced!
|
|
| Back to top |
|
 |
NVisible Cheater
Reputation: 0
Joined: 22 Dec 2012 Posts: 27
|
Posted: Wed Jul 17, 2013 1:37 pm Post subject: |
|
|
Sorry to bump... but I forgot to mention that this is more for a First Person Shooter (FPS) game.... I've tried this method so far.... I tried finding the axis points to other players and basically teleporting them to me/around me.
This made a small difference but is not really doing exactly what I'm trying to do. I did do a melee kill while doing this (with what I found from single player), but it doesnt seem to work all the time. I noticed that maybe it transports mostly my team to me.... So another method will be (while in multiplayer) finding the coords of the enemy. Does anyone have different methods than this?
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Jul 17, 2013 2:08 pm Post subject: |
|
|
Can't help with online games, but why are you focused on melee attack? I guess, depending on the game, each 'mass kill' approach will be different. For some games, I just write a code that will throw everyone in the air so that they fall to their death. However, I did write a code that could vac enemy players to my bullet coordinates...which could be really useful for a grenade or something.
Any actions that can be achieved by pressing a button on your keyboard or controller, can be automated with a script. Depending on how you want it done, this automation can be constant, have a timer, and/or only be performed in conjunction with another cheat etc.
|
|
| Back to top |
|
 |
NVisible Cheater
Reputation: 0
Joined: 22 Dec 2012 Posts: 27
|
Posted: Wed Jul 17, 2013 4:53 pm Post subject: |
|
|
| GNIREENIGNE wrote: | Can't help with online games, but why are you focused on melee attack? I guess, depending on the game, each 'mass kill' approach will be different. For some games, I just write a code that will throw everyone in the air so that they fall to their death. However, I did write a code that could vac enemy players to my bullet coordinates...which could be really useful for a grenade or something.
Any actions that can be achieved by pressing a button on your keyboard or controller, can be automated with a script. Depending on how you want it done, this automation can be constant, have a timer, and/or only be performed in conjunction with another cheat etc. |
ty for replying, everything I'm really doing is really for single player. I've been going thru concepts or methods of how to do things and trying to learn from game to game. But when it comes to melee attack distance or damage... I'm kinda stuck with no method on how to find it like a structure... structures are easy and are in most games. um... other than that, I have a static address, but it doesnt allow me to change it because it crashes. I was thinking of creating a keypress thats in auto assembler ... now sure how I could do that, but Say the key is "G" for melee....
I would look for 1 byte when holding, and 0 when not... it sends me into DirectInput dll I believe... but when I try to alter these addresses they have no effect in the game, OTHER THAN me not causing melee attack by keypress(while frozen). This is how far I got with this type of hack with a fps game without knowing a range constant variable.
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Jul 17, 2013 5:20 pm Post subject: |
|
|
Regarding structures, it's really hard to say. Every game is different. Some games have many different structures, and some games combine many things into fewer structures. Even if you found a structure for melee, it might not be the one you were hoping for. As far as how the melee works, that is also hard to say, as games handle these things differently. So, the question remains...what are you trying to do? Once you are sure about that, it will be easier for us to determine the best approach and methods.
Regarding hotkeys, these can be easily handled with Cheat Engine. If you want to use controller buttons, there are different methods, but I prefer to use the game's code with assembly because I am not proficient with LUA or the like. For this, you should not have to hook an external dll, you should be able to use the target process for everything. Do not search for 1, instead, search for changed/unchanged.
|
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Wed Jul 17, 2013 7:48 pm Post subject: |
|
|
| GNIREENIGNE wrote: | Can't help with online games, but why are you focused on melee attack? I guess, depending on the game, each 'mass kill' approach will be different. For some games, I just write a code that will throw everyone in the air so that they fall to their death. However, I did write a code that could vac enemy players to my bullet coordinates...which could be really useful for a grenade or something.
Any actions that can be achieved by pressing a button on your keyboard or controller, can be automated with a script. Depending on how you want it done, this automation can be constant, have a timer, and/or only be performed in conjunction with another cheat etc. |
Wait, how did you manage to vacuum enemies to bullets?
I mean, Im capable of vacuuming enemies to be frozen in front of my character, but never manage to vacuum bullets.
Do you mind tellin' me your steps?
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Jul 17, 2013 8:38 pm Post subject: |
|
|
DaSpamer-
The methods are similar; instead of vac to player coordinates, you vac to bullet coordinates. I used this method for the sleeping dogs trainer that I published.
If you have any specific questions, just ask.
EDIT: by the way, I originally had it vac'ing cars, so you can imagine shooting cars for bullets.
|
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Thu Jul 18, 2013 6:09 am Post subject: |
|
|
Yeah that's sounds cool, but how to actually get the bullet cords?
Don't they disappear in seconds?
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
NVisible Cheater
Reputation: 0
Joined: 22 Dec 2012 Posts: 27
|
Posted: Thu Jul 18, 2013 12:17 pm Post subject: |
|
|
| DaSpamer wrote: | Yeah that's sounds cool, but how to actually get the bullet cords?
Don't they disappear in seconds? |
That sounds kinda hard... I did happen to see some type of coords while in the weap struct and moving around/ shooting. I'm kinda wondering exactly how you would match those coords with where they are... because these values I find are not the same as the regular player coords.
About keypress in AA: I'll also try that method with the changed/unchanged value for keypress and see what I come up with (good tip thanx)
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Thu Jul 18, 2013 1:45 pm Post subject: |
|
|
| DaSpamer wrote: | Yeah that's sounds cool, but how to actually get the bullet cords?
Don't they disappear in seconds? | -No...in sleeping dogs, there is a set of addresses that seem to handle all bullet coordinates (which are the ones that I used). It's not ideal, but it works. After the bullet stops, the coordinates do not change until another bullet is fired. I'm sure other games would work similarly. I know that the values apply to the actual bullet, because if I turn on my vac cheat and shoot, I can shoot a large group of people down the street, or out in to the ocean etc. and watch them fly with the bullet.
I found the bullet coordinates by doing the following:
1. shoot at a wall
2. search for unknown initial value (float)
3. shoot higher on wall
4. search for increased value (bullet Y coordinate)
5. shoot higher on wall
6. search for increased value
7. shoot lower on wall
8. search for decreased value
9. repeat steps as needed
Eventually, you will find one of your three coordinate values, and you can add the other two manually. It's really very easy.
I suppose, if you wanted to do it the right way, you could use speed hack and search as the bullet is flying lower/higher in the air etc.
Last edited by ++METHOS on Thu Jul 18, 2013 1:53 pm; edited 1 time in total |
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Thu Jul 18, 2013 2:05 pm Post subject: |
|
|
| No matter what game you're playing, coordinates have to exist for the bullet...whether the bullet is actually flying from point A to point B, or the coordinates are just read from the cross hairs, or whatever...the game has to read that data somehow. If there isn't a set of addresses that handles all of your bullet coordinates, then there should be an instruction that handles them all. Finding an ID (or creating one), should not be difficult since we have speed hack.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|