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 


Asking about d3d hook

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
hack0535
Cheater
Reputation: 2

Joined: 16 Oct 2011
Posts: 28

PostPosted: Mon Jan 16, 2012 4:12 am    Post subject: Asking about d3d hook Reply with quote

i see different main.lua
i see d3d_hook

it is working??
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Jan 16, 2012 5:14 am    Post subject: Reply with quote

yes, for d3d9,10 and 11 games
It's main usage is for drawing images inside the game though

_________________
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
hack0535
Cheater
Reputation: 2

Joined: 16 Oct 2011
Posts: 28

PostPosted: Tue Jan 17, 2012 12:16 am    Post subject: Reply with quote

But how to use it

Can you give me some Examples plssss Sad
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Jan 17, 2012 12:45 am    Post subject: Reply with quote

It's not implemented in 6.1, it's an upcoming feature for 6.2

but here is an example: (if you have 6.2 and the game is compatible)
open the game and run this script
Code:

f=createForm()
i=createImage(f)


c=image_getCanvas(i)

pen=canvas_getPen(c)

pen_setColor(pen,0x00ff00)

canvas_setPenPosition(c,10,10)

canvas_lineTo(c,50,50)

h=d3dhook_initializeHook()
pict=image_getPicture(i)
oid=d3dhook_createOverlay(pict, -1,-1)


You will now have a black box with a green line in the center of the game

_________________
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
hack0535
Cheater
Reputation: 2

Joined: 16 Oct 2011
Posts: 28

PostPosted: Wed Jan 18, 2012 1:48 am    Post subject: Reply with quote

ahh If so when and where can I get

and why those others have to?
Back to top
View user's profile Send private message
happyreadygo
Advanced Cheater
Reputation: 1

Joined: 14 Sep 2011
Posts: 87

PostPosted: Wed Aug 08, 2012 2:07 am    Post subject: Reply with quote

Dark Byte wrote:
It's not implemented in 6.1, it's an upcoming feature for 6.2

but here is an example: (if you have 6.2 and the game is compatible)
open the game and run this script
Code:

f=createForm()
i=createImage(f)


c=image_getCanvas(i)

pen=canvas_getPen(c)

pen_setColor(pen,0x00ff00)

canvas_setPenPosition(c,10,10)

canvas_lineTo(c,50,50)

h=d3dhook_initializeHook()
pict=image_getPicture(i)
oid=d3dhook_createOverlay(pict, -1,-1)


You will now have a black box with a green line in the center of the game


how to run the script in game?

I try to put it in lua script cheat trainer , i shown in trainer ... but It was not in the game.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Aug 08, 2012 4:56 am    Post subject: Reply with quote

You don't, that is old code of a 6.2 alpha and the d3d stuff has been completely overhauled.

Check main.lua for the new api

Also, look at
http://forum.cheatengine.org/viewtopic.php?t=552281

and a bit more advanced:
http://forum.cheatengine.org/viewtopic.php?t=553143

_________________
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
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