| 
			
				|  | Cheat Engine The Official Site of Cheat Engine
 
 
 |  
 
	
		| View previous topic :: View next topic |  
		| Author | Message |  
		| mordax Expert Cheater
 
 ![]() Reputation: 1 
 Joined: 16 Apr 2010
 Posts: 138
 
 
 | 
			
				|  Posted: Tue Jun 18, 2024 2:54 am    Post subject: d3d hook overlay drawing doesn't work |   |  
				| 
 |  
				| Hiya. i'm trying to figure out how to use the direct 3d hook in cheat engine, but it doesn't seem to be working. i was able to enable it and used a test script, but nothing appears on my monitor nor in a game. i tried window and full screen modes. script executed without any errors, yet i see nothing.
 
 I'm not sure, but i think this is the latest script i tried with no success
 
 
  	  | Code: |  	  | d3dhook_initializeHook() 
 local screen_width = 3840
 local screen_height = 2160
 
 local font = createFont("Arial", 48, 400, false, false, false, false, 1, true)
 
 local text1 = d3dhook_createTextContainer(font, screen_width - 100, 50, "1")
 
 function updateText()
 d3dhook_textcontainer_setText(text1, "1")
 end
 
 local interval = 1000
 local timer = createTimer(nil, false)
 timer.Interval = interval
 timer.OnTimer = updateText
 timer.Enabled = true
 
 updateText()
 | 
 
 can anyone help me figure out why it isn't working? game is DX12 i think and i run geforce experience (if this is issue, then i need a bypass, because i need overlay working with geforce).
 
 right now i'm just trying to figure out why overlay doesn't work at all. i tried many different scripts, even some old script i found here on ce forums. i tried modifying things, but nothing seem to be working.
 
 it's not important right now, but my end goal is to be able to read a value from game's memory and display it on screen either as "bar" or raw value. I only mentioned it, because maybe someone knows a better way of doing that.
 
 are there any CE plugins that work better than the default d3d hook?
 Thanks.
 |  |  
		| Back to top |  |  
		|  |  
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Tue Jun 18, 2024 6:39 am    Post subject: |   |  
				| 
 |  
				| ce's d3d hook only works with dx9,10 and 11  . There's no dx12 support yet _________________
 
 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 |  |  
		|  |  
		| mordax Expert Cheater
 
 ![]() Reputation: 1 
 Joined: 16 Apr 2010
 Posts: 138
 
 
 | 
			
				|  Posted: Fri Jun 21, 2024 9:57 pm    Post subject: |   |  
				| 
 |  
				|  	  | Dark Byte wrote: |  	  | ce's d3d hook only works with dx9,10 and 11  . There's no dx12 support yet | 
 
 i see, thanks.
 but is it possible to make overlay with CE that is not depending on a game? it doesn't have to depend on game itself.
 
 maybe you know a different way of doing what i need.
 what i'm trying to do, is read value from a game and then display that value on screen. is there any other way of doing that?
 
 i'm thinking maybe autohotkey, so i use CE to read the value and autohotkey to display it, but i'd rather keep it all within CE.
 basically i'm doing this to learn and right now i want to write healthbar for a game that doesn't have it. it's one of those games where screen just goes red when you are injuried, but i want to make a healthbar. a simple value from 0 to 100 would do. i can ofcourse find it with CE and display it in cheat list, but I want it to show on top of game. It doesn't have to inject it into game at all.
 
 is there any other way of displaying a simple value on top of game when it's in full screen? thanks again.
 |  |  
		| Back to top |  |  
		|  |  
		|  |  
  
	| 
 
 | 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
 
 |  |