 |
 |
 |
[Script] Live Percentile Ranges 1.1.0, See how good your equips are at a glance |
|
Feb 20 2018, 04:20
|
tamiroff
Group: Members
Posts: 1,145
Joined: 23-August 09

|
QUOTE(Superlatanium @ Feb 19 2018, 16:41)  2 years old browser, that would do it. Chrome support for NodeList.forEach started at Chrome 51. This would be a quick solution, but I can't guarantee there won't be other issues as well: Near the top, after "use strict", paste in this: CODE ... Ookey dokie. Edit: That appears to have done the trick. Installed the edited script, and it fired right up. So far, so good. Thanks for the help. . Salute. This post has been edited by tamiroff: Feb 20 2018, 05:24
|
|
|
|
 |
|
Feb 20 2018, 22:27
|
SuicideTree
Newcomer
 Group: Gold Star Club
Posts: 32
Joined: 14-August 10

|
Is this up to date for the current version of HV? I've used both HVToolBox and Percentile Ranges scripts (one's from the wiki) and they give different results to this "live" percentile ranges script (but HVToolBox and Percentile Ranges scripts give the same results). Any ideas why?
|
|
|
Feb 20 2018, 22:58
|
Noni
Group: Catgirl Camarilla
Posts: 13,094
Joined: 19-February 16

|
QUOTE(SuicideTree @ Feb 20 2018, 21:27)  Is this up to date for the current version of HV? I've used both HVToolBox and Percentile Ranges scripts (one's from the wiki) and they give different results to this "live" percentile ranges script (but HVToolBox and Percentile Ranges scripts give the same results). Any ideas why?
only the live script uses a database that is automatically updated. The other two rely on manual updating of the wiki ranges. Therefore, live script is more likely to be the truth.
|
|
|
|
 |
|
Feb 20 2018, 23:57
|
SuicideTree
Newcomer
 Group: Gold Star Club
Posts: 32
Joined: 14-August 10

|
QUOTE(DJNoni @ Feb 20 2018, 22:58)  only the live script uses a database that is automatically updated. The other two rely on manual updating of the wiki ranges. Therefore, live script is more likely to be the truth.
Thanks, I'll take that as also impying it's up to date.
|
|
|
Feb 21 2018, 00:05
|
Superlatanium
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13

|
QUOTE(SuicideTree @ Feb 20 2018, 21:57)  Thanks, I'll take that as also impying it's up to date. If you ever see any equipments that seem to imply that the ranges aren't up-to-date, just press the "Send Range" button to load it into Jenga's database, which Live Percentile Ranges gets its data from.
|
|
|
|
 |
|
Feb 21 2018, 00:16
|
SuicideTree
Newcomer
 Group: Gold Star Club
Posts: 32
Joined: 14-August 10

|
QUOTE(Superlatanium @ Feb 21 2018, 00:05)  If you ever see any equipments that seem to imply that the ranges aren't up-to-date, just press the "Send Range" button to load it into Jenga's database, which Live Percentile Ranges gets its data from.
I'm just getting "No data available for this equip type" (in addition to different info from other scripts), so idk what's wrong, old items lol? I'm coming back to HV after a few year long break so... This post has been edited by SuicideTree: Feb 21 2018, 00:19
|
|
|
Feb 21 2018, 02:32
|
Superlatanium
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13

|
QUOTE(SuicideTree @ Feb 20 2018, 22:16)  idk what's wrong, old items lol? Quite likely: older equips have very different ranges compared to newer equips, ranges that almost no one cares about (and would be too confusing to implement).
|
|
|
Feb 21 2018, 03:18
|
SuicideTree
Newcomer
 Group: Gold Star Club
Posts: 32
Joined: 14-August 10

|
QUOTE(Superlatanium @ Feb 21 2018, 02:32)  Quite likely: older equips have very different ranges compared to newer equips, ranges that almost no one cares about (and would be too confusing to implement).
Alright. Lastly, is there any way to use this script without opening the item in a new link? Sort of live... side by side comparison? Would improve quality of life a lot if this worked for equipped items at the very least...
|
|
|
Feb 21 2018, 03:19
|
Superlatanium
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13

|
QUOTE(SuicideTree @ Feb 21 2018, 01:18)  Alright.
Lastly, is there any way to use this script without opening the item in a new link? Sort of live... side by side comparison? Would improve quality of life a lot if this worked for equipped items at the very least... Like this? 
|
|
|
Feb 21 2018, 04:06
|
SuicideTree
Newcomer
 Group: Gold Star Club
Posts: 32
Joined: 14-August 10

|
QUOTE(Superlatanium @ Feb 21 2018, 03:19)  Like this?  More like that tbh (see pic; Percentiles under the items), I know there's a field to enter the item you want to compare, but that still requires you to open both items, get link of one and paste it to the other, doing that across many items is just tedious and plain slow if you want to compare against a bigger number of items. This post has been edited by SuicideTree: Feb 21 2018, 04:06
|
|
|
|
 |
|
Feb 21 2018, 09:42
|
Superlatanium
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13

|
QUOTE(SuicideTree @ Feb 21 2018, 02:06)  More like that tbh (see pic; Percentiles under the items), I know there's a field to enter the item you want to compare, but that still requires you to open both items, get link of one and paste it to the other, doing that across many items is just tedious and plain slow if you want to compare against a bigger number of items. The equip popups are different from the equipment pages - popups have no visible base value (located in the title attribute in standalone pages' HTML). I'd have to reorganize a lot of the script to get it to be able to parse a popup and show the results with no other functionality. Just as a side note, worrying over percentiles is generally something for high level players to care a lot about, not for low level players trying to decide between lots of different bazaar-tier junk - not that you can't, but it's probably not something to more than glance at. I did talk with f4tal about integrating ranges into equip popups in HV Toolbox, but he went afk.
|
|
|
|
 |
|
Feb 22 2018, 03:28
|
SuicideTree
Newcomer
 Group: Gold Star Club
Posts: 32
Joined: 14-August 10

|
QUOTE(Superlatanium @ Feb 21 2018, 09:42)  The equip popups are different from the equipment pages - popups have no visible base value (located in the title attribute in standalone pages' HTML). I'd have to reorganize a lot of the script to get it to be able to parse a popup and show the results with no other functionality.
Just as a side note, worrying over percentiles is generally something for high level players to care a lot about, not for low level players trying to decide between lots of different bazaar-tier junk - not that you can't, but it's probably not something to more than glance at.
I did talk with f4tal about integrating ranges into equip popups in HV Toolbox, but he went afk.
Thanks for looking into it, I understand that some things are hard to implement, even if not impossible, the return on (time) investment might not be worth it. That said however, imo it could be an invaluable QOL improvement to quickly pick out superior items and if you need a closer inspection you could do what already is available, especially since the expanded ranges do not fit my screen (that's a another issue, see bellow). Of course all of that extra expanded info would never fit inside the popup on the equipment screen, even if you'd squeeze it in all in there, there's likely no comfortable way to scroll both equipment popups (they pop up on item hover, move the cursor and you get another item). So there's definitelly downsides. But a one-liner with percentiles could be pretty good. Question: can you force popups to open in new tabs instead? I understand the percentiles are for high level min-maxing, but my inventory will be full soon, apparently I left nearly a thousand items... so before just doing a SELL ALL, I wanted to see if anything that I had was worth anything, I'd like to make a few sets with different setups out of the best gear I have. (IMG:[ invalid] style_emoticons/default/biggrin.gif) Percentiles on the equipment screen would have helped speed that process up.
|
|
|
|
 |
|
Feb 25 2018, 03:35
|
tamiroff
Group: Members
Posts: 1,145
Joined: 23-August 09

|
Greetings, Super; When I try to do an equipment comparison, this is the result: Console sez: CODE 81:26) :: Getting ranges from reasoningtheory 81:26) :: Making results... 81:26) :: Results finished In database, didn't find Legendary Rapier Discontiguous selection is not supported. 81:26) :: Using local database 81:26) :: Making results... 81:26) :: Results finished Uncaught TypeError: undefined is not a function
For this example I used 2 pieces of equipment from the Equipment Shop: (Pieces are no longer there, but I think you get the idea.) What say you?
|
|
|
|
 |
|
|
 |
|
Feb 25 2018, 05:51
|
tamiroff
Group: Members
Posts: 1,145
Joined: 23-August 09

|
QUOTE(Superlatanium @ Feb 24 2018, 17:44)  Using your examples:
[attachmentid=114693] Text: CODE 81:26) :: Using local database userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:82 81:26) :: Making results... userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:82 81:26) :: Results finished userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:687 In database, didn't find Legendary Shade Gauntlets userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:687 In database, didn't find Magnificent Shade Gauntlets userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:687 In database, didn't find Superior Shade Gauntlets userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:1368 Discontiguous selection is not supported.selectElementText @ userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:1368 userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:82 81:26) :: Using local database userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:82 81:26) :: Making results... userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:82 81:26) :: Results finished userscript.html?id=f57ead3d-05e7-412f-9636-bfe019f12876:1191 Uncaught TypeError: undefined is not a function
|
|
|
|
 |
|
Feb 25 2018, 06:00
|
Superlatanium
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13

|
QUOTE(tamiroff @ Feb 25 2018, 03:51)  attachment Other users can't see your attachment until you submit the post with it (can't just "add" the attachment; needs to show up here, I think). QUOTE(tamiroff @ Feb 25 2018, 03:51)  Uncaught TypeError: undefined is not a function[/code] What line of code is your console referring to here?
|
|
|
Feb 25 2018, 06:13
|
tamiroff
Group: Members
Posts: 1,145
Joined: 23-August 09

|
QUOTE(Superlatanium @ Feb 24 2018, 20:00)  Other users can't see your attachment until you submit the post with it (can't just "add" the attachment; needs to show up here, I think). What line of code is your console referring to here? Oopsie, doopsie.
|
|
|
Feb 25 2018, 06:20
|
Superlatanium
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13

|
That's HTML, not the Javascript, in order to figure out where the issue is I need to know the line in the Javascript that's causing the problem. Click on the last "userscript.html...." string and it should take you to the line. (your 1191 probably isn't the same as my 1191)
|
|
|
Feb 25 2018, 06:51
|
tamiroff
Group: Members
Posts: 1,145
Joined: 23-August 09

|
QUOTE(Superlatanium @ Feb 24 2018, 20:20)  That's HTML, not the Javascript, in order to figure out where the issue is I need to know the line in the Javascript that's causing the problem. Click on the last "userscript.html...." string and it should take you to the line. (your 1191 probably isn't the same as my 1191)
Duh. How about this? This post has been edited by tamiroff: Feb 25 2018, 08:57
|
|
|
Feb 25 2018, 06:56
|
Superlatanium
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13

|
QUOTE(tamiroff @ Feb 25 2018, 04:51)  [attachmentid=114697] How about this? That's the entire Live Percentile Ranges code. I already have it; I wrote it, after all. I need to know the line that your error is happening at. QUOTE(Superlatanium @ Feb 25 2018, 04:20)  Click on the last "userscript.html...." string and it should take you to the line.
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|