WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Difference between /rl and a log in/out (https://www.wowinterface.com/forums/showthread.php?t=10618)

shouryuu 06-17-07 10:05 AM

Difference between /rl and a log in/out
 
What is the actual difference between reloading your UI, and logging in and out of the game?

I ask this question because I've been re-working on an old addon, and I've managed to get it pretty much to work except for one small detail: my variables save fine when I do a /reloadui but go crazy when I log out and back in.

I am completely mesmerized here, and I really don't understand how that can even happen... I asked some help on the EU forums but no one answered :(

Layrajha 07-16-07 04:13 PM

Well actually I have no idea what can cause this. Can you be more precise on what is different?

What I think is that both logout and reloadui save:
- your saved variables
- your macros, frame positions etc (the text non-lua files in WTF/<account>/<maybe even deeper>)

And both on login and on reloadui, the addons and their saved variables are loaded.

Someone with experience of "Load on demand" addons might tell you if reloadui keeps them loaded, which could be a difference.

There might also be events that are triggered on login and not on reloadui.

There might also be (but erhm, it's going a bit far) addonmessages received by other people's addons when they see you coming online... but well that's not what I would call a huge difference :p


All times are GMT -6. The time now is 10:55 AM.

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