Blizzard has announced release date for Mists of Pandaria

General Discussion Area
User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Post by FuxieDK »

Balgair wrote:I like the idea of a fake character to be loaded by default if no data though, I've no idea how feasible it is, but it's a way round it
No need for fake toons..

As addons only work when you have a toon logged in, current toon (class, race, name, guild, faction, timestamp, etc) could be inserted after the prune-function and when addon loads after login..

Problem solved..
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

1974ER wrote:Hmmm... not really my area of expertise, but have you tried any of the following:

1) Forcing auto-census and auto-start to be on by default?

5) Manually created a .lua that only contains one character and pressing the button?
1. was a possibility.. but I didn't want to change in any major way how the user interacts with the addon.

5. In reality would have been the worst thing possible! :shock:

The problem was solved with a lot of testing by Balgair.. it ended up being an issue with the logarithmic level bars.

Its all Rollie's fault.. no really.. not.

For some reason Blizzard has changed how they respond to the math.log function for Lua. Maybe because they were doing it wrong before.. which just happened to allow Rollie to get away with something that shouldn't have worked.

Time to crack your math books boys and girls... Logarithms have two interesting points...
a log(1) [log of value 1] = 0
a log( less then 1) .. for values less then 1.0 return as negatives
only log(greater then 1) .. ie. 2 or more will return as positive values.

So when character count for a level is 0 the value returned is negative infinity.. which in pre MoP beta clients.. Blizzard allows but apparently in the beta Blizzard treats as Zero... leading to divide by zero issues

suggestion 5.. guarantees that you always have the divide by zero problem.

This is a condition that Rollie didn't handle.. and is theoretically bad... but in reality normally not an issue. How many times have you started a census run from zero data.. and only found yourself in the realm?

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

Six days and counting:
All the major issues have been stomped on.. and are now working as intended.

wholib integration has been finished... which means that not only will CensusPlus play nice with other addons.. but finally other addons won't screw up CensusPlus queries.

Working with performance numbers given me by 1974ER. It appears we are getting a small improvement in census runs. Small being the keyword here.


Balgair is doing full testing.. checking out all the options and conditions.. to see if she can break anything. I expect there are a few minor things to be worked on.

On item that will need to have more work on is the localization.lua I've worked through the files and linked out more English commands and text to Localization
(but probably not all)

Even the usage/help text is out there.. so our friends who use other languages will be able to see how to use the addon... finally.
Well assuming someone provides the text needed.

the new Localization file will be posted in a day or so..

User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Post by FuxieDK »

bringoutyourdead wrote:wholib integration has been finished... which means that not only will CensusPlus play nice with other addons.. but finally other addons won't screw up CensusPlus queries.
Regarding WhoLib...

Before we had WhoLib support, we could make a manual /WHO command (while census was running), and that manual result was captured by CP.
After WhoLib was incorporated, manual /WHO commands, are ignored by census.

I know that WhoLib solves many many more problems than it creates, but this is an issue that have annoyed me since. Is there any chance of you can have a look at it?

Scenario:
I play WoW, and census does it's thing. I'm on a crowded server, and census takes 27 minutes.
1 minute after Census finish, I level up the lowlevel toon I'm playing, and I plan to log off and go to bed.

Now, I have 2 choises:
- Run Census and wait half an hour for Census to catch my lowlevel toon have gained a level.
- Wait until tomorrow with a new census, having history to reflect wrong day of level up.

Back in the day, I started census, did a manual /WHO of my toon, and then stopped census. That would save my toon's new level. But it doesn't work with WhoLib.
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang

1974ER
Epic Censi
Posts: 762
Joined: Fri Nov 07, 2008 3:30 am

Post by 1974ER »

Have to try to cram several answers into one post. :D

Fuxie, the button idea was related to Bringoutyourdead's remark about actions being taken in wrong order.

Balgair, I was not thinking about a fake character. I was thinking of using an old character from for example Bringoutyourdead and you as base characters. The site ignores old, already known data anyway, so it would have not caused any problems during processing.

Fuxie, my idea was to copy the backup to replace deleted .lua before running WoW. That's why I said it would be a bit of a hassle, because it would have to have been done manually, because census doesn't initially know whether it's running on a US or EU area.

Bringoutyourdead, very interesting results. :D On that zero data question. The smallest result I have ever gotten that I can recall is six, directly after maintenance by Blizzard and a related /censusplus prune 0 by me. Also, option 1) would have not made a huge difference, user would have just had to manually disable them from options if (s)he didn't want to census. I am, however very glad to hear that things seem to be progressing extremely well. Three /cheer to all who have been helping and a nice day to all!

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

Saw something I liked.. so after a bit of thinking...

new CensusPlus command.

After you have run your census runs... and want to update your own character

/census me

code is in test now... to make sure I didn't break things with this addition.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

well... since that works..

a standard census run will now end with a quick census of the current player.

so /census me won't be needed... unless you have stopped census runs.. and then level after that point.

Post Reply