| View previous topic :: View next topic |
| Author |
Message |
hitmetwice Advanced Cheater
Reputation: 0
Joined: 20 Nov 2012 Posts: 63
|
Posted: Sun Apr 07, 2013 9:25 pm Post subject: Find addresses of events? |
|
|
It's about injection. How do I find the address for an event like shoot_my_gun.
(and how can I call it?)
|
|
| Back to top |
|
 |
Mohsen Advanced Cheater
Reputation: 1
Joined: 04 Apr 2013 Posts: 69 Location: PE
|
Posted: Sun Apr 07, 2013 11:53 pm Post subject: |
|
|
If you don't know ASM forget it; otherwise I shed some light for you to start with.
Think about what you want to find.
We know that every time we shoot the amoo is decreased, so for a first start find address of amoo; then set break point on any write to this address.
Go through ASM code and see if you can find it.
|
|
| Back to top |
|
 |
TsTg Master Cheater
Reputation: 5
Joined: 12 Dec 2012 Posts: 340 Location: Somewhere....
|
Posted: Mon Apr 08, 2013 12:13 am Post subject: |
|
|
Yes you can find where the ammo value decreases easily, but finding where the game Starts performing the 'Shoot' code (Like animation, recoil, ammo left, reload animation,....etc) is a bit complicated.
However, you can start with the handler of keyboard/mouse presses in the game (Use ollydbg for that), see what happens when the shoot key is pressed,...then start tracing code from there.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25830 Location: The netherlands
|
Posted: Mon Apr 08, 2013 3:01 am Post subject: |
|
|
If you can get dbvm and ultimap to work (hardware and os dependant) you could use that
Shoot your gun and tell it that the code you are looking has been executed
Walk around and jump and tell it the code has not been executed
Repeat a few times and you'll be left with code paths taken when you shoot your gun
You can then filter it to show only the branches that got called by a "call" to show only the functions
Tip: Run the game on a max of 50% of your cpu cores and let the rest deal with handling the eventlog (so the game won't run too slow)
Do that by setting the cpu affinity in the taskmanager
Tip2:A lot of people have more success launching dbvm using the 32bit ce version(after dbvm is loaded you can launch the 64bit ce if you like)
_________________
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
Last edited by Dark Byte on Mon Apr 08, 2013 3:19 am; edited 2 times in total |
|
| Back to top |
|
 |
Mohsen Advanced Cheater
Reputation: 1
Joined: 04 Apr 2013 Posts: 69 Location: PE
|
Posted: Mon Apr 08, 2013 3:13 am Post subject: |
|
|
Wooaahh
Never tried dbvm, thank you Dark. It's very useful.
|
|
| Back to top |
|
 |
|