|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Sep 22 2012, 19:47
|
danixxx
Group: Catgirl Camarilla
Posts: 7,340
Joined: 3-September 10
|
QUOTE(Tiap @ Sep 22 2012, 17:47) Try disabling crit chance (set useCritChance to false in the new script) and see if it improves things
I didn't express myself well, i already use the new script with usecritchance set to false. It's when the script is set to true that the results are wrong.
|
|
|
|
|
|
Sep 22 2012, 20:07
|
pureyang
Group: Gold Star Club
Posts: 765
Joined: 6-June 12
|
QUOTE(danixxx @ Sep 22 2012, 12:47) I didn't express myself well, i already use the new script with usecritchance set to false. It's when the script is set to true that the results are wrong.
How are they wrong? are the crits not correctly averaged (aka base magic score + crit chance * crit bonus damage) ? EDIT: Whoops that was wrong. BMS = Basic Magic Score (one that does not consider crits) X = crit rate Total magic score = BMS * (1-X) + BMS * X * Crit damage multiplier Which admittedly can be simplified, but the crux is that i forgot I have to reduce to the base score not just add the crit score and furthermore I fucked up the syntex on it anyways so I got random gibberish on it rather then what I described just now (because of NO SLEEP... I am off to bed) This post has been edited by mrttao: Sep 22 2012, 20:12
|
|
|
|
|
|
Sep 23 2012, 00:33
|
danixxx
Group: Catgirl Camarilla
Posts: 7,340
Joined: 3-September 10
|
Here are the results i get when i look to my current magic score then compare it to another staff and finally equip the other staff The difference is not that big but that's why i prefer use magic score without crit.
|
|
|
Sep 23 2012, 01:03
|
Sushilicious
Group: Catgirl Camarilla
Posts: 10,383
Joined: 21-October 10
|
Judging by the small discrepancy of your two scores (62142 v.s. 61955), it's probably an error in how crit is calculated when you switch weapons. Most likely when you press S, it didn't take into account the crit chance of your new staff. I'd have to take a look at his code to determine the exact cause of this but I don't have time right now.
What are the two staffs in question? I'm willing to bet the second staff has a lower crit than your first one.
|
|
|
Sep 23 2012, 04:27
|
pureyang
Group: Gold Star Club
Posts: 765
Joined: 6-June 12
|
Ah, so its inconsistently calculated... that is definitely a bug (IMG:[ invalid] style_emoticons/default/laugh.gif) I thought you meant the underlying logic (math) wrong. This post has been edited by mrttao: Sep 23 2012, 04:27
|
|
|
|
|
|
Sep 24 2012, 20:05
|
Thot
Group: Gold Star Club
Posts: 1,637
Joined: 15-April 08
|
Magic Scores script spits out a (most likely) wrong result for an equip I've come across. Glove -> 12027 dark That's the correct value for base damage * (1+ dark damage / 100) * (1+ dark prof / 200) * (1+ crit / 200) within 1,5 points. However, for this glove, it spits out +273 dark which makes no sense considering the only relevant stat that's higher here is WIS at +4,45. And the resulting crit rate is actually ~0,2% lower. (with my current stats) On the other hand, this glove shows -357 dark when I hit S in the character screen (with the glove not equipped). When I hit C and then S in the popup, it shows +209 Actually, when I hit C on the currently equipped glove and then S, I get +575. That's with opening / closing / reloading the HV window multiple times and switching gloves back and forth. On further testing, that seems to happen for all equipped equipments except the weapon slot. +dark damage displayed for a staff is the same regardless of I hit S on hovering over it or in the C pop-up. So uh, something seems bugged here.
|
|
|
|
|
|
Sep 24 2012, 20:54
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
I can't replicate it, it works fine for me. Try settings useCritChance to false. If you're using the default font engine, try switching to Custom Local Font. If that doesn't work, equip the first glove you posted, hit Shift+Ctrl+J (chrome) or Shift+Ctrl+K (firefox), write: CODE copy(localStorage.scoreData) paste everything on Pastebin or something and send me the link.
|
|
|
Sep 24 2012, 21:02
|
Thot
Group: Gold Star Club
Posts: 1,637
Joined: 15-April 08
|
QUOTE(Tiap @ Sep 24 2012, 20:54) If you're using the default font engine, try switching to Custom Local Font.
That did the trick. I used the Downloadable Fonts option, switching to Custom Local Font solved the problem. Thank you. Here I thought only the original Font Engine option could cause problems.
|
|
|
Sep 24 2012, 21:20
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
Not sure about the other issue, but the popup bug should be fixed now.
|
|
|
Sep 24 2012, 22:13
|
Thot
Group: Gold Star Club
Posts: 1,637
Joined: 15-April 08
|
QUOTE(Tiap @ Sep 24 2012, 21:20) Not sure about the other issue, but the popup bug should be fixed now.
Fixed, the values displayed seem to be correct now even when using the downloadable fonts. Thanks again. Edit: Also works when including the crit chance in the calculation. This post has been edited by Thot: Sep 24 2012, 22:16
|
|
|
Sep 29 2012, 21:21
|
omgwtflolfaggot
Group: Members
Posts: 980
Joined: 25-September 11
|
Salvage filter is still showing stuff below fine... I though it was supposed to hide items by quality. Am I missing that there is a place to go for setting what qualities to filter? Using Chrome, btw.
|
|
|
Sep 30 2012, 02:33
|
ChosenUno
Group: Gold Star Club
Posts: 4,170
Joined: 23-February 10
|
QUOTE(omgwtflolfaggot @ Sep 30 2012, 02:21) Salvage filter is still showing stuff below fine... I though it was supposed to hide items by quality. Am I missing that there is a place to go for setting what qualities to filter? Using Chrome, btw. That's interesting. Let me have another look at it. EDIT: Can you tell me the steps you used to get that screen? On mine, it doesn't show <Superior. This post has been edited by ChosenUno: Sep 30 2012, 02:56
|
|
|
|
|
|
Sep 30 2012, 13:43
|
ChosenUno
Group: Gold Star Club
Posts: 4,170
Joined: 23-February 10
|
Salvage Filter V2. Some of you may have noticed that the first version doesn't work anymore, due to the extra text. Well, V2 is here! Apart from the fix to make the text clickable again, I've also added some cool stuff. 1. It now only shows tier 1 equipments. Because frankly, I don't think any of us salvage tier 2/3. 2. SALVAGE NEXT! Now you can be even lazier and click only once instead of twice!
Salvage_Filter.zip ( 1.86k )
Number of downloads: 173This post has been edited by ChosenUno: Sep 30 2012, 14:00
|
|
|
|
|
|
Sep 30 2012, 16:00
|
2lmes
Newcomer
Group: Members
Posts: 52
Joined: 13-September 12
|
QUOTE(ChosenUno @ Sep 7 2012, 07:43) Got a complaint about my RiddleLimiter V1 making things slow, so here's V2. What's new: No more jQuery (yay). Should be a little faster.
RiddleLimiter.zip ( 1.21k )
Number of downloads: 1092any firefox version? it sounds amazing (IMG:[ invalid] style_emoticons/default/anime_cry.gif)
|
|
|
Oct 2 2012, 05:45
|
eqwer
Group: Members
Posts: 2,467
Joined: 19-June 11
|
Can somebody make a firefox version of Quickbar2?
|
|
|
Oct 2 2012, 05:48
|
n125
Group: Gold Star Club
Posts: 6,282
Joined: 23-May 08
|
QUOTE(eqwer @ Oct 1 2012, 20:45) Can somebody make a firefox version of Quickbar2?
Have you tried Tiap's script? (Check his sig.)
|
|
|
Oct 2 2012, 08:05
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12
|
You are all terrible people for not requesting/making this sooner or having such an already-made-script easy to find. HentaiVerse difficulty reminder for random encounters.For Firefox/Greasemonkey or Chrome/Tampermonkey:
HVDifficultyReminder.user.js.zip ( 777bytes )
Number of downloads: 80Chrome native extension (.CRX):
HVREDR_0.1.zip ( 1.67k )
Number of downloads: 57This is what it does, and absolutely nothing else: This post has been edited by contagioncloud: Oct 3 2012, 06:32
|
|
|
Oct 2 2012, 12:20
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
|
Unless it's been fixed, Tampermonkey leaks like crazy on HV
Edit: nope, still leaking
This post has been edited by Tiap: Oct 2 2012, 12:25
|
|
|
|
|
|
Oct 2 2012, 13:22
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12
|
Yeah. Tampermonkey has had huge memory leaks since as long as I can remember.
The workaround has been to close HV immediately after initiating a battle and then resuming from a fresh tab.
That usually lasts me around 150 rounds while keeping memory usage under 100MB before a spontaneous memory leak starts a cascading effect.
---------------------------------
Unfortunately, Google Chrome blocks cross site scripting in its native userscript handler. That, and HTML5 LocalStorage is on a per-domain basis.
I'd have to create and package an extension for LocalStorage to persist between EH and HV in Chrome.
More work than I wanted to do, but hell, I'll give it a shot.
---------------------------------
Edit: You need to pass data from the content script to a tab background page and commit it to the background tab's LocalStorage for it to persist between sessions. Then pretty much the other way around to retrieve it.
Bypassing XSS security measures is pain, I'll pass. Works fine in Firefox 3.0.11 for what it's worth.
This post has been edited by contagioncloud: Oct 2 2012, 14:46
|
|
|
|
|
|
Oct 2 2012, 13:26
|
hentai_fusion
Group: Gold Star Club
Posts: 33,475
Joined: 14-August 09
|
i gave up on tampermonkey ages ago and just installed any script straight into chrome...
|
|
|
7 User(s) are reading this topic (7 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|