gobub Author

Edit: Did a test, removing these will stop that issue, not sure how much of the script it will break though.

var start = function () {
  //console.log("script started");
  // get world map
  try {
    globalWorldMap = new Map(JSON.parse(sessionStorage.globalWorldMap));
    if (!(globalWorldMap instanceof Map) || globalWorldMap.size < 1) throw false;
  }
  catch (e) {
    console.log("Need world map NOW...");
    if (!getUnlockedWorlds()) {
      sessionStorage.userLink = window.location.href;
      return;
    }
  }

Not sure if it just me, but when I open anything in new tab (using Middle Click), after it finish loading it just go straight to: https://www.hentaiheroes.com/map.html

After that I can go to any page without issue.

Disabling the Script stop this issue. It would seem that the script was design to be like that? Console logs as follow:

Need world map NOW...
Setting Defaults.


Update it in your fork, can test it tomorrow when it reset.




Seem that the Trick to Open in New Tab the world you want to fight Troll doesn't work with v3.0 anymore. v3.0 always check for

Latest World > Troll Fight > Latest World > Loop

So +1 to this feature or bring back
World > Troll > World > Troll


I'm not really asking for a 10 second or a 1 minute delay wait time here though. The previous setup (muffin_mans's fork) seem to provide that "downtime" quite well. It was about 500 milisecond before it begin the fight, but eileen version start battle probably within 100 ms.

This of course sometime caused Server Not Responding error.

The result of eileen version is also quick, it just go back to Arena page for a Re-check and Re-try. Whereas muffin_mans fork it delay it about 1 seconds or so. Giving ample time to see the result.

For the time being I actually want to leave a second copy of muffin_mans version and use it for those occasion. It just too bad you have deleted it.



Bit of a weird complain I guess. The AutoArena working too perfectly, it is really fast, it re-try system is fast also. But it weakness is that it just too fast.

(1) It too fast so sometime the Server didn't response properly and the battle have to be Fight again (no Win/Lost result yet)
(2) It too fast and you can't see you Victory reward (Mojo, Affection, XP). Previously you have at least 1 second or so to see it.


Re: @gobub:
Hmm copy paste didnt work for some reason. Try 2:

From:
absolute;right: -16.475%

To:
absolute;right: 16.475%


Re: @gobub:

Wow I was not ready for @eileen12 version of Automission. It does collection for you too. And it doesn't just collect 1 or 2. It COLLECT THE WHOLE completed.

That was too scary! I usually wait manually when to collect them (reset shop) and level reset/up.

Anyway, should I make a new Issue to request a second option not to collect mission?


Currently the Menu is on the right side of HH menu. To see this menu you need to Zoom Out page or to have a certain ratio in your browser resolution.

Suggestion to have it to on the left:

From:
UIcontainer.html('<div style="position: absolute;right: -16.475%

To:
UIcontainer.html('<div style="position: absolute;right: 16.475%

Thanks.



@twelve27

There is one thing I do want to ask you.

I modify the script so that these default is always activate but it doesn't seem to work.

sessionStorage.autoArenaBattle = "true";
sessionStorage.autoSalary = "true";
sessionStorage.autoFreePachinko = "true";

Have to enable it each time I open up Chrome again.


@twelve27

I'm currently using muffin's version (work wonder). I thought your version add a few more thing from muffin's version, like the Auto Activities or something.

I have a feeling none of these version will get updated or fix and only muffin remain.

HH is slowly changing their version to "HH v2.0", I would say Arena is next to be patched so script should be working fine until then.



Don't need to do that. Here is a trick to getting it to target Specific Target, for example Event.

Open up the Troll in a new Tab. Activate Autotroll on that Tab, and it will only fight that Troll.
When you activate Autotroll on Homepage, it target the Last troll World you have access to.


Try Tampermonkey Stable. Use up homepage and Activate from there.


@twelve27

I manage to get it to work. Probably due to no instruction.

Anyway you need to be on the homepage for it to work. How AutoSalary/Arena work is, it check the timer and Open Harem, collect a few cash, loop back to homepage, check and go harem and looping till no more to collect.

Previously I just open Harem and it just loop Harem > Harem > Harem and it doesn't work.

But yes, Chrome version is magically compared to Firefox version. Now I'm just using Chrome for HH although I prefered if Firefox worked too. Chrome too lacking (in term of Browser) for me.

Are you able to share /upload your version @twelve27?

Thanks for the reply.


Re: @gobub:

I download Chrome v67 and used Tampermonkey Stable (Beta doesn't work with Script). Violentmonkey doesn't work either.

Got AutoArena to work. Wow it worked flawlessly compared to Firefox version (pre-update Harem v2.0).

AutoSalary don't seem to work for me. I also tried using the "HH All Cash" but that script doesn't work either.

Running two browser at the moment.