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 


menu d3d font over line

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
it-ty
Newbie cheater
Reputation: 0

Joined: 05 Jun 2014
Posts: 22

PostPosted: Mon Mar 09, 2015 12:04 pm    Post subject: menu d3d font over line Reply with quote

Hi everyone I problem about make trainer d3d hook
menu d3d font over line



Untitled.jpg
 Description:
 Filesize:  26.87 KB
 Viewed:  7758 Time(s)

Untitled.jpg


Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Mon Mar 09, 2015 12:49 pm    Post subject: Re: menu d3d font over line Reply with quote

it-ty wrote:
Hi everyone I problem about make trainer d3d hook
menu d3d font over line


Try calling user32.invalidate rect on the region containing your text box before each time you call d3dhook_textcontainer_setText.

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
it-ty
Newbie cheater
Reputation: 0

Joined: 05 Jun 2014
Posts: 22

PostPosted: Mon Mar 09, 2015 10:50 pm    Post subject: Re: menu d3d font over line Reply with quote

justa_dude wrote:
it-ty wrote:
Hi everyone I problem about make trainer d3d hook
menu d3d font over line


Try calling user32.invalidate rect on the region containing your text box before each time you call d3dhook_textcontainer_setText.


I not understand Shocked
Do you have picture sample
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Tue Mar 10, 2015 12:07 am    Post subject: Reply with quote

Code:
push 1
push 0
push 0
call user32.invalidaterect


My assumption is that the text is garbled because each new string is just overwriting the last one. The window isn't repainting itself to clear the writing. Does the text become clear if you minimize the window and expand it again?

InvalidateRect is used to tell a window that it's dirty and needs to be repainted. This isn't necessary in most popular games, since they generally redraw the entire window with each frame of animation in order to reduce flickering.

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

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

PostPosted: Tue Mar 10, 2015 4:54 am    Post subject: Reply with quote

alternatively, are you setting the x and y coordinates properly?
_________________
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
it-ty
Newbie cheater
Reputation: 0

Joined: 05 Jun 2014
Posts: 22

PostPosted: Tue Mar 10, 2015 5:04 am    Post subject: Reply with quote

I make trainer from CE
no script Lua and edit from form CE


Last edited by it-ty on Wed Mar 11, 2015 1:54 am; edited 1 time in total
Back to top
View user's profile Send private message
it-ty
Newbie cheater
Reputation: 0

Joined: 05 Jun 2014
Posts: 22

PostPosted: Wed Mar 11, 2015 1:41 am    Post subject: Reply with quote

I understand
It is bug
if select Top left or Center. Text over line
But if select Top right,Bottom left or Bottom right, Ok d3d work


Last edited by it-ty on Wed Mar 11, 2015 10:44 pm; edited 2 times in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

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

PostPosted: Wed Mar 11, 2015 5:16 am    Post subject: Reply with quote

hmm, i thought i fixed that. What ce version do you use? 6.4?
_________________
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
it-ty
Newbie cheater
Reputation: 0

Joined: 05 Jun 2014
Posts: 22

PostPosted: Wed Mar 11, 2015 7:08 am    Post subject: Reply with quote

Dark Byte wrote:
hmm, i thought i fixed that. What ce version do you use? 6.4?


Yes. CE. 6.4 and
if select "Popup trainer on keypress" bug too
make .exe run trainer will error



Untitled1.jpg
 Description:
 Filesize:  55.86 KB
 Viewed:  7601 Time(s)

Untitled1.jpg


Back to top
View user's profile Send private message
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