#  Running multiple bots warning messages!

**URL:** <https://blizzhackers.discourse.group/t/running-multiple-bots-warning-messages/416>\
**Category:** Support\
**Created:** [October 25, 2019, 4:54am UTC](https://blizzhackers.discourse.group/t/running-multiple-bots-warning-messages/416 "2019-10-25T04:54:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![D2SojDupe](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@D2SojDupe](https://blizzhackers.discourse.group/u/D2SojDupe)\
**Post date:** [October 25, 2019, 4:54am UTC](https://blizzhackers.discourse.group/t/running-multiple-bots-warning-messages/416/1 "2019-10-25T04:54:14Z")

</div>

Hello everyone!

I just decided to make up to run two bots (Pala-Leader and Necro-Follower) at the same time. Everything is fine, I can join my own game with my leader/follower. They going together nicely!

My only problem is that my necro doesn’t want to attack!

It wasn’t that easy to setup a poisonmancer normally, but I went trough at the hard settings somehow…

So when I join a game I see my nec is casting the Lower Resist curse, but all after that it’s just standing and it DOES NOT USE the Poison Nova skill… When my Hammer is done, it starts to following the Hammer-Leader.

So Nec should use my pre-setted skills…  
but…  
…instead of I get this message:

```auto
///
[Strict Warning (162)] File(kolbot\libs\common\attacks\necromancer.js:134) reference to undefined property this.curseState[0]
///

```

(((Here is the mentioned part from kolbot\libs\common\Attacks\Necromancer.js

```auto
if (Config.Curse[0] > 0 && this.isCursable(unit) && (unit.spectype & 0x7) && !unit.getState(this.curseState[0])) {
if (getDistance(me, unit) > 25 || checkCollision(me, unit, 0x4)) {
if (!Attack.getIntoPosition(unit, 25, 0x4)) {
return 1;
}
}

if (!Skill.cast(Config.Curse[0], 0, unit)) {
return 2;
}

return 3;
}

```

)))  
I really don’t know what should I re-write or modify to make this guy cast some nice poison gas cloud.

I can see also messages is RED:

F.e.:

Skipping Zombie  
Skipping Carver

Probably it’s happening because Nec did not killed the enemy, but it has to move forward to follow Leader.

I hope someone can tell me the solution, just can’t wait to see my bots together clearing the upper Evil’s lair Tongue

* * *

Here is the attack config, may it add extra help to find things out!

```auto
/* 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] = -1; // Preattack skill.
Config.AttackSkill[1] = 92; // 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] = 92; // 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] = -1; // Secondary skill if monster is immune to primary.
Config.AttackSkill[6] = -1; // Secondary untimed skill if monster is immune to primary untimed.

// Low mana skills - these will be used if main skills can't be cast.
Config.LowManaSkill[0] = -1; // Timed low mana skill.
Config.LowManaSkill[1] = -1; // Untimed low mana skill.

/* Advanced Attack config. Allows custom skills to be used on custom monsters.
* Format: "Monster Name": [timed skill id, untimed skill id]
* Multiple entries are separated by commas
*/
Config.CustomAttack = {
//"Monster Name": [-1, -1]
};

Config.Dodge = true; // Move away from monsters that get too close. Don't use with short-ranged attacks like Poison Dagger.
Config.DodgeRange = 10; // Distance to keep from monsters.
Config.DodgeHP = 90; // Dodge only if HP percent is less than or equal to Config.DodgeHP. 100 = always dodge.
Config.BossPriority = true; // Set to true to attack Unique/SuperUnique monsters first when clearing
Config.ClearType = 0x7; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all
Config.TeleStomp = false; // Use merc to attack bosses if they're immune to attacks, but not to physical damage

// Wereform setup. Make sure you read Templates/Attacks.txt for attack skill format.
Config.Wereform = false; // 0 / false - don't shapeshift, 1 / "Werewolf" - change to werewolf, 2 / "Werebear" - change to werebear

// Class specific config
Config.Curse[0] = 91; // Boss curse. Use skill number or set to 0 to disable.
Config.Curse[1] = 91; // Other monsters curse. Use skill number or set to 0 to disable.

```

ps.: Do anyone knows what exactly means “untimed” skill?

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [October 25, 2019, 9:09pm UTC](https://blizzhackers.discourse.group/t/running-multiple-bots-warning-messages/416/2 "2019-10-25T21:09:34Z")

</div>

> [@D2SojDupe](#):
>
> Config.ClearType = 0x7;

According to this setting, your necromancer is attacking only champions/bosses

The necromancer’s attack is partial set accordingly to [https://github.com/kolton/d2bot-with-kolbot/blob/master/d2bs/kolbot/libs/config/Templates/Attacks.txt#L83-L103](https://github.com/kolton/d2bot-with-kolbot/blob/master/d2bs/kolbot/libs/config/Templates/Attacks.txt#L83-L103)

When you wanna post your config, use [pastebin.com](https://pastebin.com/) and share here the link to that paste. Whole config is easy to be compared with the default one to see the changes, using SVN Diff or other comparing tools.

---

<div class="post-metadata">

**Author:** ![D2SojDupe](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@D2SojDupe](https://blizzhackers.discourse.group/u/D2SojDupe)\
**Post date:** [October 25, 2019, 11:04pm UTC](https://blizzhackers.discourse.group/t/running-multiple-bots-warning-messages/416/4 "2019-10-25T23:04:40Z")

</div>

Okay… So I re-downloaded the whole kolbot.zip and re-configurated to my current needs.

He uses Corpse Explodion (or poisone x, if I want), which is nice! But still dont want to use Poison Nova, instead of that, says:

[Strict Warning (162)] File(kolbot\libs\common\attacks\necromancer.js:116) reference to undefined property this.skillElement[0]

[https://pastebin.com/VX59iAwy](https://pastebin.com/VX59iAwy)

It looks like the program itself cant get trough that state and it seems it can’t check are the monsters infected with nec lower resist curse, or not. It should do that! Checking and if done, attack!

So anybody out there who uses novamancer and has a working config? What is the problem here? I’m not a javascript programmer, sadly ![Sad](https://global.discourse-cdn.com/free1/uploads/d2bot1/original/1X/0118e483b9ed594db898ea1a6f925ee630a5f7b1.png "Sad")

Here is my novamancer’s config, it helps see clearer, (which seems perfect now) … :  
[https://pastebin.com/7VxbxrwD](https://pastebin.com/7VxbxrwD)

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [October 26, 2019, 7:04am UTC](https://blizzhackers.discourse.group/t/running-multiple-bots-warning-messages/416/5 "2019-10-26T07:04:57Z")

</div>

> [@D2SojDupe](#):
>
> [/\*\*\* @filename Necromancer.js\* @author kolton\* @desc Necromancer attack - Pastebin.com](https://pastebin.com/VX59iAwy)

your file have a lot of changes comparing with default [https://github.com/kolton/d2bot-with-kolbot/blob/master/d2bs/kolbot/libs/common/Attacks/Necromancer.js](https://github.com/kolton/d2bot-with-kolbot/blob/master/d2bs/kolbot/libs/common/Attacks/Necromancer.js)

> [@D2SojDupe](#):
>
> What is the problem here? I’m not a javascript programmer, sadly

then try to use default files. add changes when you will know how to do them.

> [@D2SojDupe](#):
>
> [// Necromancer config file/\* Brief instructions: \* Notepad++ is HIGHLY rec - Pastebin.com](https://pastebin.com/7VxbxrwD)

you have set only an act1 script - corpsefire, maybe you tested it.  
but you didn’t set the clear den, and he will attack only the boss corpsefire.

if you set only rv potions in belt, check line 275 (how to set lines 277-280)

```auto
	 * Set rejuvenation columns to 0, because they can't be bought.

```

for rv you can use also line 242

```auto
    Config.MPBuffer = X; // Number of mana potions to keep in inventory.

```

> [@D2SojDupe](#):
>
> So I re-downloaded the whole kolbot.zip

use [tortoiseSVN](https://github.com/blizzhackers/documentation/blob/master/d2bot/Download.md#download-with-tortoisesvn) or git
