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 


[HELP] Cheatengine Trainer Process remains in background

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
ZxPwds
Advanced Cheater
Reputation: 0

Joined: 27 Oct 2015
Posts: 59

PostPosted: Tue Jun 22, 2021 8:37 pm    Post subject: [HELP] Cheatengine Trainer Process remains in background Reply with quote

Hello everybody I have a cheatengine trainer that for some strange reason remains in the background even when I close the application. I have recorded a small video demonstration of what I mean.

https://streamable.com/gvi351

Does anybody know why this is happening?

this is all the code i have

Code:
form_show(frmLoad)
frmLoad.centerScreen();

function CloseClick()
  closeCE()
  return caFree
end
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Tue Jun 22, 2021 9:48 pm    Post subject: Reply with quote

Without seeing the rest of your code it's a bit hard to tell specifically what it may be, but this can happen if you have other objects created that are still in-use/running, such as a thread/timer etc. that you haven't stopped and cleaned up first.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
ZxPwds
Advanced Cheater
Reputation: 0

Joined: 27 Oct 2015
Posts: 59

PostPosted: Wed Jun 23, 2021 12:27 am    Post subject: Reply with quote

atom0s wrote:
Without seeing the rest of your code it's a bit hard to tell specifically what it may be, but this can happen if you have other objects created that are still in-use/running, such as a thread/timer etc. that you haven't stopped and cleaned up first.




I just stripped all the code and it is still happening? any ideas?
I will post the .CT

I uploaded to mediafire because the file was larger then 8 bytes U_U

https://www.mediafire.com/file/cvocmkdxuait96v/myCt.CT/file
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Wed Jun 23, 2021 2:33 am    Post subject: Reply with quote

You didn't set your OnClose event for the form to your CloseClick function. So it's not being called/not doing anything.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
ZxPwds
Advanced Cheater
Reputation: 0

Joined: 27 Oct 2015
Posts: 59

PostPosted: Wed Jun 23, 2021 5:58 am    Post subject: Reply with quote

atom0s wrote:
You didn't set your OnClose event for the form to your CloseClick function. So it's not being called/not doing anything.


Once again atom0s, Thank you very much. Your great!


Love your x64dbg plugin by the way it's amazing.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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