I get "saw 0" for census results

Found a bug with the CensusPlus UI Mod? Post it here!
Post Reply
stra

I get "saw 0" for census results

Post by stra »

Hey there, when I run the census, it will display how many new characters it finds but then it will always say, "saw 0". How do I fix this?

I tried re-installing the addon after removing it all the way along with removing the censusplus.lua and the censusplus.lua.bak etc.

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

Post by Rollie »

Argh... does that mean the one up for download doesn't have that fix?

Well, it's an easy fix at least...

On line 1530 of \Interface\AddOns\CensusPlus\CensusPlus.lua you'll see:

Code: Select all

					CensusPlus_DisplayResults();
					CensusPlus_DoTimeCounts();					
You just need to switch them so the TimeCounts are done first, ala:

Code: Select all

					CensusPlus_DoTimeCounts();					
					CensusPlus_DisplayResults();
phpbb:phpinfo()

Hybuir
Gear Dependent Squirrel
Gear Dependent Squirrel
Posts: 1471
Joined: Tue Sep 06, 2005 6:22 am
Location: Austin, TX
Contact:

Post by Hybuir »

What's the easy way to count lines? :shock:

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

Post by Rollie »

Use an editor that has line numbers ;p
phpbb:phpinfo()

stra

Post by stra »

Worked. Thank you!

Post Reply