Welcome Guest ( Log In | Register )

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

 
post Jan 9 2018, 13:28
Post #1
Superlatanium



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


This script displays the percentile of all of your equipment stats compared to other equips of the same type.

Attached File  Live_Percentile_Ranges_1.1.0.s3.user.js.txt ( 84.21k ) Number of downloads: 171623
Newest version, by sssss2

You can also see a graphical view of the min/max stats for each quality, as well as compare two equipments.

Attached Image

There are many display options:

Q to show Unforged Percentiles
W to show Forged Percentiles
A to show Unforged Base
S to show Forged Base
Z to show Forged Scaled to your level
X to show Forged Scaled to a custom level
F to show Forged Scaled to the equip's current level (the default display style without any scripts)
E to show absolute percentiles (0 - lmax)
D to show Fully forged base
C to show Fully Forged Scaled to a custom level
L to show equip's link for the forum ( [url=... )

If you want to have buttons for these functions rather than just keybinds, set the "mobile" variable at the top to true.

If you click the display style line, or the summary line, a few more options will appear. By default, the percentiles displayed are for the quality of your equip (eg Legendary), but you can see how their stats look compared to Magnificent/Exquisite/Superior ranges too.

Why/what is a percentile?

A [en.wikipedia.org] statistical term indicating where a number falls in a distribution. For example, something in the 99th percentile is better than nearly everything else in its category; something in the 75th percentile is better than 75%; something in the 25th percentile is better than 25%.

The default display style of equipment shows its scaled stats, which doesn't give you much of an idea of how good the stat actually is compared to other equipments: you have to hover over the stat to see its base value, and then you can compare its base value to the range of base values on the wiki. But this is tedious, and the base values themselves often don't hold much meaning until you reference the wiki, which is too big to memorize. Thus, percentiles: if you haven't memorized ADB ranges, but know that an equipment's ADB is in the 90th percentile, you know that it's well above average.

To calculate: Given a statValue, a statMinimum, and a statMaximum:
percentile = 100 * (statValue - statMinimum) / (statMaximum - statMinimum)

How it works:
The equipment ranges data on the wiki is generated from data stored on Jenga's server (on nibl.co.uk). Jenga's server is sent equipment links, the equips are parsed, and their stats are recorded. To find the minimums and maximums for a given equip type/quality/prefix/suffix combination, the database has to loop through all of its (many) items to find the minimum and maximum... for every stat. This script asks my server on [reasoningtheory.net] reasoningtheory.net for the ranges for a given equip type. If the equip type hasn't been requested before, my server will ask Jenga's server to go through all its items and generate minimums and maximums for me - this process takes a while, don't be surprised if it takes 60 seconds or so. But once my server has the response, it'll cache the minimums and maximums, so that whenever that equip type is requested in the future, my server can respond very quickly rather than after a long delay.

You can see the current database here: [reasoningtheory.net] https://reasoningtheory.net/viewranges

When your browser gets ranges for an equip type back, it saves it in your own local database, so server requests are only made if you don't already have the range info for an equip type. Ranges on reasoningtheory and on your local database both expire after 2 weeks: after that, they both have to ask for fresh range data. This ensures that the percentiles and stat ranges we all use are up-to-date.



If you have an unforged and un-IWd equip which has a percentile greater than 100% or less than 0, please open the options and press "Send Range" to send the equipment's link to Jenga's server, so the database can be updated.

If you see a forged or IWd modern equip with stats above 100% or below 0% on a stat unaffected by forging and IW, Jenga's database won't parse it: please PM me instead, and I'll add it to the database manually.

You can change what summary information is displayed via "shortSummaryStatsConfig" and "extendedSummaryStatsConfig" near the top of the script.


Script writers:
This script was intentionally designed to be modular: it should be very easy to integrate it into your own script. See the commented out section at the very bottom of the script for an example.

sssss2 made an update for this script:
QUOTE

I made a patch of Live Percentile Range script.

Release notes:

1. Absolute Percentiles (E key): the percentile point between 0 and lmax (legendary maximum value)
- Normal Percentile Ranges are very useful, but the values such as lmin/mmax/mmin are not always correct. This means that the Normal Percentile Ranges can have errors.
- Absolute Percentiles use 0 and pmax (equal to lmax) only, so those values are solid.

2. Fully Forged Base (D key) and Fully Forged Scaled to a custom level (C key)
- Attack Damage Lv.100 for melee weapons, Power armors and Shade armors
- Butcher Lv.5 for weapon of Slaughter (main hand only)
- Magic Damage Lv.100 for staves
- Magic Damage Lv.50 for Radiant Phase armors
- Archmage is disabled by default, but it can be enabled by editing script.
- Lv.50 for all other stats

3. manualRanges
- Some values of the server data are incorrect (even some lmax values are wrong). With this feature, you can overwrite them with the correct values.
- Default uses the lmax values of staves and the special stat values of phases.

4. Calculate more accurate unforged bases
- Better calculation of the effects of Butcher and Archmage
- Assign an average pxp0 to IW 10 equipment
- Important change: ADB/MDB forge factor from 0.278875 to 0.279575

5. Other fixes and changes
- Fixed the bug that prevented the range data from updating
- Changed the browser title to the name of the equipment, and add it to the browser history for searching
- Display pxp0 of the equipment in the summary text
- Display the percentiles of Spell Crit Damage (Mystic Phases)


This post has been edited by Nezu: Jan 6 2022, 12:00
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 9 2018, 13:29
Post #2
Superlatanium



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


Backend source code:

Attached File  gethvitems.php.txt ( 22.13k ) Number of downloads: 658
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 9 2018, 15:20
Post #3
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,287
Joined: 18-January 07
Level 500 (Ponyslayer)


so your script now scales to levels, uh? you reminded me i should have put that into my spreadsheets as well since forever (IMG:[invalid] style_emoticons/default/duck.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 9 2018, 16:50
Post #4
Paruri



Casual Poster
****
Group: Gold Star Club
Posts: 395
Joined: 27-October 17
Level 464 (Godslayer)


Thanks for amazing new version of Percentile Ranges!
Minor question, isn't S for Forged Base?
And can I set Leg for default in Q(Unforged Percentile)?

This post has been edited by paruri: Jan 9 2018, 16:52
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 9 2018, 20:04
Post #5
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,287
Joined: 18-January 07
Level 500 (Ponyslayer)


an oddity, seemingly on Pmax values: https://forums.e-hentai.org/index.php?s=&am...t&p=5046013

this is the item: https://hentaiverse.org/equip/114318552/05bbc185ea
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 02:03
Post #6
Superlatanium



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


QUOTE(Scremaz @ Jan 9 2018, 18:04) *
The range reported in my database and in Live Percentile Ranges is more accurate. Its Lmax is higher than the Lmax on the wiki (and higher than the Lmax in the static Percentile Ranges).

The equip that had 5.51 block (either a Peerless or the Legendary with the highest found block% to date) is this one:
https://hentaiverse.org/equip/148227653/5b8520cf2f
Unfortunately, it's been deleted by now, so we can't see it for ourselves... the wiki will be updated once skillchip runs another update.
QUOTE(gianfrix94 @ Jan 9 2018, 13:06) *
Super, Attack Speed still gets ignored.
Oops. Fixed it on the backend (it will try to grab all ranges for an equip and put it in the DB, rather than grab only the ranges requested by the client - this will really cut down on waiting time for many people) but forgot to update the front-end. Use version 1.0.1

This post has been edited by Superlatanium: Jan 10 2018, 02:15
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 02:27
Post #7
Sapo84



Deus lo vult
********
Group: Gold Star Club
Posts: 3,331
Joined: 14-June 09
Level 500 (Ponyslayer)


CR percentage should ignore penetrator from IW.

CODE

line 262
    const matchPenetrator = pageHtml.match(/Penetrator\sLv.(\d)/);

line 287
      penetrator: matchPenetrator ? parseInt(matchPenetrator[1]) : 0,

line 437
      else if (htmlName === 'Counter-Resist' && equipInfo.penetrator)
        equipStatObj.baseUnforgedValue = equipStatObj.baseUnforgedValue - 4 * equipInfo.penetrator;


From a quick test the fix seemed to work ok.

This post has been edited by Sapo84: Jan 10 2018, 02:28
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 04:36
Post #8
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,109
Joined: 26-April 12
Level 500 (Ponyslayer)


https://hentaiverse.org/equip/107023143/172e4e9ba5

"Block 102%"
And I don't see any update button.

Also, the range of some stuff seems a bit off.
Tried on my power armors and got right all of them besides the helmet (75%), it says 83%
Also, adb of rapier seems off too, mine is 90%, script shows 87% (though, forge lv 36 may be the reason).


edit: oh, and it seems to fail getting any data on: https://hentaiverse.org/equip/107842676/0d161a79be

This post has been edited by Juggernaut Santa: Jan 10 2018, 04:57
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 06:03
Post #9
Superlatanium



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


QUOTE(Sapo84 @ Jan 10 2018, 00:27) *
CR percentage should ignore penetrator from IW.
Thanks. Added Swift Strike checking too.
QUOTE(Juggernaut Santa @ Jan 10 2018, 02:36) *
"Block 102%"
And I don't see any update button.
See:
QUOTE(Superlatanium @ Jan 9 2018, 11:28) *
If you have an unforged and un-IWd equip which has a percentile greater than 100% or less than 0, please open the options and press "Send Range" to send the equipment's link to Jenga's server, so the database can be updated.

If you see a forged or IWd modern equip with stats above 100% or below 0% on a stat unaffected by forging and IW, Jenga's database won't parse it: please PM me instead, and I'll add it to the database manually.
With stats that have been affected by forging, I don't want to make changes unless I'm 100% certain the result we're seeing isn't the result of a rounding error or forge formula inaccuracy.
QUOTE(Juggernaut Santa @ Jan 10 2018, 02:36) *
oh, and it seems to fail getting any data on: https://hentaiverse.org/equip/107842676/0d161a79be
Typo in the backend. "Sabadons" => "Sabatons". Works now.
QUOTE(Juggernaut Santa @ Jan 10 2018, 02:36) *
Also, the range of some stuff seems a bit off.
Tried on my power armors and got right all of them besides the helmet (75%), it says 83%
Also, adb of rapier seems off too, mine is 90%, script shows 87% (though, forge lv 36 may be the reason).
Off compared to what? My database and the wiki have the same numbers for ["Power","Helmet","Legendary","Attack Damage","all | Slaughter"]. The wiki's ranges for rapiers are a bit inaccurate, see here.

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

 
post Jan 10 2018, 06:16
Post #10
lazyNPC



├┬┴┬┴┤(・_├┬┴┬┴┤
********
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
Level 481 (Godslayer)


Hey super, check this out, i tried sending ranges but it didn't work:
Peerless Shielding Plate Gauntlets of Protection
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 06:21
Post #11
Superlatanium



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


QUOTE(gianfrix94 @ Jan 10 2018, 04:16) *
Hey super, check this out, i tried sending ranges but it didn't work:
If this were a normal equip: It did work, but it goes to Jenga's server, not mine, since mine doesn't parse equips; range info is cached on my server for 2 weeks, so barring manual intervention you'll have to wait some time (in addition to clearing your database) to see an update there.

But this equip is too old, 67681182.

This post has been edited by Superlatanium: Jan 10 2018, 06:39
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 06:59
Post #12
lazyNPC



├┬┴┬┴┤(・_├┬┴┬┴┤
********
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
Level 481 (Godslayer)


QUOTE(Superlatanium @ Jan 10 2018, 05:21) *

But this equip is too old, 67681182.

And what is the id cutoff?
Wasn't it like 67180000? (For hv 0.82)
And did Peerlees BLK of Shielding lower after? Would seem strange.

This post has been edited by gianfrix94: Jan 10 2018, 07:05
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 08:44
Post #13
Superlatanium



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


For Gauntlets => Legendary, I manually added 5.59 as Lmax block chance on Shielding.
QUOTE(gianfrix94 @ Jan 10 2018, 04:59) *
And what is the id cutoff?
It's currently 70m for all equips, though that's a little bit arbitrary. I don't know whether there were more stealth-changes like this one shortly after 0.82.

There have been a few other stealth-changes to the ranges, most infamously for Power Slaughter (a slot-miscalculation bug IIRC), but also for other equip types too I think. I don't know the EID cutoffs for every change, but if someone does (and no one objects) I'll add it to the query-maker so that the ranges for the script and my database are only the most up-to-date Lmin and Lmax.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 14:47
Post #14
Thick Meat Maniac



Sick And Tired Of People
********
Group: Gold Star Club
Posts: 2,537
Joined: 5-January 16
Level 500 (Ponyslayer)


dont get it how it works, tryed it on FF and chrome with tampermonkey to install no problem,
but no keybound nor any butons pop up (mobile funtion) works nor shows up,
it seems it dont trigger/display anything to let me show % ranges,
tryed to read your explain text again, still dont get how to make it start working.

do i need to build a data base or something?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 15:00
Post #15
Superlatanium



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


QUOTE(Waifu Maniac @ Jan 10 2018, 12:47) *
still dont get how to make it start working.
It should do all that automatically. Do you see the new line at the bottom of the page? (shows status of script before it's finished getting/parsing ranges) Do you see anything in your javascript console when you navigate to an equip page?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 15:04
Post #16
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,109
Joined: 26-April 12
Level 500 (Ponyslayer)


QUOTE(Superlatanium @ Jan 10 2018, 05:03) *

Off compared to what?

Your auctions.

QUOTE(Waifu Maniac @ Jan 10 2018, 13:47) *

dont get it how it works, tryed it on FF and chrome with tampermonkey to install no problem,
but no keybound nor any butons pop up (mobile funtion) works nor shows up,
it seems it dont trigger/display anything to let me show % ranges,
tryed to read your explain text again, still dont get how to make it start working.

do i need to build a data base or something?

Do you have the base font? If so I have bad news for you.
Nobody gives a damn anymore about the font used by 99% of the players (IMG:[invalid] style_emoticons/default/heh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 15:07
Post #17
Superlatanium



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


QUOTE(Juggernaut Santa @ Jan 10 2018, 13:04) *
Your auctions.
My auctions use the same script. It's literally copy-pasted from Live Percentile Ranges into the auction script.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 15:11
Post #18
Thick Meat Maniac



Sick And Tired Of People
********
Group: Gold Star Club
Posts: 2,537
Joined: 5-January 16
Level 500 (Ponyslayer)


QUOTE(Juggernaut Santa @ Jan 10 2018, 14:04) *

Your auctions.
Do you have the base font? If so I have bad news for you.
Nobody gives a damn anymore about the font used by 99% of the players (IMG:[invalid] style_emoticons/default/heh.gif)


no, do use Custom Font.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 15:13
Post #19
Thick Meat Maniac



Sick And Tired Of People
********
Group: Gold Star Club
Posts: 2,537
Joined: 5-January 16
Level 500 (Ponyslayer)


QUOTE(Superlatanium @ Jan 10 2018, 14:00) *

It should do all that automatically. Do you see the new line at the bottom of the page? (shows status of script before it's finished getting/parsing ranges) Do you see anything in your javascript console when you navigate to an equip page?

nope nothing?

[attachembed=113247]

This post has been edited by Waifu Maniac: Jan 11 2018, 16:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 10 2018, 15:18
Post #20
Superlatanium



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


QUOTE(Waifu Maniac @ Jan 10 2018, 13:13) *
nope nothing?
You have something at the very top there, "22,60" ? It might well be interfering with the page parser (or to be more specific, the equipment name parser, probably).

Even so, I'm surprised your javascript console doesn't even show any errors..?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


10 Pages V  1 2 3 > » 
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: 18th April 2024 - 20:08