• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

The Player stands after death

Crystals

Member
Joined
Sep 28, 2024
Messages
58
Reaction score
10
TFS 142 otcv8

Hello,Maybe someone will be able to help me with this. After death, the character "stands" instead of only seeing the dead body. If someone is standing next to you, they see everything normally. Only the owner sees as on the screen. Does anyone know how to solve this problem?
 

Attachments

TFS 142 otcv8

Hello,Maybe someone will be able to help me with this. After death, the character "stands" instead of only seeing the dead body. If someone is standing next to you, they see everything normally. Only the owner sees as on the screen. Does anyone know how to solve this problem?
So you need to freeze the dead animation? Like, You don't even need a corpse? I still don't get it 😂
 
So you need to freeze the dead animation? Like, You don't even need a corpse? I still don't get it 😂
After death, only the corpse should be visible, not the figure standing on the corpse. I thought every Tibia player knew what the screen looks like after death
 
any error in console? try disable all creaturescripts events that have onDeath method
in craturescripts I only have one of onDeath:
XML:
<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
    <event type="login" name="PlayerLogin" script="login.lua" />
    <event type="logout" name="PlayerLogout" script="logout.lua" />
    <event type="login" name="FirstItems" script="firstitems.lua" />
    <event type="login" name="OfflineTraining" script="offlinetraining.lua" />
    <event type="login" name="RegenerateStamina" script="regeneratestamina.lua" />
    <event type="death" name="PlayerDeath" script="playerdeath.lua" />
    <event type="death" name="DropLoot" script="droploot.lua" />
    <event type="think" name="partyUpdate" interval="3000" script="partyUpdate.lua" />

</creaturescripts>
LUA:
local deathListEnabled = true
local maxDeathRecords = 5

function onDeath(player, corpse, killer, mostDamageKiller, lastHitUnjustified, mostDamageUnjustified)
    local playerId = player:getId()
    if nextUseStaminaTime[playerId] then
        nextUseStaminaTime[playerId] = nil
    end

    player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You are dead.")
    if not deathListEnabled then
        return
    end

    local byPlayer = 0
    local killerName
    if killer then
        if killer:isPlayer() then
            byPlayer = 1
        else
            local master = killer:getMaster()
            if master and master ~= killer and master:isPlayer() then
                killer = master
                byPlayer = 1
            end
        end
        killerName = killer:getName()
    else
        killerName = "field item"
    end

    local byPlayerMostDamage = 0
    local mostDamageKillerName
    if mostDamageKiller then
        if mostDamageKiller:isPlayer() then
            byPlayerMostDamage = 1
        else
            local master = mostDamageKiller:getMaster()
            if master and master ~= mostDamageKiller and master:isPlayer() then
                mostDamageKiller = master
                byPlayerMostDamage = 1
            end
        end
        mostDamageName = mostDamageKiller:getName()
    else
        mostDamageName = "field item"
    end

    local playerGuid = player:getGuid()
    db.query("INSERT INTO `player_deaths` (`player_id`, `time`, `level`, `killed_by`, `is_player`, `mostdamage_by`, `mostdamage_is_player`, `unjustified`, `mostdamage_unjustified`) VALUES (" .. playerGuid .. ", " .. os.time() .. ", " .. player:getLevel() .. ", " .. db.escapeString(killerName) .. ", " .. byPlayer .. ", " .. db.escapeString(mostDamageName) .. ", " .. byPlayerMostDamage .. ", " .. (lastHitUnjustified and 1 or 0) .. ", " .. (mostDamageUnjustified and 1 or 0) .. ")")
    local resultId = db.storeQuery("SELECT `player_id` FROM `player_deaths` WHERE `player_id` = " .. playerGuid)

    local deathRecords = 0
    local tmpResultId = resultId
    while tmpResultId ~= false do
        tmpResultId = result.next(resultId)
        deathRecords = deathRecords + 1
    end

    if resultId ~= false then
        result.free(resultId)
    end

    local limit = deathRecords - maxDeathRecords
    if limit > 0 then
        db.asyncQuery("DELETE FROM `player_deaths` WHERE `player_id` = " .. playerGuid .. " ORDER BY `time` LIMIT " .. limit)
    end

    if byPlayer == 1 then
        local targetGuild = player:getGuild()
        targetGuild = targetGuild and targetGuild:getId() or 0
        if targetGuild ~= 0 then
            local killerGuild = killer:getGuild()
            killerGuild = killerGuild and killerGuild:getId() or 0
            if killerGuild ~= 0 and targetGuild ~= killerGuild and isInWar(playerId, killer:getId()) then
                local warId = false
                resultId = db.storeQuery("SELECT `id` FROM `guild_wars` WHERE `status` = 1 AND ((`guild1` = " .. killerGuild .. " AND `guild2` = " .. targetGuild .. ") OR (`guild1` = " .. targetGuild .. " AND `guild2` = " .. killerGuild .. "))")
                if resultId ~= false then
                    warId = result.getNumber(resultId, "id")
                    result.free(resultId)
                end

                if warId ~= false then
                    db.asyncQuery("INSERT INTO `guildwar_kills` (`killer`, `target`, `killerguild`, `targetguild`, `time`, `warid`) VALUES (" .. db.escapeString(killerName) .. ", " .. db.escapeString(player:getName()) .. ", " .. killerGuild .. ", " .. targetGuild .. ", " .. os.time() .. ", " .. warId .. ")")
                end
            end
        end
    end
end
Post automatically merged:

cmd:

LUA:
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/playerdeath.lua:onDeath
data/creaturescripts/scripts/playerdeath.lua:6: attempt to index global 'nextUseStaminaTime' (a nil value)
stack traceback:
        [C]: in function '__index'
        data/creaturescripts/scripts/playerdeath.lua:6: in function <data/creaturescripts/scripts/playerdeath.lua:4>

Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/droploot.lua:onDeath
data/creaturescripts/scripts/droploot.lua:7: attempt to call field 'contains' (a nil value)
stack traceback:
        [C]: in function 'contains'
        data/creaturescripts/scripts/droploot.lua:7: in function <data/creaturescripts/scripts/droploot.lua:1>
Pololo has logged out.
LUA:
function onDeath(player, corpse, killer, mostDamageKiller, lastHitUnjustified, mostDamageUnjustified)
    if player:hasFlag(PlayerFlag_NotGenerateLoot) or player:getVocation():getId() == VOCATION_NONE then
        return true
    end

    local amulet = player:getSlotItem(CONST_SLOT_NECKLACE)
    local isRedOrBlack = table.contains({SKULL_RED, SKULL_BLACK}, player:getSkull())
    if amulet and amulet.itemid == ITEM_AMULETOFLOSS and not isRedOrBlack then
        local isPlayer = false
        if killer then
            if killer:isPlayer() then
                isPlayer = true
            else
                local master = killer:getMaster()
                if master and master:isPlayer() then
                    isPlayer = true
                end
            end
        end

        if not isPlayer or not player:hasBlessing(6) then
            player:removeItem(ITEM_AMULETOFLOSS, 1, -1, false)
        end
    else
        for i = CONST_SLOT_HEAD, CONST_SLOT_AMMO do
            local item = player:getSlotItem(i)
            local lossPercent = player:getLossPercent()
            if item then
                if isRedOrBlack or math.random(item:isContainer() and 100 or 1000) <= lossPercent then
                    if (isRedOrBlack or lossPercent ~= 0) and not item:moveTo(corpse) then
                        item:remove()
                    end
                end
            end
        end
    end

    if not player:getSlotItem(CONST_SLOT_BACKPACK) then
        player:addItem(ITEM_BAG, 1, false, CONST_SLOT_BACKPACK)
    end
    return true
end
 
data/creaturescripts/scripts/droploot.lua:7: attempt to call field 'contains'
IDK how, but it may affect logout code.
any error in console? try disable all creaturescripts events that have onDeath method
As Dakos said, disable all creaturescripts and check, if it fixes anything.
It's also possible that TFS 1.4 does not send packet to 'remove creature' from logged-in player screen, as he probably should get kicked (go to list of characters) on 10.98?
 
LUA:
data/creaturescripts/scripts/playerdeath.lua:6: attempt to index global 'nextUseStaminaTime' (a nil value)

from my experience this error always appear when lib's arent loaded correctly.
try fix your lib folder
 
LUA:
data/creaturescripts/scripts/playerdeath.lua:6: attempt to index global 'nextUseStaminaTime' (a nil value)

from my experience this error always appear when lib's arent loaded correctly.
try fix your lib folder

A few things have been corrected and there are no more errors in the console, and the character still "stands" after death

"
Wadwad has logged in.
Wadwad has logged out.
Wadwad has logged in.
Wadwad has logged out.
Pololo has logged in.
Pololo has logged out.
Pololo has logged in.
Pololo has logged out.
Pololo has logged in.
"

I don't quite know how to turn off the "onDeath" function

For example, at "droplot.lua" where it appears


Code:
function onDeath(player, corpse, killer, mostDamageKiller, lastHitUnjustified, mostDamageUnjustified)
    if player:hasFlag(PlayerFlag_NotGenerateLoot) or player:getVocation():getId() == VOCATION_NONE then
        return true
    end

    local amulet = player:getSlotItem(CONST_SLOT_NECKLACE)
    local isRedOrBlack = table.contains({SKULL_RED, SKULL_BLACK}, player:getSkull())
    if amulet and amulet.itemid == ITEM_AMULETOFLOSS and not isRedOrBlack then
        local isPlayer = false
        if killer then
            if killer:isPlayer() then
                isPlayer = true
            else
                local master = killer:getMaster()
                if master and master:isPlayer() then
                    isPlayer = true
                end
            end
        end

        if not isPlayer or not player:hasBlessing(6) then
            player:removeItem(ITEM_AMULETOFLOSS, 1, -1, false)
        end
    else
        for i = CONST_SLOT_HEAD, CONST_SLOT_AMMO do
            local item = player:getSlotItem(i)
            local lossPercent = player:getLossPercent()
            if item then
                if isRedOrBlack or math.random(item:isContainer() and 100 or 1000) <= lossPercent then
                    if (isRedOrBlack or lossPercent ~= 0) and not item:moveTo(corpse) then
                        item:remove()
                    end
                end
            end
        end
    end

    if not player:getSlotItem(CONST_SLOT_BACKPACK) then
        player:addItem(ITEM_BAG, 1, false, CONST_SLOT_BACKPACK)
    end
    return true
end
 
client protocol errors?
I don't know if this is it... but after death an error appears in packet.log (otclientv8.log was clear after death)

LUA:
ProtocolGame parse message exception (301 bytes, 21 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0), proto: 1098): InputMessage eof reached
2c 01 34 90 31 f5 25 01 6c e9 81 60 7c 07 01 6a e9 81 60 7c 07 01 46 0b ff 05 6a e9 81 60 7c 07 03 90 10 ff b4 13 0d 00 59 6f 75 20 61 72 65 20 64 65 61 64 2e 79 03 a0 00 00 af 00 cc 74 00 00 c8 af 00 00 dc 0f 00 00 00 00 00 00 07 00 5b 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d8 09 74 00 00 00 d0 02 00 00 00 78 03 25 0b ff a0 00 00 af 00 ac 71 00 00 c8 af 00 00 dc 0f 00 00 00 00 00 00 07 00 5b 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d8 09 74 00 00 00 d0 02 00 00 00 a0 00 00 af 00 ac 71 00 00 c8 af 00 00 dc 0f 00 00 00 00 00 00 07 00 5b 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d8 09 74 00 00 00 d0 02 00 00 00 a1 0a 00 0a 00 00 0a 00 0a 00 00 22 00 22 00 31 20 00 20 00 39 30 00 30 00 1a 34 00 34 00 5d 0a 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 28 00 64 a2 80 00 90 07 00 00 10 00 a2 00 00 6c e9 81 60 7c 07 02

ProtocolGame parse message exception (11019 bytes, 5600 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0), proto: 1098): InputMessage eof reached
0c 2b d4 4d 5f 58 03 2b 43 01 00 50 01 32 00 00 00 17 08 00 00 10 32 00 03 0f 15 0d 80 03 a9 fc 03 80 03 7d d5 b6 7f 00 00 00 00 00 19 00 0a 0f 64 5f 00 75 00 07 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff d0 12 ff 00 ff 00 00 a6 11 ff 73 11 ff 00 ff 00 00 a3 11 ff 6f 11 ff 00 ff 00 00 a8 11 ff 00 ff 00 00 a3 11 ff 62 0e ff 00 ff 00 00 b2 11 ff 00 ff 00 00 a3 11 ff 02 05 ff 00 ff 00 00 98 01 ff 11 09 ff 00 ff 00 00 98 01 ff 10 09 ff 26 0b ff 00 ff 00 00 98 01 ff 10 09 ff 68 0b ff bb 0b ff 00 ff 00 00 98 01 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff d0 12 ff 00 ff 00 00 a3 11 ff 73 11 ff 00 ff 00 00 ac 11 ff 6f 11 ff 00 ff 00 00 ab 11 ff 00 ff 00 00 ab 11 ff 47 18 ff 00 ff 00 00 ad 11 ff 02 05 ff 00 ff 00 00 98 01 ff 1d 14 ff 00 ff 00 00 98 01 ff 01 05 ff 00 ff 00 00 98 01 ff c7 06 ff 00 ff 00 00 98 01 ff 22 14 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff d0 12 ff 00 ff 00 00 a3 11 ff 73 11 ff 00 ff 00 00 a3 11 ff 6f 11 ff 00 ff 00 00 b2 11 ff 4a 18 ff 00 ff 00 00 a9 11 ff 47 0e ff 49 18 ff 00 ff 00 00 a3 11 ff 00 ff 00 00 a3 11 ff 48 18 ff 00 ff 00 00 a3 11 ff 00 ff 00 00 ac 11 ff 42 07 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 5b 04 ff 00 ff 00 00 a3 11 ff 73 11 ff 00 ff 00 00 a7 11 ff 6f 11 ff 00 ff 00 00 a3 11 ff 00 ff 00 00 a4 11 ff 4a 18 ff 00 ff 00 00 a3 11 ff 00 ff 00 00 a3 11 ff 00 ff 00 00 a3 11 ff 62 0e ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff ac 05 ff 00 ff 00 00 68 04 ff aa 05 ff 00 ff 00 00 68 04 ff bb 05 ff 00 ff 00 00 68 04 ff aa 05 ff 00 ff 00 00 68 04 ff bc 05 ff 7f 0b ff fe 00 ff 00 00 68 04 ff aa 05 ff 00 ff 00 00 b2 11 ff bb 05 ff 00 ff 00 00 b2 11 ff aa 05 ff 00 ff 00 00 b2 11 ff aa 05 ff 00 ff 00 00 b1 11 ff 62 0e ff 00 ff 00 00 aa 11 ff 36 0f ff 00 ff 00 00 a7 11 ff 26 0e ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff ab 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff e1 07 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff a6 0a ff 00 ff 00 00 a3 11 ff 31 12 ff b8 11 ff 25 0e ff 00 ff 00 00 a3 11 ff 31 12 ff 73 0e ff 00 ff 00 00 b0 11 ff 35 12 ff 00 ff 00 00 68 04 ff aa 05 ff 00 ff 00 00 68 04 ff aa 05 ff 00 ff 00 00 68 04 ff ae 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff d2 15 ff 00 ff 00 00 9a 01 ff d5 15 ff 00 ff 00 00 9a 01 ff d5 15 ff 00 ff 00 00 9a 01 ff d5 15 ff 00 ff 00 00 9a 01 ff d8 15 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 00 ff 00 00 67 00 ff b7 11 ff 47 18 ff 00 ff 00 00 67 00 ff 00 ff 00 00 a0 01 ff bb 11 ff 30 12 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff d3 15 ff 00 ff 00 00 9a 01 ff d6 15 ff 00 ff 00 00 9a 01 ff d6 15 ff 00 ff 00 00 9a 01 ff d6 15 ff 00 ff 00 00 9a 01 ff d9 15 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 00 ff 00 00 a0 01 ff b6 11 ff 33 12 ff 00 ff 00 00 a0 01 ff b6 11 ff 33 12 ff 00 ff 00 00 a0 01 ff b7 11 ff 34 12 ff 00 ff 00 00 9a 01 ff ec 07 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff d3 15 ff 00 ff 00 00 9a 01 ff d6 15 ff 00 ff 00 00 9a 01 ff d6 15 ff 61 00 00 00 00 00 08 00 00 10 00 06 00 50 6f 6c 6f 6c 6f 64 02 91 00 41 2d 32 2d 00 00 00 00 00 74 00 00 00 00 00 00 ff 00 00 00 00 ff 00 00 9a 01 ff d6 15 ff 00 ff 00 00 9a 01 ff d9 15 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff fe 05 ff 00 ff 00 00 a0 01 ff 00 ff 00 00 a0 01 ff 00 ff 00 00 a0 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff d3 15 ff 00 ff 00 00 9a 01 ff d6 15 ff 00 ff 00 00 9a 01 ff d6 15 ff 00 ff 00 00 9a 01 ff d6 15 ff 00 ff 00 00 9a 01 ff d9 15 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ff 05 ff 00 ff 00 00 a0 01 ff b4 11 ff 00 ff 00 00 a0 01 ff b4 11 ff 37 12 ff 00 ff 00 00 a0 01 ff b4 11 ff 31 12 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff d4 15 ff 00 ff 00 00 9a 01 ff d7 15 ff 00 ff 00 00 9a 01 ff d7 15 ff 00 ff 00 00 9a 01 ff d7 15 ff 00 ff 00 00 9a 01 ff da 15 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff b1 05 ff e7 07 ff 00 ff 00 00 b2 11 ff 48 18 ff 00 ff 00 00 a3 11 ff b4 11 ff 36 12 ff 67 07 ff 00 ff 00 00 a3 11 ff b8 11 ff 3a 12 ff 49 18 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff ab 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 00 ff 00 00 b1 11 ff 31 0f ff 00 ff 00 00 a3 11 ff 36 12 ff bb 11 ff 00 ff 00 00 2e 11 ff 33 12 ff b7 11 ff bb 11 ff 36 12 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff ab 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff cc 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff a8 00 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff ae 05 ff 00 ff 00 00 30 11 ff b6 11 ff 00 ff 00 00 32 11 ff e6 11 ff b6 11 ff 49 18 ff 00 ff 00 00 2b 11 ff b7 11 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff ab 05 ff 00 ff 00 00 68 04 ff b0 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff ae 0a ff 00 ff 00 00 a7 11 ff 62 0e ff 00 ff 00 00 ab 11 ff 61 0e ff 00 ff 00 00 2b 11 ff bc 11 ff 47 0e ff 42 07 ff 00 ff 00 00 2e 11 ff e2 11 ff b4 11 ff 48 18 ff 00 ff 00 00 2d 11 ff b8 11 ff 00 ff 00 00 2c 11 ff df 11 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff ab 05 ff 00 ff 00 00 9a 01 ff 89 14 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff c9 05 ff a8 0a ff 00 ff 00 00 ac 11 ff 00 ff 00 00 38 11 ff bb 11 ff 62 0e ff 00 ff 00 00 32 11 ff bd 11 ff 00 ff 00 00 a6 11 ff 00 ff 00 00 3a 11 ff bc 11 ff 62 0e ff 00 ff 00 00 2e 11 ff b8 11 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff ab 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 00 ff 00 00 2b 11 ff b6 11 ff 00 ff 00 00 36 11 ff e1 11 ff b7 11 ff 00 ff 00 00 2f 11 ff b5 11 ff 00 ff 00 00 a4 11 ff 49 18 ff 00 ff 00 00 6b 11 ff 00 ff 00 00 69 11 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff ab 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff b9 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff ae 05 ff 00 ff 00 00 38 11 ff e0 11 ff b8 11 ff 00 ff 00 00 34 11 ff 00 ff 00 00 2c 11 ff e4 11 ff b9 11 ff 00 ff 00 00 31 11 ff bd 11 ff 00 ff 00 00 6a 11 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 2f 11 ff 6c 11 ff 00 ff 00 00 32 11 ff 04 07 ff 00 ff 00 00 2f 11 ff b9 11 ff 00 ff 00 00 2f 11 ff b7 11 ff 00 ff 00 00 39 11 ff ba 11 ff 47 18 ff 00 ff 00 00 34 11 ff b4 11 ff 00 ff 00 00 6b 11 ff 00 ff 00 00 74 11 ff 00 ff 00 00 68 04 ff 00 ff 00 00 a7 11 ff 00 ff 00 00 b2 11 ff 31 0f ff 00 ff 00 00 2a 11 ff 64 11 ff bb 11 ff 00 ff 00 00 2a 11 ff 68 11 ff b6 11 ff 04 ff 00 00 02 05 ff 00 ff 00 00 98 01 ff 01 05 ff 00 ff 00 00 98 01 ff 01 05 ff 00 ff 00 00 98 01 ff c7 06 ff 00 ff 00 00 98 01 ff 1e 14 ff 00 ff 00 00 98 01 ff 07 05 ff 00 ff 00 00 a8 11 ff 00 ff 00 00 2a 11 ff bb 11 ff 00 ff 00 00 2a 11 ff dc 11 ff b7 11 ff 07 07 ff 00 ff 00 00 2a 11 ff 64 11 ff de 11 ff 08 07 ff 00 ff 00 00 2a 11 ff 68 11 ff 09 ff 00 00 a4 11 ff 48 18 ff 00 ff 00 00 2a 11 ff b3 11 ff 00 ff 00 00 2a 11 ff dd 11 ff 49 18 ff 00 ff 00 00 2a 11 ff 00 ff 00 00 2a 11 ff 64 11 ff db 11 ff 30 07 ff 00 ff 00 00 2a 11 ff 68 11 ff 08 ff 00 00 aa 11 ff 4a 18 ff 00 ff 00 00 b0 11 ff ac 05 ff 00 ff 00 00 2a 11 ff aa 05 ff 00 ff 00 00 2a 11 ff b9 05 ff 00 ff 00 00 2a 11 ff aa 05 ff 00 ff 00 00 a3 11 ff aa 05 ff 00 ff 00 00 bc 05 ff 7e 0b ff 00 ff 00 00 aa 05 ff 00 ff 00 00 aa 05 ff 00 ff 00 00 aa 05 ff 04 ff 00 00 a3 11 ff 00 ff 00 00 a9 11 ff ab 05 ff 00 ff 00 00 9a 01 ff b9 09 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 7d 09 ff 00 ff 00 00 9a 01 ff 7e 09 ff 00 ff 00 00 9a 01 ff ab 05 ff 04 ff 00 00 b1 11 ff 35 12 ff 00 ff 00 00 df 05 ff 00 ff 00 00 9a 01 ff b1 0b ff ba 09 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ca 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff c9 05 ff 04 ff 00 00 a5 11 ff 39 12 ff 00 ff 00 00 80 04 ff ab 05 ff 00 ff 00 00 9a 01 ff e1 18 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 2b 0a ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 04 ff 00 00 a3 11 ff 33 12 ff 00 ff 00 00 80 04 ff ab 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff c0 05 ff 00 ff 00 00 9a 01 ff ae 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 44 0a ff 00 ff 00 00 9a 01 ff aa 05 ff 45 0a ff 00 ff 00 00 9a 01 ff 07 14 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff ae 05 ff 04 ff 00 00 a0 01 ff b6 11 ff bb 11 ff 00 ff 00 00 a0 01 ff ab 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 8e 09 ff fe 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 04 ff 00 00 a0 01 ff b7 11 ff 00 ff 00 00 a0 01 ff ca 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff c9 05 ff 04 ff 00 00 a0 01 ff b4 11 ff b5 11 ff 00 ff 00 00 a0 01 ff ab 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 04 09 ff 00 ff 00 00 9a 01 ff 06 09 ff 00 ff 00 00 9a 01 ff 08 09 ff 00 ff 00 00 9a 01 ff ab 05 ff 04 ff 00 00 a5 11 ff 49 18 ff 00 ff 00 00 ab 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff cc 05 ff 00 ff 00 00 9a 01 ff bc 05 ff 7f 0b ff fe 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff ae 05 ff 04 ff 00 00 aa 11 ff 00 ff 00 00 ab 11 ff ab 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff a9 0a ff 07 ff 00 00 b0 11 ff 26 0e ff 00 ff 00 00 a3 11 ff d8 05 ff 00 ff 00 00 5b 03 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 07 ff 00 00 a6 11 ff 5d 0e ff 00 ff 00 00 a3 11 ff ab 05 ff 00 ff 00 00 9a 01 ff 9c 07 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 07 ff 00 00 b0 11 ff 00 ff 00 00 a3 11 ff ab 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff ad 0a ff 00 ff 00 00 9a 01 ff aa 05 ff ac 0a ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff ae 05 ff 05 ff 00 00 6b 11 ff 00 ff 00 00 69 11 ff 00 ff 00 00 af 11 ff 22 0e ff 00 ff 00 00 b1 11 ff 61 0e ff 00 ff 00 00 a3 11 ff 49 18 ff 00 ff 00 00 b0 11 ff 5f 11 ff 06 ff 00 00 6b 11 ff 00 ff 00 00 69 11 ff 00 ff 00 00 74 11 ff 00 ff 00 00 68 04 ff d0 12 ff 00 ff 00 00 aa 11 ff 47 18 ff 00 ff 00 00 aa 11 ff 25 0e ff 00 ff 00 00 a3 11 ff 63 11 ff 00 ff 00 00 b1 11 ff 67 11 ff 06 ff 00 00 6a 11 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 00 ff 00 00 68 04 ff 1c ff 00 00 83 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 be 13 ff 04 ff 00 00 81 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 04 ff 00 00 81 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 04 ff 00 00 81 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 04 ff 00 00 81 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 04 ff 00 00 81 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 04 ff 00 00 81 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 04 ff 00 00 81 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 04 ff 00 00 ac 05 ff 00 ff 00 00 80 04 ff aa 05 ff 00 ff 00 00 80 04 ff bc 05 ff 7f 0b ff fe 00 ff 00 00 80 04 ff aa 05 ff 00 ff 00 00 80 04 ff aa 05 ff 00 ff 00 00 80 04 ff aa 05 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 04 ff 00 00 ab 05 ff 00 ff 00 00 9a 01 ff 86 09 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 9c 07 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 00 ff 00 00 b9 13 ff 00 ff 00 00 b9 13 ff 00 ff 00 00 b9 13 ff 00 ff 00 00 ba 13 ff 04 ff 00 00 c9 05 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff c9 05 ff 08 ff 00 00 ab 05 ff 00 ff 00 00 5b 03 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 04 09 ff 00 ff 00 00 9a 01 ff 08 09 ff 00 ff 00 00 9a 01 ff ab 05 ff 08 ff 00 00 ab 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff b9 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff ae 05 ff 00 ff 00 00 ac 0a ff 13 ff 00 00 33 07 ff 0b ff 00 00 f5 06 ff 03 1f 07 ff 00 ff 00 00 50 07 ff 00 ff 00 00 52 07 ff 00 ff 00 00 19 07 ff 0a ff 00 00 41 07 ff 00 ff 00 00 51 07 ff 40 07 ff 00 ff 00 00 53 07 ff 00 ff 00 00 36 07 ff 7e ff 00 00 aa 05 ff 00 ff 00 00 bb 05 ff 00 ff 00 00 bb 05 ff 00 ff 00 00 aa 05 ff 00 ff 00 00 aa 05 ff 09 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 5b 03 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 09 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 09 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff 00 ff 00 00 9a 01 ff ab 05 ff 09 ff 00 00 9a 01 ff aa 05 ff ac 0a ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff aa 05 ff 00 ff 00 00 9a 01 ff ae 05 ff a9 0a ff ad 0a ff b1 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 82 04 ff 00 ff 00 00 be 13 ff 09 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 09 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 09 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 09 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 80 04 ff 00 ff 00 00 bc 13 ff 09 ff 00 00 b9 13 ff 00 ff 00 00 b9 13 ff 00 ff 00 00 b9 13 ff 00 ff 00 00 b9 13 ff 00 ff 00 00 ba 13 ff ff ff ff ff ff ff 35 ff 83 5f 00 75 00 07 0b 78 01 1b 0d ff 79 02 78 03 25 0b ff 78 04 21 0d ff 78 05 54 0d ff 78 06 cd 0c ff 01 79 07 78 08 e0 0d ff 79 09 79 0a 78 0b 64 5b ff a0 af 00 af 00 ac 71 00 00 c8 af 00 00 dc 0f 00 00 00 00 00 00 07 00 5b 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d8 09 74 00 00 00 d0 02 00 00 00 a1 0a 00 0a 00 00 0a 00 0a 00 00 22 00 22 00 29 20 00 20 00 30 30 00 30 00 18 34 00 34 00 54 0a 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 82 59 d7 8d 08 00 00 10 00 00 9f 01 14 2b 46 67 02 ff 00 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f 80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f 90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe a2 00 40 f5 0b 04 01 00 00 01 00 02 00 00 01 00 03 00 00 01 00 04 00 00 01 00 05 00 00 01 00 06 00 00 01 00 07 00 00 01 00 08 00 00 01 00 09 00 00 01 00 0a 00 00 01 00 0b 00 00 01 00 8b 00 00 01 00 5d 01 00 01 00 96 01 00 01 00 85 02 00 01 00 94 02 00 01 00 95 02 00 01 00 96 02 00 01 00 97 02 00 01 00 98 02 00 01 00


Its ~50% code coz was to long. Then there were only similar numbers

if you need 100% its here: Easyupload.io - Upload Files and Share Them Easily (https://easyupload.io/9nutbk)

I couldn't add a text document as an attachment here


And this:

ERROR: ProtocolGame parse message exception (11019 bytes, 5600 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)
 
okay yeah so a protocol error is causing the creatures standing after death
I noticed that in general I have 3 other protocol errors, but from the start of the server to the death of the player only this error appeared, so those should not be related to this one.


I will not post it in this topic, because if someone encounters this problem, maybe it will be possible to solve it thanks to this topic.

How to solve this, I will create a new topic with protocol errors
 
I noticed that in general I have 3 other protocol errors, but from the start of the server to the death of the player only this error appeared, so those should not be related to this one.


I will not post it in this topic, because if someone encounters this problem, maybe it will be possible to solve it thanks to this topic.

How to solve this, I will create a new topic with protocol errors
im unable to tell with current info, try to figure out when exactly last opcode is 0x00 (0), prev opcode is 0x00 (0) triggers, could help
 
im unable to tell with current info, try to figure out when exactly last opcode is 0x00 (0), prev opcode is 0x00 (0) triggers, could help
Maybe I'll write what I see in the log.

After logging in:

server.log:

Connecting to: 127.0.0.1:7171
WARNING: HTTP error for http://************/api/status.php: Invalid http status code (410)
Login to 127.0.0.1:7172
ERROR: ProtocolGame parse message exception (13679 bytes, 5688 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)

packet.log:

ProtocolGame parse message exception (11072 bytes, 5653 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0), proto: 1098): InputMessage eof reached


ProtocolGame parse message exception (13679 bytes, 5688 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0), proto: 1098): InputMessage eof reached


in both cases a long string of different numbers/letters



ERROR: ProtocolGame parse message exception (298 bytes, 18 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)





After the player dies (the person who died sees that his character is standing on the screen but is dead) - from the perspective of the player next to him, only the body is visible. (first screen)
After a while, it logs the player out of the death screen and appears in the temple:


Server.log:
ERROR: ProtocolGame parse message exception (298 bytes, 18 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)

ProtocolGame parse message exception (298 bytes, 18 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0), proto: 1098): InputMessage eof reached
2c 01 60 85 14 29 22 01 6c d7 81 62 7c 07 02 6a d7 81 62 7c 07 02 46 0b ff 05 6a d7 81 62 7c 07 04 90 10 ff b4 13 0d 00 59 6f 75 20 61 72 65 20 64 65 61 64 2e 79 03 a0 00 00 af 00 cc 74 00 00 c8 af 00 00 dc 0f 00 00 00 00 00 00 07 00 5b 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d8 09 74 00 00 00 d0 02 00 00 00 78 03 25 0b ff a0 00 00 af 00 ac 71 00 00 c8 af 00 00 dc 0f 00 00 00 00 00 00 07 00 5b 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d8 09 74 00 00 00 d0 02 00 00 00 a0 00 00 af 00 ac 71 00 00 c8 af 00 00 dc 0f 00 00 00 00 00 00 07 00 5b 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d8 09 74 00 00 00 d0 02 00 00 00 a1 0a 00 0a 00 00 0a 00 0a 00 00 21 00 21 00 21 1f 00 1f 00 29 2e 00 2e 00 0b 32 00 32 00 4a 0a 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 28 00 64 90 00 00 00 10 00 a2 00 00 6c d7 81 62 7c 07 03




After logging in again (in the temple)

Server.log:

WARNING: HTTP error for http://************/api/status.php: Invalid http status code (410)
Login to 127.0.0.1:7172
ERROR: ProtocolGame parse message exception (11019 bytes, 5600 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)

packet.log:
ProtocolGame parse message exception (11019 bytes, 5600 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0), proto: 1098): InputMessage eof reached

(......)




If it helps, I can share the server protocol files.

I have absolutely no idea how to fix this :/
 
ERROR: ProtocolGame parse message exception (532 bytes, 30 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)





ProtocolGame parse message exception (532 bytes, 30 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0), proto: 1098): InputMessage eof reached
14 02 fb 06 cb c1 0c 02 6b 5f 00 7b 00 07 01 63 00 29 72 00 40 01 01 93 29 72 00 40 01 00 6a 60 00 7a 00 07 02 49 0b ff 05 83 60 00 7a 00 07 01 b4 18 60 00 7a 00 07 af 00 00 00 b4 00 00 00 00 03 33 00 59 6f 75 20 6c 6f 73 65 20 31 37 35 20 68 69 74 70 6f 69 6e 74 73 20 64 75 65 20 74 6f 20 61 6e 20 61 74 74 61 63 6b 20 62 79 20 61 20 64 65 6d 6f 6e 2e a0 00 00 af 00 a8 ac 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 a0 00 00 af 00 a8 ac 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 8c 00 00 00 10 00 6c 60 00 7a 00 07 02 6a 60 00 7a 00 07 02 46 0b ff 05 6a 60 00 7a 00 07 04 90 10 ff b4 13 0d 00 59 6f 75 20 61 72 65 20 64 65 61 64 2e 79 03 a0 00 00 af 00 c8 af 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 78 03 25 0b ff a0 00 00 af 00 a8 ac 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 a0 00 00 af 00 a8 ac 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 a1 0a 00 0a 00 00 0a 00 0a 00 00 18 00 18 00 00 17 00 17 00 0e 1e 00 1e 00 5a 22 00 22 00 00 0a 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 28 00 64 90 00 00 00 10 00 a2 20 00 8f 00 00 00 10 74 00 74 00 a2 00 00 6c 60 00 7a 00 07 03
 
ERROR: ProtocolGame parse message exception (532 bytes, 30 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)





ProtocolGame parse message exception (532 bytes, 30 unread, last opcode is 0x00 (0), prev opcode is 0x00 (0), proto: 1098): InputMessage eof reached
14 02 fb 06 cb c1 0c 02 6b 5f 00 7b 00 07 01 63 00 29 72 00 40 01 01 93 29 72 00 40 01 00 6a 60 00 7a 00 07 02 49 0b ff 05 83 60 00 7a 00 07 01 b4 18 60 00 7a 00 07 af 00 00 00 b4 00 00 00 00 03 33 00 59 6f 75 20 6c 6f 73 65 20 31 37 35 20 68 69 74 70 6f 69 6e 74 73 20 64 75 65 20 74 6f 20 61 6e 20 61 74 74 61 63 6b 20 62 79 20 61 20 64 65 6d 6f 6e 2e a0 00 00 af 00 a8 ac 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 a0 00 00 af 00 a8 ac 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 8c 00 00 00 10 00 6c 60 00 7a 00 07 02 6a 60 00 7a 00 07 02 46 0b ff 05 6a 60 00 7a 00 07 04 90 10 ff b4 13 0d 00 59 6f 75 20 61 72 65 20 64 65 61 64 2e 79 03 a0 00 00 af 00 c8 af 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 78 03 25 0b ff a0 00 00 af 00 a8 ac 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 a0 00 00 af 00 a8 ac 00 00 c8 af 00 00 94 0f 00 00 00 00 00 00 07 00 56 64 00 00 00 00 00 00 00 64 00 4b 00 4b 00 00 00 00 64 d6 09 74 00 00 00 d0 02 00 00 00 a1 0a 00 0a 00 00 0a 00 0a 00 00 18 00 18 00 00 17 00 17 00 0e 1e 00 1e 00 5a 22 00 22 00 00 0a 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 28 00 64 90 00 00 00 10 00 a2 20 00 8f 00 00 00 10 74 00 74 00 a2 00 00 6c 60 00 7a 00 07 03
something wrong with your death process
 
something wrong with your death process
I know this... but I don't know what

playerdeath.lua:

LUA:
local deathListEnabled = true
local maxDeathRecords = 5

function onDeath(player, corpse, killer, mostDamageKiller, lastHitUnjustified, mostDamageUnjustified)
    local playerId = player:getId()
    if nextUseStaminaTime[playerId] then
        nextUseStaminaTime[playerId] = nil
    end

    player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You are dead.")
    if not deathListEnabled then
        return
    end

    local byPlayer = 0
    local killerName
    if killer then
        if killer:isPlayer() then
            byPlayer = 1
        else
            local master = killer:getMaster()
            if master and master ~= killer and master:isPlayer() then
                killer = master
                byPlayer = 1
            end
        end
        killerName = killer:getName()
    else
        killerName = "field item"
    end

    local byPlayerMostDamage = 0
    local mostDamageKillerName
    if mostDamageKiller then
        if mostDamageKiller:isPlayer() then
            byPlayerMostDamage = 1
        else
            local master = mostDamageKiller:getMaster()
            if master and master ~= mostDamageKiller and master:isPlayer() then
                mostDamageKiller = master
                byPlayerMostDamage = 1
            end
        end
        mostDamageName = mostDamageKiller:getName()
    else
        mostDamageName = "field item"
    end

    local playerGuid = player:getGuid()
    db.query("INSERT INTO `player_deaths` (`player_id`, `time`, `level`, `killed_by`, `is_player`, `mostdamage_by`, `mostdamage_is_player`, `unjustified`, `mostdamage_unjustified`) VALUES (" .. playerGuid .. ", " .. os.time() .. ", " .. player:getLevel() .. ", " .. db.escapeString(killerName) .. ", " .. byPlayer .. ", " .. db.escapeString(mostDamageName) .. ", " .. byPlayerMostDamage .. ", " .. (lastHitUnjustified and 1 or 0) .. ", " .. (mostDamageUnjustified and 1 or 0) .. ")")
    local resultId = db.storeQuery("SELECT `player_id` FROM `player_deaths` WHERE `player_id` = " .. playerGuid)

    local deathRecords = 0
    local tmpResultId = resultId
    while tmpResultId ~= false do
        tmpResultId = result.next(resultId)
        deathRecords = deathRecords + 1
    end

    if resultId ~= false then
        result.free(resultId)
    end

    local limit = deathRecords - maxDeathRecords
    if limit > 0 then
        db.asyncQuery("DELETE FROM `player_deaths` WHERE `player_id` = " .. playerGuid .. " ORDER BY `time` LIMIT " .. limit)
    end

    if byPlayer == 1 then
        local targetGuild = player:getGuild()
        targetGuild = targetGuild and targetGuild:getId() or 0
        if targetGuild ~= 0 then
            local killerGuild = killer:getGuild()
            killerGuild = killerGuild and killerGuild:getId() or 0
            if killerGuild ~= 0 and targetGuild ~= killerGuild and isInWar(playerId, killer:getId()) then
                local warId = false
                resultId = db.storeQuery("SELECT `id` FROM `guild_wars` WHERE `status` = 1 AND ((`guild1` = " .. killerGuild .. " AND `guild2` = " .. targetGuild .. ") OR (`guild1` = " .. targetGuild .. " AND `guild2` = " .. killerGuild .. "))")
                if resultId ~= false then
                    warId = result.getNumber(resultId, "id")
                    result.free(resultId)
                end

                if warId ~= false then
                    db.asyncQuery("INSERT INTO `guildwar_kills` (`killer`, `target`, `killerguild`, `targetguild`, `time`, `warid`) VALUES (" .. db.escapeString(killerName) .. ", " .. db.escapeString(player:getName()) .. ", " .. killerGuild .. ", " .. targetGuild .. ", " .. os.time() .. ", " .. warId .. ")")
                end
            end
        end
    end
end

I disabled several onDeath but it didn't help me find a solution
 
Most likely has nothing to do with death, just track back your latest changes that involve protocols

The server is sending extra packets that the client was not planned to read (which can cause random seemingly unrelated bugs, like creatures standing on death)
 
Last edited:
Most likely has nothing to do with death, just track back your latest changes that involve protocols

The server is sending extra packets that the client was not planned to read (which can cause random seemingly unrelated bugs, like creatures standing on death)
If I have protocol errors (I sent the entire list in the post above in Tuesday), how can I solve the problems? Apart from the protocol number, there are a lot of numbers and letters that don't mean much to me :/
 
Back
Top