Welcome Guest ( Log In | Register )

29 Pages V « < 27 28 29  
Reply to this topicStart new topic
> [Script] HV Utils 3.0.0 (31 December 2023), A comprehensive out-of-battle script for Hentaiverse and ISK

 
post Sep 18 2025, 08:33
Post #561
sugurif



Newcomer
*
Group: Members
Posts: 23
Joined: 17-September 25
Level 341 (Godslayer)


next level game experience,pretty helpful,thank you so much
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 21 2025, 15:36
Post #562
OnceForAll



Fluffy Tail Fox
*******
Group: Catgirl Camarilla
Posts: 1,646
Joined: 3-January 21
Level 500 (Ponyslayer)


Just reading the HVUT's `$ajax` part of the code, the `$ajax.next()` implementation got my attentions:

CODE
  next: function () {
    if (!$ajax.queue[$ajax.index] || $ajax.error) {
      return;
    }
    if ($ajax.tid) {
      if (!$ajax.conn) {
        clearTimeout($ajax.tid);
        $ajax.timer();
        $ajax.send();
      }
    } else {
      if ($ajax.conn < $ajax.max) {
        $ajax.timer();
        $ajax.send();
      }
    }
  },


This part doesn't feel right to me:

CODE
    if (!$ajax.queue[$ajax.index] || $ajax.error) {
      return;
    }
    if ($ajax.tid) {
      if (!$ajax.conn) {


These three conditions can only be met when:

0. There are pending tasks waiting in the queue, the queue is not empty
1. The timer id is set, a.k.a. there was a previous `$ajax.next()` call that invoked `$ajax.timer()`. This means there is another `$ajax.next()` that is waiting to happen in the future.
2. There is no active running task. A.k.a. that previous request was actually the last batch of the tasks.

But how can this current `$ajax.next()` call happen when there is no active running task, while there are pending tasks in the queue?

The only possible reason would be that this current `$ajax.next()` call is either triggered by `$ajax.add()` (user action adding new tasks) or `$ajax.onload()`/`$ajax.onerror()`. In anyway, HVUT would immediately `clearTimeout` and begin new request. Thus, there won't be enough wait between last request and this request.

This edge case is very hard to trigger and is most likely not to trigger any rate limit. But ideally, `$ajax.next()` should do nothing and early return if `$ajax.tid`is already set, thus waiting for the that already scheduled `$ajax.next()`, to ensure every `$ajax.send()` is spaced by 300ms.

This post has been edited by OnceForAll: Oct 21 2025, 15:36
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 1 2025, 13:19
Post #563
Wivers



Casual Poster
***
Group: Members
Posts: 231
Joined: 7-June 14
Level 440 (Dovahkiin)


I don't know if this is the right thread, but I've got an issue with isekai:
I connot access the equipment shop, nor the equipment inventory, and the equipment display by HVUtils on the Arena, Ring of Blood, Grindfest, etc does not show my equipment.
I also don't know how/if I can access the screen to repair my equipment.

I was wondering if it is because I use HVUtils, and if it affects other players or only me?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 1 2025, 14:29
Post #564
sssss2



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


This update brings numerous changes to the Isekai, and it will take several days to identify them and update HVUT.
Therefore, I recommend playing Isekai without HVUT for the time being.
Please add the following code to the top of HVUT in the UserScript Manager.

CODE
// @exclude *://hentaiverse.org/isekai/*
// @exclude *://alt.hentaiverse.org/isekai/*
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


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

 


Lo-Fi Version Time is now: 3rd November 2025 - 00:46