| View previous topic :: View next topic |
| Author |
Message |
it-ty Newbie cheater
Reputation: 0
Joined: 05 Jun 2014 Posts: 22
|
Posted: Mon Mar 09, 2015 12:04 pm Post subject: menu d3d font over line |
|
|
Hi everyone I problem about make trainer d3d hook
menu d3d font over line
| Description: |
|
| Filesize: |
26.87 KB |
| Viewed: |
7758 Time(s) |

|
|
|
| Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 893
|
Posted: Mon Mar 09, 2015 12:49 pm Post subject: Re: menu d3d font over line |
|
|
| 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 |
|
 |
it-ty Newbie cheater
Reputation: 0
Joined: 05 Jun 2014 Posts: 22
|
Posted: Mon Mar 09, 2015 10:50 pm Post subject: Re: menu d3d font over line |
|
|
| 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
Do you have picture sample
|
|
| Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 893
|
Posted: Tue Mar 10, 2015 12:07 am Post subject: |
|
|
| 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 |
|
 |
Dark Byte Site Admin
Reputation: 473
Joined: 09 May 2003 Posts: 25901 Location: The netherlands
|
Posted: Tue Mar 10, 2015 4:54 am Post subject: |
|
|
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 |
|
 |
it-ty Newbie cheater
Reputation: 0
Joined: 05 Jun 2014 Posts: 22
|
Posted: Tue Mar 10, 2015 5:04 am Post subject: |
|
|
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 |
|
 |
it-ty Newbie cheater
Reputation: 0
Joined: 05 Jun 2014 Posts: 22
|
Posted: Wed Mar 11, 2015 1:41 am Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 473
Joined: 09 May 2003 Posts: 25901 Location: The netherlands
|
Posted: Wed Mar 11, 2015 5:16 am Post subject: |
|
|
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 |
|
 |
it-ty Newbie cheater
Reputation: 0
Joined: 05 Jun 2014 Posts: 22
|
Posted: Wed Mar 11, 2015 7:08 am Post subject: |
|
|
| 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
| Description: |
|
| Filesize: |
55.86 KB |
| Viewed: |
7601 Time(s) |

|
|
|
| Back to top |
|
 |
|