| View previous topic :: View next topic |
| Author |
Message |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Wed Apr 16, 2008 9:05 pm Post subject: automatic scanning technique (question) |
|
|
I thought of a great idea for a dll but I'm trying to figure out how to do it. Basically I want to inject a dll into a process and then it automatically scans for the address being used (I'll explain). Ok, say you open up CE and MS and attach to MS. You then scan for your HP. You then lose some HP and scan for a changed value and keep doing that till you get an address. I was wondering how I could program a dll to automatically see that you're getting hit (for example) and then find the address where your HP is stored or w/e.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25871 Location: The netherlands
|
Posted: Thu Apr 17, 2008 6:53 am Post subject: |
|
|
well, if his dll doesn't look at the health address , but looks at the health indicater on the screen and then uses a OCR algorithm to read that value it should work
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Thu Apr 17, 2008 7:30 am Post subject: |
|
|
| Dark Byte wrote: | | well, if his dll doesn't look at the health address , but looks at the health indicater on the screen and then uses a OCR algorithm to read that value it should work |
Think that would be a little overboard to 'automatically' find something lol.
I don't play Maple, so I'm not sure how the memory is setup, but from what I've seen on various posts, everything has a pointer to it. With that, the pointer should contain code that can be used as a 'signature' to scan for via AoB scans which you can make a memory scanner to locate the AoB. I've released code to do it based on some things others have made in the past, as well as some others posting how to do it too.
Constantly scanning the screen to do an OCR method seems a bit overboard and in some cases would probably be a poor method to choose from due to lag and not being able to always scan for the exact image you need. Would be like pixel detection for certain colors and such.
_________________
- Retired. |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Apr 17, 2008 9:03 am Post subject: |
|
|
| Wiccaan wrote: | If the DLL can already determine you getting hit, whats the point of making it scan for anything? Your idea is kinda defeating itself with your logic of how you want it to work.
If anything, attempted to locate the health address by other means, possibly an array of bytes leading up to a pointer or something. Then you could scan for the AoB when the DLL is first injected and so on. |
Get what you're saying. Like to know that the person got hit it would have to know hte address getting called?
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
HalfPrime Grandmaster Cheater
Reputation: 0
Joined: 12 Mar 2008 Posts: 532 Location: Right there...On your monitor
|
Posted: Thu Apr 17, 2008 3:20 pm Post subject: |
|
|
Find HP addres once, right click > find what rights to this >
A find the pointer to HP
or B Add the code to the code list and right click > find what addresses this code writes to
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Thu Apr 17, 2008 4:17 pm Post subject: |
|
|
| HalfPrime wrote: | Find HP addres once, right click > find what rights to this >
A find the pointer to HP
or B Add the code to the code list and right click > find what addresses this code writes to |
Uh.. I'm pretty sure he knows how to use Cheat Engine, that wasn't the point of this thread.
_________________
- Retired. |
|
| Back to top |
|
 |
HalfPrime Grandmaster Cheater
Reputation: 0
Joined: 12 Mar 2008 Posts: 532 Location: Right there...On your monitor
|
Posted: Thu Apr 17, 2008 4:35 pm Post subject: |
|
|
Guess I don't know what he's asking for, then. =O
EDIT:
So, at the end, you want to just know what the HP addy is? And you want to do that via seeing what addy is being used when the HP changing line is called?
The only problem with that is that you'd need to know what that line is and to find that, you'd need to know what the addy for HP is.
You may be able to find that certain line with an AoB to make it dynamic. But I think the only way to find what value it's writing to (grabbing registers, etc) would be to attach to it.
|
|
| Back to top |
|
 |
|