| View previous topic :: View next topic |
| Author |
Message |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 174
|
Posted: Thu Jun 18, 2020 12:59 am Post subject: Is there a difference creating ESP for D3D9 and DDraw? |
|
|
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 |
|
 |
Csimbi I post too much
Reputation: 98
Joined: 14 Jul 2007 Posts: 3340
|
Posted: Thu Jun 18, 2020 3:43 am Post subject: |
|
|
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 |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 174
|
Posted: Thu Jun 18, 2020 8:21 am Post subject: |
|
|
Thank you.
Hmm that sounds like just an easy tweak? Or im in for a long ride? |
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 98
Joined: 14 Jul 2007 Posts: 3340
|
Posted: Fri Jun 19, 2020 5:26 am Post subject: |
|
|
| I think it's a different ride altogether (DDraw is an entirely different design from DX). |
|
| Back to top |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 174
|
Posted: Fri Jun 19, 2020 7:46 am Post subject: |
|
|
Ok i will have to dig in a deprecated API . Hopefully it will be easy. |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Jun 19, 2020 9:07 pm Post subject: |
|
|
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 |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 174
|
Posted: Sat Jun 20, 2020 11:52 am Post subject: |
|
|
| Thank you. But my game is a 2d RTS. Does it still use "surfaces"? |
|
| Back to top |
|
 |
Banjo Patterson Cheater
Reputation: 1
Joined: 15 May 2018 Posts: 36
|
Posted: Mon Jun 22, 2020 5:07 pm Post subject: |
|
|
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 |
|
 |
LongBeardedLion Expert Cheater
Reputation: 0
Joined: 10 Apr 2020 Posts: 174
|
Posted: Tue Jun 23, 2020 11:41 am Post subject: |
|
|
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 |
|
 |
Csimbi I post too much
Reputation: 98
Joined: 14 Jul 2007 Posts: 3340
|
Posted: Tue Jun 23, 2020 1:39 pm Post subject: |
|
|
| We do not support multiplayer hacking here. |
|
| Back to top |
|
 |
|