Page 1 of 1

Stacking data

Posted: Wed Feb 14, 2007 7:08 pm
by Seryphim
When using Censusplus if you "take" a snapshot at one time, is there a timestamp on the snapshot so can you take another one later that is at a different time.
Or does each Snapshot overwrite the old one in memory?

Posted: Wed Feb 14, 2007 8:37 pm
by Skyfire
I'm fairly certain that it adds the information from the current snapshot to previous snapshots, as well as updating your old information. Which means it overwrites the previous information.

I'm sure Rollie can expound on that... :roll:

Posted: Wed Feb 14, 2007 9:34 pm
by Seryphim
Skyfire wrote:I'm fairly certain that it adds the information from the current snapshot to previous snapshots, as well as updating your old information. Which means it overwrites the previous information.

I'm sure Rollie can expound on that... :roll:
er.. so does this mean I can do a snapshot every couple of hours without logging off and when I submit it, it will be accepted as multiple snapshots?

If it adds information to existing information then multiple snapshots should be possible.

Posted: Wed Feb 14, 2007 10:04 pm
by Skyfire
Yes. You don't need to log off every time you take a census, if that's where you're going with this. :)

Posted: Wed Feb 14, 2007 11:39 pm
by DM.
I'm no Rollie but I'll attempt to shed some light on this...

When you run a Census scan the mod will search for characters and save it to a file. The next time it runs the mod will perform the /who, get the result back, look at your file that you have your characters in from the previous scan. If the character exists then it checks the guild and level, if its different then the /who result it changes it and puts a date stamp (not time, date). It does this for all characters it finds using the /who except for when the /who result returns 3 or less chars. Rollie finally has a fix for the less than 3 chars and will hopefully be out sometime soon. The will also record the time the scan was done as well as some other things in a separate part of the file and not related to each character.

Think of it like a big data table, and your just updating that table with each scan.

The location of the file is: C:\Program Files\World of Warcraft\WTF\Account\<account>\SavedVariables\CensusPlus.lua
Just open it up in Notepad or Wordpad to see its contents but dont change anything, otherwise your submissions will not get processed correctly.

When submitting you need to make sure WoW is closed off. Otherwise the data will not get uploaded correctly.

Posted: Wed Feb 14, 2007 11:42 pm
by Rollie
DM explains it all quite well =)

The 'per snapshot' data that gets saved off outside of character data is the concurrent user data such as the number of each class currently online.

Posted: Thu Feb 15, 2007 1:55 am
by Seryphim
Ok, thank you for the responses! :D

Posted: Thu Feb 15, 2007 10:55 am
by Babs
ofc, you can stack up data from serveral realms ;)

Posted: Thu Feb 15, 2007 3:21 pm
by Hybuir
DM. wrote:When submitting you need to make sure WoW is closed off. Otherwise the data will not get uploaded correctly.
Can't you reload your UI and that'll save the LUA?

Posted: Thu Feb 15, 2007 3:41 pm
by Alanthus
Hybuir wrote:
DM. wrote:When submitting you need to make sure WoW is closed off. Otherwise the data will not get uploaded correctly.
Can't you reload your UI and that'll save the LUA?
Yes, the .lua file is saved when you log off a character, exit the game or reload the ui using /console reloadui. It doesn't get updated if the game crashes or hangs, most of the time it's updated when you linkdie but the game does a sanity check before actually saving settings if it loses connection to the server and sometimes it will not save settings/.lua files if it doesn't manage to run the sanity check properly.

Posted: Thu Feb 15, 2007 9:39 pm
by Hybuir
So theoretically you can submit while logged in. Awesome :)