Stacking data

General Discussion Area
Post Reply
Seryphim
Posts: 10
Joined: Tue Feb 13, 2007 11:55 pm

Stacking data

Post 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?

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

Post 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:
Admin on WoWWiki
Moderator, Blogger on Wowhead

Seryphim
Posts: 10
Joined: Tue Feb 13, 2007 11:55 pm

Post 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.

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

Post 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. :)
Admin on WoWWiki
Moderator, Blogger on Wowhead

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

Post 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.
Image
Click my sig

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

Post 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.
phpbb:phpinfo()

Seryphim
Posts: 10
Joined: Tue Feb 13, 2007 11:55 pm

Post by Seryphim »

Ok, thank you for the responses! :D

User avatar
Babs
Posts: 130
Joined: Mon Dec 11, 2006 11:16 am
Location: Holland

Post by Babs »

ofc, you can stack up data from serveral realms ;)
Image . Image
Image

Hybuir
Gear Dependent Squirrel
Gear Dependent Squirrel
Posts: 1471
Joined: Tue Sep 06, 2005 6:22 am
Location: Austin, TX
Contact:

Post 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?

User avatar
Alanthus
Updater Extraordinaire
Posts: 334
Joined: Tue Aug 23, 2005 11:38 am

Post 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.
Image Image

Hybuir
Gear Dependent Squirrel
Gear Dependent Squirrel
Posts: 1471
Joined: Tue Sep 06, 2005 6:22 am
Location: Austin, TX
Contact:

Post by Hybuir »

So theoretically you can submit while logged in. Awesome :)

Post Reply