Random peopleWhich players? Ur mates from the same building or random people?
post your mc scriptRandom people
post your mc script
function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
if player:getAccountType() < ACCOUNT_TYPE_GOD then
return false
end
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Multiclient Check List:")
local ipList = {}
local players = Game.getPlayers()
for i = 1, #players do
local tmpPlayer = players[i]
local ip = tmpPlayer:getIp()
if ip ~= 0 then
local list = ipList[ip]
if not list then
ipList[ip] = {}
list = ipList[ip]
end
list[#list + 1] = tmpPlayer
end
end
for ip, list in pairs(ipList) do
local listLength = #list
if listLength > 1 then
local tmpPlayer = list[1]
local message = ("%s: %s [%d]"):format(Game.convertIpToString(ip), tmpPlayer:getName(), tmpPlayer:getLevel())
for i = 2, listLength do
tmpPlayer = list[i]
message = ("%s, %s [%d]"):format(message, tmpPlayer:getName(), tmpPlayer:getLevel())
end
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, message .. ".")
end
end
return false
end
use print_r(ipList) and print_r(players) after it the loop that assigns ips to the table and show me what it prints to your console
if you do not have print_r function, go to your lib and place this in one of your lib files
https://gist.github.com/nrk/31175
edit: make sure you have multiple players on with different ips just to make sure
you just go to your lib and place the function in there, save, and reloadThanks for the help, But I have no idea how to use and add that function!
I found the solution thanks for the help.you just go to your lib and place the function in there, save, and reload
post solution for others that have the same problemI found the solution thanks for the help.
Solution in this way activate DMZ, Use port triggering and in WAN deactivate port binding to visualize the ip address of other players in huawei router.post solution for others that have the same problem