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 


Delete the Secret Trainer!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Aylin
Master Cheater
Reputation: 5

Joined: 16 Feb 2017
Posts: 328

PostPosted: Thu Jan 10, 2019 1:41 pm    Post subject: Delete the Secret Trainer! Reply with quote

I made the opening command of the trainer with different programs.
VS-C#: Form.. Code:

Code:
System.IO.File.SetAttributes(@"Trainer1.CETRAINER", FileAttributes.Hidden); //Windows, Table top hidden icon, Trainer open!



The Trainer comes hidden on the table and opens up.

At the closing of the Trainer; I'm commanding the deletion of the trainer.

Code:
function CLoseClick(sender)
player_path1 = TrainerOrigin or getMainForm()
player_path1 = player_path1..'\\Trainer1.CETRAINER'
os.remove("Trainer1.CETRAINER")
end


But it doesn't work because it's hidden.

In closing; is there a way to turn privacy on?

Thanks in advance for the answer.

_________________
Hi Hitler Make a Youtube Web for Trainer
https://forum.cheatengine.org/viewtopic.php?t=609146
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message MSN Messenger
Corroder
Grandmaster Cheater
Reputation: 26

Joined: 10 Apr 2015
Posts: 914

PostPosted: Thu Jan 10, 2019 7:05 pm    Post subject: Reply with quote

Code:
function CLoseClick()
 player_path1 = TrainerOrigin or getMainForm()
 player_path1 = player_path1..'\\Trainer1.CETRAINER'
 shellExecute("attrib -h "..player_path1)
 os.remove("Trainer1.CETRAINER")
end

CLoseClick()


Why must make file attribute using external app ?.

Code:
shellExecute("attrib +h "..player_path1)  -- file attribute = hide

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Aylin
Master Cheater
Reputation: 5

Joined: 16 Feb 2017
Posts: 328

PostPosted: Thu Jan 10, 2019 7:41 pm    Post subject: Reply with quote

Quote:
Why must make file attribute using external app ?.



In Visual Studio, I have created an online site login form with C #.
This: Logging into an online site,
(CEF or another site)
If the entry is confirmed, the Trainer opens.
But the Trainer never goes down on the top of the desk.
It works completely confidential.
It appears only in "Task Manager" and
"Looking at File Path" shows the Cheat Engine Folder.
I'm going to shoot a video for start.
I also solved the problem with "VS-C #".
After entering the site, you will delete the Trainer from the top of the table.
And the Trainer will continue to work.


https://youtu.be/wrgoFF_1M7g?list=PL1yPHiegVpRoWx7jy6ecTqmbejos75O37&t=25

Change is good.. Smile

The input panel closes.
The Trainer opens.
Trainer Deleted from Table Top.
Trainer used, remains open.
C # Trainer erase code:

Code:
private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            byte[] myfile = Properties.Resources.Trainer1;
            //File.WriteAllBytes("Trainer1.CETRAINER", myfile);
            Process pross = new Process();
            pross.StartInfo.FileName = "Trainer1.CETRAINER";
            pross.Start();
           
            var filestream = new System.IO.FileStream(@"Trainer1.CETRAINER", System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.ReadWrite);
filestream.Close();
File.Delete(@"Trainer1.CETRAINER");
            this.Close();
        }

_________________
Hi Hitler Make a Youtube Web for Trainer
https://forum.cheatengine.org/viewtopic.php?t=609146
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message MSN Messenger
Corroder
Grandmaster Cheater
Reputation: 26

Joined: 10 Apr 2015
Posts: 914

PostPosted: Thu Jan 10, 2019 9:10 pm    Post subject: Reply with quote

Quote:
It appears only in "Task Manager" and
"Looking at File Path" shows the Cheat Engine Folder.


Reference to your youtube video, then it's easy to save CETrainer to local disk. Save it while trainer has opened. Embarassed Embarassed

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Aylin
Master Cheater
Reputation: 5

Joined: 16 Feb 2017
Posts: 328

PostPosted: Fri Jan 11, 2019 6:06 am    Post subject: Reply with quote

Quote:
Reference to your youtube video, then it's easy to save CETrainer to local disk. Save it while trainer has opened. Embarassed Embarassed


Final video:

https://youtu.be/8HT7aQKJOMk

_________________
Hi Hitler Make a Youtube Web for Trainer
https://forum.cheatengine.org/viewtopic.php?t=609146
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message MSN Messenger
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