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 


Cheat Engine Forum Index
PostGo back to topic
Corroder
Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sun Apr 08, 2018 6:57 pm    Post subject:

DB example from a topic here.


script stored on a web host storage with name examplescript.lua:

Code:

print("Welcome to an example lua script hosted on the cheat engine website")
local f=createForm(false)
f.position=poScreenCenter
f.BorderStyle=bsNone
f.Color=0x000100
f.OnClose=function(f)
return caFree
end

local i=createImage(f)
i.align=alClient
local
int=getInternet()
local logostr=int.getURL("http://cheatengine.org/celogo.png")
int.destroy()
local ss=createStringStream(logostr)
i.Picture.LoadFromStream(ss)
ss.destroy()

i.transparent=true
i.stretch=true
i.OnMouseMove=function(s)
s.Parent.dragNow()
end

local b=createButton(f)
b.caption="Close"
b.AnchorSideLeft.Side=asrCenter
b.AnchorSideLeft.Control=f
b.AnchorSideBottom.Side=asrBottom
b.AnchorSideBottom.Control=f
b.Anchors="[akLeft, akBottom]"
b.OnClick=function (s)
b.Parent.close()
end

f.setLayeredAttributes(0x000100, 230, LWA_COLORKEY | LWA_ALPHA )
f.show()



To load and execute that code (examplescript.lua) above from your trainer :

Code:
int=getInternet()
s=int.getURL("http://cheatengine.org/examplescript.lua")
int.destroy()
load(s)()

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Post reviews:   Approve 1
Author Review
AylinCE
Review: Approve
Post reference:
ReviewPosted: Mon Apr 16, 2018 8:02 pm

Thanks Masters..
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites