Page 1 of 1

I get "saw 0" for census results

Posted: Mon Jan 09, 2006 4:52 am
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.

Posted: Mon Jan 09, 2006 10:39 am
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();

Posted: Mon Jan 09, 2006 10:54 am
by Hybuir
What's the easy way to count lines? :shock:

Posted: Mon Jan 09, 2006 11:23 am
by Rollie
Use an editor that has line numbers ;p

Posted: Mon Jan 09, 2006 7:11 pm
by stra
Worked. Thank you!