Census and Detachedminibuttons

Found a bug with the CensusPlus UI Mod? Post it here!
Post Reply
BWDemor
Census Taker
Posts: 70
Joined: Wed Aug 17, 2005 1:09 pm
Location: Auburn(Seattle), WA

Census and Detachedminibuttons

Post by BWDemor »

Just to let people know, that if you are using Census and the current Detachminibutton mod from the below link that they do not like each other at this time.

I have found that it does not take the census UNLESS the options window is open. I have found the version 0.9.12 works, but it was broke on the 0.9.13 and beyond version. I will be pinging the author on it as soon as I can post to the site again on it. But I just wanted to let people know about this if they run both.

I did try this with both Census 3.5.0 and 3.5.1 so it's not Census that is causing this to fail, but whatever the other one does.

http://ui.worldofwar.net/ui.php?id=3216

BW

BWDemor
Census Taker
Posts: 70
Joined: Wed Aug 17, 2005 1:09 pm
Location: Auburn(Seattle), WA

Post by BWDemor »

I have since tracked down the areas in the LUA that changed in Detachminibutton that might have had an impact to what is causing it. I haven't looked at Census yet, but thought I would post the info here also.


Line 463: local frame = Sea.util.getValue(n);
to
Line 463: local s = n;
local frame = Sea.util.getValue(s);

Line 465: if (DetachedMiniButtons_AddFrameName(n,n)) then
to
Line 465: if (DetachedMiniButtons_AddFrameName(s,s)) then

Line 466: list[n] = n;
to
Line 466: list[s] = s;

Line 530: frame:SetFrameLevel(frame:GetFrameLevel()+1);
to
Line 530: --frame:SetFrameLevel(frame:GetFrameLevel()+1);

Any suggestion would most likely help solve this issue.

Thanks

Post Reply