PDA

View Full Version : SW Roll Statistics extension



Ikael
December 10th, 2015, 19:36
Have you ever wondered what has been your highest trait/damage roll in the Savage Worlds campaign? What is the average damage you're dealing? What are the most used skills? Rolls Statistics extension will answer to these questions.

This simple extension will collect information about trait and damage rolls made in the campaign. At the moment visual output is not outstanding (see the attached images) but information gathering is very important at this point. Whenever this extension is enabled in your campaign roll results will be recorded into your campaign database and in the future new versions of this extension will provide more useful statistic "analyzing" and "displaying" features which will be using the statistics you have recorded thus far. Enjoy.

At the moment you can see roll statistics as host or player by using following slashcommands:

/stats char character based roll statistics from current session
/stats char all character based roll statistics from whole campaign
/stats trait trait based roll statistics from current session
/stats trait all trait based roll statistics from whole campaign
/stats dmg character based dealt and sustained damage statistics from current session
/stats dmg all character based dealt and sustained damage statistics from whole campaign
/stats cert to display your best roll as certificate


Any feedback is always welcome and I would love to hear what feature you would like to see regarding roll statistics.

Skellan
December 10th, 2015, 23:42
This is cool. Now I can prove that the dice hate me.
I will use this for my deadlands game and send you the database file

Dr0W
December 11th, 2015, 09:35
Statistics! I love them! I'm about to start a new campaign next week and will happily provide my campaign.db when it ends in two or three months.

Edit: Suggestion already: Can you make the stat tracking pausable? I mean, sometimes as a DM I just like to mess with the dice and try new stuff or when I teach new players I often roll mock dice and that will affect the statistics. Turning tracking off and on during play could prove useful.

Thanks again for implementing the best ideas I never knew I needed :P

Another edit:
Bug report: When I roll a NPC attack directly from the CT it works fine. But when I have that NPC sheet window open and roll from there (I don't do that quite often), I'm getting Script Error:
'[string "statistics_rolls.lua"]:202: attempt to index local 'nodeChar' (a nil value)'

Also, what's with the Average Damage Dealt. It doesn't seem to change to anything but '1'.

Ikael
December 12th, 2015, 16:02
Statistics! I love them! I'm about to start a new campaign next week and will happily provide my campaign.db when it ends in two or three months.

Edit: Suggestion already: Can you make the stat tracking pausable? I mean, sometimes as a DM I just like to mess with the dice and try new stuff or when I teach new players I often roll mock dice and that will affect the statistics. Turning tracking off and on during play could prove useful.

Thanks again for implementing the best ideas I never knew I needed :P

Another edit:
Bug report: When I roll a NPC attack directly from the CT it works fine. But when I have that NPC sheet window open and roll from there (I don't do that quite often), I'm getting Script Error:
'[string "statistics_rolls.lua"]:202: attempt to index local 'nodeChar' (a nil value)'

Also, what's with the Average Damage Dealt. It doesn't seem to change to anything but '1'.

Yeah, my math was kinda off with the average function. Don't expect magic to happen when you divide a number with the same number :) -- I am not able to reproduce the script error. Can you give more details how you got the error?

Dr0W
December 16th, 2015, 21:58
Yeah, my math was kinda off with the average function. Don't expect magic to happen when you divide a number with the same number :) -- I am not able to reproduce the script error. Can you give more details how you got the error?

Of course I can. Here: https://youtu.be/uI94ulDk4i0

Also:
Savage Worlds Deluxe version 4.2.2 (Build 1)
SW NPC Maker version 0.9 (Build 4)
SW Roll Statistics by Ikael (Aki Heikkinen) version 0.1 (Build 1)
Hellfrost Extension version 1.3 (Build 2)
Adventure Deck version 1.5.0 (Build 1)

Ikael
December 19th, 2015, 16:19
Of course I can. Here: https://youtu.be/uI94ulDk4i0

Also:
Savage Worlds Deluxe version 4.2.2 (Build 1)
SW NPC Maker version 0.9 (Build 4)
SW Roll Statistics by Ikael (Aki Heikkinen) version 0.1 (Build 1)
Hellfrost Extension version 1.3 (Build 2)
Adventure Deck version 1.5.0 (Build 1)

Thank you for the info! It turns out the issue is in Savage Worlds ruleset. I have commited fix to SW ruleset maintainer/developer.

Ikael
December 19th, 2015, 18:31
New version has been uploaded. It fixes mentioned issues and provides new slashcommand: /stat cert
The new slashcommand will display your highest trait roll as certificate, see the attached image in the first post

Ikael
August 14th, 2016, 22:09
I am getting back to this fun project but the question is: has anyone used this?

Skellan
August 14th, 2016, 23:55
I last looked at this when I was just getting used to the ruleset, so it kind of got pushed down the queue. Now that I know what I am doing more I will add this to my current campaigns I think my players will love it.

Mask_of_winter
August 15th, 2016, 00:38
I used it a couple times. While it's fun, it doesn't make gaming any easier for me or the players so I stopped using it.

Ikael
August 15th, 2016, 19:36
Version 0.3 (build 1) is available. This update provides following features:



More statistic displaying options. Use slashcommand /stats to list them all
Button next to raise calculator to enable/disable roll recording

Skellan
October 1st, 2016, 16:54
I am enjoying this extension. I had a bit of a problem as the button next to the raise calculator doesn't appear with my theme. It is clickable however, I think the image might be hidden behind the desktop background or something. In either case, I can get it to work so it is not a major problem

Ikael
October 1st, 2016, 23:34
What theme were you using? Commercial or self made? It does not sound right that the button would go behind the screen but to understand that I need to know more

Skellan
October 1st, 2016, 23:42
Yeah, its my own theme that I created, so I am sure it is something to do with that. Is it perhaps a load order thing?

Skellan
October 1st, 2016, 23:57
In either case, its not worth worrying about, it does still work (just invisible). I was just letting you know really.

Skellan
January 21st, 2017, 12:57
I keep forgetting to enable roll recording. Would it be possible to have roll recording enabled by default?

Ikael
May 31st, 2017, 21:40
New version available! The updated version is compatible with v4.4 ruleset

Ikael
September 19th, 2017, 20:35
Version 0.7 available! Required for SavageWorlds v4.5

dikdastard
October 2nd, 2017, 18:00
Is it possible to add a command that resets the whole campaign database for roll stats? Rightly or wrongly I've been experimenting with a lot of the new 4.5 features in test channel so have a lot of stats not incurred in actual game sessions. Obviously going forward I need to remember to switch the roll recording off when messing around by myself but would be nice to be able to get rid of the rolls made by NPCs the players haven't met yet and start afresh if I could. Tried the flushdb command but that didn't do anything as far as roll stats are concerned.

Ikael
May 1st, 2018, 21:03
New version available! This update makes the extension SavageWorlds v4.6 compatible.

mac40k
October 21st, 2018, 17:14
Any plans to update this for SW 4.7 compatibility? I just downloaded v0.7 and while the button to enable/disable appears, clicking on it has no discernible effect although I suppose I can just try to remember to disable the extension before launching the campaign before one of my prep sessions and then remembering to enable it again before launching an actual game session, as an old fart I appreciate having the on screen reminder whether or not the extension is enabled/disabled and being able to toggle tracking from within FG itself. The main benefit I see from using this extension is me having actual data to highlight what skills the players have invested in that I may be failing as GM to provide opportunities for them to use.

Ikael
April 21st, 2020, 19:57
New version available!

This updates makes the extension compatible with the newest SavageWorlds v5.2 version

Porkrind
January 22nd, 2021, 19:47
Anyone know how to fix the missing font console error when loading this extension in Unity?

43128

Ikael
January 22nd, 2021, 20:05
Anyone know how to fix the missing font console error when loading this extension in Unity?

43128

I know! I have uploaded patched version, see the first post.

Porkrind
January 22nd, 2021, 20:32
I know! I have uploaded patched version, see the first post.

Heh, yeah. I noticed that after I already took 0.8 apart and replaced the FGF font with an open source Google font. Thanks for fixing it, and thanks for the extension. I'm working on a Savage RIFTS game, and I'm looking forward to seeing some of those damage averages.

Jiminimonka
June 2nd, 2021, 20:40
Hi - this extension and Arcane Devices don't play well together - see my post there - https://www.fantasygrounds.com/forums/showthread.php?59443-Extension-Arcane-Devices&p=603974&viewfull=1#post603974

Thanks.

tintagel
February 15th, 2022, 05:38
How do you reset the stats?

Jiminimonka
March 20th, 2022, 13:07
How do you reset the stats?

You have to go into the db.xml file and remove all the <rollstatistics> </rollstatistics> entries.

DO NOT do this is you are running a game, and make sure you have a backup of the db.xml file first.

Maybe Ikael could add a /stats reset option in some future update, when he has time.

rigerco
October 18th, 2022, 18:13
If Ikeal ever comes back... my players are always wanting to know who took/delivered the most damage over the life of a campaign. We're playing in SW:Pathfinder now and the extension isn't available there. Any chance of flipping a bit somewhere to make it load in that setting?

rigerco
April 5th, 2023, 19:56
Bumping this now that Ikael is back - I'd love to use this in SW:PF

Ikael
April 8th, 2023, 20:10
Bumping this now that Ikael is back - I'd love to use this in SW:PF

Update available which provide compatibility for Savage Pathfinder ruleset!

rigerco
April 9th, 2023, 00:32
Thanks a bunch! Good to have you back in action.
Two wishlist items for this:
1) Make the results window shareable (my players are horrible at remembering / commands and I'd like to just be able to generate a stats window and share it) and

2) Include a "Highest" column for damage - that's the one area my group stays in competition with each other.

Again - thanks for flipping the PF switch.

macDsinfo
June 28th, 2023, 20:24
thank you.

Tokolosh
June 28th, 2023, 23:01
I am getting back to this fun project but the question is: has anyone used this?

My players LOVE this extension, and always want to hear their stats at the end of every session. We have one player who just naturally rolls a lot of aces, and everyone keeps trying to beat his "High Score"

rigerco
June 30th, 2023, 02:47
That's why we'd love to see this updated to track highest damage roll as well, since that's the one my players brag on the most.

YggBjorn
July 1st, 2023, 21:30
Thanks a bunch! Good to have you back in action.
Two wishlist items for this:
1) Make the results window shareable (my players are horrible at remembering / commands and I'd like to just be able to generate a stats window and share it) and

2) Include a "Highest" column for damage - that's the one area my group stays in competition with each other.

Again - thanks for flipping the PF switch.

It would be great to have those requests added. In the meantime, for the first request, you can instruct your players how to type out the command, then before they hit enter on it, they can drag it to their hotbar to save it as a macro. Remember the hotbar has 8 bars (regular, hold shift, hold ctrl, hold alt, hold shift+ctrl, hold shift+alt, hold ctrl+alt, hold shift+ctrl+alt) so you could tell them all to put it on spot 4 while holding ctrl. That way they can easily access it by pressing ctrl+4 and you can remind them of the button combo.

macDsinfo
February 17th, 2024, 03:48
love the extension. wonder if there is a way to get this to export to a csv file?

Jiminimonka
February 17th, 2024, 14:42
love the extension. wonder if there is a way to get this to export to a csv file?

Edit the extension and add an export to CSV function, easy. ;)

macDsinfo
February 17th, 2024, 18:12
Edit the extension and add an export to CSV function, easy. ;)
thanks for the reply. do you have any more information on how to do that, as I have no idea, which is why I asked..?

macDsinfo
September 15th, 2024, 20:28
as always, thx for this. getting a message in chat about something that is deprecated, figured I would mention it. also - is there an easy way to get this output to a csv file..? low priority, but I figured I would put it out there... many thx!

Jiminimonka
September 15th, 2024, 20:30
as always, thx for this. getting a message in chat about something that is deprecated, figured I would mention it. also - is there an easy way to get this output to a csv file..? low priority, but I figured I would put it out there... many thx!

Learn LUA lol

joltblaster
February 5th, 2025, 04:13
I hate asking knowing that you are swamped with other updates for other items. This one is throwing an error on close_utilitybox. It works but it throws an error so I thought I would ask.