Jump to content

renalove

Members
  • Posts

    82
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by renalove

  1. v0.18.0 released. I managed to make Harem++ usable.

    • Harem++ now loads girl data from the waifu page instead of the harem page.
    • Data like level, affection, skill and equipment are now automatically updated, but only for your own girls.
    • The unowned girl that is in the cache data will be displayed. Her shard count will not be updated.
    • The Pachinko filter does not support a girl that is not in the cache data.
    On 1/25/2024 at 8:22 AM, Tom208 said:

    The only way I see is doing server requests to get data of all the harem's girls.
    But with 24 girls per load, it means about 70 server requests. 😕

    That data does not include pachinko information. The script needs to send 1700 server requests to make all the features work. 😫

    • Thanks 6
    • Hearts 1
  2. 4 hours ago, Horsting said:

    It works very well here on test server 🤔. In case, which issue should I watch out for?

    The script cannot load the data from the harem page, so the cached data should be displayed. Since the cache data is not updated, the girls' levels and affections are not updated. Girls added to the harem are also not displayed. If you delete the cache data, the script will stop working completely.

    4 hours ago, Horsting said:

    EDIT: Also the original harem still loads as slow as on live server. Probably they reverted the change?

    No, the changes have not been reverted. The girls are now filtered and sorted on the server side, and 24 girls are loaded per scroll down. Each time a girl is selected, the detailed data for that girl is loaded. Although this has increased the lag due to more processing on the server side, I believe it is now faster on mobile devices.

  3. Quote
    • The issue impacting the skills calculation in multi-fights is fixed
    Quote
    • Harem loading optimization

    On the test server, the skill bug has been fixed and the harem pose filter now includes unowned girls. On the production server, the pose filter still does not include such girls, so the skill bug is not fixed yet.

    image.jpeg.69c47914874f3f1bd18a53cb13e6dc9f.jpeg

    -----

    Oops, the pose filter matches all unowned girls. So the girls whose poses match will be mixed with the unowned girls whose poses do not match.

    • Like 1
    • Thanks 2
  4. 53 minutes ago, bolitho76 said:

    Have someone the remaining shards amount from nutaku? Would be nice if that would be shared here. Thanks!

     

    Demon Queen Mala MD35 73.079 92.650
    Baroque Rabbi MD36 60.000 88.683
    VR Neono MD37 45.630 81.358
    Ume MD38 44372  

    I have some screenshots. (hh.com)

    image.thumb.jpeg.964fc1469d4751151e1857ceec4ae51a.jpeg

    image.thumb.jpeg.5341beea2f9c543af9faa59192bad0a5.jpeg

    • Like 1
    • Thanks 1
    • Hearts 1
  5. On 1/4/2024 at 8:23 AM, Horsting said:

    It works on mobile devices since on those the faulty function is not called:

                if (this.isMobileSize()) {
                    localStorage.removeItem("ch_pos")
                } else {
                    var coord = jsonParse(localStorage.ch_pos);
                    this.$rootContainer.css({
                        top: coord.top,
                        left: coord.left
                    })
                }

    I think correct would be JSON.parse(), i.e. some typo which can happen. The real problem is that such bugs get merged completely untested, even that they so obviously break the whole functionality.

    Indeed, replacing the function accordingly fixes the chat.

    Reading the line above it, I found a workaround for the bug.

            if (localStorage.ch_pos) {
                if (this.isMobileSize()) {
                    localStorage.removeItem("ch_pos")
                } else {
                    var coord = jsonParse(localStorage.ch_pos);
                    this.$rootContainer.css({
                        top: coord.top,
                        left: coord.left
                    })
                }
            }

    To work around this bug, either delete ch_pos from local storage or run the following code in the browser console. Reload and the chat will be restored.

    localStorage.removeItem("ch_pos")
    • Like 2
    • Thanks 1
  6. On 12/30/2023 at 9:56 AM, Horsting said:

    There is a little bug with calculating the girls' potentials.

    On 12/30/2023 at 9:56 AM, Horsting said:

    I have such a feeling that it is hard work to fix this, as the game does not split the girl attributes into base and skill bonus?

    As you say, this is not an easy bug to fix. The harem data does not include base power or skill bonus. Only squad selection at labyrinth page includes them. Lots of fixes are needed to use that data.

    • Like 1
  7. 11 hours ago, Horsting said:

    In league I do now get the following error

    Uncaught QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'HHBattleSimulator.TeamData' exceeded the quota.
        at le (chrome-extension://jinjaccalgkegednnccohejagnlnfdag/Hentai%20Heroes%20Battle%20Simulator%20v4.user.js#14:20:12538)
        at he (chrome-extension://jinjaccalgkegednnccohejagnlnfdag/Hentai%20Heroes%20Battle%20Simulator%20v4.user.js#14:20:12841)
        at ye (chrome-extension://jinjaccalgkegednnccohejagnlnfdag/Hentai%20Heroes%20Battle%20Simulator%20v4.user.js#14:20:13120)
        at chrome-extension://jinjaccalgkegednnccohejagnlnfdag/Hentai%20Heroes%20Battle%20Simulator%20v4.user.js#14:20:66478
        at async chrome-extension://jinjaccalgkegednnccohejagnlnfdag/Hentai%20Heroes%20Battle%20Simulator%20v4.user.js#14:20:65972
        at async chrome-extension://jinjaccalgkegednnccohejagnlnfdag/Hentai%20Heroes%20Battle%20Simulator%20v4.user.js#14:20:61899

    I cleared this value. When opening the team selection page, the error re-appears. It contains the (small) data of a single team, but the script seems to try adding something much larger (too large).

    It is a bit difficult for me debug this in the minified version of the script. If you cannot replicate, a formatted debug version with full function and variable names would help.

    That error occurs when there is not enough free space in the local storage. You need to delete other data to free up space. HHBattleSimulator.TeamData requires about 100KB of free space.

    If you are interested in debugging, the non-minified version is available here.
    https://github.com/rena-jp/hh-battle-simulator-v4/raw/main/dist/hh-battle-simulator-v4.dev.user.js

    • Thanks 1
  8. It seems that they decided to change the string data to numeric data on all pages to fix the auto-assign for the labyrinth. I was surprised at how bold the bug fix was.

    I think all the fixes are done, but if there are any bugs in the scripts that are not fixed, please do not hesitate to let me know.

    • Thanks 4
  9. 20 hours ago, Horsting said:

    image.thumb.png.a117daed76205d620cd374f2908c2cf3.png

    I was desperately looking for an opponent on test server W1 with GS5 active which I am able to do more than 3 points, so that I can test whether opponents' GS5 are effective throughout all 3 battles when using the x3 button. There was only one where I was not able to get even close to 4 points, and another one with GS5 reflect at level 1 only, so no significant effect.

    Rena has GS5 reflect at level 4. Sadly the team was a little too weak, so that even with my 53 TP team, my odds were not lower than shown here. And I forgot that I could have unequipped the hero. Result was 8-9-8. Given the reflect skill leads to about at 30k additional damage (more with crits) => surely at least 1 round earlier end of fight, I would expected higher scores in the 2nd and 3rd battle, if it is not effective. But sadly given the range of outcomes, and only 2 sample battles, it is no prove that the skill was effective. Next time I will unequip my hero and forge team+equipment to have a flat 3 points chance, but as close as possible to enabling the 4 points outcome.

    This is what you wanted. 😉

    image.jpeg.cb23dcb14f70db7f9c43c40e3810b03f.jpeg

    image.thumb.jpeg.f061128fed6ef02cb785efeb06cdd310.jpeg

    With skill 5: 19-23
    Without skill 5: 21-25
    Results: 22, 24, 24

    This result indicates that the opponent's Skill 5 is also only triggered in the first fight. Thus, a player without Skill 5 would benefit from x3 fights against an opponent with Skill 5.

    • Thanks 3
  10. There is a bug where the game server returns incorrect team data after editing a labyrinth team. For example, after editing a labyrinth team, if you go to the page of the girl who belongs to the labyrinth team and open the Teams tab, nothing is displayed, even if the girl belongs to a non-labyrinth team. If you click the Edit button at this point, you can edit the labyrinth team on the normal team edit page. This bug is fixed by opening the team selection page from the villain, season, league, or pantheon page.

    image.thumb.jpeg.07065366f3573b1b89fc45a19adea441.jpeg

    This bug may cause the team filter and team editing to not work in harem++. If this happens, please open the team selection page from the villain, season, league or pantheon page and then open harem++ again.

     

    On 12/6/2023 at 11:19 AM, Master-17 said:

    1.jpg.bbceb40046898c431904a1e219e47eec.jpg

    @renalove,This, of course, is a good innovation, but the previous one was also very useful, because it allowed you to find those in whom you had already started putting light bulbs, regardless of skill, with just one parameter. There is no need to select all the parameters that are needed. So could you bring back the old system with a separate criterion?

    Or at least make it so that when choosing a skill level, all the girls who have leveled up this skill would be displayed, and not just those who are currently leveling it up. It’s somehow strange when, for example, when choosing the 2nd skill, those who have the 3rd and higher would not get there. Then in this case, when choosing the 1st skill, a selection would take place of those who have at least one light bulb embedded in their skills.

    Added shortcut.

    image.jpeg.522917b9e10cb8372a72b519ae8812f8.jpeg

  11. Battle Simulator v4 - 4.13.3
    https://github.com/rena-jp/hh-battle-simulator-v4/raw/main/dist/hh-battle-simulator-v4.user.js

    Added attack order icons to the pre-battle page and the team edit page for Labyrinth.

    attack_order.thumb.jpg.f2d4e26da8c1021102ee908f5e4be9b6.jpg

     

    On 12/8/2023 at 8:48 PM, mdnoria said:

    I just noticed something strange in leagues, my team is vertically mirrored from what I selected when I select myself :

     

    Team selection screen Pre-battle tab
    image.png.fb202019d0ba6dc53d1f267af7aa9c7d.png image.png.6d4d48d50f1e7387cc6465c3f8faee9c.png

    Only happens with the script since you can't select yourself without it and only to yourself, other players have the good order (tried by fighting one).

    Not just your team. All opposing teams are mirrored. Thanks to this, the front of the player's team and the opposing team face each other in Labyrinth.

    mirror.jpg.03a8b8d686bb9f8870de719c60e48047.jpg

    • Thanks 4
  12. Added ego and new skill icons to the labyrinth tooltip. Also fixed a bug that prevented editing after auto-assignment. These are not game updates, but a feature of my battle simulator. Please do not report a script problem to Kinkoid support. You can also disable them in the config.

    image.png.5f1bfe32cd82f9a8297444c364d655e0.png

    https://github.com/rena-jp/hh-battle-simulator-v4/raw/main/dist/hh-battle-simulator-v4.user.js

    • Thanks 5
×
×
  • Create New...