kolton / d2bot-with-kolbot

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

Config.BoBarbHelper is undefined #2390

Open GeorgiLein opened 4 years ago

GeorgiLein commented 4 years ago

Hello,

So I wanted to put my bo barb together with a chant sorc in public game. I want to configure the barb to stay in Last wp cata and give bo to player. Thank God a script like that already excist.... however it is not working - https://pastebin.com/JTmWbqLf

I lso added this into the barberian config as it says : https://github.com/blizzhackers/documentation/blob/master/kolbot/MiscellaneousOptions.md#modded-BattleOrdersjs

Thanks for having a look!

Grzegorzdut commented 4 years ago

Hi there, I have the same problem. Barb does not go to cata. Log file below

[08/02/20 07:20:01] D2BS 16200: ÿc4Updating Status [08/02/20 07:20:01] D2BS 16200: ÿc2D2BSÿc0 :: Starting default.dbj [08/02/20 07:20:01] D2BS 16200: ÿc2D2BSÿc0 :: default.dbj running. [08/02/20 07:20:01] D2BS 16200: [Strict Warning] Code(162) File(c:\users\grzeg\desktop\d2bot-with-kolbot-master\d2bs\kolbot\libs\config\barbarian.booka.js:27) reference to undefined property Config.BoBarbHelper Line: (null) [08/02/20 07:20:01] D2BS 16200: [Error] Code(0) File(c:\users\grzeg\desktop\d2bot-with-kolbot-master\d2bs\kolbot\libs\common\config.js:95) Error: Config.init: Error in character config. Line: (null) [08/02/20 07:20:01] D2BS 16200: [ÿc9Strict Warningÿc0 (162)] File(kolbot\libs\config\barbarian.booka.js:27) reference to undefined property Config.BoBarbHelper [08/02/20 07:20:01] D2BS 16200: ÿc8Error in barbarian.booka.js(line 27): Config.BoBarbHelper is undefined [08/02/20 07:20:01] D2BS 16200: [ÿc1Errorÿc0 (0)] File(kolbot\libs\common\config.js:95) Error: Config.init: Error in character config.

poisas commented 3 years ago

You need to edit config.js file and find there line 416 and there is battleorders script and after that add this code and it worked, before i had same error as u guys. this code goes to somewhere acording the code in d2bs\kolbot\libs\common\config.js i added it somewhere at line 416 after battleorder script so my code looks like

BattleOrders: { Mode: 0, Getters: [], Wait: false }, BoBarbHelper: { Mode: 0, Wait: false },

Dacio11 commented 3 years ago

It works, thank you very much!

You need to edit config.js file and find there line 416 and there is battleorders script and after that add this code and it worked, before i had same error as u guys. this code goes to somewhere acording the code in d2bs\kolbot\libs\common\config.js i added it somewhere at line 416 after battleorder script so my code looks like

BattleOrders: { Mode: 0, Getters: [], Wait: false }, BoBarbHelper: { Mode: 0, Wait: false },

Thank you very much!