Tooltip "Stuck"

Found a bug with the CensusPlus UI Mod? Post it here!
Post Reply
enarra
Posts: 3
Joined: Fri Oct 21, 2005 9:10 am

Tooltip "Stuck"

Post by enarra »

I'm at a bit of a loss as to why this bug is related to CensusPlus, but I have confirmed (by loading my mods one by one) that it is directly related to CensusPlus (I am using 3.4).

Problem: When CensusPlus is loaded a tooltip (seems to be random based on where the cursor is located upon login) "sticks" to my cursor. reloading the UI does not remove the tooltip, nothing aside from disabling CensusPlus will make it go away.

I have the following tooltip related add-ons installed:

EnhTooltip (part of Auctioneer)
TooltipsKhaos (Part of Cosmos/Khaos)
MobInfo2

Upon load, with CensusPlus enabled the follow error message is given:

Error: attempt to index field `?' (a nil value)
AddOn: CensusPlus
File: CensusPlusProfiler.lua
Line: 539
Count: 1

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

It is likely a conflict with one of those other mods. I have seen it happen in the past as well.

I had a quick peek and I see what could be a problem depending on how those other mods are written.

If you can try something, I would appreciate it.

Open up

/World of Warcraft/Interface/AddOns/CensusPlus/CensusPlusProfiler.lua

go to line 494, which will look like this:

Code: Select all

function Profile_ScanReputation()		-- Originally by Leronflon, modified to fit my style =)
	local count;
	local name, standing, rep, atWar, canToggle, foo2, foo3, thisHeader;
and add just below that

Code: Select all

    local isHeader;
I will try to remember to check for compatibility issues with any of these mods, but that could be the culprit.

Thanks!
phpbb:phpinfo()

TheCaretalker
Posts: 1
Joined: Sun Jul 16, 2006 11:55 am

Same problem

Post by TheCaretalker »

I have the same problem but the 'stuck' tooltip (always Premeditation)
dosen't come up until I click on engineering, smelting...
This goes away when I disable CensusPlus.

CensusPlus 3.4 does seam to be working properly otherwise.

CensusPlusProfiler.lua:539:Attempt to index field '?' (a nil value)

The above fix just moved the error to line 540.
I also tried local g_ServerPrefix = "US-"; in CensusPlus.lua from
another thread. It had been "".

I had the same problem with 3.3 but never had time to look
into it.

Thanks

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

If you play on US servers, then it is supposed to be "". If you set it to US- then if you upload data, your data will never get processed.

Do you have many other mods installed?
phpbb:phpinfo()

enarra
Posts: 3
Joined: Fri Oct 21, 2005 9:10 am

Post by enarra »

I tried what you suggested, however the tooltip is still there, and now the error is:
Error: attempt to index field `?' (a nil value)
AddOn: CensusPlus
File: CensusPlusProfiler.lua
Line: 1008
Count: 1
Good luck figuring out the problem and thanks for your work on this tool, it's a good one. :)

enarra
Posts: 3
Joined: Fri Oct 21, 2005 9:10 am

Post by enarra »

I figured I should let you know that the problem described in this post spontaneously fixed itself one day a couple weeks ago. I must have removed or modified whatever patch was conflicting with it. I'm not getting the error message in my above post anymore either. Go figure. :-)

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

Ah, I missed your previous response =x

Glad it is working now. My bet is that there is a conflicting addon. I thought I had updated all my variables with unique prefixes, but it's possible it's not.
phpbb:phpinfo()

Post Reply