EVENT_ANTIQUITY_SCRYING_RESULT causes game crash
Hi there, it looks like
Quote:
Am I alone in that case or is there something I do wrong? EDIT: I removed GetDigSpotAntiquityId() in the function called just after and it doesn't crash anymore |
Are you sure it was ONLY GetDigSpotAntiquityId() you have removed or did you after that call to the function do any further checks with the return value?
ZOs always checks this e.g. Lua Code:
before it hands in the antiquityId to the antiquity data manager, e.g. to get the current dig data: Lua Code:
Else check the original ZOs handler for that event, it does check the "RESULT" parameter of the evet before it uses GetDigSpotAntiquityId, or further more it does not use that function but another one called "GetScryingCurrentAntiquityId()"! https://github.com/esoui/esoui/blob/...lers.lua#L1162 Lua Code:
|
This crash has been fixed internally. We never hit it because we never call that function unless we're actually in a dig game. For now, you should just do the same, avoid calling that function unless a dig game is currently ongoing (IsDiggingGameActive()).
|
All times are GMT -6. The time now is 08:08 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI