View previous topic :: View next topic |
Author |
Message |
Thunder_Bird Cheater
Reputation: 0
Joined: 27 Apr 2018 Posts: 33 Location: pakistan
|
Posted: Sat Jun 08, 2019 6:24 pm Post subject: Cheatengine problem with file handling |
|
|
I am trying to make a tool that loads some files and write data to memory through them, used file handling for that. Everything works fine only if I generate trainer as .CETRAINER but when I generate as .exe it creates the files in temp folder which can be accessed through win+r>%temp%, and after I close the .exe those temp files gets removed, and when I use .CETRAINER format the files gets created in root directory permanently. This is not a problem until I dont want my trainer to be .exe format. Pilis help if I done anything wrong
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25801 Location: The netherlands
|
Posted: Sat Jun 08, 2019 11:19 pm Post subject: |
|
|
delete the files yourself when you're done with them.
The exe trainer deletes *.* but for cetrainer that"s not an option
_________________
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 |
|
 |
Thunder_Bird Cheater
Reputation: 0
Joined: 27 Apr 2018 Posts: 33 Location: pakistan
|
Posted: Sun Jun 09, 2019 1:02 am Post subject: |
|
|
Dark Byte wrote: | delete the files yourself when you're done with them.
The exe trainer deletes *.* but for cetrainer that"s not an option |
Actually, I want to keep those files with trainer in .exe, im making a teleport hack that stores 10 locations, I will be thank full to you if you provide me some solution for it,I mean anything that I can do yo stop .exe trainer from deleting those files, if not possible then its ok.
Thanks
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25801 Location: The netherlands
|
Posted: Sun Jun 09, 2019 1:21 am Post subject: |
|
|
extract your files to TrainerOrigin , not to the cheatengine dir
_________________
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 Sun Jun 09, 2019 4:18 am; edited 1 time in total |
|
Back to top |
|
 |
Thunder_Bird Cheater
Reputation: 0
Joined: 27 Apr 2018 Posts: 33 Location: pakistan
|
Posted: Sun Jun 09, 2019 1:52 am Post subject: |
|
|
Dark Byte wrote: | extract your files to trainerOrigin, not to the cheatengine dir | how to do that? I mean how can I change the extraction path?
Edit: Lol TrainerOrigin is a variable hhh
I was thinking something else
@Darkbyte, Thanks man it worked
Lock the and mark as solved if necessary
Last edited by Thunder_Bird on Sun Jun 09, 2019 4:19 am; edited 1 time in total |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25801 Location: The netherlands
|
Posted: Sun Jun 09, 2019 4:18 am Post subject: |
|
|
look at how you write your files.
look for getCheatEngineDir() and replace it with TrainerOrigin
_________________
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 |
|
 |
Thunder_Bird Cheater
Reputation: 0
Joined: 27 Apr 2018 Posts: 33 Location: pakistan
|
Posted: Sun Jun 09, 2019 4:20 am Post subject: |
|
|
Dark Byte wrote: | look at how you write your files.
look for getCheatEngineDir() and replace it with TrainerOrigin | once again thanks, solved.
|
|
Back to top |
|
 |
|