Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Find addresses of events?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
hitmetwice
Advanced Cheater
Reputation: 0

Joined: 20 Nov 2012
Posts: 63

PostPosted: Sun Apr 07, 2013 9:25 pm    Post subject: Find addresses of events? Reply with quote

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
View user's profile Send private message
Mohsen
Advanced Cheater
Reputation: 1

Joined: 04 Apr 2013
Posts: 69
Location: PE

PostPosted: Sun Apr 07, 2013 11:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Mon Apr 08, 2013 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25830
Location: The netherlands

PostPosted: Mon Apr 08, 2013 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Mohsen
Advanced Cheater
Reputation: 1

Joined: 04 Apr 2013
Posts: 69
Location: PE

PostPosted: Mon Apr 08, 2013 3:13 am    Post subject: Reply with quote

Wooaahh
Never tried dbvm, thank you Dark. It's very useful.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites