opentibiabr / otservbr-global

OTServBR-Global datapack was migrated to Canary repository: https://github.com/opentibiabr/canary
GNU General Public License v2.0
144 stars 163 forks source link

BUG: AFTER SCARLETT KILLS THE PLAYER (CONSOLE WARNING) #290

Closed adrianomengue closed 2 years ago

adrianomengue commented 3 years ago

Describe the bug

After scarlett kills you with her damage (7500), a message on console appears.

How to Reproduce?

Just let her to kill you with her damage (7500)

Logs or errors

Lua Script Error: [Main Interface] in a timer event called from: (Unknown scriptfile) LuaScriptInterface::luaDoTargetCombatHealth(). Creature not found stack traceback: [C]: in function 'doTargetCombatHealth' ...rescripts\quests\grave_danger\cobra_bastion\scarlett.lua:35: in function <...rescripts\quests\grave_danger\cobra_bastion\scarlett.lua:27>

Screenshots

Capturar

Environment

gccris commented 3 years ago

I fixed it simple checking if is player on eventDoDamage event

adrianomengue commented 3 years ago

I fixed it simple checking if is player on eventDoDamage event

What you mean? Could you write down the code you did? Thanks.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 120 days with no activity.

dudantas commented 3 years ago

Your issue will be transferred to the otservbr-global-datapack repository

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 120 days with no activity.