kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
346 stars 332 forks source link

Autobuild is not defined #208

Closed ryancrunchi closed 7 years ago

ryancrunchi commented 7 years ago

Hi, I am using autosmurf : http://www.blizzhackers.cc/viewtopic.php?f=209&t=499016 with autobuild. And I get an error when the bot enters a new game it says Error:(new ReferenceError('AutoBuild is not defined', ...d2bs\\kolbot\\tools\\autobuildthread.js, 229)) in the console as shown in the image sans titre

The bot is nicely executing the autosmurf script but does not update its stats and skills due to this error with autobuild. One thing I noticed is that the path of the file is formatted with double backslash : "d2bs\\kolbot\\tools\\autobuildthread.js". Can it be the problem ?

ryancrunchi commented 7 years ago

Ok I found the solution I had a Pather.teleport = false; in my char config at the top of LoadConfig() function which made a conflict between scripts I think (I wanted to force char to walk).