user adjustable auto census delay from the UI

Post suggestions or requests of WarcraftRealms UI Mods here
Post Reply
ParanoidAndroid
Posts: 2
Joined: Wed Jan 18, 2006 11:51 am

user adjustable auto census delay from the UI

Post by ParanoidAndroid »

Not sure if this has been requested before - but I had a look through the forum and couldn't find it...

I have auto-census running and it runs every 30 minutes or so. I also run UniUpload - set to upload every time the save file changes. I'm sure you don't need me spamming the site every 30 minutes, so I had a dig through the lua file and found the line that checks how long it's been since the last auto census. I think this is in seconds (1800 = 30 minutes?) so I changed it to 3600. Since then I have yet to play for more than an hour to test to see if this works!

Having to edit the lua file is a little scary (I'm only a trainee geek - I've not earned my pocket protector yet! :shock: ) so I wondered if it would be possible to have the option of choosing how long between updates from within the UI itself? Maybe just options of 30 minutes/60 minutes/90 minutes to stop people from running it every 5 minutes?

I would have looked at doing this myself, but that is far beyond my abilities.

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

Post by Rollie »

This actually isn't a concern. Your LUA save file only updates when you either log out of the game, or when a '/console reloadui' command is entered. So your file does not change after each run of the census. Under normal circumstances, there is no worry of uniuploader spamming the site with files every 30 minutes =)
phpbb:phpinfo()

ParanoidAndroid
Posts: 2
Joined: Wed Jan 18, 2006 11:51 am

Post by ParanoidAndroid »

Ah - that's okay then!

I have been working my head around that code for nought! :roll:

RoninBK
Posts: 2
Joined: Mon Oct 09, 2006 8:03 am
Location: Seattle, WA
Contact:

Post by RoninBK »

Sorry to bump a thread almost a year old. I was just about to ask for this sort of feature, and Rollie's response kinda threw me for a loop. It appears (at least by my experience) that this situation has changed, at least since 1.12 when I started contributing to the Census.

I run a dual-monitor configuration, with WoW on one monitor, and a Firefox window in the other. The census runs every 30 minutes, and as the census completes, I switch over to the Firefox window to upload it. Every other update says that I have submitted in the past hour, and is overwriting my previous submission

When I take a break for a few days, and then visit the site to see my past ten submissions, I do see that the "incremental" uploads are crediting me with new entries and updates. If the LUA hasn't been updating, I should see zeroes for the entries I post during my game sessions, right?
Image

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

Post by Rollie »

Yes, that should be the case.
phpbb:phpinfo()

User avatar
DM.
Census Taker
Posts: 1130
Joined: Mon Oct 03, 2005 12:27 pm
Location: Toronto, Canada

Post by DM. »

You confused me as well just now :P

Lets see if i can clear some stuff up....

-The timer can be changed to whatever time you want. /censusplus timer # should be the command to change this.
-Recently the cap has been 1hr between submissions, but this may be changed to a longer time. Not sure if Rollie still has this cap in place tho....
-Your lua files should in most cases only update once the game has closed. If your game crashes then in most cases your lua files do not update. I dont know if /reloadui still works with updating an lua file tho. And what should happen when you upload data when you have the game running should in most cases give you 0's or some very low single digit number. Because you are really uploading your previous submission, or whatever it was before the game was started. Not everything is perfect and the database does get some hiccups once in awhile so some of your submissions might show that some chars got updated.

Hope I cleared some stuff up... Maybe Rollie can clear it up some more :mrgreen:
Image
Click my sig

RoninBK
Posts: 2
Joined: Mon Oct 09, 2006 8:03 am
Location: Seattle, WA
Contact:

Post by RoninBK »

The point I am making is that every time that I stop playing long enough to see the numbers update, (i.e., as opposed to ten lines of "UNPROCESSED,") I notice what seems to me to be a significant amount of updating on same-session submissions.
Image

Post Reply