• 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!

Debug when moving into different levels +1/-1, or teleporting.

Fileey

Member
Joined
Sep 30, 2009
Messages
46
Reaction score
7
Teleporting using /a command or /up /down command causes a debug, also when I try to use ladders/stairs up or down. There are no errors in console. TFS 1.2 10.98.

Error report
k3z6vw


k3z77k


Tips on how to move on ?

Screenshot

Screenshot

EDIT: First is when I use the /a command, second is when I walk on wooden stairs(debugs no matter what kind of stairs/ladders)
----- 08/07/2018 18:53:02 - Admin (127.0.0.1) -----
Debug Assertion 10.98 Creatures.cpp 403
Sun Jul 08 18:46:01 2018
Graphic Engine: DirectX9 (2)
Operating System: Windows Vista
Processor: Intel Core i5 -7600K @
Video Card: NVIDIA GeForce GTX 970
Last Packet Types: 100 108 104 109 102 109 102 109 102 109
Last Packet: 108 086 000 127 000 007 003 100 083 000 127 000 007 000 000 104
Player Position: [86,127,7]
Player Name: Admin (Forgotten)
Player Action: 048 046 048 046 048 046 048 058 055 049 055 050
Player.cpp 344: exception occurred, reason:
Network.cpp 855: exception occurred, reason:
Control.cpp 1525: exception occurred (Type = 100) (MainWindow = 03AC8FE8), reason:
Communication.cpp 2458: exception occurred (PlayerX = 83) (PlayerY = 127), reason:
Communication.cpp 2436: exception occurred (xmin = 0) (ymin = 0), reason:
Communication.cpp 2415: exception occurred (Type = 98) (OldType = 408), reason:
Communication.cpp 2336: exception occurred (Type = 98) (CreatureID = 268435456), reason:
Creatures.cpp 403: Invalid speech flag (SpeechFlag = ÿ)
Comment:
----- 08/07/2018 19:59:54 - Admin (127.0.0.1) -----
Debug Assertion 10.98 Container.h 230
Sun Jul 08 19:38:22 2018
Graphic Engine: DirectX5 (0)
Operating System: Windows Vista Family
Processor: Intel Core i5 -7600K @
Video Card: NVIDIA GeForce GTX 970
Last Packet Types: 100 108 102 109 103 109 102 109 102 109
Last Packet: 109 098 128 032 125 007 002 099 128 032 125 007 102 000 000 160
Player Position: [32867,32032,7]
Player Name: Admin (Forgotten)
Player Action: 048 046 048 046 048 046 048 058 055 049 055 050
Player.cpp 344: exception occurred, reason:
Network.cpp 855: exception occurred, reason:
Control.cpp 1525: exception occurred (Type = 100) (MainWindow = 046930B0), reason:
Communication.cpp 2458: exception occurred (PlayerX = 32867) (PlayerY = 32031), reason:
Communication.cpp 2436: exception occurred (xmin = 0) (ymin = 0), reason:
Communication.cpp 2415: exception occurred (Type = 98) (OldType = 16484), reason:
Communication.cpp 2336: exception occurred (Type = 98) (CreatureID = 268435456), reason:
Container.h 230: index out of range (original i: 25665, i: 25664, min: 1, d: 903)
Comment:
 
Last edited:
Teleporting using /a command or /up /down command causes a debug, also when I try to use ladders/stairs up or down. There are no errors in console. TFS 1.2 10.98.

Error report
k3z6vw


k3z77k


Tips on how to move on ?

Screenshot

Screenshot

change your /a command script to this and see if its working

Lua:
function onSay(player, words, param)
    if not player:getGroup():getAccess() then
        return true
    end

    local steps = tonumber(param)
    if not steps then
        return false
    end

    local position = player:getPosition()
    position:getNextPosition(player:getDirection(), steps)
    position = player:getClosestFreePosition(position, false)

    if position.x == 0 then
    player:sendCancelMessage("You cannot teleport there.")
        return false
    end

    player:teleportTo(position)

    return false
end
 
change your /a command script to this and see if its working

Lua:
function onSay(player, words, param)
    if not player:getGroup():getAccess() then
        return true
    end

    local steps = tonumber(param)
    if not steps then
        return false
    end

    local position = player:getPosition()
    position:getNextPosition(player:getDirection(), steps)
    position = player:getClosestFreePosition(position, false)

    if position.x == 0 then
    player:sendCancelMessage("You cannot teleport there.")
        return false
    end

    player:teleportTo(position)

    return false
end
Thank you for your reply. Tho my problem is more advanced than that. I debug whenever I change ground level. Walking up stairs etc. I'll edit in two different debug reports in my main post.
 
Back
Top