ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   Event Causing Crash (https://www.esoui.com/forums/showthread.php?t=4732)

Area51 05/16/15 02:59 AM

Event Causing Crash
 
Setting a UI feature using EVENT_PLAYER_ACTIVATED works the first time, but when using a wayshrine, or reloading the UI it's trying to set again and causing ESO to crash.

Is there an event that triggers once, only when a person logs in for instance, that I could use instead?

Ayantir 05/16/15 03:50 AM

(This) event(s) don't cause crash, check your code.

Area51 05/16/15 03:54 AM

Solved!
 
Quote:

Originally Posted by Ayantir (Post 21263)
(This) event(s) don't cause crash, check your code.

Solved it thanks! The event was triggering the function to run more than once, when it was only required to run the first time a player logged in. It was easy enough to make it so that it only triggers when the player logs in.


All times are GMT -6. The time now is 08:54 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI