Welcome Guest ( Log In | Register )

30 Pages V « < 28 29 30  
Reply to this topicStart new topic
> [Script] HV Utils 4.0.0 (15 November 2025), A comprehensive out-of-battle script for Hentaiverse and ISK

 
post Nov 16 2025, 16:19
Post #581
WCLF



Lurker
Group: Lurkers
Posts: 3
Joined: 10-April 17
Level 438 (Dovahkiin)


Perhaps consider query 'script[src*="hvc.js"]' and match /z\/(\d+)(.*)\/hvc.js/ in src to get the hv version, then use the hv version to switch the methods?
such as:
CODE
let match = document.querySelector('script[src*="hvc.js"]').src.match(/z\/(\d+)(.*)\/hvc.js/);
var version = {
  main: match[1],
  sub: match[2]
  getFull: () => `${main}${sub ? sub : ''}`;
};
switch (version.getFull()) { // or use if ( version.main < 091 ) { ... } else { ... } instead of switch case
  case '090c': // 2025S2 Persistent
    // scripts for Persistent
    break;
  case '091': // 2025S2 Isekai
    // scripts for Isekai
    break;
}
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Nov 16 2025, 19:14
Post #582
32Eff



Active Poster
*******
Group: Gold Star Club
Posts: 1,313
Joined: 27-January 20
Level 500 (Ponyslayer)


When the equipment condition is less than 10, the number accurate to 0.1 digits will be displayed instead of only integer digits. This may break the script reading.
Problems may also occur with the energy.
(IMG:[files.catbox.moe] https://files.catbox.moe/lseku8.png)
(IMG:[files.catbox.moe] https://files.catbox.moe/3spts2.png)

This post has been edited by 32Eff: Nov 16 2025, 19:19
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Nov 16 2025, 23:56
Post #583
l13763824039



Active Poster
*******
Group: Gold Star Club
Posts: 1,444
Joined: 6-July 21
Level 500 (Ponyslayer)


QUOTE(sssss2 @ Nov 16 2025, 09:05) *

Go to line 2478 and replace some lines.
...

Thanks

The shop filter (for purchase) doesn't work in Isekai because there is no dynjs.
Now, only some other pages of the armory have dynjs
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 17 2025, 09:42
Post #584
Maharid



The Lord Of Dreams
*******
Group: Catgirl Camarilla
Posts: 2,429
Joined: 27-April 10
Level 500 (Ponyslayer)


I'm curious, there is a way to inehrit the setting from the previous version?

If not can a save and load function be added?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2025, 04:25
Post #585
VawX



Active Poster
*******
Group: Gold Star Club
Posts: 1,415
Joined: 5-November 11
Level 500 (Ponyslayer)


I noticed that the RE timer is gone in the Isekai, is it possible to integrate it again mmm...~?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 19 2025, 03:56
Post #586
l13763824039



Active Poster
*******
Group: Gold Star Club
Posts: 1,444
Joined: 6-July 21
Level 500 (Ponyslayer)


MagNet name has been changed, which breaks some ability functionality
Change
CODE

    'Better MagNet': { category: 'Deprecating 2', img: 'u.png', pos: 0, unlock: [250, 295, 340, 370, 400], point: [1, 2, 3, 4, 5] },
to
    'Better Immobilize': { category: 'Deprecating 2', img: 'u.png', pos: 0, unlock: [250, 295, 340, 370, 400], point: [1, 2, 3, 4, 5] },


This should fix the equipment section in MM now. My life got saved :animecry:
lock and unlock still doesn't work. You can check the implementation of this script. The form has changed
html regex doesn't work for some equip in MM section and I don't know why
You can try this regex for html
CODE

    html: /<div class="eq"><div class="eqt">(.+?) &nbsp; &nbsp; (?:Level (?:(\d+)|(Unassigned))|Tier (\d+) \/ (\d+) \/ (\d+)) &nbsp; &nbsp; <span>(Tradeable|Untradeable|Soulbound)<\/span><\/div><div class="eqr">Condition: (\d+)% &nbsp; &nbsp; Energy: (?:(\d+)%|(N\/A))<\/div>/,

to

    html: /<div class="eqt">([^&]+)\s(?:&nbsp; ){2}(?:Level (?:(\d+)|(Unassigned))|Tier (\d+) \/ (\d+) \/ (\d+)) &nbsp; &nbsp; <span>(Tradeable|Untradeable|Soulbound)<\/span>[\s\S]*?<div class="eqr">Condition:\s*([\d.]+)%\s+&nbsp; &nbsp; Energy:\s*([^<]+)<\/div>/i,


This post has been edited by l13763824039: Nov 19 2025, 18:09
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Yesterday, 18:07
Post #587
nekolor



Casual Poster
***
Group: Members
Posts: 127
Joined: 16-June 14
Level 491 (Godslayer)


Minor cosmetic bug: first run makes potion counts in battle lobby pages bug out and display twice overflowing the box. After reload it works fine.

Same screens equipment condition spans visually give bugged alignment impression. Use something like “border-left: 1px dotted;" or "background-color: rgba(0,0,0,0.05);" on it to visually separate it.

Equipment screen item stat block looks kinda bad too (applies to Persistent version to some extent too). Remove colon separators, combine condition and energy (I hope this useless redundant Energy crap does not stick anyway (IMG:[invalid] style_emoticons/default/smile.gif) ) and use CSS like:
.hvut-eq-info > span {
display: inline-block;
padding: 0px 3px;
}
.hvut-eq-info > span:not(:last-child) {
border-right: 1px dotted;
}

Also I think "N/A" on Energy shouldn't cause condition warning style like it does now.

Page shortcuts for Isekai shouldn't have Monster Lab.


And a couple of minor suggestions for both scripts.
I think Lottery and Mail defaults should be "off" — I'm sure a lot of people like me either seldom use those or not at all, it should be opt-in.

Audio signal beep should be off by default, absolutely.

Random encounter element should be configurable: I had the script modified to disable it in battle before. Although I didn't like it being clickable in Isekai because it opens new tab but the timer display there still would be nice.
Change top equp set shortcut from persona name to set name — this is more useful.

This post has been edited by nekolor: Yesterday, 18:44
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


30 Pages V « < 28 29 30
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 21st November 2025 - 12:44