Page 1 of 1

Census and Detachedminibuttons

Posted: Wed Oct 11, 2006 2:52 pm
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

Posted: Thu Oct 12, 2006 11:05 am
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