Quicker Census

Questions and discussions on development tools for WarcraftRealms
Post Reply
User avatar
gendril
Posts: 62
Joined: Fri Jul 29, 2005 10:30 am
Location: Canada

Quicker Census

Post 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.
Maeric - Level 60 Warlock - Thunderhorn
http://wow.allakhazam.com/profile.html?4032

User avatar
gendril
Posts: 62
Joined: Fri Jul 29, 2005 10:30 am
Location: Canada

Post 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. :)
Maeric - Level 60 Warlock - Thunderhorn
http://wow.allakhazam.com/profile.html?4032

Post Reply