Roukys / HHauto

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

Bug [5.5.1] - Auto troll broken #303

Closed YotoTheOne closed 3 years ago

YotoTheOne commented 3 years ago

Auto troll active leads to a blank page instead of a fight. Disabling Auto troll makes everything else work. Here is the log :

21/07/2021, 23:27:33.846:doBossBattle:Custom troll fight. VM24272 userscript.html:144 21/07/2021, 23:27:33.848:doBossBattle:Fighting troll N VM24272 userscript.html:144 21/07/2021, 23:27:33.851:doBossBattle:Going to crush: Latest VM24272 userscript.html:144 21/07/2021, 23:27:33.854:doBossBattle:Navigating to chosen Troll. VM24272 userscript.html:144 21/07/2021, 23:27:33.857:doBossBattle:setting autoloop to false VM24272 userscript.html:144 21/07/2021, 23:27:33.860:gotoPage:going home->troll-pre-battle VM24272 userscript.html:144 21/07/2021, 23:27:33.863:gotoPage:setting autoloop to false VM24272 userscript.html:144 21/07/2021, 23:27:33.866:gotoPage:GotoPage : /troll-pre-battle.html?id_opponent= in 462ms. VM24272 userscript.html:144 21/07/2021, 23:27:33.870:autoLoop:autoLoop Disabled VM24257:51 GET https://www.hentaiheroes.com/troll-pre-battle.html?id_opponent= 500 set @ VM24257:51 eval @ VM24272 userscript.html:794 (anonymous) @ VM24249:4 t. @ VM24257:38 (anonymous) @ VM24249:4 i @ VM24257:5 eval @ VM24257:5 (anonymous) @ VM24249:13 v @ VM24249:13 (anonymous) @ VM24248 content.js:92 s @ VM24248 content.js:92 n @ VM24248 content.js:93 setTimeout (async) setTimeout @ VM24248 content.js:105 processMessage @ VM24248 content.js:109 (anonymous) @ VM24248 content.js:113 (anonymous) @ VM24248 content.js:93 (anonymous) @ VM24249:4 v.safeDocument. @ VM24249:12 (anonymous) @ VM24249:4 (anonymous) @ VM24249:12 h @ VM24249:12 send @ VM24249:13 s @ VM24257:5 setTimeout @ VM24257:6 (anonymous) @ VM24249:4 t @ VM24257:38 enhance @ VM24257:50 gotoPage @ VM24272 userscript.html:794 doBossBattle @ VM24272 userscript.html:2233 autoLoop @ VM24272 userscript.html:6118 (anonymous) @ VM24249:4 t. @ VM24257:38 (anonymous) @ VM24249:4 i @ VM24257:5 eval @ VM24257:5 (anonymous) @ VM24249:13 v @ VM24249:13 (anonymous) @ VM24248 content.js:92 s @ VM24248 content.js:92 n @ VM24248 content.js:93 userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:9228 Uncaught (in promise) ReferenceError: $ is not defined at Window.tms_0174cb26_2892_43e7_bbaf_9462ec168294 (userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:9228) at :4:80 at eval (userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:1) at eval (userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:1) at eval (userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:10724) at eval (userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:10726) at eval () at :4:80 at Object.t [as F_c] (:3:191) at Object.E_u (:4:244) tms_0174cb26_2892_43e7_bbaf_9462ec168294 @ userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:9228 (anonymous) @ VM24281:4 eval @ userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:1 eval @ userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:1 eval @ userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:10724 eval @ userscript.html?name=HaremHeroes%20Automatic%2B%2B.user.js&id=0174cb26-2892-43e7-bbaf-9462ec168294:10726 (anonymous) @ VM24281:4 t @ VM24281:3 (anonymous) @ VM24281:4 eval @ VM24291:67 create @ VM24291:69 c @ VM24291:7 (anonymous) @ VM24281:4 i @ VM24291:5 eval @ VM24291:5 (anonymous) @ VM24281:13 v @ VM24281:13 setTimeout (async) setTimeout @ content.js:105 processMessage @ content.js:109 (anonymous) @ content.js:113 (anonymous) @ content.js:93 (anonymous) @ VM24281:4 v.safeDocument. @ VM24281:12 (anonymous) @ VM24281:4 (anonymous) @ VM24281:12 h @ VM24281:12 send @ VM24281:13 s @ VM24291:5 setTimeout @ VM24291:6 eval @ VM24291:8 runListeners @ VM24291:7 run @ VM24291:8 eval @ VM24291:70 (anonymous) @ VM24281:4 t @ VM24281:3 eval @ VM24291:70 eval @ VM24291:70 TM_back @ VM24291:71 eval @ VM24291:71 (anonymous) @ VM24281:4 exec_fn @ VM24281:2 (anonymous) @ VM24281:15 v @ VM24281:13 (anonymous) @ content.js:92 s @ content.js:92 send @ content.js:93 h @ content.js:98 E @ content.js:117 (anonymous) @ content.js:113 Show 19 more frames

YotoTheOne commented 3 years ago

My bad, for some reason there was nothing in the "troll selector" box. So just need to make the script check the default value at some point.

Dimka2010 commented 3 years ago

all working fine.