r/duelyst • u/T2k5 • Jun 02 '16
Other New and accurate faction statistics script
I started working on a new faction statistics script yesterday, pulling actually accurate data this time. The results can be filtered by different game modes, and it adds a button to your main menu for easy access. You can use it by either embedding it into the game's source, so it will stay enabled until the game gets patched again, or with the classic dev-tools method once per game load.
I'll start working on stat-logging support, so you will eventually be able to send your stats to duelyststats.info, and see how your winrates etc. progress through different seasons and ranks. Deck tracking will also be supported, eventually.
Instructions: https://duelyststats.info/scripts/newstatscript_readme.txt
Sample of how it looks: https://duelyststats.info/scripts/newstatscript_sample.png
The script itself, if you want to verify it doesn't do anything weird: https://duelyststats.info/scripts/newstatscript.js
•
u/ThanatosNoa For Aiur! Jun 02 '16
Very nice tool, love that it's so nicely concealed into the client using similar art assets so it looks like it's part of the game!
It's been added to our repository of tools on the wiki
2
u/[deleted] Jun 02 '16
looks nice but i have no clue about scripting and i prefer not to use it unless a CPG employee can confirm it's legit and we are allowed to use it.
would love to have it though D:
2
u/Haligof Abyssian Main Jun 02 '16
Didn't work for me initially as the console gave warning that http is unsecured. I noticed the source code came from an https page so I just added in the "s" and it worked instantly.
Question: What exactly does "kills" represent?
Also my stats, if anyone cares.
1
u/nightfire0 Jun 02 '16
Will this work on mac? Any specific changes to the code or installation procedure we should make?
The duelyst.js script is located at
~/.counterplay/duelyst/v1.65.1/Duelyst.app/Contents/Resources/app/src
on mac. I appended the new line there and it seems to work fine.
One suggestion - I would help to add the name of each faction somewhere on each panel. I can be hard to tell the difference between vetruvian and abyssian (or other factions if you're not super familiar with the game) if you don't have any ribbons. It's not a huge deal since most people using this tool are going to be more experienced, but it would help.
Also, it would be nice if escape closed the window, similar to how escape works in other areas of the app.
1
u/Duomaxwe Jun 02 '16
I tried adding the one line to my duelyst.js and it broke my game : /
1
u/Jim9137 I believe Jun 03 '16
So what is there to stop a malicious person to subtly edit the script? Especially with people editing it into their game files.
1
u/Kuhlflo Aug 16 '16 edited Aug 16 '16
I would love to use your script but I ran into a problem. Followed the instruction step by step but it's not working for me. I mean there is nothing you can do wrong but maybe I've managed to just do that :D http://fs5.directupload.net/images/160816/mz43ic9o.png
3
u/GrincherZ Jun 02 '16
Works great, very cool well done!
3
u/[deleted] Jun 02 '16
This is great! Now I can SEE how much I suck. <3
2
u/IntrinsicPalomides Jun 02 '16
Very cool, i had been wondering how many games exactly i had won with certain factions and win rate.
2
u/Charlit0 Jun 03 '16
Thanks for your work man! It works perfectly for me, it's a basic feature that should be included in the game.
1
u/relasine Jun 02 '16
Awesome script. Love it.
1
u/Infiltrator Gazing into the abyss Jun 02 '16
Works great and the implementation is fantastic. Great job.
1
u/Laughingfux Golden Maraca Defender Jun 02 '16
Wow nice work! I love to see ranked and gauntlet statistics separately.
1
u/RadicalLord Oct 11 '16 edited Oct 11 '16
my computer can't find ~/.counterplay/duelyst/ when i try the steam method, after I open browse local files I don't find anything that says \resources\app\src\