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 


Lua Sockets UDP help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
wsuchinsky
How do I cheat?
Reputation: 0

Joined: 01 Sep 2016
Posts: 1

PostPosted: Thu Sep 01, 2016 12:24 pm    Post subject: Lua Sockets UDP help Reply with quote

Hello there,

Let me preface by saying that I am very new to CE and have little experience with coding in general--

what I am trying to do is to pull a value from a specific address in a game and then transmit that address via UDP using Luasockets. Specifically, I want to see it on a timed interval via UDP localhost on port 7400.

I have gotten as far as installing luasocket and playing around with the example trainer that pulls the contents of example(dot)com

I've tried adding a timer with the code:

function CETimer1Timer(sender)
udp=socket.udp();
udp:setpeername("127.0.0.1",7400)
udp:send("hello world");
end


But in the program I have listening to that port, I get nothing.


Any advice would be (greatly!) appreciated, thanks in advance.


--edit--- I seem to have diagnosed the problem now, NM
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