This is the code I wrote:
http://pastebin.com/LYX6YzA5
My method


The general problem I'm having is that as there are more in coming packets from different IP addresses, the Lua script needs to make more tables for each address and I can't know when to remove each table (in other words, when they have disconnected).
Is there any better way to sort the received packets from different addresses?
1× editiert, zuletzt 08.12.14 01:11:37