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 


solved -How to print a Textfile (using luasocket) to a Memo?

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

Joined: 08 Aug 2012
Posts: 25

PostPosted: Wed Apr 02, 2014 12:50 pm    Post subject: solved -How to print a Textfile (using luasocket) to a Memo? Reply with quote

Hello Hitler,

i have a Textfile on in my Dropbox, which has this Content:
Code:
This is a testline

This is a next line
free
Fivth line...


and i want to print it out exactly as it is on the Memobox.
Its for a little Newswindow in my Trainer Smile

How to make this?

Cheers Keule


Last edited by Keule on Thu Apr 03, 2014 10:28 am; edited 2 times in total
Back to top
View user's profile Send private message
erfg1
Cheater
Reputation: 0

Joined: 14 Jul 2013
Posts: 49

PostPosted: Thu Apr 03, 2014 9:12 am    Post subject: Reply with quote

In what? C/C++/C#? I don't anything about cheat engine's trainer generator.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Apr 03, 2014 9:53 am    Post subject: Reply with quote

look up how to read text files in lua, and then pass that to the Text field of the Memo object (the memo handles multiline strings)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Keule
Cheater
Reputation: 0

Joined: 08 Aug 2012
Posts: 25

PostPosted: Thu Apr 03, 2014 10:26 am    Post subject: Reply with quote

Dark Byte wrote:
look up how to read text files in lua, and then pass that to the Text field of the Memo object (the memo handles multiline strings)


Okay it's fine by using this Smile :
Thx for supporting!

Code:
http = require("socket.http")
InfoText = http.request('http://dl.dropboxusercontent.com/blabla')
MemoInfo.Lines[0] = InfoText
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