| View previous topic :: View next topic |
|
| Author |
Message |
|
Artack Site Admin
Joined: 23 Aug 2006 Posts: 224
|
Posted: Thu Aug 24, 2006 4:29 am Post subject: SW Stats 2.0 Timeline Sneak Peak |
|
|
Here is some info on the 2.0 Timeline and datasegments and their implications.
http://www.sw-stats.com/timline.jpg
Items marked in green are currently being used to calculate data.
Items marked in red are currently selected.
Items marked in orange are selected and are currently being used to calculate data.
To delete segments press the “X” button. You cannot delete the active data segment (the last one). Once you have deleted a segment there is no way back! So make sure that’s what you want to do.
To rename segments press the “R” button. To accept the rename press enter or click the “R” button again. If you rename the active segment (the last one) and it contains no data it might be renamed automatically.
Merging: Once you have merged a range of segments there is no way back! So make sure that’s what you want to do. You CAN merge the active segment with previous segments, but data currently being collected will be added to the merged segment. (Essentially it will be the new active segment).
After merging data the only segment to calculate data will be the active segment. Re-select whatever data you want to display.
Selecting segments to calculate data:
If you only select the active segment (the last one) SW Stats 2.0 will behave very much like SW Stats 1.x versions, although if you reset data it isn’t lost like in 1.x. In 2.0 a new data segment is created and then is automatically the active segment.
If you select a range that doesn’t include the active segment the data displayed is “static” (Nothing is being added to old data segments). If you select a range including the active segment you have something like an “auto end marker”. Even if you reset to create a new segment the data will keep counting up but will be separated in different data segments.
This stuff eats memory, here is why:
These are ONLY the BASIC infos of a unit:
"Damage",
"Heal",
"Deaths",
"DecurseCount",
"TotalDmgTicks",
"OverHeal",
"HealInFight",
"OverHealInFight",
"DOTTicks",
"DOTDmg",
"TotalFightTime",
A unit will have some of these entries double, one for done and one for received.
To keep it simple the basic unit data is lets say 20 integers. That in itself isn’t so bad but now every time you create a new segment you create another 20 integers (and the table containing them). You see where this is going. Above the basic data there is also school data with resist info, skill with resist, crushing glancing etc info. (also, on a done and received basis) and more.
So.
Either /sws nuke after your done looking at the numbers (this deletes everything collected) or merge the entire raid data into one data segment. This is still a ton of data but a lot less then lets say keeping 15 segments alive. (Which in our previous example, would have held 300 integers for just one person instead of 20)
Of course it’s not quite as simple as this, there is more going on but that’s the gist of it.
This might sound really bad, but if you nuke your data every 1 or 2 raids SW Stats 2.0 will still use less memory then “DB addons” like loot link or enchantrix etc.
If you don’t – well it will eat your script memory for breakfast.
I’m still debating if I should add some warning “Dude delete the stuff, it’s getting out of hand”.
One thing I am really not sure how to handle in 2.0 are the reporting functions. Everybody can reset his/her data at their own leisure and Sync still works. Everybody can select whatever segments he wishes. Posting one certain data view gets rather pointless.
(Hey I made 5 billion damage – but I didn’t /sws nuke in ages and this is the data from 3 weeks)
[edit]
As a further explanation of the data segments:
It’s like you would "Save" data in other add-ons, just that a save happens automatically when you reset, zone, join a group/raid and leave a group/raid. I do not have a "last fight" thing though, imho it's to much overhead for the info given. The only real interesting last fight info is on bosses.. and you guys reset on those anyways.
These automatic saves will be extended in the future (2.2 +) to handle boss fights without the need to reset manually.
Last edited by Artack on Wed Aug 30, 2006 4:12 am; edited 1 time in total |
|
| Back to top |
|
 |
|
Darclite

Joined: 27 Aug 2006 Posts: 20 Location: Switzerland
|
Posted: Sun Aug 27, 2006 4:39 pm Post subject: |
|
|
| Sounds pretty good can't wait for it. Keep the good work! |
|
| Back to top |
|
 |
|
mok
Joined: 23 Aug 2006 Posts: 14
|
Posted: Sun Aug 27, 2006 5:16 pm Post subject: |
|
|
| i love you ^^ |
|
| Back to top |
|
 |
|
LouTheKiller
Joined: 25 Aug 2006 Posts: 3
|
Posted: Tue Aug 29, 2006 10:32 am Post subject: About reporting |
|
|
| I suggest you just remove reporting in SWS2, this will 'force' people to install the addon if they want stats and speed development. |
|
| Back to top |
|
 |
|
Ilyd
Joined: 29 Aug 2006 Posts: 1
|
Posted: Tue Aug 29, 2006 7:37 pm Post subject: |
|
|
It would be great if you could actually have more segments active at one time. f.e. you could have a segment for a whole raidnight (AQ40 clear and stuff) then a segment for each bossfight.
Like:
Segment 1: WholeNight (gets not resetted, is active the whole night)
Segment 2: BossFight1 (is active while Skeram)
Then, after Skeram, you create a Segment 3, so the Trashmob before Sartura doesn't fake the Skeram-Segment. So you get to Sartura and create a:
Segment 3: BossFight2 (is active while Sartura)
and delete the TrashmobsAfterSkeram-Segment. And so on.
So in the end of the whole raidnight you'd have a segment for all fights (bosses & trashmobs, together) and several fragements for each bossfight. And then, the night after, you just /sws nuke it and begin again (naxx spiderwing-clear f.e) |
|
| Back to top |
|
 |
|
Artack Site Admin
Joined: 23 Aug 2006 Posts: 224
|
Posted: Tue Aug 29, 2006 9:44 pm Post subject: |
|
|
I implemented the ability to merge non consecutive data segements, to do the stuff you described Ilyd. (It wasn't in when i did the Sneak Peak).
Atm it's a little bit click intensive, but you can do it.
Things like "special boss segments" that automates some of this will have to wait somewhat. |
|
| Back to top |
|
 |
|
LouTheKiller
Joined: 25 Aug 2006 Posts: 3
|
Posted: Tue Aug 29, 2006 11:48 pm Post subject: |
|
|
| Artack wrote: | I implemented the ability to merge non consecutive data segements, to do the stuff you described Ilyd. (It wasn't in when i did the Sneak Peak).
Atm it's a little bit click intensive, but you can do it.
Things like "special boss segments" that automates some of this will have to wait somewhat. |
Will it be possible to merge some segments and create a new segment with the result ? |
|
| Back to top |
|
 |
|
Artack Site Admin
Joined: 23 Aug 2006 Posts: 224
|
Posted: Wed Aug 30, 2006 12:12 am Post subject: |
|
|
| LouTheKiller wrote: |
Will it be possible to merge some segments and create a new segment with the result ? |
Hrm not really because I always thought of merging as lowering memory usage, but it wouldn't be a problem to do.
What's the situation where you would like this? |
|
| Back to top |
|
 |
|
LouTheKiller
Joined: 25 Aug 2006 Posts: 3
|
Posted: Wed Aug 30, 2006 12:35 am Post subject: |
|
|
| Artack wrote: | | What's the situation where you would like this? |
When creating new segment for each part of the raid and then at the and create a sum of everything to have the whole raid without loosing the segments for each boss for exemple.
In fct I didnt really get how the display is working: if we can display a sum of selected segment, we do no need that merge&create function.
My consern is just beeing able to display the whole raid and the individual segments. |
|
| Back to top |
|
 |
|
Artack Site Admin
Joined: 23 Aug 2006 Posts: 224
|
Posted: Wed Aug 30, 2006 1:09 am Post subject: |
|
|
| LouTheKiller wrote: | | My consern is just beeing able to display the whole raid and the individual segments. |
You will be able to do that. |
|
| Back to top |
|
 |
|
GuaRRand
Joined: 30 Aug 2006 Posts: 1
|
Posted: Wed Aug 30, 2006 8:51 am Post subject: |
|
|
ETA on it?
I know it'll be done when its done and all that, but since both SWstats and Damagemeter are not up to date..... i neeeed my stats!!  |
|
| Back to top |
|
 |
|
mok
Joined: 23 Aug 2006 Posts: 14
|
Posted: Wed Aug 30, 2006 5:40 pm Post subject: |
|
|
| it would be nice to quickly hack some code to use SendAddOnMessage(), until version 2.0 is up and running |
|
| Back to top |
|
 |
|
Vill
Joined: 31 Aug 2006 Posts: 1
|
Posted: Thu Aug 31, 2006 9:41 am Post subject: Re: About reporting |
|
|
| LouTheKiller wrote: | | I suggest you just remove reporting in SWS2, this will 'force' people to install the addon if they want stats and speed development. |
No. Kthxbye. :P
Regarding reporting issues, why not force a timestamp for the beginning and end of the segment being reported? Something like:
--- Report: Effective Healing ---
--- Label: Patchwerk
--- Start: 08/01/06 (7:30:00 PM)
--- End: 08/30/06 (9:00:00 PM)
#1 - Blah blah...
Get the date/time from the server. Then you could easily see if reports are accurate or misleading. It's a little more data to track but imo some kind of check or extra info is necessary, or we'll have user-created inaccuracy, whether intentional or not.
ETA: With user-merged or otherwise cut/merged segments, take the earliest timestamp from a segment as the start time, and the latest timestamp as the end.
Also, Artack, when you talk about auto-saving of segments, can this please be made optional to the user? There are some cases where we zone very frequently (Naxx wipes :P), and other reasons why you'd not want to start a new segment.
So happy to see that you're working actively on this. My guild and I love SWS and we're thrilled about its continuing development. Hats off to ya. :D |
|
| Back to top |
|
 |
|
dafire
Joined: 31 Aug 2006 Posts: 20
|
Posted: Thu Aug 31, 2006 11:41 am Post subject: |
|
|
No.. don't extend the spam by another 4 rows ...
I second removing reporting to party, raid and guild channel.
It's simply not necessary with a good working sync where everybody can install the mod.
I'd rather like to see some kind of xml export including the segments, I'd write a webapp for saving and displaying  |
|
| Back to top |
|
 |
|
Isyn
Joined: 26 Aug 2006 Posts: 4
|
Posted: Thu Aug 31, 2006 11:12 pm Post subject: |
|
|
| dafire wrote: | No.. don't extend the spam by another 4 rows ...
I second removing reporting to party, raid and guild channel.
It's simply not necessary with a good working sync where everybody can install the mod.
I'd rather like to see some kind of xml export including the segments, I'd write a webapp for saving and displaying  |
Unless version 2 uses substantially less memory, I don't see that happening. There are too many people that simply refuse to use a mod with the RAM requirements of SWS1. |
|
| Back to top |
|
 |
|