kolton / d2bot-with-kolbot

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

bot wont attack. #2198

Open raynorz1990 opened 4 years ago

raynorz1990 commented 4 years ago

hej people!

i have install the bot but when i get in to the game it comes out the error of your bot wont attack, in gets in to the game but it just doesnt move:( need need help pls!!

InterestingIndeed commented 4 years ago

You have to configure your char. The configuration files can be found here:

d2bot-with-kolbot/d2bs/kolbot/libs/config/

After you start the bot for the first time, there should be a file in this folder that has the character name (NOT the profile name) of the character the bot used. If you cant find such file, just copy one of the files (for example, if want to use a Paladin) "Paladin.js" and rename it including your character name "Raynor.Paladin.js".

The configuration files are explained in great detail, just work your way from top to bottom.

InterestingIndeed commented 4 years ago

Mine is coming up saying bad attack config. What am I doing wrong?

post your attack config or check it, probably a mistake in there. also, do a seperate topic for your questions, dont "spam" others please.

don9395 commented 4 years ago

First let me say I am a new baby with this stuff: I actually have the same issue! I have a paladin that works well so I created a new paladin and copied the profile, it comes up with bad attack config. It tries to run the quest but will not attack. I thought it was associated with the skill set but that is correct. I deleted the pal and set up my lvl 83 sorc, with the sorc profile, and got the same error.

/* Attack config
 * To disable an attack, set it to -1
 * Skills MUST be POSITIVE numbers. For reference see http://pastebin.com/baShRwWM
 */
Config.AttackSkill[0] = 58; // Preattack skill.
Config.AttackSkill[1] = 59; // Primary skill to bosses.
Config.AttackSkill[2] = -1; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[1] is untimed skill.
Config.AttackSkill[3] = 59; // Primary skill to others.
Config.AttackSkill[4] = -1; // Primary untimed skill to others. Keep at -1 if Config.AttackSkill[3] is untimed skill.
Config.AttackSkill[5] = 56; // Secondary skill if monster is immune to primary.
Config.AttackSkill[6] = -1; // Secondary untimed skill if monster is immune to primary untimed.
gojigen commented 4 years ago

Same issues here for some reason. Everything works fine but the Sorc will not attack. The merc does the attack while the sorc just stands there. She does throw her shield on though.

function LoadConfig() { /* Sequence config

gojigen commented 4 years ago

16:07:54 (Gojigen) Error in Diablo (diablo.js #326) Diablo not found (Area: 108, Ping:437, Game: Dibaal7)

16:09:02 (Gojigen) Error in SealLeader (sealleader.js #145) Diablo not found (Area: 108, Ping:328, Game: Dibaal7)