#~I HAVE CREATED A NEW THREAD UNDER OTCLIENT~#
For those facing the same issue:
In my case, this issue is present only when using OTClient. While using the default client with Ipchanger, I don't see this issue. Please check out my other thread (above) for a potential resolution for OTClient. Cheers.
Notice in the clip below that I'm killing monsters two different ways. When the killing blow is dealt by the damage from my wand only, the creature dies and the corpse spawns as expected. However, when I trigger spell damage (Apprentice Fire Strike via hotkey in this example) as the killing blow, just as the wand's damage lands, the creature does die, but it doesn't remove the creature and it doesn't spawn the corpse.
Interestingly, if a creature dies in this way, they are still recognized as an obstacle for my player, but not for other monsters.
There are no console logs reporting issues for this. The only messages you'll see are from a script I'm running, and it's just debug information, but I'm including them here just for completion's sake.
Please share your thoughts. I couldn't find any similar reports on the forum about this issue. Please feel free to point me to another thread if you know of one that's already been answered.
Console Logs
EDIT: I AM INCLUDING THIS TO SHOW THAT THERE ARE NO ERRORS BEING RETURNED RELATING TO THIS ISSUE. PLEASE READ MY EXPLANATION ABOVE FOR CONTEXT
Updates
OTClient Lua Exception: attempt to index local 'spell' (a nil value)
Hey everyone, good morning/afternoon/evening. I created a thread in the Support forums earlier today regarding an issue I'm seeing. Attaching the post below. https://otland.net/threads/help-request-spell-damage-causes-visual-bug-on-monster-death.284723/#post-2722327 I realized that OTClient...
otland.net
For those facing the same issue:
In my case, this issue is present only when using OTClient. While using the default client with Ipchanger, I don't see this issue. Please check out my other thread (above) for a potential resolution for OTClient. Cheers.
Notice in the clip below that I'm killing monsters two different ways. When the killing blow is dealt by the damage from my wand only, the creature dies and the corpse spawns as expected. However, when I trigger spell damage (Apprentice Fire Strike via hotkey in this example) as the killing blow, just as the wand's damage lands, the creature does die, but it doesn't remove the creature and it doesn't spawn the corpse.
Interestingly, if a creature dies in this way, they are still recognized as an obstacle for my player, but not for other monsters.
There are no console logs reporting issues for this. The only messages you'll see are from a script I'm running, and it's just debug information, but I'm including them here just for completion's sake.
Please share your thoughts. I couldn't find any similar reports on the forum about this issue. Please feel free to point me to another thread if you know of one that's already been answered.
Console Logs
EDIT: I AM INCLUDING THIS TO SHOW THAT THERE ARE NO ERRORS BEING RETURNED RELATING TO THIS ISSUE. PLEASE READ MY EXPLANATION ABOVE FOR CONTEXT
Code:
Cal Test Sorc has logged in.
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
LuaScriptInterface::luaDebugPrint(). onKill function is called.
stack traceback:
[C]: in function 'debugPrint'
data/creaturescripts/scripts/CreatureKillQuest.lua:9: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
LuaScriptInterface::luaDebugPrint(). wolves
stack traceback:
[C]: in function 'debugPrint'
data/creaturescripts/scripts/CreatureKillQuest.lua:15: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
LuaScriptInterface::luaDebugPrint(). onKill function is called.
stack traceback:
[C]: in function 'debugPrint'
data/creaturescripts/scripts/CreatureKillQuest.lua:9: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
LuaScriptInterface::luaDebugPrint(). wolves
stack traceback:
[C]: in function 'debugPrint'
data/creaturescripts/scripts/CreatureKillQuest.lua:15: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
LuaScriptInterface::luaDebugPrint(). onKill function is called.
stack traceback:
[C]: in function 'debugPrint'
data/creaturescripts/scripts/CreatureKillQuest.lua:9: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
data/creaturescripts/scripts/CreatureKillQuest.lua:15: attempt to index local 'monster' (a nil value)
stack traceback:
[C]: in function '__index'
data/creaturescripts/scripts/CreatureKillQuest.lua:15: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
LuaScriptInterface::luaDebugPrint(). onKill function is called.
stack traceback:
[C]: in function 'debugPrint'
data/creaturescripts/scripts/CreatureKillQuest.lua:9: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
LuaScriptInterface::luaDebugPrint(). wolves
stack traceback:
[C]: in function 'debugPrint'
data/creaturescripts/scripts/CreatureKillQuest.lua:15: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
LuaScriptInterface::luaDebugPrint(). onKill function is called.
stack traceback:
[C]: in function 'debugPrint'
data/creaturescripts/scripts/CreatureKillQuest.lua:9: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/CreatureKillQuest.lua:onKill
LuaScriptInterface::luaDebugPrint(). wolves
stack traceback:
[C]: in function 'debugPrint'
data/creaturescripts/scripts/CreatureKillQuest.lua:15: in function <data/creaturescripts/scripts/CreatureKillQuest.lua:8>
Post automatically merged:
Updates
- This is happening even if I don't use my wand. If the monster dies as a result of spell damage from any spell, the bug will occur.
- I've tried this with several different characters, and the bug only occurs if spell damage drops the creature to zero hit points. Damage from any other source will delete the creature and spawn the corpse as expected. Tested using many different low level spells, the result is always the same.
- It has nothing to do with debugPrint. Just to be sure, I've disabled the CreatureKillQuest.lua script to troubleshoot and the error persists.
- Issue with OTClient identified. Closing this thread.
Last edited: