blizzhackers / autosmurf

Dark-f version of JeanMax/Autosmurf
19 stars 21 forks source link

Script error 222 bobarb undefined #9

Closed tADDEH closed 4 years ago

tADDEH commented 4 years ago

Hi!

Can't wait to get this working, Brand new SVN version of Kolbot copied all the files over from autosmurf, configs setup as the guide/darc YouTube also.

They all join the game as expected but it stops with the error:

[Strict Warning (162)] File(kolbot\default.dbj:166) reference to undefined property Config.BoBarbHelper [Error(222)] File(kolbotdefault.dbj:166) TypeError:Config.BoBarbHelper is undefined

Looking through the files all seems to be there and looking at the current version?

Thanks

tADDEH commented 4 years ago

Looks like an issues with the latest trunk, downloaded the previous revision and it appears to be working as expected now?

mf022 commented 4 years ago

[Strict Warning (162)] File(kolbot\default.dbj:166) reference to undefined property Config.BoBarbHelper [Error(222)] File(kolbotdefault.dbj:166) TypeError:Config.BoBarbHelper is undefined

In Autosmurf repository, Config js wasn't updated yet with these lines https://github.com/blizzhackers/kolbot/blob/master/d2bs/kolbot/libs/common/Config.js#L445-L449

the easy way was to add autosmurf lines from guide (last step at starting) to the end of default Config.js

mf022 commented 4 years ago

https://github.com/blizzhackers/autosmurf/commit/4666bc5f5cec6da22adb1612b27b0f6ad5079542

anyway atm the BoGetting was reverted https://github.com/blizzhackers/kolbot/pull/43