blizzhackers / kolbot

d2bs: core + d2bot (noah) + kolbot libs (kolton) | January 2020's clone of https://github.com/kolton/d2bot-with-kolbot/ + further development
244 stars 158 forks source link

Issue with automule #364

Closed fabznn closed 1 year ago

fabznn commented 1 year ago

Hello!

My AutoMule works properly when i initiate it by myself (num 5).

But when it has to be done automatically, it doesnt function properly. I configured my automule.js like it should be and set a profile, which should be stopped when automule triggers. But all my Bot does is saying "automule triggered" and then it just stays in Lobby. Mule-Profile won't even start.

Also, when i initate it by myself for the first time - mule char creates game and instantly leaves the game saying "mule completed" - but it hasn't mule anything. When i initated it again, it worked.

I am actually trying it without setting a profile to stop. Maybe it will work then. I'll keep you updated.

theBGuy commented 1 year ago

I'm assuming you have a MinGameTime set, so if your trigger mule before that min time has been met, it will wait in the lobby until then. After that it will trigger the mule profile to start.

fabznn commented 1 year ago

No no, i tested this out. It has nothing to do with MinGameTime. It stood in lobby for like 3 hours until i got home and saw it.

i removed "MinGameTime" especially for testing it with numpad5 - cause i didnt want to wait 360 seconds :-) i am testing it right now without "stopprofile" setting - to see if that's the problem.

theBGuy commented 1 year ago

Error messages? Logs? I know I made an issue template, which feels like you ignored

fabznn commented 1 year ago

Haha :-) 5 min ago i saw that issue template and i was actually thinking that you will say something like that xD i will use the template for the next time.

back to the topic - this is what my log is saying:

[02/03/23 20:26:38] D2BS 14768: [Error] Code(26) File(d:\diablo 2\kolbot.git\trunk\d2bs\kolbot\libs\polyfill.js:288) InternalError: too much recursion Line: (null) [02/03/23 20:26:39] D2BS 14768: [ÿc1Errorÿc0 (26)] File(kolbot\libs\polyfill.js:288) InternalError: too much recursion

theBGuy commented 1 year ago

Interesting, assuming your polyfill file is same as the current default. You're getting recursion with the includes polyfill which I've never seen before

fabznn commented 1 year ago

Hey, sorry for my late answer

i tested it out and it is still not working. i didnt make any changes to this polyfill file, i dont even know what that is.

any updates from your side? did you figure it out maybe?

greetings

edit: scrolling through my logs i saw that my sorc profile did mule properly. strange that my hammerdin profile gets this recursion error with pollyfill.

hammerdin is my Leader fyi.

theBGuy commented 1 year ago

Only thing I can think of is an issue in your setup, although I don't know what would possibly cause that. I also only say that because I know of a few other users who have been testing automule without this sort of issue. Can you try doing a fresh download, also try using the restructure branch

fabznn commented 1 year ago

sad to say, it still doesnt work :-/

today it was same error, but with oog.js

[02/06/23 06:24:04] D2BS 9564: [Error] Code(26) File(d:\diablo 2\kolbot.git\trunk\d2bs\kolbot\libs\oog.js:1619) InternalError: too much recursion Line: (null) [02/06/23 06:24:04] D2BS 9564: [ÿc1Errorÿc0 (26)] File(kolbot\libs\oog.js:1619) InternalError: too much recursion

theBGuy commented 1 year ago

You did a fresh download? Re-did the mule configuration? I know you're not using the restructure branch as there isn't even 1619 lines

fabznn commented 1 year ago

yes i refreshed/renewed it all.

i am trying out restructure branch right now, i will keep you updated.

fabznn commented 1 year ago

Hello! AutoMule is working properly with the new restructure branch. Thank you for your help and thanks for your work, you're doing a great job btw. Sorry for my late update - had a lot of work to get done.

ok edit - got this error again, but before it worked 2-3 times...

[02/09/23 01:03:29] D2BS 14904: [Error] Code(26) File(d:\diablo 2\kolbot.git\branches\restructure\d2bs\kolbot\libs\oog.js:1074) InternalError: too much recursion Line: (null) [02/09/23 01:03:29] D2BS 14904: [ÿc1Errorÿc0 (26)] File(kolbot\libs\oog.js:1074) InternalError: too much recursion

theBGuy commented 1 year ago

Alright so I've uploaded a couple changes which should fix this, the error was inside of the game request event so I think it was due to followers spamming request game.