When is the censusplus.lua written to?

General discussion of WarcraftRealms UI Mods
Post Reply
aker
Posts: 3
Joined: Tue Jan 16, 2007 11:53 pm
Location: Michigan

When is the censusplus.lua written to?

Post by aker »

I'm trying to use uniuploader to automatically upload every hour or so (while im playing).

When the "auto-upload on file changes" is selected it only seems to upload on wow exit or when i do a purge. How often is the .lua actually written to, is it uniuploader missing the changes to the file or are the changes stored in memory and written on game exit?

Thanks

Skyfire
Trolling Enforcement
Posts: 708
Joined: Thu Aug 18, 2005 2:29 am
Location: New Jersey

Post by Skyfire »

When the console reloads.

I am for certain this happens when you do a

Code: Select all

/console reload ui
, as well as when you exit the game. Other than that... >.>
Admin on WoWWiki
Moderator, Blogger on Wowhead

aker
Posts: 3
Joined: Tue Jan 16, 2007 11:53 pm
Location: Michigan

Post by aker »

Yeah, thats what I thought. Would be great if I could find a console command to avoid having to reload. :)
Akers Human Priest - Numb - Smolderthorn

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

Post by DM. »

In addition to reloading your UI... It normally saves if you change continents or enter/exit an instance.
Image
Click my sig

User avatar
xpolockx
Superior Census Taker
Posts: 779
Joined: Wed Aug 10, 2005 8:31 pm
Location: Lynchburg, VA
Contact:

Post by xpolockx »

yeah, I just reload my UI regularly while in flight or something, or right when I go bio :P I've got a fubar plugin for it too, so I don't have to keep typing it out... I used to have a macro for it but I like the little plugin better ;)
US-Whisperwind:
Kayni, Resto Shaman
Scenario, MW Monk

Ylixia
Posts: 10
Joined: Fri Dec 23, 2005 2:11 pm
Location: UK

Post by Ylixia »

Just out of interest, is it really necessary to upload that often? I only upload (manually) every few days... :?

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

Post by DM. »

The more often you submit, the more accurate it is :)
Submitting every few days means the data captured is a few days off.
Image
Click my sig

Ylixia
Posts: 10
Joined: Fri Dec 23, 2005 2:11 pm
Location: UK

Post by Ylixia »

A few days behind or a few days off?

Surely the Census data includes times and dates etc for the activity charts? In which case updating once a day should do the trick I guess.

If the data uploaded doesn't include times and dates for the individual censuses (sp?) then I can see your point.

User avatar
xpolockx
Superior Census Taker
Posts: 779
Joined: Wed Aug 10, 2005 8:31 pm
Location: Lynchburg, VA
Contact:

Post by xpolockx »

Well it really depends on how many other people are doing uploads for your server(s). If you're the only one, then the data will just be behind. If you're not though, then when your data comes in behind the other data that's more updated than yours, then your data is discarded I believe. Overall, once a day should be just fine, but some people like to update more often than that for more update numbers on here. :)
US-Whisperwind:
Kayni, Resto Shaman
Scenario, MW Monk

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

Post by DM. »

On Monday you capture someone lvl 63. You submit and it shows here that he's 63.
On Tuesday he lvl's to 64 and you capture that. You don't submit
On Wednesday he lvl's again to 65 and you capture it. You submit.
The data here will only show he's 63 and then 65. And not 64 :(

Thats why you got to submit often. So to keep the history accurate :)


The lua file keeps track of the last date, lvl, and guild each person was seen. Not the last time. Time is not recorded on the character. So while you saw the person lvl 64, when the lua sees him at 65 it records that and doesn't care if you submitted your data or not.
Image
Click my sig

Ylixia
Posts: 10
Joined: Fri Dec 23, 2005 2:11 pm
Location: UK

Post by Ylixia »

Ahhhh, now it makes sense.
Would also explain why a character I haven't played for years, on an account I haven't paid for years either, still shows up on the search :D
(Had a US account back before the Euro version was released)

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

Post by Rollie »

But but but =)

If you submit only every few days, that is still leaps and bounds better than never submitting at all!

I know it takes a bit of dedication to upload after every play session, I'd be a very happy person if we could get uploads from folks once a week =)
phpbb:phpinfo()

Post Reply