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 


How to local file data scrip in lua ?

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

Joined: 27 Jul 2016
Posts: 78

PostPosted: Sat Oct 21, 2017 9:03 am    Post subject: How to local file data scrip in lua ? Reply with quote

I have an idea for this Very Happy
how to turn on a trainer it will run a link to file data hack save in a host ?
this, when i want to update hack new, i just update that scrip without having to trainer Very Happy
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 137

Joined: 25 Jan 2006
Posts: 7309
Location: 127.0.0.1

PostPosted: Sat Oct 21, 2017 9:50 pm    Post subject: Reply with quote

CE has built-in web handling via:

Code:

Internet class (Object)
global functions
  getInternet(string) - Returns an internet class object.  The string provided will be the name of the client provided

properties
  Header : string - the additional header to be sent with the next getURL request
methods
  getURL(path) - returns a string containing the contents of the url. nil on failure
  postURL(path, urlencodeddata) - posts the given data to the path and returns the results


You can see an example of downloading something here:
http://forum.cheatengine.org/viewtopic.php?p=5719240#5719240

Just point it to your personal Lua script vs. a png file, download it, and then execute the string you downloaded.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Sting9x
Advanced Cheater
Reputation: 0

Joined: 27 Jul 2016
Posts: 78

PostPosted: Sun Oct 22, 2017 1:31 am    Post subject: Reply with quote

atom0s wrote:
CE has built-in web handling via:

Code:

Internet class (Object)
global functions
  getInternet(string) - Returns an internet class object.  The string provided will be the name of the client provided

properties
  Header : string - the additional header to be sent with the next getURL request
methods
  getURL(path) - returns a string containing the contents of the url. nil on failure
  postURL(path, urlencodeddata) - posts the given data to the path and returns the results


You can see an example of downloading something here:
http://forum.cheatengine.org/viewtopic.php?p=5719240#5719240

Just point it to your personal Lua script vs. a png file, download it, and then execute the string you downloaded.

I followed your instructions, but it does not work as expected Sad
Hope you give me a concrete example Very Happy , tks
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 342

Joined: 09 May 2003
Posts: 20068
Location: The netherlands

PostPosted: Sun Oct 22, 2017 2:52 am    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?t=586784
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
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