> [Script] HV Utils 2.13.4 (22 June 2022), A comprehensive out-of-battle script for Hentaiverse and ISK

 
post Dec 20 2017, 12:51
Post #1
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
Level 500 (Ponyslayer)


HV Utils 2.13.4
HV 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.


Attached File  HVUT_2.13.4.user.js.txt ( 400.21k ) Number of downloads: 6417

Attached File  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
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

24 Pages V « < 20 21 22 23 24 >  
Reply to this topicStart new topic
Replies(420 - 439)
 
post Dec 16 2021, 20:23
Post #421
OnceForAll



Off Topic Police
*******
Group: Catgirl Camarilla
Posts: 1,247
Joined: 3-January 21
Level 500 (Ponyslayer)


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


--------------------

Karma, Karma from everywhere! · My HentaiVerse To-Do List (8/18) · My Peerless Log
Monster Database & Script · Monsterbation Configuration Checker · Auction Countdown Timer - Dynamic Edition
QUOTE(blue penguin @ Jan 17 2015, 02:15) *
Get away from that clicky game before it sucks you in.
QUOTE(Nezu @ Sep 16 2020, 18:14) *
QUOTE(Altona Falcon @ Sep 16 2020, 18:01) *
Your goal to play the game is something to use IN the game?
That's the spirit, a true HV player

User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 16 2021, 21:45
Post #422
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
Level 500 (Ponyslayer)


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.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 23 2021, 01:49
Post #423
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
Level 500 (Ponyslayer)


[About 0.89 Changes]

The Shrine: Selecting the armor slot
- biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif
- 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."
- wacko.gif
- 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
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 23 2021, 02:04
Post #424
OnceForAll



Off Topic Police
*******
Group: Catgirl Camarilla
Posts: 1,247
Joined: 3-January 21
Level 500 (Ponyslayer)


QUOTE(sssss2 @ Dec 23 2021, 06:49) *
[About 0.89 Changes]

The Shrine: Selecting the armor slot
- biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif
- HVUT is not working in Isekai, so disable SS features: Go to line 6977 and fix it.
"Various UI tweaks and improvements."
- wacko.gif
- 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


--------------------

Karma, Karma from everywhere! · My HentaiVerse To-Do List (8/18) · My Peerless Log
Monster Database & Script · Monsterbation Configuration Checker · Auction Countdown Timer - Dynamic Edition
QUOTE(blue penguin @ Jan 17 2015, 02:15) *
Get away from that clicky game before it sucks you in.
QUOTE(Nezu @ Sep 16 2020, 18:14) *
QUOTE(Altona Falcon @ Sep 16 2020, 18:01) *
Your goal to play the game is something to use IN the game?
That's the spirit, a true HV player

User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 25 2021, 13:44
Post #425
Nezu



Rat
********
Group: Catgirl Camarilla
Posts: 3,649
Joined: 29-January 12
Level 500 (Ponyslayer)


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?


--------------------
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 25 2021, 17:45
Post #426
OnceForAll



Off Topic Police
*******
Group: Catgirl Camarilla
Posts: 1,247
Joined: 3-January 21
Level 500 (Ponyslayer)


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.


--------------------

Karma, Karma from everywhere! · My HentaiVerse To-Do List (8/18) · My Peerless Log
Monster Database & Script · Monsterbation Configuration Checker · Auction Countdown Timer - Dynamic Edition
QUOTE(blue penguin @ Jan 17 2015, 02:15) *
Get away from that clicky game before it sucks you in.
QUOTE(Nezu @ Sep 16 2020, 18:14) *
QUOTE(Altona Falcon @ Sep 16 2020, 18:01) *
Your goal to play the game is something to use IN the game?
That's the spirit, a true HV player

User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 26 2021, 18:56
Post #427
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 26 2021, 20:10
Post #428
Noni



Hataraku Noni-sama
***********
Group: Catgirl Camarilla
Posts: 10,733
Joined: 19-February 16
Level 500 (Ponyslayer)


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


--------------------
Seen a funny monster name? Please share it here! (alternative facts show that this helps getting peerless drops)
Feeling lonely in HV? Join the HV chat
Need advice on HV? Check the HV Advice Wiki or the HV Advice Advanced Wiki
Even more advice needed? Ask the experts
source of sig pic

Collectors item: EID 200000000
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 30 2021, 06:46
Post #429
OnceForAll



Off Topic Police
*******
Group: Catgirl Camarilla
Posts: 1,247
Joined: 3-January 21
Level 500 (Ponyslayer)


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>


--------------------

Karma, Karma from everywhere! · My HentaiVerse To-Do List (8/18) · My Peerless Log
Monster Database & Script · Monsterbation Configuration Checker · Auction Countdown Timer - Dynamic Edition
QUOTE(blue penguin @ Jan 17 2015, 02:15) *
Get away from that clicky game before it sucks you in.
QUOTE(Nezu @ Sep 16 2020, 18:14) *
QUOTE(Altona Falcon @ Sep 16 2020, 18:01) *
Your goal to play the game is something to use IN the game?
That's the spirit, a true HV player

User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 15:11
Post #430
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 15:36
Post #431
Noni



Hataraku Noni-sama
***********
Group: Catgirl Camarilla
Posts: 10,733
Joined: 19-February 16
Level 500 (Ponyslayer)


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


--------------------
Seen a funny monster name? Please share it here! (alternative facts show that this helps getting peerless drops)
Feeling lonely in HV? Join the HV chat
Need advice on HV? Check the HV Advice Wiki or the HV Advice Advanced Wiki
Even more advice needed? Ask the experts
source of sig pic

Collectors item: EID 200000000
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 17:08
Post #432
monk31



Newcomer
*
Group: Members
Posts: 33
Joined: 14-March 12
Level 259 (Godslayer)


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? sad.gif

This post has been edited by monk31: Jan 25 2022, 17:09
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 17:09
Post #433
killi890



Casual Poster
****
Group: Members
Posts: 414
Joined: 19-May 11
Level 420 (Dovahkiin)


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.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 17:47
Post #434
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
Level 500 (Ponyslayer)


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? sad.gif

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
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 17:59
Post #435
monk31



Newcomer
*
Group: Members
Posts: 33
Joined: 14-March 12
Level 259 (Godslayer)


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. smile.gif
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 18:22
Post #436
eYe BuRn



Newcomer
**
Group: Gold Star Club
Posts: 54
Joined: 1-April 10
Level 454 (Dovahkiin)


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".
User is online!Profile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 19:08
Post #437
sssss2



Veteran Poster
********
Group: Gold Star Club
Posts: 3,634
Joined: 11-April 14
Level 500 (Ponyslayer)


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.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 21:40
Post #438
Nezu



Rat
********
Group: Catgirl Camarilla
Posts: 3,649
Joined: 29-January 12
Level 500 (Ponyslayer)


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. smile.gif

Also thanks for noting which settings changed!


--------------------
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 25 2022, 22:54
Post #439
forgottendropzone



/o_o\
******
Group: Catgirl Camarilla
Posts: 752
Joined: 31-January 18
Level 500 (Ponyslayer)


Thanks for the update! Your work is seriously appreciated. biggrin.gif


--------------------


/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\




Holy: Staff Cap Robe Gloves Pants Shoes




User is online!Profile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 26 2022, 02:00
Post #440
monk31



Newcomer
*
Group: Members
Posts: 33
Joined: 14-March 12
Level 259 (Godslayer)


In the equipment shop, what mean the [brackets letters] next to items that this script puts?

like [IW] [SA] [SD] [EA]

?
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post


24 Pages V « < 20 21 22 23 24 >
Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

 


Lo-Fi Version Time is now: 27th September 2022 - 10:05