Page 1 of 1

Quicker Census

Posted: Sun Sep 04, 2005 10:56 pm
by gendril
Rollie,

What I'd like to do is make doing a census quicker for myself during peak times. The easiest way to do this that I can think of is to force CensusPlus to go level by level instead of in 5 level recursive chunks. I've got a test computer that I can work on and check things out but could you point me in the right direction?

I'm looking at the code for CensusPlus and I have to admit that I'm a bit rusty in my coding as I haven't done much in the past two years. But, if you point me to the correct patch of code that would be great!

Looking through things the following piece of code looks to be my best bet to try and tweak:

Code: Select all

for outer = 0, 10, 1 do
 local job = {m_MinLevel=outer*5+1, m_MaxLevel=outer*5+5};
 InsertJobIntoQueue(job);
end
Thanks for any help you can provide.

Posted: Sun Sep 04, 2005 11:44 pm
by gendril
Never mind, I figured it out. That was the proper piece of code. Depending on the server I find it much quicker now. :)