Welcome Guest ( Log In | Register )

6 Pages V  1 2 3 > »   
Reply to this topicStart new topic
> Inpage equipment calculator, version 0.8 preview

 
post May 9 2012, 03:26
Post #1
el h



It's all about the Pentiums, baby!
*******
Group: Members
Posts: 1,329
Joined: 10-November 09
Level 405 (Ascended)


Edit June 15: I will update when i have time.

-------

I made a userscript that shows some extra data when you open an equipment popup. Example screenshot:
[attachembed=13997]

Functions

The extra information is only displayed on equipment popups, not in embedded screens.
For columns of data are added:
  1. First the names of the statistics. They have as tooltip the range in wich base stats appear for this item type.
  2. then it shows the item's base stats (as if it would be level 0). Any upgrades (reforging) is also removed for this.
  3. Then a percentage indicating where this item's base stats are in the possible range for items upto superior, or better if the item is better. 0% = lowest, 100% = highest.
  4. And again, but in the range up to legendary.
The informations about ranges was collected and organized by skillchip on the wiki, which i thankfully use.

Usage

The range data comes from the wiki, but you have to update it manually by clicking on the button on the bottom. You can click this button when the wiki has been changed to get the newest data.

Installation

download version 0.8.1 [attachmentid=14312]
unzip equipcalc.user.js to some folder. You don't need the other files in the zip, they are for developers.
opera:
go to HV, right click any page, 'edit site preferences', 'scripting', choose 'user javascript folder', make sure equipcalc.user.js is in it.
firefox:
install greasemonkey (if not already done). drag equipcalc.user.js to a new tab, click install, and enable it.
chrome:
don't use it directly as a chrome extension. Install [chrome.google.com] Tampermonkey from chrome webstore first, then add the script inside tampermonkey (new script -> copy-paste the content -> save).
IE:
if anybody knows, please tell me

On first use, you have to click update before any stats can be calculated. If this takes longer than 5 secons, it's not working, report it as a bug.

Bugs

The data on the wiki is incorrect since the last patch. Skillchip is working on it. When he updates, just click update and it should be corrected. I hope.

weapon procs are missing. Will look into it.

If the calculated stats are wrong or missing (while they are on the wiki, and correct there), please let me know.

Suggestions for new features are welcome.

If you report a bug:
  • mention your browser + version, and OS
  • report if is just a few items, or all that don't work
  • detail what happens, and copy any error message you get

Changelog

0.8.1
  • updated wikiparser because of layout change
  • some stats may be off. i will make this easier to check in the next version.
  • user selectable columns still not finished
0.8 preview
  • updated wikiparser because of layout change
  • now recognises "of the Priestess" gear correctly.
  • improved error reporting in certain cases.
  • user selectable columns does not work, but there is part of the interface visible. The selection bar will no longer appear bautomatically in the final. You can already scroll over a column heading to change its subtype.
0.7.1
  • works with all font engines, not just local font, now for real i hope
0.7
  • fixed some missing and wrong stats
  • works with all font engines, not just local font
0.6
sort of worked


This post has been edited by el h: Jun 15 2012, 01:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 04:49
Post #2
skillchip



Mathematical Trashcat
*********
Group: Catgirl Camarilla
Posts: 5,754
Joined: 31-December 06
Level 496 (Godslayer)


Change
"Magic Damage Bonus": 22 + 2/3,

to
"Magic Damage Bonus": 22 + 3/4,

and
"Bleed Damage": 12,
no long matters, doesn't scale just like mana conservation

other then that. I approve!

This post has been edited by skillchip: May 9 2012, 04:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 09:25
Post #3
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


To install the script on Chrome: don't use it directly as a chrome extension. Install [chrome.google.com] Tampermonkey from chrome webstore first, then add the script inside tampermonkey (new script -> copy-paste the content -> save).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 10:24
Post #4
WLyon



Elite Poster
**********
Group: Members
Posts: 8,025
Joined: 4-October 10
Level 500 (Godslayer)


god....It takes me 10 minutes to upgrade the data and the upgrade still remaining
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 10:26
Post #5
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE(WLyon @ May 9 2012, 12:24) *
god....It takes me 10 minutes to upgrade the data and the upgrade still remaining

You mean this part?

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/3e115f3c80.jpg)

It always shows.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 10:29
Post #6
WLyon



Elite Poster
**********
Group: Members
Posts: 8,025
Joined: 4-October 10
Level 500 (Godslayer)


QUOTE(Evil Scorpio @ May 9 2012, 16:26) *

You mean this part?

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/3e115f3c80.jpg)

It always shows.



sure it just keep upgrade and upgrade

and now I still waiting the upgrade get finished (IMG:[invalid] style_emoticons/default/dry.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 10:30
Post #7
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE(WLyon @ May 9 2012, 12:29) *
sure it just keep upgrade and upgrade

and now I still waiting the upgrade get finished (IMG:[invalid] style_emoticons/default/dry.gif)

Have you tried to refresh the page? Also which browser do you use?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 10:33
Post #8
WLyon



Elite Poster
**********
Group: Members
Posts: 8,025
Joined: 4-October 10
Level 500 (Godslayer)


well I have known why,I'll fix it

chrome must use tempermonkey to run it

This post has been edited by WLyon: May 9 2012, 10:34
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 13:57
Post #9
el h



It's all about the Pentiums, baby!
*******
Group: Members
Posts: 1,329
Joined: 10-November 09
Level 405 (Ascended)


QUOTE(skillchip @ May 9 2012, 04:49) *

Change
"Magic Damage Bonus": 22 + 2/3,

to
"Magic Damage Bonus": 22 + 3/4,

and
"Bleed Damage": 12,
no long matters, doesn't scale just like mana conservation

other then that. I approve!

Nice (IMG:[invalid] style_emoticons/default/smile.gif) Will be in next update

QUOTE(Evil Scorpio @ May 9 2012, 09:25) *

To install the script on Chrome: don't use it directly as a chrome extension. Install [chrome.google.com] Tampermonkey from chrome webstore first, then add the script inside tampermonkey (new script -> copy-paste the content -> save).

thanks for info

QUOTE(WLyon @ May 9 2012, 10:33) *

well I have known why,I'll fix it

chrome must use tempermonkey to run it

let me know if it works. BTW updating should not take longer than opening the wiki in your browser, loading this page: http://ehwiki.org/wiki/Equipment_Ranges
So not more than 1 second or 2 if you have really slow internet. If it takes longer than 5 seconds, it's not working.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 14:08
Post #10
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


Can you please add "of the Stone-skinned" suffix? It's an old name of "of Stoneskin". It's sad the script doesn't work for my beloved leggins. (IMG:[invalid] style_emoticons/default/sad.gif)

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/0e403f4699.jpg)

This post has been edited by Evil Scorpio: May 9 2012, 14:08
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 9 2012, 14:32
Post #11
Orange Crusher



Regular Poster
*****
Group: Members
Posts: 698
Joined: 19-March 10
Level 227 (Godslayer)


Firefox 12.0 Windows 7

I'm getting
"Could not parse equipment stats! Details: Expected "</div>", "<div", "Arcanist", "Average", "Banshee", "Barrier", "Battlecaster", "Cheetah", "Crude", "Curse-weaver", "Demon-fiend", "Earth-walker", "Elementalist", "Exquisite", "Fair", "Fine", "Fire-eater", "Fleet", "Fox", "Frost-born", "Heaven-sent", "Illithid", "Legendary", "Magnificent", "Nimble", "Owl", "Ox", "Priestess", "Raccoon", "Shadowdancer", "Spirit-ward", "Superior", "Thrice-blessed", "Thunder-child", "Turtle", "Vampire", "Wind-waker" or [ \n\t] but "&" found. on 2:237
Last update: Wed May 09 2012 05:30:06 GMT-0700 (Pacific Daylight Time) Click to update now!"
on every piece of equipment i try (IMG:[invalid] style_emoticons/default/sad.gif)

This post has been edited by Orange Crusher: May 9 2012, 14:36
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2012, 04:35
Post #12
el h



It's all about the Pentiums, baby!
*******
Group: Members
Posts: 1,329
Joined: 10-November 09
Level 405 (Ascended)


QUOTE(Evil Scorpio @ May 9 2012, 14:08) *

Can you please add "of the Stone-skinned" suffix? It's an old name of "of Stoneskin". It's sad the script doesn't work for my beloved leggins. (IMG:[invalid] style_emoticons/default/sad.gif)


done! get version 0.5

QUOTE(Orange Crusher @ May 9 2012, 14:32) *

Firefox 12.0 Windows 7

I'm getting
"Could not parse equipment stats! Details: Expected "</div>", "<div", "Arcanist", "Average", "Banshee", "Barrier", "Battlecaster", "Cheetah", "Crude", "Curse-weaver", "Demon-fiend", "Earth-walker", "Elementalist", "Exquisite", "Fair", "Fine", "Fire-eater", "Fleet", "Fox", "Frost-born", "Heaven-sent", "Illithid", "Legendary", "Magnificent", "Nimble", "Owl", "Ox", "Priestess", "Raccoon", "Shadowdancer", "Spirit-ward", "Superior", "Thrice-blessed", "Thunder-child", "Turtle", "Vampire", "Wind-waker" or [ \n\t] but "&" found. on 2:237
Last update: Wed May 09 2012 05:30:06 GMT-0700 (Pacific Daylight Time) Click to update now!"
on every piece of equipment i try (IMG:[invalid] style_emoticons/default/sad.gif)

I think i fixed it in 0.5. If not, it lets you make a more accurate bugreport.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2012, 04:46
Post #13
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


Thanks for the "Stone-skinned" additoin. (IMG:[invalid] style_emoticons/default/happy.gif) But now there is another strange thing:

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/771002e7f0.jpg)

First comparison column is always "Superior", regardless of equipment quality. (IMG:[invalid] style_emoticons/default/blink.gif) And it's not just a text error - the script really compares it to Superior values (I've checked it with previous version of the script).

Version 0.4:

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/1338532cd2.jpg)

This post has been edited by Evil Scorpio: May 10 2012, 04:52
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2012, 04:58
Post #14
Mr. Plow



Active Poster
*******
Group: Gold Star Club
Posts: 1,260
Joined: 28-June 10
Level 294 (Godslayer)


QUOTE(Evil Scorpio @ May 9 2012, 19:46) *

Thanks for the "Stone-skinned" additoin. (IMG:[invalid] style_emoticons/default/happy.gif) But now there is another strange thing:


First comparison column is always "Superior", regardless of equipment quality. (IMG:[invalid] style_emoticons/default/blink.gif) And it's not just a text error - the script really compares it to Superior values (I've checked it with previous version of the script).



I actually like that as a feature, so hopefully it's not a bug hahaha
I think it's useful to see if only a couple of stats are actually exq+ and how they measure against the rest of the superior clade.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2012, 05:06
Post #15
el h



It's all about the Pentiums, baby!
*******
Group: Members
Posts: 1,329
Joined: 10-November 09
Level 405 (Ascended)


QUOTE(Evil Scorpio @ May 10 2012, 04:46) *

Thanks for the "Stone-skinned" additoin. (IMG:[invalid] style_emoticons/default/happy.gif) But now there is another strange thing:

First comparison column is always "Superior", regardless of equipment quality. (IMG:[invalid] style_emoticons/default/blink.gif) And it's not just a text error - the script really compares it to Superior values (I've checked it with previous version of the script).



good spot, made a mistake cleaning up some code. fixed in 0.6!

QUOTE(Mr. Plow @ May 10 2012, 04:58) *

I actually like that as a feature, so hopefully it's not a bug hahaha
I think it's useful to see if only a couple of stats are actually exq+ and how they measure against the rest of the superior clade.

well it was, so i'll take this as a feature request. In fact i already planned to make user selectable columns, a lot of the code is already there.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2012, 05:06
Post #16
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE(Mr. Plow @ May 10 2012, 06:58) *

I actually like that as a feature, so hopefully it's not a bug hahaha
I think it's useful to see if only a couple of stats are actually exq+ and how they measure against the rest of the superior clade.

I prefer to have three columns then.

QUOTE(el h @ May 10 2012, 07:06) *

good spot, made a mistake cleaning up some code. fixed in 0.6!

well it was, so i'll take this as a feature request. In fact i already planned to make user selectable columns, a lot of the code is already there.

Thanks. (IMG:[invalid] style_emoticons/default/happy.gif) And yeah, selectable columns will be a nice bonus. (IMG:[invalid] style_emoticons/default/smile.gif)

P.S.: You've forgot to change the script version in the thread title.

This post has been edited by Evil Scorpio: May 10 2012, 05:10
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2012, 05:15
Post #17
Mr. Plow



Active Poster
*******
Group: Gold Star Club
Posts: 1,260
Joined: 28-June 10
Level 294 (Godslayer)


QUOTE(el h @ May 9 2012, 20:06) *

good spot, made a mistake cleaning up some code. fixed in 0.6!
well it was, so i'll take this as a feature request. In fact i already planned to make user selectable columns, a lot of the code is already there.



QUOTE(Evil Scorpio @ May 9 2012, 20:06) *

I prefer to have three columns then.
Thanks. (IMG:[invalid] style_emoticons/default/happy.gif) And yeah, selectable columns will be a nice bonus. (IMG:[invalid] style_emoticons/default/smile.gif)

P.S.: You've forgot to change the script version in the thread title.



Oh I why that's a problem now (IMG:[invalid] style_emoticons/default/tongue.gif)
Yeah, three or customizable/changeable columns would be a really nice perk.

The script looks to be super useful, thanks for this (IMG:[invalid] style_emoticons/default/happy.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2012, 07:34
Post #18
Orange Crusher



Regular Poster
*****
Group: Members
Posts: 698
Joined: 19-March 10
Level 227 (Godslayer)


new error, all items still.

Could not parse equipment stats! Details: Expected "&nbsp;", "</div>", "<div", "Average", "Crude", "Exquisite", "Fair", "Fine", "Legendary", "Magnificent", "Superior" or [ \n\t] but "<" found. on 5:1 in parse data below

<div style="margin:auto; margin-top:10px; width:440px"><div style="width:440px; height:15px"><div style="height:3px"></div><div style="width:440px; height:12px"><div class="fd12" style="width:440px"><div style="float:right; width:86px">&nbsp;</div><div class="f12rb" style="width:9px; background-position:0px -528px"></div><div class="f12rb" style="width:7px; background-position:0px -612px"></div><div class="f12rb" style="width:10px; background-position:0px -492px"></div><div class="f12rb" style="width:15px; background-position:0px -624px"></div><div class="f12rb" style="width:5px; background-position:0px -576px"></div><div class="f12rb" style="width:10px; background-position:0px -636px"></div><div class="f12rb" style="width:5px; background-position:0px -468px"></div><div class="f12rb" style="width:9px; background-position:0px -528px"></div><div class="f12rb" style="width:11px; background-position:0px -564px"></div><div class="f12rb" style="width:9px; background-position:0px -708px"></div><div class="f12rb" style="width:5px; background-position:0px -468px"></div><div class="f12rb" style="width:9px; background-position:0px -540px"></div><div class="f12rb" style="width:10px; background-position:0px -648px"></div><div class="f12rb" style="width:5px; background-position:0px -468px"></div><div class="f12rb" style="width:12px; background-position:0px -684px"></div><div class="f12rb" style="width:9px; background-position:0px -528px"></div><div class="f12rb" style="width:10px; background-position:0px -552px"></div><div class="f12rb" style="width:10px; background-position:0px -552px"></div><div class="f12rb" style="width:12px; background-position:0px -480px"></div><div class="f12rb" style="width:10px; background-position:0px -516px"></div><div class="f12rb" style="width:5px; background-position:0px -468px"></div><div class="f12rb" style="width:12px; background-position:0px -684px"></div><div class="f12rb" style="width:10px; background-position:0px -648px"></div><div class="f12rb" style="width:5px; background-position:0px -576px"></div><div class="f12rb" style="width:12px; background-position:0px -684px"></div><div class="f12rb" style="width:9px; background-position:0px -528px"></div><div class="f12rb" style="width:11px; background-position:0px -660px"></div><div class="f12rb" style="width:11px; background-position:0px -720px"></div><div class="f12rb" style="width:12px; background-position:0px -696px"></div></div><div style="clear:both"></div></div></div></div>

<div id="equipment" style="clear:both; text-align:left; margin:auto; margin-top:10px; border:1px solid #5C0D11; background:#EDEBDF; width:320px; height:400px; opacity:0.9; text-align:left; padding:3px">
<table><tbody><tr><td>Weapon Damage&nbsp;</td><td class="eqsv1">215.82</td><td colspan="3" class="eqsv2">Slashing&nbsp;</td></tr><tr><td>Attack Accuracy Bonus&nbsp;</td><td class="eqsv1">+ 26.65&nbsp;</td><td class="eqsv2"> %&nbsp;</td><td class="eqsv1"></td><td class="eqsv2"></td></tr><tr><td>Attack Critical Bonus&nbsp;</td><td class="eqsv1">+ 2.93&nbsp;</td><td class="eqsv2"> %&nbsp;</td><td class="eqsv1"></td><td class="eqsv2"></td></tr><tr><td>Parry Chance&nbsp;</td><td class="eqsv1">+ 16.52&nbsp;</td><td class="eqsv2"> %&nbsp;</td><td class="eqsv1"></td><td class="eqsv2"></td></tr><tr><td>Burden&nbsp;</td><td class="eqsv1" style="color:#BF0000">+ 2.42&nbsp;</td><td class="eqsv2">&nbsp;</td><td class="eqsv1"></td><td class="eqsv2"></td></tr><tr><td>Interference&nbsp;</td><td class="eqsv1" style="color:#BF0000">+ 5.50&nbsp;</td><td class="eqsv2">&nbsp;</td><td class="eqsv1"></td><td class="eqsv2"></td></tr><tr><td colspan="5" class="eqam">Primary Attribute Bonuses</td></tr><tr><td colspan="5"><table class="eqat"><tbody><tr><td class="eqak">Agility&nbsp;</td><td class="eqav1">+ 6.31&nbsp;</td><td class="eqav2">&nbsp;</td><td class="eqak">Dexterity&nbsp;</td><td class="eqav1">+ 17.82&nbsp;</td><td class="eqav2">&nbsp;</td></tr></tbody></table></td></tr><tr><td colspan="5" class="eqhp">12% Bleeding Wound for 4 turns @ 12% effective damage&nbsp;</td></tr></tbody></table>
<p style="font-weight:bold; margin-top:3px">Level 160 One-handed Weapon</p>
<table style="margin-top:10px">
<tbody><tr>
<td class="eqam">Upgrades and Enchantments:</td>
</tr>
<tr>
<td>

None

</td>
</tr>
</tbody></table>
</div>


<div style="margin:auto; width:350px; margin-top:5px">
Current Owner: <a target="_forums" href="https://forums.e-hentai.org/index.php?showuser=293776">Orange Crusher</a>
</div>



<div style="clear: both; text-align: left; margin: 10px auto auto; border: 1px solid rgb(92, 13, 17); background: none repeat scroll 0% 0% rgb(237, 235, 223); width: 320px; opacity: 0.9; padding: 3px;"></div>
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2012, 10:18
Post #19
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE(Orange Crusher @ May 10 2012, 09:34) *
new error, all items still.

Do you use this script through Greasemonkey? If yes, maybe you need to update it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2012, 12:56
Post #20
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


Something wrong with "Luck" calculation. Example:

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/ddc4ab334f.jpg)

Base Block: 27.74

Luck on Superior: 99.5% (which means 99.5% from max if I understand it right)

Wiki Derived Base Max Block for Tower Shield of the Barrier: 31.80

27.74 from 31.80 = 87.24% (87.23270440251571%)

Same for the Legendary calculation. Luck calculation is screwed up? (IMG:[invalid] style_emoticons/default/huh.gif)

This post has been edited by Evil Scorpio: May 10 2012, 13:01
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


6 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: 9th June 2025 - 10:03