d2jsp
d2jsp Forums > Ladder Slasher >
Poll > A Small Suggestion > About Mq Totals
Prev123Next
Add Reply New Topic New Poll
User Poll
Guests cannot vote. Please register or login.
Dante
#11 Apr 23 2018 04:00am
Group: Member
Posts: 22,427
Joined: Oct 15 2006
Gold: 17,635.98
Quote (Brainwashed @ 23 Apr 2018 08:58)
That would be great too!



Gotcha. I know this suggestion is pretty simple/basic. But thought it would still be a neat addition :)


The total could actually be inserted via a userscript again, which is more of a workaround than a feature

I'll try to post something these days just for fun
Dante
#12 Apr 23 2018 12:21pm
Group: Member
Posts: 22,427
Joined: Oct 15 2006
Gold: 17,635.98
Maybe this?

Code
// ==UserScript==
// @name Show total MQs
// @namespace http://tampermonkey.net/
// @version 0.1
// @author Dante@JSP
// @match http*://forums.d2jsp.org/user.php?c=*&i=*&p=*
// ==/UserScript==

/* jshint ignore:start */
(function() {
var tableu = document.querySelectorAll('.ftbt')[0].childNodes[1].childNodes;
var mqs = parseInt(tableu[24].innerHTML.match(/\d{1,4}/)[0], 10) + parseFloat(tableu[26].innerHTML.match(/\d{1,4}/)[0]);
tableu[26].outerHTML += `<tr><td align="right">MQ Total:</td><td>${mqs}</td></tr>`
})()


This post was edited by Dante on Apr 23 2018 12:21pm
WEOW
#13 Apr 23 2018 12:29pm
Group: Member
Posts: 15,462
Joined: Dec 6 2008
Gold: 892.50
I'd love if it showed your mq total for past seasons as well. Kinda cool stat.
Dante
#14 Apr 23 2018 12:36pm
Group: Member
Posts: 22,427
Joined: Oct 15 2006
Gold: 17,635.98
Quote (RawrFox @ 23 Apr 2018 19:29)
I'd love if it showed your mq total for past seasons as well. Kinda cool stat.


that's something I cannot provide I'm afraid
Dante
#15 Apr 23 2018 12:47pm
Group: Member
Posts: 22,427
Joined: Oct 15 2006
Gold: 17,635.98
wow, paul just fired an implementation of that :D
slushslush
#16 Apr 23 2018 12:49pm
Group: Member
Posts: 36,095
Joined: Apr 8 2007
Gold: 423.95
Quote (Dante @ Apr 23 2018 02:47pm)
wow, paul just fired an implementation of that :D


???

ohh sweet



This post was edited by slushslush on Apr 23 2018 12:51pm
Dante
#17 Apr 23 2018 12:50pm
Group: Member
Posts: 22,427
Joined: Oct 15 2006
Gold: 17,635.98
Quote (slushslush @ 23 Apr 2018 19:49)
???


check any character, I saw him pushing 2 different versions of that

it's divided into pass/fail and total mq attempts now
slushslush
#18 Apr 23 2018 12:52pm
Group: Member
Posts: 36,095
Joined: Apr 8 2007
Gold: 423.95
i also think it would be cool if he added the gps to where your posts and join date are.

under guild. or just beside it

This post was edited by slushslush on Apr 23 2018 12:54pm
njaguar
#19 Apr 23 2018 12:53pm
Group: Admin
Posts: 22,441
Joined: Sep 24 2002
Gold: 124,090.42
Trader: Trusted
This is now done. Also, the character page is now mobile friendly.
Dante
#20 Apr 23 2018 12:59pm
Group: Member
Posts: 22,427
Joined: Oct 15 2006
Gold: 17,635.98
Quote (njaguar @ 23 Apr 2018 19:53)
This is now done. Also, the character page is now mobile friendly.


nice job, Paul
Go Back To Ladder Slasher Topic List
Prev123Next
Add Reply New Topic New Poll