Attempting to get Bungeecord Teleportation Functional
#19
The math.floor calls are necessary, Lua would round the numbers otherwise and thus breaking the format for example for length 255 (string.byte(255/256) == "\1" instead of the needed "\0"). This code should work for all string lengths up to 64K, which is the packet's maximum.
Reply
Thanks given by:


Messages In This Thread
RE: Attempting to get Bungeecord Teleportation Functional - by xoft - 10-25-2015, 06:57 AM



Users browsing this thread: 1 Guest(s)