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 


if script is Changed Script no work?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Akiros
Newbie cheater
Reputation: 0

Joined: 11 Apr 2020
Posts: 24
Location: my house

PostPosted: Fri May 15, 2020 8:54 pm    Post subject: if script is Changed Script no work? Reply with quote

So I made a Trainer Builder But My Beta Tester Found a way to Remove My WaterMark But I Dont want people to remove my watermark.
So is There a way so that if My Script goes from
---------------------------------
f = CreateForm()
f.Caption = "Made By Akiro"
---------------------------------

To

---------------------------------
f = CreateForm()
f.Caption = "Made By carl"
---------------------------------
it will Automatically NOT Work?
or A Way to Make My WaterMark Unremovable?

_________________
help pls im noob Sad
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Fri May 15, 2020 11:44 pm    Post subject: Reply with quote

Example:

On Lua Cheat table:

Code:
getLuaEngine().cbShowOnPrint.Checked=false
getLuaEngine().hide()

myform = createForm()

function validate()
 local al = AddressList or getAddressList()
 local mr1 = al.getMemoryRecordByDescription("Validate")
 mr1.Active = true
end

validate()


On AA script:

Code:
{$lua}
if syntaxcheck then return end
[ENABLE]
function formCaptionValidate()
 local cap_url = "https://pastebin.com/raw/XzBzrJVv"  -- use other host that more secure
 local http = getInternet()
 local result = http.getURL(cap_url)
 print(result)
 myform.Caption = tostring(result)
 local form_cap = myform.Caption
  if form_cap ~= result then
     showMessage('Illegal action detected. You are try admit this trainer')
     t.enabled = false
     closeCE()
     return caFree
  end
 http.destroy()
end

t = createTimer()
t.interval = 500
t.OnTimer = formCaptionValidate
t.Enabled = true


{$asm}
assert(true)
[DISABLE]


Assign AA script to memory record table and give a description as 'Validate'.

Note:
This is very simple and easy to break and also I am not trying if the trainer saves as an executable file.
Also, you can encoding the script using CE encode function.

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

Joined: 02 Sep 2018
Posts: 101

PostPosted: Sat May 16, 2020 3:59 am    Post subject: Reply with quote

https://youtu.be/cdkx65sNNpk
_________________
hi
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sat May 16, 2020 7:07 am    Post subject: Reply with quote

exohaxor wrote:
https://youtu.be/cdkx65sNNpk


I just need to save 'formdata' / 'filedata' before it goes to hashing and saves as plain text then uses for another CE form.

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
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