View previous topic :: View next topic |
Author |
Message |
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Tue May 17, 2022 3:07 am Post subject: Override trainer form |
|
|
How to override form, when i use CETrainer = GenerateTrainerForm() it doesn't work
P.S.: GenerateTrainerForm() returns form
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1253
|
Posted: Tue May 17, 2022 9:46 am Post subject: |
|
|
_________________
|
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Tue May 17, 2022 10:58 am Post subject: |
|
|
it doesn't show window, when i overriding it
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1253
|
Posted: Tue May 17, 2022 11:51 am Post subject: |
|
|
Frouk wrote: | it doesn't show window, when i overriding it |
"Mind games!"
After all, isn't the goal to override (Destroy)?
Unpack the action you're trying to do a little more.
We can probably add different ideas for use.
EDIT :
The Instructor window will remain open and the controls will be lost or unusable;
Code: | for i = 0, CETrainer.ComponentCount - 1 do
--print(CETrainer.Component[i].Name)
obj=CETrainer.Component[i]
--obj.Visible=false -- or true
obj.Enabled=false -- or true
end |
_________________
|
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Wed May 18, 2022 12:23 am Post subject: |
|
|
Frouk wrote: | it doesn't show window, when i overriding it |
*mean that window doesn't showing in taskbar
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1253
|
Posted: Wed May 18, 2022 10:36 am Post subject: |
|
|
Frouk wrote: | Frouk wrote: | it doesn't show window, when i overriding it |
*mean that window doesn't showing in taskbar |
It asks for information about Window.
And you want about the icon.
And I think it would have made your job easier to explain all this in the first place.
Test the form's taskbar view.
(Note: You may not see results with CT format, try with CTrainer or exe.)
Code: | CETrainer.ShowInTaskBar=stAlways --icon visible true
CETrainer.ShowInTaskBar=stNever --icon visible false |
_________________
|
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Wed May 18, 2022 12:22 pm Post subject: |
|
|
it still doesn't show in taskbar even if i change ShowInTaskBar
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1253
|
Posted: Wed May 18, 2022 12:51 pm Post subject: |
|
|
Code: | CETrainer.ShowInTaskBar="stAlways" |
If it does not appear even though you use it this way;
A suggestion from @DB; Make sure it's not blocked by the antivirus.
Another suggestion; If you are using an icon, change it or try without the icon. (if not .exe)
_________________
|
|
Back to top |
|
|
|