Roukys / HHauto

GNU General Public License v3.0
45 stars 44 forks source link

Bug [5.6.127] - AutoQuest don't spend money and goes in infinite loop! #627

Closed NinJaraya closed 1 year ago

NinJaraya commented 1 year ago

When the script encounters the situation shown in the image below, it goes into an infinite loop Área de Transferência01 Attached, I am sending the debug log and the HTML code. HH_DebugLog_1671540813443.log HTML code.txt

ramazan1986444 commented 1 year ago

no bug you need blue pills 1 combativy point figth bremen and win defintly blue pills drop an bot autoquest work

NinJaraya commented 1 year ago

no bug you need blue pills 1 combativy point figth bremen and win defintly blue pills drop an bot autoquest work

Like this? Didn't you see the attached image? Didn't you see the debug log? There's a green button like this: "Use 60.0K"" And when I clicked on it, 60K was spent to buy the pills, I didn't go to the fight screen. It's a bug, yes... The script always had trouble handling values other than combativity points... Note: the blue pills here in my country are called Viagra...

deuxge commented 1 year ago

I'm not able to find the value needed in the HTML given. i will have a look next time I have the same kind of quest.

NinJaraya commented 1 year ago

I'm not able to find the value needed in the HTML given. i will have a look next time I have the same kind of quest.

"item":"https:\/\/hh2.hh-content.com\/pictures\/items\/Q1.png","cost":{"$":60000} 60.0K = 60,000 = 60000

Always have a URL in the item when you need to use money, otherwise it looks like this:

"item":null,"cost":{"*":6} "item":null,"cost":{"*":5} "item":null,"cost":{"*":9}

NinJaraya commented 1 year ago

Área de Transferência01 The first code I posted used Chrome's ctrl+u command. This new one I used F12, elements tab. HTML.code.txt

deuxge commented 1 year ago

Thanks to the last file, I was able to find the issue. I can't validate the fix but it should work. If you still have the use case, you could try with the fix I proposed and confirm (or not) if it worked.

NinJaraya commented 1 year ago

Thanks to the last file, I was able to find the issue. I can't validate the fix but it should work. If you still have the use case, you could try with the fix I proposed and confirm (or not) if it worked.

I don't know when there will be another occurrence like this. I'll wait to happen before updating so I can test. Thanks!!! by Google Translate

iirtimD commented 1 year ago

the script now cannot determine how much energy the quest needs.... HH_DebugLog_1671878466148.log

deuxge commented 1 year ago

True, my bad. Fix pushed

NinJaraya commented 1 year ago

I haven't been able to test the script yet. So I created an account on the test server. There with low values like 100, 150 or 200, the old script was working. But when the value of the image below appeared, the problem began: Área de Transferência01 HTML.code.txt I updated to the latest version but the problem persists. In my opinion, the problem is the comma. I find it very inconsistent, the way they represent the values in the game. In this case the value appears like this: 1,300 with a comma In the first case it appeared like this: 60.0K with a dot It's very random.

When I have change, I'll test it on my main account.

I hope I was clear. I'm really bad at expressing myself in writing, even more so in another language.Obs.:

deuxge commented 1 year ago

Anyone having issues again with this one ?

buttstallion69 commented 1 year ago

For me it just stopped doing any quests now.

deuxge commented 1 year ago

Try to deactivate "Hentai Heroes++ (OCD) Season version", I saw errors linked to this script in comix harem. When I deactivated it there was no issue anymore.

I don't have any issue on the test server. Didn't tested on other games since yesterday.

buttstallion69 commented 1 year ago

Try to deactivate "Hentai Heroes++ (OCD) Season version", I saw errors linked to this script in comix harem. When I deactivated it there was no issue anymore.

I don't have any issue on the test server. Didn't tested on other games since yesterday.

I have the BDSM version of this script. Disabled it and still nothing. It's not doing adventures on HH, HH (test) and on PornstarHarem.

Edit: I reinstalled the script and it works properly now.

NinJaraya commented 1 year ago

All ok!!!