 |
 |
 |
Inpage equipment calculator, version 0.8 preview |
|
May 9 2012, 03:26
|
el h
Group: Members
Posts: 1,329
Joined: 10-November 09

|
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:- First the names of the statistics. They have as tooltip the range in wich base stats appear for this item type.
- then it shows the item's base stats (as if it would be level 0). Any upgrades (reforging) is also removed for this.
- 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.
- 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
|
|
|
|
 |
|
May 9 2012, 04:49
|
skillchip
Group: Catgirl Camarilla
Posts: 5,754
Joined: 31-December 06

|
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
|
|
|
May 9 2012, 09:25
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
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).
|
|
|
May 9 2012, 10:24
|
WLyon
Group: Members
Posts: 8,025
Joined: 4-October 10

|
god....It takes me 10 minutes to upgrade the data and the upgrade still remaining
|
|
|
May 9 2012, 10:26
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
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.
|
|
|
May 9 2012, 10:30
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
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?
|
|
|
May 9 2012, 10:33
|
WLyon
Group: Members
Posts: 8,025
Joined: 4-October 10

|
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
|
|
|
|
 |
|
May 9 2012, 13:57
|
el h
Group: Members
Posts: 1,329
Joined: 10-November 09

|
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_RangesSo not more than 1 second or 2 if you have really slow internet. If it takes longer than 5 seconds, it's not working.
|
|
|
|
 |
|
|
 |
|
May 9 2012, 14:32
|
Orange Crusher
Group: Members
Posts: 698
Joined: 19-March 10

|
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
|
|
|
|
 |
|
May 10 2012, 04:35
|
el h
Group: Members
Posts: 1,329
Joined: 10-November 09

|
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.
|
|
|
|
 |
|
|
 |
|
May 10 2012, 04:58
|
Mr. Plow
Group: Gold Star Club
Posts: 1,260
Joined: 28-June 10

|
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.
|
|
|
|
 |
|
May 10 2012, 05:06
|
el h
Group: Members
Posts: 1,329
Joined: 10-November 09

|
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.
|
|
|
|
 |
|
May 10 2012, 05:06
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
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
|
|
|
|
 |
|
May 10 2012, 05:15
|
Mr. Plow
Group: Gold Star Club
Posts: 1,260
Joined: 28-June 10

|
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)
|
|
|
|
 |
|
May 10 2012, 07:34
|
Orange Crusher
Group: Members
Posts: 698
Joined: 19-March 10

|
new error, all items still.
Could not parse equipment stats! Details: Expected " ", "</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"> </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 </td><td class="eqsv1">215.82</td><td colspan="3" class="eqsv2">Slashing </td></tr><tr><td>Attack Accuracy Bonus </td><td class="eqsv1">+ 26.65 </td><td class="eqsv2"> % </td><td class="eqsv1"></td><td class="eqsv2"></td></tr><tr><td>Attack Critical Bonus </td><td class="eqsv1">+ 2.93 </td><td class="eqsv2"> % </td><td class="eqsv1"></td><td class="eqsv2"></td></tr><tr><td>Parry Chance </td><td class="eqsv1">+ 16.52 </td><td class="eqsv2"> % </td><td class="eqsv1"></td><td class="eqsv2"></td></tr><tr><td>Burden </td><td class="eqsv1" style="color:#BF0000">+ 2.42 </td><td class="eqsv2"> </td><td class="eqsv1"></td><td class="eqsv2"></td></tr><tr><td>Interference </td><td class="eqsv1" style="color:#BF0000">+ 5.50 </td><td class="eqsv2"> </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 </td><td class="eqav1">+ 6.31 </td><td class="eqav2"> </td><td class="eqak">Dexterity </td><td class="eqav1">+ 17.82 </td><td class="eqav2"> </td></tr></tbody></table></td></tr><tr><td colspan="5" class="eqhp">12% Bleeding Wound for 4 turns @ 12% effective damage </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>
|
|
|
|
 |
|
May 10 2012, 10:18
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
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.
|
|
|
May 10 2012, 12:56
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
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
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|