mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-30 11:46:24 +01:00
added mounts, auras, wings and shop. Packet compression does not work extendedOpCodes does not work but shop is because of extra configuration
This commit is contained in:
@@ -185,7 +185,8 @@ function Player:onLook(thing, position, distance)
|
||||
|
||||
if thing:isCreature() then
|
||||
if thing:isPlayer() then
|
||||
description = string.format("%s\nIP: %s.", description, Game.convertIpToString(thing:getIp()))
|
||||
local client = thing:getClient()
|
||||
description = string.format("%s\nIP: %s PING: %i FPS: %i.", description, Game.convertIpToString(thing:getIp()), client.ping, client.fps)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -208,7 +209,8 @@ function Player:onLookInBattleList(creature, distance)
|
||||
)
|
||||
|
||||
if creature:isPlayer() then
|
||||
description = string.format("%s\nIP: %s", description, Game.convertIpToString(creature:getIp()))
|
||||
local client = thing:getClient()
|
||||
description = string.format("%s\nIP: %s PING: %i FPS: %i.", description, Game.convertIpToString(thing:getIp()), client.ping, client.fps)
|
||||
end
|
||||
end
|
||||
self:sendTextMessage(MESSAGE_INFO_DESCR, description)
|
||||
|
||||
Reference in New Issue
Block a user