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 


open html and edit and get result in lua [HELP]

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

Joined: 21 Jan 2019
Posts: 27

PostPosted: Sun Feb 03, 2019 1:37 pm    Post subject: open html and edit and get result in lua [HELP] Reply with quote

i want open html and open file and get results in lua
how?



asdf.png
 Description:
 Filesize:  3.19 KB
 Viewed:  9223 Time(s)

asdf.png


Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sun Feb 03, 2019 7:59 pm    Post subject: Reply with quote

You mean get data from a URL / Web

Code:
local url = "http://forum.cheatengine.org/download.php?id=119322"
local http = getInternet()
local file = http.getURL(url)
http.destroy()
print(file)

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

Joined: 21 Jan 2019
Posts: 27

PostPosted: Mon Feb 04, 2019 12:49 am    Post subject: Reply with quote

no i mean values
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Mon Feb 04, 2019 4:27 am    Post subject: Reply with quote

Quote:
no i mean values


ofcourse, whatever values or strings or variables you have store in a file / in a html page, then that mean (if I am not misunderstood) you want get that values and then use it as your current variable inside your lua script.

what a html file ?. On local disk or from a webpage ?

But nvm, I think I misunderstood already...

_________________
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