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:
ErikasKontenis
2022-08-08 18:55:47 +03:00
parent b130e66149
commit 1c35d04337
58 changed files with 2909 additions and 77 deletions

View File

@@ -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)