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 


Is there a difference creating ESP for D3D9 and DDraw?

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

Joined: 10 Apr 2020
Posts: 174

PostPosted: Thu Jun 18, 2020 12:59 am    Post subject: Is there a difference creating ESP for D3D9 and DDraw? Reply with quote

So im hacking the good old age of empires 2. And it uses DDraw.dll. Which according to wikipedia is a deprecated direct X used for 2d games.

I found many tutorials online on how to make ESP's with DirectX3D 9. But not a single one about DDraw.dll .

Are they any different? If yes, where can i learn how to do it on Ddraw.dll?
Perhaps most of the same rules apply to both, right?
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3340

PostPosted: Thu Jun 18, 2020 3:43 am    Post subject: Reply with quote

I have a faint recollection that DDraw is using sprites and canvases to draw (draw me this sprite at this position).
If that's true, you actually need to do your magic before the sprite is built.
Back to top
View user's profile Send private message
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 174

PostPosted: Thu Jun 18, 2020 8:21 am    Post subject: Reply with quote

Thank you.
Hmm that sounds like just an easy tweak? Or im in for a long ride?
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3340

PostPosted: Fri Jun 19, 2020 5:26 am    Post subject: Reply with quote

I think it's a different ride altogether (DDraw is an entirely different design from DX).
Back to top
View user's profile Send private message
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 174

PostPosted: Fri Jun 19, 2020 7:46 am    Post subject: Reply with quote

Ok i will have to dig in a deprecated API Sad. Hopefully it will be easy.
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 19, 2020 9:07 pm    Post subject: Reply with quote

DDraw uses surfaces and blitting to draw. You would need to hook the device and the creation of surfaces and draw after/over the surface is blitted.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 174

PostPosted: Sat Jun 20, 2020 11:52 am    Post subject: Reply with quote

Thank you. But my game is a 2d RTS. Does it still use "surfaces"?
Back to top
View user's profile Send private message
Banjo Patterson
Cheater
Reputation: 1

Joined: 15 May 2018
Posts: 36

PostPosted: Mon Jun 22, 2020 5:07 pm    Post subject: This post has 1 review(s) Reply with quote

Edited for breaking forum rules, sorry about that!

Last edited by Banjo Patterson on Tue Jun 23, 2020 7:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 174

PostPosted: Tue Jun 23, 2020 11:41 am    Post subject: Reply with quote

Thank you.
I have seen it before. But didnt gave it much attention until now.
From what i see he has the same issue as me with the desync problem.
I was able to do some simple things like calling function that changes stance. Changing my selected units. So far i was only able to do 2 hacks that dont desync, but most desync.
So if Rake of GH cant fix that desync problem, then its really demoralizing because i cant probably do it myself not in a million years if he cant.

Its very weird because im doing simple things like calling functions that are connected to keys. Like changing the stance. It is not supposed to desync.

For example. I tried going to the very root of a group of functions. Calling it. Injecting code to mimic all the registers. As if the key was being pressed. And it still desyncs. Its so sad. I could do great things if this didnt happen.

What do you think is the reason for that desync bug or how can i fix it?
Thank you
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3340

PostPosted: Tue Jun 23, 2020 1:39 pm    Post subject: Reply with quote

We do not support multiplayer hacking here.
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 Gamehacking 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