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 DIP address

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

Joined: 11 Sep 2012
Posts: 30
Location: Malaysia

PostPosted: Thu Jun 06, 2013 7:16 am    Post subject: find DIP address Reply with quote

how can I code a DIP address logger. I'm a noob, will appreciate alot for helpers
_________________
I'm not perfect , but i'm limited
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Thu Jun 06, 2013 8:42 am    Post subject: Reply with quote

I'm not sure how any of these can be logged
http://en.wikipedia.org/wiki/DIP

_________________
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
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Jun 06, 2013 8:51 am    Post subject: Reply with quote

I think he means DrawIndexPrimivite.

And if he is looking for a param logger to make chams and shit, there are a zillion of them on the net if he Googled first.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Thu Jun 06, 2013 8:59 am    Post subject: Reply with quote

Well, when 6.3 comes out he could use that as well
Hover the mouse over a 3d object he wishes to log and press the local snapshot key
Next frame the draw operations that cause pixels changes at the given coordinates will be logged, including a full stacktrace and the function that caused the draw, and optional static buffers of the gpu
I'm sure that can be used for something

_________________
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
View user's profile Send private message MSN Messenger
justintcs
Cheater
Reputation: 0

Joined: 11 Sep 2012
Posts: 30
Location: Malaysia

PostPosted: Thu Jun 06, 2013 4:33 pm    Post subject: Reply with quote

Dark Byte wrote:
Well, when 6.3 comes out he could use that as well
Hover the mouse over a 3d object he wishes to log and press the local snapshot key
Next frame the draw operations that cause pixels changes at the given coordinates will be logged, including a full stacktrace and the function that caused the draw, and optional static buffers of the gpu
I'm sure that can be used for something


OHHH MYY GODD!!, Dark Byte , Can I hug you HARDLY?? Seriously , your cheat engine is the best cheating tools for everyone. Thx alot for your hard working .Keep it up!! Very Happy

Wiccaan wrote:
I think he means DrawIndexPrimivite.

And if he is looking for a param logger to make chams and shit, there are a zillion of them on the net if he Googled first.


Yes, I did, that's why i'm here Rolling Eyes

_________________
I'm not perfect , but i'm limited
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Jun 06, 2013 6:20 pm    Post subject: Reply with quote

Dark Byte wrote:
Well, when 6.3 comes out he could use that as well
Hover the mouse over a 3d object he wishes to log and press the local snapshot key
Next frame the draw operations that cause pixels changes at the given coordinates will be logged, including a full stacktrace and the function that caused the draw, and optional static buffers of the gpu
I'm sure that can be used for something


Will this support Direct3D8?

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Thu Jun 06, 2013 6:51 pm    Post subject: Reply with quote

nope, only dx9, 10 and 11 for now
_________________
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
View user's profile Send private message MSN Messenger
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Thu Jun 06, 2013 6:56 pm    Post subject: Reply with quote

Are you trying to log all the functions that call DrawIndexedPrimitive or are you simply trying to get the address to DrawIndexedPrimitive?

From my experience there was once a case where I had to log every function that called DrawIndexedPrimitive and check every individual one to see which one drew the player on the game. I did that by doing an AOB scan for a common signature that any function which uses DrawIndexedPrimitive has.

If you're trying to find the address of DrawIndexedPrimitive, all you need to do is locate the virtual table of d3d9 and I believe the address of DIP was index 89.
Back to top
View user's profile Send private message MSN Messenger
justintcs
Cheater
Reputation: 0

Joined: 11 Sep 2012
Posts: 30
Location: Malaysia

PostPosted: Fri Jun 07, 2013 3:25 am    Post subject: Reply with quote

iPromise wrote:
Are you trying to log all the functions that call DrawIndexedPrimitive or are you simply trying to get the address to DrawIndexedPrimitive?

From my experience there was once a case where I had to log every function that called DrawIndexedPrimitive and check every individual one to see which one drew the player on the game. I did that by doing an AOB scan for a common signature that any function which uses DrawIndexedPrimitive has.

If you're trying to find the address of DrawIndexedPrimitive, all you need to do is locate the virtual table of d3d9 and I believe the address of DIP was index 89.


index 82 for d3d8/d3d9??
Code:
LPDIRECT3DDEVICE8 pDevice = *(LPDIRECT3DDEVICE8*)Pdeviceaddress;
how can I find Pdeviceaddress??
_________________
I'm not perfect , but i'm limited
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Jun 07, 2013 6:28 am    Post subject: Reply with quote

Offset is:
Direct3D8 = 71
Direct3D9 = 82

Getting the device pointer you can either aob scan for it, google for the well known pattern, or hook the device creation and store the pointer that way.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
justintcs
Cheater
Reputation: 0

Joined: 11 Sep 2012
Posts: 30
Location: Malaysia

PostPosted: Fri Jun 07, 2013 6:44 am    Post subject: Reply with quote

Wiccaan wrote:
Offset is:
Direct3D8 = 71
Direct3D9 = 82

Getting the device pointer you can either aob scan for it, google for the well known pattern, or hook the device creation and store the pointer that way.


Isit all the game have the same pattern? the game exe was packed , so I cant debug it and find for the address, can I cheat engine to find it, the result isit the same?

_________________
I'm not perfect , but i'm limited
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Jun 07, 2013 7:36 am    Post subject: Reply with quote

justintcs wrote:
Wiccaan wrote:
Offset is:
Direct3D8 = 71
Direct3D9 = 82

Getting the device pointer you can either aob scan for it, google for the well known pattern, or hook the device creation and store the pointer that way.


Isit all the game have the same pattern? the game exe was packed , so I cant debug it and find for the address, can I cheat engine to find it, the result isit the same?


The pattern is the same for every game, yes.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
justintcs
Cheater
Reputation: 0

Joined: 11 Sep 2012
Posts: 30
Location: Malaysia

PostPosted: Fri Jun 07, 2013 12:18 pm    Post subject: Reply with quote

Wiccaan wrote:
justintcs wrote:
Wiccaan wrote:
Offset is:
Direct3D8 = 71
Direct3D9 = 82

Getting the device pointer you can either aob scan for it, google for the well known pattern, or hook the device creation and store the pointer that way.


Isit all the game have the same pattern? the game exe was packed , so I cant debug it and find for the address, can I cheat engine to find it, the result isit the same?


The pattern is the same for every game, yes.


Can I know the address can be find by using dll??

_________________
I'm not perfect , but i'm limited
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Jun 07, 2013 7:38 pm    Post subject: Reply with quote

Yes you can scan for the pattern using one of many popular FindPattern methods.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
justintcs
Cheater
Reputation: 0

Joined: 11 Sep 2012
Posts: 30
Location: Malaysia

PostPosted: Sun Jun 09, 2013 5:53 am    Post subject: Reply with quote

Wiccaan wrote:
Yes you can scan for the pattern using one of many popular FindPattern methods.

Thx man!

_________________
I'm not perfect , but i'm limited
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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