Thread Tools Display Modes
08/19/15, 01:39 AM   #1
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
Do not reload some data on /reloadui?

For example Master Merchant addon have alot of data like for 500mb lua memory in average

when im testing smthing turn off/on other addons is it possible do not reload data from MM?
it will prevent some lags on addon's loading, etc

Thanks in advance!

Last edited by QuadroTony : 08/19/15 at 01:48 AM.
  Reply With Quote
08/19/15, 01:52 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,011
You need to setup an addon profile (there are 2 addons able to provide addon profiles and you use them as I can see it by your comments) which will not use MM and all the other addons you do not want to test.
Then simply reload this addon profile without MM and the reload will only take seconds

I don't know any other way without having to change several addons. And beside this I don't think it would work as all variables will be reset at /reloadui and will always prevent/always allow to laod the settings then.
  Reply With Quote
08/19/15, 02:28 AM   #3
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 578
As Lua memory gets flushed on reloadui, not loading MM Saved Variables means MM not useable => Disable MM.

I don't use MM, so if I talk rubbish ignore it:
The only thing, I can imagine is to split MM functionality into MM and MM Archive. Which would allow to disable historical data without fully disabling MM.
And/Or to out-source archive data to an external .NET application.
But, hehe, easy to talk about that, if one has not to implement that.

Project Management:
"Nothing is impossible, as long as you do not have to do it on your own".
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Is it possible do not reload some data on /reloadui?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off