> [Script] Live Percentile Ranges 1.1.0, See how good your equips are at a glance

 
post Jan 9 2018, 06:28
Post #61
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,547
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: 229810
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, 05:00


--------------------
User is online!Profile CardPM
Go to the top of the page
+Quote Post


Posts in this topic
Superlatanium   [Script] Live Percentile Ranges 1.1.0   Jan 9 2018, 06:28
Superlatanium   Backend source code:   Jan 9 2018, 06:29
Scremaz   so your script now scales to levels, uh? you remin...   Jan 9 2018, 08:20
paruri   Thanks for amazing new version of Percentile Range...   Jan 9 2018, 09:50
Scremaz   an oddity, seemingly on Pmax values: https://forum...   Jan 9 2018, 13:04
Superlatanium   [quote name='Scremaz' post='5046024' date='Jan 9 2...   Jan 9 2018, 19:03
Sapo84   CR percentage should ignore penetrator from IW. ...   Jan 9 2018, 19:27
Juggernaut Santa   https://hentaiverse.org/equip/107023143/172e4e9ba5...   Jan 9 2018, 21:36
Superlatanium   [quote name='Sapo84' post='5046293' date='Jan 10 2...   Jan 9 2018, 23:03
gianfrix94   Hey super, check this out, i tried sending ranges ...   Jan 9 2018, 23:16
Superlatanium   [quote name='gianfrix94' post='5046508' date='Jan ...   Jan 9 2018, 23:21
gianfrix94   [quote name='Superlatanium' post='5046509' date='J...   Jan 9 2018, 23:59
Superlatanium   For Gauntlets => Legendary, I manually added 5....   Jan 10 2018, 01:44
Waifu Maniac   dont get it how it works, tryed it on FF and chrom...   Jan 10 2018, 07:47
Superlatanium   [quote name='Waifu Maniac' post='5046775' date='Ja...   Jan 10 2018, 08:00
Waifu Maniac   [quote name='Superlatanium' post='5046786' date='J...   Jan 10 2018, 08:13
Superlatanium   [quote name='Waifu Maniac' post='5046797' date='Ja...   Jan 10 2018, 08:18
Juggernaut Santa   [quote name='Superlatanium' post='5046499' date='J...   Jan 10 2018, 08:04
Superlatanium   [quote name='Juggernaut Santa' post='5046789' date...   Jan 10 2018, 08:07
Juggernaut Santa   [quote name='Superlatanium' post='5046791' date='J...   Jan 10 2018, 09:51
Superlatanium   The auction ranges displayed a while ago were usin...   Jan 11 2018, 08:25
Scremaz   [quote name='Superlatanium' post='5047766' date='J...   Jan 11 2018, 08:49
Waifu Maniac   [quote name='Juggernaut Santa' post='5046789' date...   Jan 10 2018, 08:11
Juggernaut Santa   [quote name='Superlatanium' post='5047766' date='J...   Jan 11 2018, 09:26
Superlatanium   Just delete your old database, many of its values ...   Jan 11 2018, 09:52
gianfrix94   Super, found a bug, repeating PABs in Shade: Legen...   Jan 11 2018, 10:09
Superlatanium   "Plate" is matching "breastplate...   Jan 11 2018, 10:21
gianfrix94   [quote name='Superlatanium' post='5047844' date='J...   Jan 11 2018, 10:28
gianfrix94   Hi super, i added this to the CSS sheet inside Doc...   Jan 11 2018, 14:17
BMXArena   Thank you for making this script~   Jan 11 2018, 17:35
Cryosite   https://hentaiverse.org/equip/148346326/3f5bc82af1...   Jan 12 2018, 19:59
Superlatanium   [quote name='Cryosite' post='5049007' date='Jan 13...   Jan 12 2018, 20:29
paruri   [quote name='Superlatanium' post='5049037' date='J...   Jan 12 2018, 23:45
Superlatanium   [quote name='gianfrix94' post='5047942' date='Jan ...   Jan 12 2018, 23:50
paruri   [quote name='Superlatanium' post='5049144' date='J...   Jan 13 2018, 00:26
Maharid   Magnificent Oak Staff of Heimdall If i select Leg...   Jan 14 2018, 00:11
Juggernaut Santa   [quote name='Superlatanium' post='5047817' date='J...   Jan 14 2018, 00:51
paruri   I guess you put ADB's level scaling factor for...   Jan 14 2018, 01:44
phontas   All I get is "No data available for this equi...   Jan 16 2018, 08:59
gianfrix94   [quote name='phontas' post='5052401' date='Jan 16 ...   Jan 16 2018, 09:28
phontas   [quote name='gianfrix94' post='5052444' date='Jan ...   Jan 16 2018, 11:12
Juggernaut Santa   [quote name='phontas' post='5052535' date='Jan 16 ...   Jan 16 2018, 12:08
phontas   [quote name='Juggernaut Santa' post='5052570' date...   Jan 16 2018, 12:49
Juggernaut Santa   He's probably using the default font. Not an o...   Jan 16 2018, 09:42
Maharid   I use a custom font but i still get the "No d...   Jan 20 2018, 16:00
Superlatanium   Added a graphic - now you can see the mins and max...   Jan 20 2018, 20:40
Scremaz   [quote name='Superlatanium' post='5056276' date='J...   Jan 21 2018, 04:57
Maharid   With the new version the problem was still here so...   Jan 20 2018, 21:48
Superlatanium   [quote name='Maharid' post='5056316' date='Jan 21 ...   Jan 20 2018, 22:32
Maharid   @Super: I use FF and Grasemonkey, i cleared the da...   Jan 21 2018, 11:46
Superlatanium   [quote name='Maharid' post='5056832' date='Jan 21 ...   Jan 21 2018, 21:01
gianfrix94   The percentile graph is pretty good, but it would ...   Jan 21 2018, 12:16
Maharid   Ok, it is caused by ToolBox Equipment Ranges, i ma...   Jan 21 2018, 21:06
Cryosite   Feature idea: A display style or series of display...   Jan 29 2018, 11:16
Juggernaut Santa   "Scale to your level" did not update aft...   Jan 29 2018, 19:05
Superlatanium   [quote name='Juggernaut Santa' post='5063583' date...   Jan 29 2018, 19:41
tamiroff   Greetings, Super;When an Equipment Pop-up is opene...   Feb 19 2018, 13:58
Superlatanium   Your browser is too outdated or too standards-nonc...   Feb 19 2018, 15:41
tamiroff   [quote name='Superlatanium' post='5080597' date='F...   Feb 19 2018, 18:55
Superlatanium   [quote name='tamiroff' post='5080657' date='Feb 19...   Feb 19 2018, 19:41
tamiroff   [quote name='Superlatanium' post='5080704' date='F...   Feb 19 2018, 21:20
SuicideTree   Is this up to date for the current version of HV? ...   Feb 20 2018, 15:27
DJNoni   [quote name='SuicideTree' post='5081361' date='Feb...   Feb 20 2018, 15:58
SuicideTree   [quote name='DJNoni' post='5081372' date='Feb 20 2...   Feb 20 2018, 16:57
Superlatanium   [quote name='SuicideTree' post='5081389' date='Feb...   Feb 20 2018, 17:05
SuicideTree   [quote name='Superlatanium' post='5081393' date='F...   Feb 20 2018, 17:16
Superlatanium   [quote name='SuicideTree' post='5081402' date='Feb...   Feb 20 2018, 19:32
SuicideTree   [quote name='Superlatanium' post='5081464' date='F...   Feb 20 2018, 20:18
Superlatanium   [quote name='SuicideTree' post='5081503' date='Feb...   Feb 20 2018, 20:19
SuicideTree   [quote name='Superlatanium' post='5081504' date='F...   Feb 20 2018, 21:06
Superlatanium   [quote name='SuicideTree' post='5081531' date='Feb...   Feb 21 2018, 02:42
SuicideTree   [quote name='Superlatanium' post='5081692' date='F...   Feb 21 2018, 20:28
tamiroff   Greetings, Super;When I try to do an equipment com...   Feb 24 2018, 20:35
Superlatanium   [quote name='tamiroff' post='5084818' date='Feb 25...   Feb 24 2018, 20:44
tamiroff   [quote name='Superlatanium' post='5084834' date='F...   Feb 24 2018, 22:51
Superlatanium   [quote name='tamiroff' post='5084933' date='Feb 25...   Feb 24 2018, 23:00
tamiroff   [quote name='Superlatanium' post='5084938' date='F...   Feb 24 2018, 23:13
Superlatanium   That's HTML, not the Javascript, in order to f...   Feb 24 2018, 23:20
tamiroff   [quote name='Superlatanium' post='5084949' date='F...   Feb 24 2018, 23:51
Superlatanium   [quote name='tamiroff' post='5084968' date='Feb 25...   Feb 24 2018, 23:56
tamiroff   [quote name='Superlatanium' post='5084973' date='F...   Feb 25 2018, 00:18
Superlatanium   It looks like older browsers can't destructure...   Feb 25 2018, 16:20
tamiroff   [quote name='Superlatanium' post='5085544' date='F...   Feb 25 2018, 18:09
tamiroff   Hello, Super;In many of the equipment compares I...   Feb 28 2018, 08:31
Superlatanium   [quote name='tamiroff' post='5087734' date='Feb 28...   Mar 4 2018, 04:46
tamiroff   [quote name='Superlatanium' post='5091505' date='M...   Mar 4 2018, 18:08
Dk2017   script match url can change // @include https...   Jun 8 2018, 09:28
Vilis   I installed Live Percentile Ranges directly from t...   Jul 30 2018, 15:14
Evil Scorpio   Could you please add "show Unforged Scaled to...   Aug 28 2018, 03:10
(Cheater) KamuiSeph   Am I doing something wrong? I installed the scrip...   Oct 8 2018, 13:54
DJNoni   [quote name='(Cheater) KamuiSeph' post='52...   Oct 8 2018, 15:37
tox01   Superlatanium, Scaling down item with Critical Dam...   Nov 1 2018, 03:22
quitetanky   Hi! Not sure where to write about it. And its ...   Nov 2 2018, 12:11
BlueWaterSplash   I'm curious why your Lmin block on barrier buc...   Nov 10 2018, 16:12
3534   [quote name='Superlatanium' post='5045776' date='J...   Nov 14 2018, 04:52
RibbonsCan   Hi, getting an error here? Response Error: ...   Dec 3 2018, 23:38
billgates2114   [quote name='RibbonsCan' post='5291671' date='Dec ...   Dec 5 2018, 22:33
我叫木头   [quote name='billgates2114' post='5293125' date='D...   Dec 10 2018, 21:46
mutsdhr   Response Error: "Connect Error (2003) Can...   Dec 11 2018, 01:35
karyl123   either Request Error: Response code of "0...   Dec 11 2018, 05:36
2 Pages V  1 2 >


Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
1 Members: lightning Wolf

 


Lo-Fi Version Time is now: 14th October 2024 - 06:21