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 


Question about the generated trainers....

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Sat Nov 19, 2016 3:18 pm    Post subject: Question about the generated trainers.... Reply with quote

So I mostly make trainers using CE but something is wrong... every time I generate a trainer it comes out 2 times bigger then the one I made. Why?

Note: If there was some option for size then please tell me where it is because I probably missed it.



Why.jpg
 Description:
 Filesize:  188.85 KB
 Viewed:  7378 Time(s)

Why.jpg


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Nov 19, 2016 3:30 pm    Post subject: Reply with quote

not sure if it'll work, but try launching your trainer with the extra parameter of
Code:

DPIAWARE

_________________
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
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Sat Nov 19, 2016 3:42 pm    Post subject: Reply with quote

Dark Byte wrote:
not sure if it'll work, but try launching your trainer with the extra parameter of
Code:

DPIAWARE


ok will try that. I also had a question about the checkboxes. Sometimes... no most of the time when I make the trainer and then test it before generating everything works but after generating nothing works. What could cause that?

Also What do I do with the DPIAWARE? Idk where to put it.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Nov 19, 2016 3:49 pm    Post subject: Reply with quote

create a shortcut to your trainer, and then give it the parameter DPIAWARE in the shortcut

as for checkboxes, perhaps your table's lua script isn't the code that has been executing while you where testing.
e.g during testing you defined some functions, then edited them but never tested the lua script version, or accidentally removed it completely.
During the test you wouldn't notice, but on a restart with a fresh lua state, you would see it.
That's why I recommend first generating your trainer as a .CT and test that, and then save as a .exe (makes editing easier too)

_________________
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
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Nov 19, 2016 3:54 pm    Post subject: Reply with quote

So, generated exe trainers do not use DPIAWARE.


Maybe I'm wrong... but, try this:

1 launch CE, open settings window
2 uncheck "DPI Aware"
3 restart CE

4 open your project and redesign it, generate EXE trainer.

_________________
Back to top
View user's profile Send private message MSN Messenger
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Sat Nov 19, 2016 6:47 pm    Post subject: Reply with quote

mgr.inz.Player wrote:
So, generated exe trainers do not use DPIAWARE.


Maybe I'm wrong... but, try this:

1 launch CE, open settings window
2 uncheck "DPI Aware"
3 restart CE

4 open your project and redesign it, generate EXE trainer.


I figured out how to make it the size which its supposed to be. Its in Properties > Compatibility > Disable display scaling on high DPI settings.

Now I have another issue... I wrote this
rog9001 wrote:
Sometimes... no most of the time when I make the trainer and then test it before generating everything works but after generating nothing works. What could cause that?

I am still sticking to what I said. I did generate it as .CT and it works with the lua script but when I generate it as .exe nothing works and I know that it doesn't work because when i enable a Checkbox the trainer should freeze for a sec because of the LaunchMonoDataCollector() line but it doesn't and also nothing changes on screen.
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Nov 19, 2016 7:09 pm    Post subject: Reply with quote

Quote:
Its in Properties > Compatibility > Disable display scaling on high DPI settings.

You changed it for final trainer EXE? OK. But if you release it, other people will get wrong size.
Just disable "DPI Aware" for CE, restart. It should generate forms which will have the same size in the final trainer.



Quote:
exe nothing works and I know that it doesn't work because when i enable a Checkbox the trainer should freeze for a sec because of the LaunchMonoDataCollector()

So, it is not "nothing works" case. It is "Mono Features" does not work.

You didn't add necessary files.


Edit: and add autorun\forms\MonoDataCollector.frm
(missing in above picture)

_________________


Last edited by mgr.inz.Player on Sat Nov 19, 2016 7:16 pm; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Nov 19, 2016 7:11 pm    Post subject: Reply with quote

ah, did you add the mono files to your trainer in the correct paths ?

autorun\monoscript.lua
autorun\forms\MonoDataCollector.frm
autorun\dlls\MonoDataCollector32.dll
autorun\dlls\MonoDataCollector64.dll (pick one you need)

_________________
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
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Sat Nov 19, 2016 7:13 pm    Post subject: Reply with quote

Thanks for telling me DarkBytes and mgr.inz.Player

lol Laughing Laughing Laughing Laughing Laughing didn't know you had to add them Razz
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Nov 19, 2016 7:22 pm    Post subject: Reply with quote

Did you setup the proper relative folder paths as well ?

add
Code:

print("You can use this to issue lua commands")

to your table lua script

then see if you can figure out what goes wrong. (e.g getMainForm().show() but it will look weird)

_________________
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
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Sat Nov 19, 2016 7:31 pm    Post subject: Reply with quote

Dark Byte wrote:
Did you setup the proper relative folder paths as well ?

add
Code:

print("You can use this to issue lua commands")

to your table lua script

then see if you can figure out what goes wrong. (e.g getMainForm().show() but it will look weird)


It works fine after adding the files.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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