Jump to content

Madstats - Free Browser Extension For Stats Sorting


269 replies to this topic

#261 MadLibrarian

    Member

  • PipPipPipPipPipPip
  • Urban Commando
  • Urban Commando
  • 334 posts
  • Twitter: Link
  • Twitch: Link
  • LocationYou Essay

Posted 12 April 2017 - 08:20 PM

View PostBrizna, on 24 October 2016 - 06:01 AM, said:

Just wanted to drop by to thank you MadLibrarian for this excellent add on. I have a Chrome version just to be able to use it. Looking forward for a working FF version again.

Btw, we used to be able to use logical operators in the rows, for example I could use >50 in matches row to filter out all mechs with less than 50 matches. What happened to that feature?


Sorry. As far as I know, and I haven't researched it yet, that feature should still be there. It is hidden behind debug mode because I had issues with it showing improperly at some point. Just click the menu at the top, then options, then enable debug mode. You can then show and hide it with the 'Filter' button.

#262 MadLibrarian

    Member

  • PipPipPipPipPipPip
  • Urban Commando
  • Urban Commando
  • 334 posts
  • Twitter: Link
  • Twitch: Link
  • LocationYou Essay

Posted 12 April 2017 - 10:41 PM

Well I went ahead and spent the intervening time updating it. Should resolve automatically if you have auto updates on. I'm going to play with the lost and found 3.0 version for a while to see if I can ever get it done. (I have some time these next couple weeks.)



Regarding the loot bags, sorry I didn't fix them in time. Whatever the problem was, it might have been fixed by disabling the tourney mods in the options. That's all I know, and I can't really test it anymore. Maybe next time. Sorry.


P.S. I haven't reinstalled MWO. Posted Image

GL and HF Mechwarriors!

Edited by MadLibrarian, 13 April 2017 - 02:32 AM.


#263 Kinski Orlawisch

    Member

  • PipPipPipPipPipPipPipPipPip
  • Galaxy Commander III
  • Galaxy Commander III
  • 2,282 posts
  • LocationHH

Posted 27 February 2018 - 03:40 AM

Thanks...God Job..I think the Black Lanner (S) is missing.

#264 Tier5 Kerensky

    Member

  • PipPipPipPipPipPipPipPipPip
  • Bridesmaid
  • 2,051 posts

Posted 27 March 2018 - 03:11 AM

View PostKinski Orlawisch, on 27 February 2018 - 03:40 AM, said:

Thanks...God Job..I think the Black Lanner (S) is missing.


Yes when you are using filters like class or owned, it won't show newer mechs.

Some will work with other filter, like Arctic Wolf will show using owned but not using medium.

Luckily sorting still works when you don't use filters.

#265 MadLibrarian

    Member

  • PipPipPipPipPipPip
  • Urban Commando
  • Urban Commando
  • 334 posts
  • Twitter: Link
  • Twitch: Link
  • LocationYou Essay

Posted 19 April 2018 - 12:54 PM

Sorrryyyy!

I'm alive. I'll see if I can look up the info and update the filter tables some time tonight.

Anyway, I probably won't get around to the firefox version. Every time i think I will have time and interest for spare projects I am proven wrong. Meh. Sorry, but sporadic updates are the best I can manage right now.
I'll probably change the colors too, when I get around to it.


P.S. PGI I will still help you add sortable stats. It is just another Jquery plugin and some config options.

Edited by MadLibrarian, 20 April 2018 - 06:58 AM.


#266 MadLibrarian

    Member

  • PipPipPipPipPipPip
  • Urban Commando
  • Urban Commando
  • 334 posts
  • Twitter: Link
  • Twitch: Link
  • LocationYou Essay

Posted 20 April 2018 - 06:57 AM

Update is out. Mostly just data, but I did also change the way (S) mechs are handled. Not sure it will solve it, as I can't test, but just let me know it failed and I'll try again.


Thanks and Sorry!

Back in a month maybe.

Edited by MadLibrarian, 01 June 2018 - 02:45 PM.


#267 Davegt27

    Member

  • PipPipPipPipPipPipPipPipPipPip
  • Ace Of Spades
  • Ace Of Spades
  • 7,020 posts
  • LocationCO

Posted 25 August 2018 - 04:11 PM

View PostHUBA, on 14 April 2016 - 05:33 PM, said:

Thanks to MadLibrarian the lightversion gets better and bigger Posted Image

In FireFox just copy all into the address field and make sure that javascript: is still there (I use strg+a, x, strg+v, pos1, del to save it) then drag the URL into the link bar to create a bookmark of the script. By clicking the bookmark it should prettify the tables (BTW it works with the last challenge/event too)

javascript:void(
!function($,d){
  "use strict";
  if ($.isFunction($.fn.tablesorter)) return;
    $('.table-striped tbody tr:has(th)').wrap('<thead></thead>');
    $('.table-striped tbody thead').insertBefore($('.table-striped tbody'));
  $('.table-striped td:contains(" day")').html(function(i,t){
   var h = parseInt(t.substr(t.indexOf('day')+4)) + parseInt(t)*24;
   h = h+t.substr(t.indexOf(':'));
   return '<i style="display:none">'+h+'</i>'+t;
  });
  var h = d.getElementsByTagName("head")[0];
  var st = d.createElement('link');
  st.href="//mottie.github.io/tablesorter/css/theme.black-ice.css";
  st.rel="stylesheet";
  st.type="text/css";
  h.appendChild(st);
  var sc = d.createElement('script');
  sc.onload=function(){
$('.table-striped').tablesorter({
sortList: [[0,0]],
sortInitialOrder: 'desc',
theme:'blackice',
widgets: ['stickyHeaders', 'filter'],
widgetOptions: {
  stickyHeaders_offset : 63,
  stickyHeaders_addResizeEvent : false,
  stickyHeaders_zIndex : 1000002,
  filter_startsWith : true,
  filter_reset :'#resetBtn'
}
});   
  };
  sc.src="//mottie.github.io/tablesorter/dist/js/jquery.tablesorter.combined.min.js";
  h.appendChild(sc);
}(jQuery,document)
)



I can't get this to work
whats does this mean

"(I use strg+a, x, strg+v, pos1, del to save it)"

#268 Lethe Wyvern

    Member

  • PipPipPipPipPipPip
  • The Wolf
  • The Wolf
  • 489 posts
  • LocationRCW

Posted 23 September 2018 - 01:52 AM

Many thanks, yay!

#269 Galaxie 500

    Member

  • PipPip
  • Philanthropist
  • Philanthropist
  • 35 posts

Posted 02 December 2018 - 02:10 PM

Hey, this is great! I was thinking about writing my own and I'm glad I don't have to. Although... I'm still tempted to write a whole external site that scrapes a player's own MWO stats and offers more columns. In particular, Damage Per Unit Time Played for each weapon would be nice (sure, a little misleading too, still would have to be read with a grain of salt) and some other X Per Unit Time Played (Equipped) columns would be fun.

Anyway, only weird thing to report in current version is that some mechs are incorrectly shown as not owned. But that's probably PGI's problem instead of the extension.





6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users