Make a drop down menu for level range

Suggestions for WarcraftRealms.com
Post Reply
Eyeball-Dragonmaw
Census Taker
Posts: 410
Joined: Sun Aug 14, 2005 5:16 am
Location: Portland, OR
Contact:

Make a drop down menu for level range

Post by Eyeball-Dragonmaw »

I would like to see some kind of drop down menu that lets you choose how many levels it processes at once. Currently it does it by increments of 5 which for higher pop servers increases the census time substantially.

Also on the newer servers its the lower levels that return over 50 results for each level, and I believe Census is currently coded to do additional specific /who for level 60 only.

It would be nice to pick and choose on each server on how you wanted it to process your census data for maximum efficiency.

The ultimate way would be the option to choose how it works for different level ranges so maybe from 50-60 it goes by 1, and goes by 5 from 30-49, and by 2 from 1-29. Each server is unique in its own way, and if we could save individual settings for each server it would be way efficient too.


Well I hope this all makes sense because I know what I would like, but not sure if I explained it right.
<a href="http://www.wasdstomp.com">WASDstomp General Gaming Blog</a>
<a href="http://www.dealingwithannoyingcustomers.com">Dealing with Annoying Customers</a>
<a href="http://www.aiongamingheadquarters.com">Aion Gaming Headquarters</a>

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

Post by gendril »

You can actually change this in the CensusPlus.lua file yourself. I have a few different files set up to help with taking a census at different times of the day which I swap out depending upon whether it's peak time or alliance servers I am updating. However, I must admit that it would be nice to have a savable option that you could select within the CensusPlus UI.

I posted something about this here:

http://www.warcraftrealms.com/forum/viewtopic.php?t=798

So if you instead wanted to go level by level from 50-60 and by 5 levels for the rest you could do the following instead:

Code: Select all

for outer = 0, 9, 1 do 
 local job = &#123;m_MinLevel=outer*5+1, m_MaxLevel=outer*5+5&#125;; 
 InsertJobIntoQueue&#40;job&#41;; 
end

for outer = 1, 10 do
 local job = &#123;m_MinLevel=50+outer, m_MaxLevel=50+outer&#125;;
 insertJobIntoQueue&#40;job&#41;;
end
Keep in mind that the array is a stack and the last job sent to the queue is the first one processed. That's why if you look at the code in CensusPlus.lua you'll find that the 'code' to process level 60 is listed last but when you take a census level 60 is processed first.

It's very possible to code this, I would help if I could, but like everything it takes a little time. Most of my time is being taken up with taking census all the time it seems. It's hard to stay in #1 especially with Dreadicus right on my tail.

I hope that helps and makes sense.
Maeric - Level 60 Warlock - Thunderhorn
http://wow.allakhazam.com/profile.html?4032

Post Reply