Horde not processing?

Found a bug with the CensusPlus UI Mod? Post it here!
Post Reply
asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Horde not processing?

Post by asmodai »

Guys,

I'm an Alliance player, but in order to get statistics on the Horde side of things I have one Horde character I play as an alt (EU-Thunderhorn can always use more Horde submits).

Anyway, this has been going great until the last few days. Alliance keeps processing how it should, but suddenly Horde census processing just stops after some Bloodelf level 70s processing. The verbose output gives me little after seeing it do perhaps 2-3 whos and then stopping.

Why would it suddenly act so strange, whereas the Alliance processing works as expected? Of course, if I can avoid it, I'd rather not purge my database on Horde side.

Rollie, anything I can do to gain insight into this matter?

Cheers...

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

Post by Rollie »

That is bizarre of course. This is on English speaking servers?
phpbb:phpinfo()

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »

Yeah, this is on EU-Thunderhorn, which is an English language server.

But now that I think about it, I am not sure if I have even heard the periodic 'bells' sound on Alliance side either.

I'll make sure to keep a close eye on Alliance as well.

Anyway, what I saw on Horde with verbose on was no output after the initial < 50 characters it found through 'who'. And then nothing. When I stopped it by hand it had been stalled for over an hour(!) with no results whatsoever.

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »

Well, also seems as if Alliance is not being processed.

Haven't had a chance to properly look at it yet, but so far it seems neither side is working. :?

bardiir
Posts: 19
Joined: Mon Nov 07, 2005 2:44 am
Location: Germany

Post by bardiir »

You should maybe try and delete the CensusPlus.lua files from everywhere in your WTF folder. That would reset all configurations of the addon. The chances are high that this might be caused by some corrupted data killing the whole addon.

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

Post by Rollie »

Yeah, I would suggest doing a Purge, or a full file delete and trying again.
phpbb:phpinfo()

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »

Well, it's even stranger.

I got home and logged in on my Horde alt with verbose mode on. 'lo and behold, it works again. Haven't even purged or thrown away any files.

I guess my server or server group had issues with the server providing /who information or something like that. It's the only logical explanation I can come up with.

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »

Mmm, still not entirely sure if it is recording the way it should. More debugging tomorrow.

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »

Ok, I am getting the idea more and more that it is either Blizzard's server acting up or Census+ doing something wonky, see this verbose output (Horde side, Census+ text stripped):

11:39:15: Sending /who r-"Blood Elf" c-"Priest" 70-70
11:39:15: Processing 8 characters.
11:40:58: Sending /who r-"Blood Elf" c-"Rogue" 70-70
11:40:58: Processing 10 characters.
11:41:58: Sending /who r-"Blood Elf" c-"Hunter" 70-70
11:41:58: Processing 18 characters.
11:42:58: Sending /who r-"Blood Elf" c-"Paladin" 70-70
11:42:58: Processing 50 characters.
11:54:24: Sending /who r-"Blood Elf" c-"Paladin" 70-70 n-y
11:54:24: got 3 verbatim answers, not the 'processing x characters'
11:54:29: Sending /who r-"Blood Elf" c-"Paladin" 70-70 n-u
11:54:29: Processing 9 characters.
12:02:01: Sending /who r-"Blood Elf" c-"Paladin" 70-70 n-t
12:02:01: Processing 20 characters.

The delays are just nuts, totally different from any previous experience I have had with CensusPlus on the server.

I'll move the files to the side and try again, just to eliminate that possibility.

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »

Mmm, it has got to be the server. Been trying to send some /who commands myself and the lag is just nuts.

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »

How to go crazy: logged into one of my Alliance characters, run Census+ (with the full SV files back in place) and /who processes every 5 seconds, what I am used to.

Aaaaaah, I think I am on to something here.

Rollie, I think that either Census+ has a problem or it's interacting with another addon that's causing issues.

What I noticed with verbose on, normally you send out a /who every 5 seconds to get the details. In my transcribed log above you see the delays between subsequent sendings of the command.
I noticed that when I hovered over my minimap and cause some action there it caused Census+ to run and send its command out. This has a 100% reproduction rate, since I could wait more than 5 seconds, hover over the minimap and see the next command instantly get fired out.

The minimap addon I use is SexyMap by Antiarc. I talked a bit with Xinhuan and he said:

"probably the OnUpdate that tracks the /who is on a frame that sexymap is hiding, OnUpdates don't occur on hidden frames"

So, I went back to the character screen, and disabled SexyMap in the addons window, logged back in, fired off a census, and I see it running constantly every 5 seconds. Took 13 minutes on Alliance side, just what I was used to. So there is definitely something between Census+ and SexyMap that needs to be resolved. I'll log a ticket with Antiarc about this as well.

Another weird thing I noticed, when you do the initial /who 70-70 and you get in the Who window '49 people found', Census+ is reporting 'processing 50 characters'. Might there be an off-by-one lurking there?

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »


Antiarc
Posts: 1
Joined: Sun Nov 09, 2008 2:40 pm

Post by Antiarc »

As updated here:

http://www.wowace.com/projects/sexymap/ ... ng-nicely/

The problem here (as best as I can tell) is that CensusPlus uses the Census minimap button to handle OnUpdates. Sexymap grabs this button and hides it, preventing it from receiving OnUpdates.

The fix for this is either for Census to be changed to start using a dedicated event frame (which is the proper way to do it, in my opinion), or to tick "Always Show" for the Census button in Sexymap.

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »

Antiarc also added the following with regard to the fix:

local updateFrame = CreateFrame("Frame")
updateFrame:SetScript("OnUpdate", CensusPlus_OnUpdate)

User avatar
xpolockx
Superior Census Taker
Posts: 779
Joined: Wed Aug 10, 2005 8:31 pm
Location: Lynchburg, VA
Contact:

Post by xpolockx »

Antiarc wrote:As updated here:

http://www.wowace.com/projects/sexymap/ ... ng-nicely/

The problem here (as best as I can tell) is that CensusPlus uses the Census minimap button to handle OnUpdates. Sexymap grabs this button and hides it, preventing it from receiving OnUpdates.

The fix for this is either for Census to be changed to start using a dedicated event frame (which is the proper way to do it, in my opinion), or to tick "Always Show" for the Census button in Sexymap.
The button has been funky for quite some time, so a reworking of this would be great. Don't you wish you had more hours in a day, Rollie? :P
US-Whisperwind:
Kayni, Resto Shaman
Scenario, MW Monk

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

Post by Rollie »

You have no idea =)

Thanks for the suggestions! I'll look into incorporating it into the release for Wrath!
phpbb:phpinfo()

asmodai
Posts: 42
Joined: Tue Jan 31, 2006 5:03 pm
Location: Netherlands

Post by asmodai »

Welcome Rollie, hope it's enough to get you on your way to fix it. :)

Post Reply