View previous topic :: View next topic |
Author |
Message |
rog9001 Expert Cheater
Reputation: 2
Joined: 22 Dec 2015 Posts: 214 Location: Jupiter
|
Posted: Sat Nov 19, 2016 3:18 pm Post subject: Question about the generated trainers.... |
|
|
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.
Description: |
|
Filesize: |
188.85 KB |
Viewed: |
7378 Time(s) |

|
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25794 Location: The netherlands
|
Posted: Sat Nov 19, 2016 3:30 pm Post subject: |
|
|
not sure if it'll work, but try launching your trainer with the extra parameter of
_________________
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 |
|
 |
rog9001 Expert Cheater
Reputation: 2
Joined: 22 Dec 2015 Posts: 214 Location: Jupiter
|
Posted: Sat Nov 19, 2016 3:42 pm Post subject: |
|
|
Dark Byte wrote: | not sure if it'll work, but try launching your trainer with the extra parameter of
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25794 Location: The netherlands
|
Posted: Sat Nov 19, 2016 3:49 pm Post subject: |
|
|
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 |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Nov 19, 2016 3:54 pm Post subject: |
|
|
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 |
|
 |
rog9001 Expert Cheater
Reputation: 2
Joined: 22 Dec 2015 Posts: 214 Location: Jupiter
|
Posted: Sat Nov 19, 2016 6:47 pm Post subject: |
|
|
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 |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Nov 19, 2016 7:09 pm Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25794 Location: The netherlands
|
Posted: Sat Nov 19, 2016 7:11 pm Post subject: |
|
|
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 |
|
 |
rog9001 Expert Cheater
Reputation: 2
Joined: 22 Dec 2015 Posts: 214 Location: Jupiter
|
Posted: Sat Nov 19, 2016 7:13 pm Post subject: |
|
|
Thanks for telling me DarkBytes and mgr.inz.Player
lol didn't know you had to add them
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25794 Location: The netherlands
|
Posted: Sat Nov 19, 2016 7:22 pm Post subject: |
|
|
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 |
|
 |
rog9001 Expert Cheater
Reputation: 2
Joined: 22 Dec 2015 Posts: 214 Location: Jupiter
|
Posted: Sat Nov 19, 2016 7:31 pm Post subject: |
|
|
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 |
|
 |
|