Welcome Guest ( Log In | Register )

10 Pages V « < 2 3 4 5 6 > »   
Reply to this topicStart new topic
> [Script] Live Percentile Ranges 1.1.0, See how good your equips are at a glance

 
post Feb 20 2018, 04:20
Post #61
tamiroff



Active Poster
*******
Group: Members
Posts: 1,145
Joined: 23-August 09
Level 495 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 20 2018, 22:27
Post #62
SuicideTree



Newcomer
*
Group: Gold Star Club
Posts: 32
Joined: 14-August 10
Level 333 (Godslayer)


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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 20 2018, 22:58
Post #63
Noni



Hataraku Noni-sama
***********
Group: Catgirl Camarilla
Posts: 13,094
Joined: 19-February 16
Level 500 (Ponyslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 20 2018, 23:57
Post #64
SuicideTree



Newcomer
*
Group: Gold Star Club
Posts: 32
Joined: 14-August 10
Level 333 (Godslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 21 2018, 00:05
Post #65
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13
Level 500 (Godslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 21 2018, 00:16
Post #66
SuicideTree



Newcomer
*
Group: Gold Star Club
Posts: 32
Joined: 14-August 10
Level 333 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 21 2018, 02:32
Post #67
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13
Level 500 (Godslayer)


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).

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 21 2018, 03:18
Post #68
SuicideTree



Newcomer
*
Group: Gold Star Club
Posts: 32
Joined: 14-August 10
Level 333 (Godslayer)


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...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 21 2018, 03:19
Post #69
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13
Level 500 (Godslayer)


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?

Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 21 2018, 04:06
Post #70
SuicideTree



Newcomer
*
Group: Gold Star Club
Posts: 32
Joined: 14-August 10
Level 333 (Godslayer)


QUOTE(Superlatanium @ Feb 21 2018, 03:19) *

Like this?

Attached Image


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.
Attached Image

This post has been edited by SuicideTree: Feb 21 2018, 04:06
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 21 2018, 09:42
Post #71
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13
Level 500 (Godslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 22 2018, 03:28
Post #72
SuicideTree



Newcomer
*
Group: Gold Star Club
Posts: 32
Joined: 14-August 10
Level 333 (Godslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 25 2018, 03:35
Post #73
tamiroff



Active Poster
*******
Group: Members
Posts: 1,145
Joined: 23-August 09
Level 495 (Godslayer)


Greetings, Super;
When I try to do an equipment comparison, this is the result:
Attached Image Attached Image
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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 25 2018, 03:44
Post #74
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13
Level 500 (Godslayer)


QUOTE(tamiroff @ Feb 25 2018, 01:35) *
What say you?
Works for me on
https://hentaiverse.org/equip/153997952/d4f1691b15
compared against
https://hentaiverse.org/equip/153773654/bc02144212
QUOTE(tamiroff @ Feb 25 2018, 01:35) *
Uncaught TypeError: undefined is not a function
What section of code does that appear at?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 25 2018, 05:51
Post #75
tamiroff



Active Poster
*******
Group: Members
Posts: 1,145
Joined: 23-August 09
Level 495 (Godslayer)


QUOTE(Superlatanium @ Feb 24 2018, 17:44) *

Works for me on
https://hentaiverse.org/equip/153997952/d4f1691b15
compared against
https://hentaiverse.org/equip/153773654/bc02144212
What section of code does that appear at?


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 25 2018, 06:00
Post #76
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13
Level 500 (Godslayer)


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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 25 2018, 06:13
Post #77
tamiroff



Active Poster
*******
Group: Members
Posts: 1,145
Joined: 23-August 09
Level 495 (Godslayer)


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?

Attached Image
Oopsie, doopsie.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 25 2018, 06:20
Post #78
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13
Level 500 (Godslayer)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 25 2018, 06:51
Post #79
tamiroff



Active Poster
*******
Group: Members
Posts: 1,145
Joined: 23-August 09
Level 495 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 25 2018, 06:56
Post #80
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13
Level 500 (Godslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


10 Pages V « < 2 3 4 5 6 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 15th March 2025 - 01:29