[outdated] RefreshAddon(AddonName)
Hey there,
since a loading screen that doesn't gobble up chat messages seems to be difficult, could we perhaps have a way to reload a single addOn without reloading the entire UI? Is that even possible? For clarification: Reloading UI will refresh the entire content of the AddOns-directory, including all subdirectories. What I'd like is to be able to trigger that specific process for just one subfolder in AddOns of my choice. :) I'd love to be able to code while I'm chatting. :P regards and goats, ~mana |
Maybe some kind of short term chat log which logs a minute of chat even if the UI is off?
|
I don't care about talking to commoners while I'm coding; I simply don't like waiting so long between reloads. It would certainly speed things up.
|
I like the fast reloads if I disable nearly all addons, so a possibility to reload only one addon's code would be really great.
But I agree: I'd like to be able to see that chat contents of my guild mates that happend during the reloadui too! |
What is an addon and what can he do ?
If I reload one of my addon which alter part of the core UI, should it be available while reload ui? If I reload my chat addon which alter the chat, should the chat be available while reloading ? :banana: |
The process of reloading the UI will re-read the entire Add-Ons directory. It would be glorious to be able to trigger this process manually for just a single subdirectory.
|
How is reloading one addon without destroying the Lua VM supposed to work? You can't just load it again and hope for the best. Imagine you hook some api function and then reload it and it hooks the same function again. The old hook is still there - it doesn't just disappear. You'd need to somehow undo everything it has done so far, or you are in for some real trouble. It's the same problem that LibStub libraries face. That's why they have load and unload functions and still they have bugs here and there that come from multiple versions getting loaded one after another.
Besides what you are asking for is basically what "/st isolate <addonName>" in sidTools does. It unloads all addons except for the one you specify (and sidTools so you can undo it later) and then you can "RefreshAddon" just that addon via reloadui. Once you are finished working on it you just use "/st restore" and everything is back to how it was. ;) Delivering chat messages that happened during loading screens after they finished sounds great though! Would certainly welcome that. :D |
Yeah I doubt it is possible to reload just one add-on -itd be all or nothing. Also, what if an add-on used a library used by other addons? That would also be an issue.
I think the main thing you want is the chat during reloadui though right? Otherwise as Siri said, just deselect most addons and it'll be a very quick reload time anyway. |
But incoming messages at the reload time (even if its quick) are not shown afterwards, right?
It would be awesome if the chat somehow would be able to "cache" incoming messages during reloadui and present them afterwards (regardless of the reload time that is needed). |
pChat! *auto advertising* :rolleyes:
I could also write a whishlist for chat system for Mr Chip :banana: |
pChat is doing this? I thought it is only able to show chat messages that came in BEFORE the reloadui, not "during" the reloadui time?
|
When you reload :
EVENT_PLAYER_DEACTIVATED > EVENT_ADD_ON_LOADED > EVENT_PLAYER_ACTIVATED pChat intercepts everything between EVENT_ADD_ON_LOADED > EVENT_PLAYER_ACTIVATED That's this period which is increased due to addons. |
Yes but it doesn't intercept everything between
EVENT_PLAYER_DEACTIVATED > EVENT_ADD_ON_LOADED , and that is the issue that we're having/want changed. |
Quote:
|
I haven't enabled pChat to store messages after logout etc. as I had several problems with blown up savedvars files etc.
So no, I haven't tested it yet as I thought it's not working for a reloadui and incoming messages. Will test it in the future, maybe it works. |
All times are GMT -6. The time now is 01:38 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI