|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Wed Dec 03, 2014 8:09 pm Post subject: SOLVED: Problems while creating a trainer with LUA script |
|
|
Hi all
Sometimes I need to create a trainer with no form/window. In the past, mgr inz player helped with this:
http://forum.cheatengine.org/viewtopic.php?p=5456658
In the current CE version, generated script don't have the LUA code form_show(), instead have CETrainer.show()
I tried to comment that line but the trainer still show the form. How can I make "invisible" trainers with the current CE version?
Thanks
==========================
EDIT: OMG I'm so retarded. the answer is at main.lua
Thanks anyway xD[/code]
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE
Last edited by aikoncwd on Wed Dec 03, 2014 8:20 pm; edited 1 time in total |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Wed Dec 03, 2014 8:19 pm Post subject: |
|
|
open the form designer and then execute
Code: |
formname.visible=false
|
then close the designer and save the trainer/table and the form will be invisible when loaded.
(This is because the visible property is now also saved, but since it's not an editable property in the property editor you can't set it there)
the ce svn already has this fixed
_________________
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
Last edited by Dark Byte on Wed Dec 03, 2014 8:21 pm; edited 1 time in total |
|
Back to top |
|
|
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Wed Dec 03, 2014 8:21 pm Post subject: |
|
|
Dark Byte wrote: | open the form designer and then execute
Code: |
formname.visible=false
|
save the trainer/table and the form will be invisible when loaded.
(This is because the visible property is now also saved, but since it's not an editable property in the property editor you can't set it there)
the ce svn already has this fixed |
Thanks I solved with CETrainer.hide() too
btw... when you generate a trainer "script", the SAVE AS menuclick don't work.
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Wed Dec 03, 2014 8:22 pm Post subject: |
|
|
it's a known bug. Just go to the main ce window and click save there (or file->save as)
_________________
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 |
|
|
chem0ne Cheater Reputation: 0
Joined: 19 Nov 2014 Posts: 33 Location: germany
|
Posted: Sun Dec 07, 2014 1:16 pm Post subject: GUI |
|
|
so before i open up a new thread...
hi @Dark Byte, @AikonCWD,
my question, are you active here? i've one or three questions about your knowledge to write a code in CE to make custom GUIs for trainers.
AikonCWD Trainer GUI example: /viewtopic.php?p=5445654&sid=c228f07ec591e02f2aa67aa0bc508161
i don't want all your assistance, but only some information to create a simple tiny dialog with my GUI.
special regards
_________________
|
|
Back to top |
|
|
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Sun Dec 07, 2014 9:13 pm Post subject: Re: GUI |
|
|
chem0ne wrote: | so before i open up a new thread...
hi @Dark Byte, @AikonCWD,
my question, are you active here? i've one or three questions about your knowledge to write a code in CE to make custom GUIs for trainers.
AikonCWD Trainer GUI example: /viewtopic.php?p=5445654&sid=c228f07ec591e02f2aa67aa0bc508161
i don't want all your assistance, but only some information to create a simple tiny dialog with my GUI.
special regards |
Hi bro, yes, I'm active and ready to help everyone ho wants learn. The trainer generator from CE is based on pure LUA scripting. I'm not an expert with LUA so I prefer to code a simple trainer with no gui/form/window and attach to a template/layout with Visual Basic.
Ask here or in a new thread and I will try to help u. If you want to see my "works"...
http://forum.cheatengine.org/viewtopic.php?t=561315 (rainbow background, music, moving windows, text scroller, NFO viewer...)
http://forum.cheatengine.org/viewtopic.php?p=5565611&sid=cc7c72ff6f662e2368a7735afbf5e206 (starfield, music, img effects, NFO viewer)
If you want more in-deep CE LUA trainers I recommend to speak with mgr.inz.player, he is a monster about LUA, CE and shit.
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
|
chem0ne Cheater Reputation: 0
Joined: 19 Nov 2014 Posts: 33 Location: germany
|
Posted: Mon Dec 08, 2014 1:37 pm Post subject: Re: GUI |
|
|
AikonCWD wrote: | chem0ne wrote: | so before i open up a new thread...
hi @Dark Byte, @AikonCWD,
my question, are you active here? i've one or three questions about your knowledge to write a code in CE to make custom GUIs for trainers.
AikonCWD Trainer GUI example: /viewtopic.php?p=5445654&sid=c228f07ec591e02f2aa67aa0bc508161
i don't want all your assistance, but only some information to create a simple tiny dialog with my GUI.
special regards |
Hi bro, yes, I'm active and ready to help everyone ho wants learn. The trainer generator from CE is based on pure LUA scripting. I'm not an expert with LUA so I prefer to code a simple trainer with no gui/form/window and attach to a template/layout with Visual Basic.
Ask here or in a new thread and I will try to help u. If you want to see my "works"...
(rainbow background, music, moving windows, text scroller, NFO viewer...)
(starfield, music, img effects, NFO viewer)
If you want more in-deep CE LUA trainers I recommend to speak with mgr.inz.player, he is a monster about LUA, CE and shit. |
hi @AikonCWD,
thanks! but i don't own VB6 or language.
if someone wants to see what i mean by small dialog:
picload . org / image/clrgcac/smallui.png
regards
_________________
|
|
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
|
|