Loading. Please Wait...
|
|
|
[Script] HV Utils 2.13.4 (22 June 2022), A comprehensive out-of-battle script for Hentaiverse and ISK |
|
Dec 20 2017, 12:51
|
sssss2
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
|
HV Utils 2.13.4HV Utils URL 1.2.1 Install both HVUT and HVUT_URL. Install both HVUT and HVUT_URL. Install both HVUT and HVUT_URL. Install both HVUT and HVUT_URL. Install both HVUT and HVUT_URL. Install both HVUT and HVUT_URL. Install both HVUT and HVUT_URL.
HVUT_2.13.4.user.js.txt ( 400.21k )
Number of downloads: 6417
HVUT_URL_1.2.1.user.js.txt ( 10.77k )
Number of downloads: 62298[Requirements]- Mozilla Firefox + Tampermonkey - Google Chrome + Tampermonkey This post has been edited by sssss2: Jun 22 2022, 09:31
|
|
|
|
|
|
|
|
Dec 16 2021, 20:23
|
OnceForAll
Group: Catgirl Camarilla
Posts: 1,247
Joined: 3-January 21
|
With TamperMonkey 4.14.6147 (Beta), TamperMonkey's sandbox has been improved a lot, the built-in object like Array, String, Object has been guarded more carefully, resulting in many utility methods (using constructor) being affected (e.g. $element). Here is an example of re-written $element which will works with lastest TamperMonkey: CODE function $element(t, p, a, f) { let e; if (t) { e = document.createElement(t); } else if (t === "") { e = document.createTextNode(a); a = null; } else { return document.createDocumentFragment(); } if (a !== null && a !== undefined) { if (typeof a === "number" || typeof a === "string") { // Do not use a.constructor e.textContent = a; } else if (Array.isArray(a)) { a.forEach((a) => { const an = { " ": "textContent", "#": "id", ".": "className", "!": "style", "/": "innerHTML", }[a[0]]; if (an) { e[an] = a.slice(1); } }); } else if (typeof a === "object") { Object.entries(a).forEach(([an, av]) => { if (typeof av === "object") { // Do not use av.constructor here let a; if (an in e) { a = e[an]; } else { a = e[an] = {}; } Object.entries(av).forEach(([an, av]) => { a[an] = av; }); } else { if (an === "style") { e.style.cssText = av; } else if (an in e) { e[an] = av; } else { e.setAttribute(an, av); } } }); } } if (f) { if (typeof f === "function") { // Do not use f.constructor e.addEventListener("click", f, false); } else if (typeof f === "object") { Object.entries(f).forEach(([ft, fl]) => { e.addEventListener(ft, fl, false); }); } } if (p) { if (p.nodeType === 1 || p.nodeType === 11) { p.appendChild(e); } else if (Array.isArray(p)) { if ( ["beforebegin", "afterbegin", "beforeend", "afterend"].includes(p[1]) ) { p[0].insertAdjacentElement(p[1], e); } else if (!isNaN(p[1])) { p[0].insertBefore(e, p[0].childNodes[p[1]]); } else { p[0].insertBefore(e, p[1]); } } } return e; } This post has been edited by OnceForAll: Dec 16 2021, 20:26
--------------------
|
|
|
|
|
|
Dec 16 2021, 21:45
|
sssss2
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
|
QUOTE(OnceForAll @ Dec 17 2021, 02:23) With TamperMonkey 4.14.6147 (Beta), TamperMonkey's sandbox has been improved a lot, the built-in object like Array, String, Object has been guarded more carefully, resulting in many utility methods (using constructor) being affected (e.g. $element).
Here is an example of re-written $element which will works with lastest TamperMonkey:
Thank you for advice! It's not a publicly-released version and there are few modifications of HVUT yet, so I'll update it later.
|
|
|
|
|
|
Dec 23 2021, 01:49
|
sssss2
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
|
[About 0.89 Changes]The Shrine: Selecting the armor slot- - HVUT is not working in Isekai, so disable SS features: Go to line 6977 and fix it. QUOTE if(settings.shrine && _query.s==="Bazaar" && _query.ss==="ss" && !_isekai) { "Various UI tweaks and improvements."- - I have to revise CSS as a whole. - That input-button design... Item Backorders?- It'll take time as I can't test this before the update. Others- PAB Reallocator will be removed. - Catalysts will be removed from Coupon Clipper Service list. This post has been edited by sssss2: Dec 23 2021, 01:53
|
|
|
|
|
|
Dec 23 2021, 02:04
|
OnceForAll
Group: Catgirl Camarilla
Posts: 1,247
Joined: 3-January 21
|
QUOTE(sssss2 @ Dec 23 2021, 06:49) [About 0.89 Changes]The Shrine: Selecting the armor slot- - HVUT is not working in Isekai, so disable SS features: Go to line 6977 and fix it. "Various UI tweaks and improvements."- - I have to revise CSS as a whole. - That input-button design... Item Backorders?- It'll take time as I can't test this before the update. Others- PAB Reallocator will be removed. - Catalysts will be removed from Coupon Clipper Service list. Also, another reminder that "showCredits" feature is affected as well due to the changes of the HTML. The temporary solution would be: CODE _bottom.credits_div.textContent = substring(r.responseText, ['<div id="networth" style="width:165px">Credits: ', 39], '</div>') || 'Failed to load'; I will document other changes later. ---------- QUOTE(OnceForAll @ Dec 17 2021, 01:23) With TamperMonkey 4.14.6147 (Beta), TamperMonkey's sandbox has been improved a lot, the built-in object like Array, String, Object has been guarded more carefully, resulting in many utility methods (using constructor) being affected (e.g. $element). TamperMonkey reverts related changes in 4.14.6151 (Beta). However, it is still recommended not to compare with "constructor" (Array.isArray and typeof is definitely better) This post has been edited by OnceForAll: Dec 25 2021, 09:41
--------------------
|
|
|
|
|
|
Dec 25 2021, 13:44
|
Nezu
Group: Catgirl Camarilla
Posts: 3,649
Joined: 29-January 12
|
In the Monster Lab, HVUtils displays the gift summary really well. Can we have an option to suppress the native HV pop-up so we can focus entirely on the more succint and dynamic HVUtils interface?
--------------------
|
|
|
Dec 25 2021, 17:45
|
OnceForAll
Group: Catgirl Camarilla
Posts: 1,247
Joined: 3-January 21
|
QUOTE(Nezu @ Dec 25 2021, 18:44) In the Monster Lab, HVUtils displays the gift summary really well. Can we have an option to suppress the native HV pop-up so we can focus entirely on the more succint and dynamic HVUtils interface?
It is doable by execute the following code at the page load: CODE document.getElementById('messagebox').style.visibility='hidden'; It is the default behavior of the messagebox's onclick. Do not use CSS to overwrite it, to prevent other messages from being suppressed.
--------------------
|
|
|
|
|
|
Dec 26 2021, 18:56
|
sssss2
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
|
QUOTE(OnceForAll @ Dec 23 2021, 08:04) TamperMonkey reverts related changes in 4.14.6151 (Beta). However, it is still recommended not to compare with "constructor" (Array.isArray and typeof is definitely better)
I fixed it already. QUOTE(Nezu @ Dec 25 2021, 19:44) In the Monster Lab, HVUtils displays the gift summary really well. Can we have an option to suppress the native HV pop-up so we can focus entirely on the more succint and dynamic HVUtils interface?
Yes, it's very easy. ----- About 0.89 changes[Done] - The Shrine update - Forge Upgrader update - UI changes & code adjustment [TO DO] - 'Item Backorders' This post has been edited by sssss2: Dec 31 2021, 01:15
|
|
|
|
|
|
Dec 26 2021, 20:10
|
Noni
Group: Catgirl Camarilla
Posts: 10,733
Joined: 19-February 16
|
QUOTE(sssss2 @ Dec 26 2021, 16:56) I fixed it already. Yes, it's very easy.
-----
About 0.89 changes
[Done] - The Shrine rework - UI changes
[TO DO] - Forge Upgrader update - 'Item Backorders'
you're doing all of us a great favor by maintaining HV Utils, sssss2. I for one really appreciate all your work on this script. By the way, would you mind posting your turns of Secret Pony Level, Post Game Content, DWD with your extremely good gear and +20% isekai damage bonus? Someone needs to give Nezu some real competition! /index.php?showtopic=249359
--------------------
|
|
|
|
|
|
Dec 30 2021, 06:46
|
OnceForAll
Group: Catgirl Camarilla
Posts: 1,247
Joined: 3-January 21
|
QUOTE(Tenboro @ Dec 24 2021, 15:58) Some updates to the riddles/stamina:
- If your riddle accuracy is low enough to sustain a stamina penalty, the "Stamina" readout at the top of the screen now shows in red. So HV Utils should probably add a new type of warning (alongside fixing equipment, etc.): You have increased stamina drain due to low riddle accuracy. Here is the new stamina readout looks like: CODE <div id="stamina_readout"> <div></div> <div title="You have increased stamina drain due to low riddle accuracy"><div class="fc4 far fcr" style="width:102px"><div>Stamina: 12</div></div></div> <div><img src="/isekai/y/s/sticon3.gif" title="Stamina: Normal. You are not receiving any bonuses or penalties."></div> </div>
--------------------
|
|
|
|
|
|
Jan 25 2022, 15:11
|
sssss2
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
|
HVUT 2.13.0
[Update for 0.89 Changes] - Adjustments for UI tweaks - Equipment Shop: calculate Equipment Cores values -- if you have edited the 'Materials' price, you need to revert to the 'Default' or add their values manually
[New Features] - Forge Upgrade: show stats increasement -- +NN : additive stats such as Attack Damage, Magic Damage, EDB, PAB -- ~NN% : multiplicative stats such as pmi, mmi, Evade Chance, Block Chance
[settings changes] - [new] line 47: warnLowStamina - [removed] line 65: characterReallocate - [replaced] line 133: itemShopBot -> itemBackorder - [new] line 138: monsterLabCloseDefaultPopup
This post has been edited by sssss2: Jan 25 2022, 17:26
|
|
|
|
|
|
Jan 25 2022, 15:36
|
Noni
Group: Catgirl Camarilla
Posts: 10,733
Joined: 19-February 16
|
I noticed that the old version (not 2.13.0), the Monster Gift box isn't recognized anymore by the script and monster gifts aren't logged. Haven't tested it with 2.13.0 - I need to wait for gifts....
Edit: 2.13.0 works fine.
This post has been edited by Noni: Jan 25 2022, 18:34
--------------------
|
|
|
|
|
|
Jan 25 2022, 17:08
|
monk31
Newcomer
Group: Members
Posts: 33
Joined: 14-March 12
|
With HVUtils I not see any my moogle mail ( in inbox, sent, etc). Any suggestions? (firefox) Also, when change to new version (new to today), I will have to move over any changes I had made to code in old version? This post has been edited by monk31: Jan 25 2022, 17:09
|
|
|
|
|
|
Jan 25 2022, 17:09
|
killi890
Group: Members
Posts: 414
Joined: 19-May 11
|
QUOTE(sssss2 @ Jan 25 2022, 13:11) HVUT 2.13.0
[Update for 0.89 Changes] - Adjustments for UI tweaks - Equipment Shop: calculate Equipment Cores values -- if you have edited the 'Materials' price, you need to revert to the 'Default' or add their values manually
[New Features] - Forge Upgrade: show stats increasement -- +NN : additive stats such as Attack Damage, Magic Damage, EDB, PAB -- ~NN% : multiplicative stats such as pmi, mmi, Evade Chance, Block Chance
Thanks for the new version. The new forge upgrade function is super useful. The white background for locked/valuable equipment is something I need some time to get used to though.
--------------------
My WTB is currently empty. Nice to have a Market back.
|
|
|
|
|
|
Jan 25 2022, 17:47
|
sssss2
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
|
QUOTE(Noni @ Jan 25 2022, 21:36) I noticed that the old version (not 2.13.0), the Monster Gift box isn't recognized anymore by the script and monster gifts aren't logged. Haven't tested it with 2.13.0 - I need to wait for gifts....
It has been fixed. QUOTE(monk31 @ Jan 25 2022, 23:08) With HVUtils I not see any my moogle mail ( in inbox, sent, etc). Any suggestions? (firefox)
By default in Firefox, indexedDB that HVUT uses to manage the MoogleMail is disabled in private browsing mode. To enable it, open about:config and change dom.indexedDB.privateBrowsing.enabled to true. QUOTE(monk31 @ Jan 25 2022, 23:08) Also, when change to new version (new to today), I will have to move over any changes I had made to code in old version? Settings are at the beginning of the script and there are some changes: 2 added, 1 removed, 1 replaced. I added information about it to a previous post. Read through that and edit a few lines to keep your current settings. This post has been edited by sssss2: Jan 25 2022, 17:47
|
|
|
|
|
|
Jan 25 2022, 17:59
|
monk31
Newcomer
Group: Members
Posts: 33
Joined: 14-March 12
|
QUOTE(sssss2 @ Jan 25 2022, 16:47) It has been fixed. By default in Firefox, indexedDB that HVUT uses to manage the MoogleMail is disabled in private browsing mode. To enable it, open about:config and change dom.indexedDB.privateBrowsing.enabled to true. Settings are at the beginning of the script and there are some changes: 2 added, 1 removed, 1 replaced. I added information about it to a previous post. Read through that and edit a few lines to keep your current settings.
I understand. Thanks for helping.
|
|
|
|
|
|
Jan 25 2022, 18:22
|
eYe BuRn
Newcomer
Group: Gold Star Club
Posts: 54
Joined: 1-April 10
|
Thanks for the new update. Line 42 CODE topMenuAlign : "space-around", // "left", "center", "right" (set to "flex-end" in Google Chrome), or "space-between", "space-around", "space-evenly" doesn't seem to do anything if Line 43 CODE topMenuIntegrate : true, // integrate menus into one button is set to true. It also shows an extra button for Persistent/Isekai on the far right, which appears to be redundant since the "Menu" already has "Switch to Isekai".
|
|
|
|
|
|
Jan 25 2022, 19:08
|
sssss2
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
|
QUOTE(eYe BuRn @ Jan 26 2022, 00:22) Thanks for the new update. Line 42 CODE topMenuAlign : "space-around", // "left", "center", "right" (set to "flex-end" in Google Chrome), or "space-between", "space-around", "space-evenly" doesn't seem to do anything if Line 43 CODE topMenuIntegrate : true, // integrate menus into one button is set to true. It also shows an extra button for Persistent/Isekai on the far right, which appears to be redundant since the "Menu" already has "Switch to Isekai". Thanks for reporting. It's not an urgent issue, so I'll update it later. (2.14.0 or so) Remove a line to fix right now. CODE .hvut-top-server {margin-left:auto !important} // line 2076 A server indicator is not redundant. It is a default button and a link in the menu is extra.
|
|
|
|
|
|
Jan 25 2022, 21:40
|
Nezu
Group: Catgirl Camarilla
Posts: 3,649
Joined: 29-January 12
|
QUOTE(sssss2 @ Jan 25 2022, 12:11) HVUT 2.13.0
[Update for 0.89 Changes] - Adjustments for UI tweaks - Equipment Shop: calculate Equipment Cores values -- if you have edited the 'Materials' price, you need to revert to the 'Default' or add their values manually
[New Features] - Forge Upgrade: show stats increasement -- +NN : additive stats such as Attack Damage, Magic Damage, EDB, PAB -- ~NN% : multiplicative stats such as pmi, mmi, Evade Chance, Block Chance
[settings changes] - [new] line 47: warnLowStamina - [removed] line 65: characterReallocate - [replaced] line 133: itemShopBot -> itemBackorder - [new] line 138: monsterLabCloseDefaultPopup
Nice update, thanks very much for your work as always. The forge upgrade feature is very good. Also thanks for noting which settings changed!
--------------------
|
|
|
|
|
|
Jan 25 2022, 22:54
|
forgottendropzone
Group: Catgirl Camarilla
Posts: 752
Joined: 31-January 18
|
Thanks for the update! Your work is seriously appreciated.
--------------------
/o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\ /o_o\
|
|
|
Jan 26 2022, 02:00
|
monk31
Newcomer
Group: Members
Posts: 33
Joined: 14-March 12
|
In the equipment shop, what mean the [brackets letters] next to items that this script puts?
like [IW] [SA] [SD] [EA]
?
|
|
|
1 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
|
|
|
|
|
|
|