Madstats - Free Browser Extension For Stats Sorting
#101
Posted 02 March 2015 - 05:55 PM
#102
Posted 02 March 2015 - 06:51 PM
Calico Lobster, on 02 March 2015 - 05:55 PM, said:
Thanks! That's actually in the works currently. Probably around the same time as the first export features in a couple days.
#103
Posted 03 March 2015 - 06:24 AM
MadLibrarian, on 07 November 2014 - 06:01 PM, said:
Allows statistics sorting, duplicate hiding, hero mech naming, hiding unowned mechs, filtering, tourney counting, challenge date reversal, and a sticky header. Recently added: filters and sticky header. Click help for filter info.
I also temporarily added a donate button to increase my chances of upgrading packs before the bonus ends. Donate if you like, but I still have features to add regardless, so don't worry.
Whats it do?
- Adds filter inputs for filtering. Check the help button in top right subNav.
- Allows for a sticky header to maintain readability when scrolling down.
- Adds a menu to allow quick access to a new options menu, stats, and, updating.
- Counts mercenary tourney games, and also reverse the order of past challenges.
- Hero mech name and mech name displays on hover.
- Toggle display of unowned mechs. Manual update button when it changes. (For now)
- Hides duplicate (G)old and (I)nvasion Mechs.
- Sortable Time columns, hover for original time value display.
- Single click sorting, descending by default.
- Added style via tablesorter's built in theme: Black Ice. ( Please give feedback. )
Chrome || Internet Explorer || FireFox
How to:
The default settings will add a twitter icon on the top right area so you'll know it's working. From there you can click the profile link in the top right to display a menu. You can enable or disable options, and update your owned mechs when they change. The filter button will toggle a row of text inputs that you can use to create custom filters. Click HELP in top menu for more info.
Regex is probably the fastest(and most accurate) way to search for whole strings within the first column. /cn9/ rather than ~cn9. < > and or to are probably the most useful for numeric columns. For ranges, make sure there's a space before and after the ' to '. (5 to 15) (5 - 15)
Feedback:
Are the content boxes layering properly? The profile menu should be on top of sticky table header, and options box should be over help box.
Is the search delay too quick? It's 300ms after first keypress in filter input, which usually gives you time for 3 letters if you're quick. Prefer a longer delay? 500ms worked decent in testing but it seemed a little sluggish to me.
Having any problems with filtering or the column data? Something not sorting?
Challenge mods and tourney page working okay? ( Besides the tourney page listing 0 out of -1 when there isn't an active tourney.
Any issues understanding the filters and it's functionality? Is it remembering your preference for display of filter bar properly?
Based on the tablesorter jQuery plugin and the Crossrider extension platform for easy cross browser extension support. It is basically just a userscript wrapped in an extension.
FAQ:
Known Bugs:
Plans:
Implement data exporting and time base tracking. The time periods might take a while to perfect, so expect some tests in the staging extension periodically. I'm also currently working on adding a weight and Clan column, but I haven't completed the data object yet. If you want to help add new mechs and keep it updated, you can edit the spreadsheet.
I'm also going to add the other static content (heroes) to a spreadsheet like this so I can eventually set up an automatic update based on the data customized by the community as necessary.
Developers:
Do what thou wilt with the code, but do consider sharing your changes if they might improve the experience for others. There might be other possibilities we can collaborate on, as well.
PGI web developers are welcome/invited to invalidate my efforts by adding the feature into the real stats site. I truly won't be sad.
woah...how'd I miss this? Fantastic man, thanks for putting this together!
#104
Posted 04 March 2015 - 01:49 PM
I'm especially curious if the table stretching works well enough for high resolutions. It seems to work as intended for me, but there's some of you with crazy high resolutions, and it's max stretch might need scaled back (or configurable).
Included the Output button that downloads a csv file. Google Docs, and IDEs recognize the line endings, but notepad doesn't. I went with general settings by default, but will likely include more options later. (JSON will be included at minimum.) Will download currently filtered table, so it will show unowned mechs (if they are currently in the table), and be affected by filters. (click Reset to clear filters)
Still holding out on a full update so I can continue testing and nail down some styling issues.
The "absolutely must do list" is growing shorter.
Edited by MadLibrarian, 09 March 2015 - 04:22 PM.
#105
Posted 08 March 2015 - 10:33 AM
Ozealot, on 08 March 2015 - 10:17 AM, said:
Did you click Profile>Update from the mech stats page?
If you did update already, do the mechs show up properly when you go to options and enable 'unowned mechs'?
It is a manual update so as to not do unnecessary checks on owned mechs, because they change relatively infrequently compared to potential stat page views. It's up to the user to tell the plugin to check again. Maybe I'll move that out into a more obvious location too.
Edited by MadLibrarian, 08 March 2015 - 10:40 AM.
#106
Posted 08 March 2015 - 10:50 AM
Ozealot, on 08 March 2015 - 10:40 AM, said:
Do they show with the option 'show unowned mechs' enabled?
Can you turn on debug mode, press f12, click Profile>Update, Cancel the Refresh, and paste me the object listed under "line 163"?
Can you also tell me which mechs aren't showing up? Multiple chassis?
#107
Posted 09 March 2015 - 04:19 PM
Ozealot, on 09 March 2015 - 02:49 PM, said:
Sorry for delays in fixing this, I'm looking into it, but it is slow going without specifics. You can try the staging extension to see if the bug still exists in the latest code base if you want. Lots of new stuff, but I don't think I changed much in regards to the mech ownership logic. I plan to scrap that aspect and integrate it into the upcoming button filters. (Clan/IS, Light, Medium, Heavy, Assault, Owned) Time periods coming along too.
Turn on debug mode via Profile>Options
Click Profile>Update and Cancel the Refresh
Then press f12 and look at the console.
Scroll the console down while looking for "Line 163"
Then just copy / paste the data listed underneath 'Line 163" (If you see another "Line ###", you've gone too far.)
#108
Posted 09 March 2015 - 07:16 PM
Ozealot, on 09 March 2015 - 06:35 PM, said:
Thanks for the response. Found everything BUT no line numbers. I'm using Chrome if that helps.
Ahh, the line number property apparently isn't working in chrome. I must have broke that recently. I'll have to include a fix in the next update. Sorry, but it looks like it'll be delayed until I get the rest of the update stabilized.
Edited by MadLibrarian, 09 March 2015 - 07:17 PM.
#109
Posted 13 March 2015 - 06:26 PM
#110
Posted 14 March 2015 - 09:22 AM
Goose, on 13 March 2015 - 06:26 PM, said:
Sorry, crossrider makes it easy to create browser extensions and some people have made malware. I have the ad features that are built into crossrider disabled, and I haven't seen any other ads or tracking functionality. I have been on the fence about crossrider the whole time I've been using it, it is ridiculously easy to make an extension that injects ads and tracks users, but so far it seems like it's all optional.
#111
Posted 18 March 2015 - 09:18 PM
Download button is bugging and doesn't allow multiple downloads without a page refresh. I might have to take out the feature for this release if I don't get it sorted soon.
Edited by MadLibrarian, 19 March 2015 - 02:29 PM.
#112
Posted 20 March 2015 - 05:54 PM
I wanted to include a polished output feature in this update, but I couldn't resolve all the bugs today. The download button will appear when you enable debug mode, but you can only click it once per refresh. It's still a priority, so I look forward to getting it working and exposing a lot more options. I also updated some of the ownership code that might alleviate the issue with some mechs not displaying properly.
Let me know if you find any bugs or have suggestions.
Known Issues:
Might be some instability in this update, especially in regards to the filter buttons and the previous usage of an option for similar functionality. Running update or clearing localStorage should fix it.
The download button only works once per page refresh in firefox at the moment, sorry about that. I've been working on it, but I think it's a bug in tablesorter that will take a while longer to fix.
Edited by MadLibrarian, 06 April 2015 - 01:34 PM.
#113
Posted 21 March 2015 - 02:10 PM
Update:
There were a couple dangling issues with the tourney mods. Should be all fixed, but mech bays and premium time still might not show up properly. No test cases still. :/
Edited by MadLibrarian, 22 March 2015 - 11:23 PM.
#114
Posted 17 April 2015 - 11:53 AM
I have been busy with life and other projects, so I haven't been working on this much, but I am still around. I have passed up a bit of time when I could have worked on this. (Mostly due to being annoyed with the game and its performance. Sorry about that. :/)
Big thanks to Scruffy416 for donating. I'm still hoping to move the time/xp/cBill sums to the base stats page like we talked about, but I can't make any promises on a completion time at this point.
I'm currently going through to remove defunct code experiments and useless comments, as well as a couple structural changes to organize the code better. At the very least, I plan to get the code back to some semblance of cleanliness before I hang up my hat.
I really want to implement time based tracking, but I don't know if I can devote the time to do it well. We'll see how things go in the coming weeks, I might have time enough to get it started by then, at least.
And now, some questions for you:
Any issues with weight/sphere/owned filter buttons?
Should we keep the output button?
Any opinions on the table stretching? Unnecessary?
Anyone using Firefox have a download button that works more than once without refreshing? (Chrome seems to work as intended, but FF is giving me grief.)
Any suggestions for other modifications to the script or website that people might like?
Any interest in stat signature images?
Anyone know if there's a need for multiple languages?
Anyone want to collaborate with me on this or other projects?
Any bug reports or questions?
Edited by MadLibrarian, 17 April 2015 - 11:59 AM.
#115
Posted 18 April 2015 - 03:30 PM
otherwise to me Madstats is ESSENTIAL - great work!
Edited by JagdFlanker, 18 April 2015 - 03:32 PM.
#116
Posted 18 April 2015 - 10:13 PM
Thank you so much for putting this together!
#117
Posted 29 April 2015 - 01:04 PM
#118
Posted 29 April 2015 - 09:02 PM
JagdFlanker, on 29 April 2015 - 01:04 PM, said:
Hmm. The unowned mech behavior is a little wonky since I converted to the filter buttons. Duplicates are showing up because they aren't 'owned', so I still do need to fix that. Have you clicked 'Update' from inside the profile menu yet? I'm working to make the updating automatic, but until then that click is required. If that doesn't work for you, let me know.
Next version is half done. Couple more things to add, but a few bug fixes and changes going already. Sorry I haven't communicated much.
#119
Posted 30 April 2015 - 03:10 AM
A fan creates, fixes debugs it...so all they have to do is......what steal it? oh, still busy..
they should give this guy a free something and just. take. it.
#120
Posted 30 April 2015 - 03:10 AM
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users