wsuchinsky How do I cheat? Reputation: 0
Joined: 01 Sep 2016 Posts: 1
|
Posted: Thu Sep 01, 2016 12:24 pm Post subject: Lua Sockets UDP help |
|
|
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
|
|