-- local function checkPlayName( str ) -- str = Utils.utf8_to_unicode(str)-- local retStr = ""-- local num = 0-- local lenInByte = #str-- local x = 1 -- for i=1,lenInByte do-- i = x-- local curByte = string.byte(str, x)-- local byteCount = 1;--…
As we all know that long2ip works as ip1.ip2.ip3.ip4 (123.131.231.212) long ip => (ip1 * 256 * 256 * 256) + (ip2 * 256 * 256) + (ip3 * 256) + ip4 2072242132 => (123 * 256 * 256 * 256) + (131 * 256 * 256) + (231 * 256) + 212 But what would be pseudo…