Page 1 of 1

Help, network issues

Posted: Mon Sep 14, 2015 7:04 pm
by Leap of Time
I I am trying to make a co-op version of my game, but I tried the example of the enet from here https://love2d.org/wiki/lua-enet, but when I copy and paste them (to do it as an localhost) and run them both at the same time, the client always gets an error: attempt to concatenate field `peer` (a userdata value)

Re: Help, network issues

Posted: Tue Sep 15, 2015 4:09 pm
by Leap of Time
can anyone help me?

Re: Help, network issues

Posted: Tue Sep 15, 2015 4:13 pm
by s-ol
Leap of Time wrote:can anyone help me?
its an error in the example really, just put tostring(peer) instead of peer wherever you try to concatenate (..) it with a string.