totalcharacterXP update?

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

totalcharacterXP update?

Post by Gibybo »

*BUG: After awhile using censusplus (after 6k+ players in database?) it produces UI errors regarding the variable 'totalcharacterXP' being a nil value. - There are several threads that already explain the bug in more detail*

I'm running Censusplus 2.1 and still getting this error. I have 7k+ players in the database so I it's still the over 6k issue.

I've done a little work to it and I seem to have come up with a usable work around. The error was that it was trying to perfom 'arithmetic' on the 'totalcharacterXP' while it's a nil value. I just added an if/then/end statement around each of the lines I was getting that error for to only perform the math function if the variables don't come up nil.

Affected lines were in the 1500's (sorry don't remember exactly which ones T_T) - It's possible I screwed something else up while messing with code I have no familiarity with, but I've run a couple census's with no errors and it seems to be correctly adding and displaying people.

My updated version of the mod is here: http://www.warcraftcheese.com/census/Census.rar
(Who knows what I messed up, use at your own risk)

Anyway, would love an official fix for this :)

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

Post by Rollie »

Thanks for the update. I'll take a closer look at this today.
phpbb:phpinfo()

Post Reply