# Bot don't leave game after Baal's death

**URL:** <https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573>\
**Category:** Support\
**Created:** [February 9, 2020, 12:39pm UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573 "2020-02-09T12:39:40Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacksealboy](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@jacksealboy](https://blizzhackers.discourse.group/u/jacksealboy)\
**Post date:** [February 9, 2020, 12:39pm UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/1 "2020-02-09T12:39:40Z")

</div>

Thank you, I can’t solve this part for a long time. At present, after Ball ’s death, the leader cannot automatically leave the game to play the next game. After the leader leaves the game, follower does not follow the leader, so he has to use **Config.MaxGameTime = 300;** to exit the game after 5 minutes. Then bot leaves to play the next game.

---

<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:** [February 10, 2020, 5:36pm UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/2 "2020-02-10T17:36:43Z")

</div>

First of all, be sure that you updated your [kolbot scripts](https://github.com/blizzhackers/documentation/blob/master/d2bot/Download.md#keep-bot-files-updated).

Did you set only Baal quest? Does the Baal quest end earlier than **Config.MinGameTime** value ?

---

<div class="post-metadata">

**Author:** ![jacksealboy](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@jacksealboy](https://blizzhackers.discourse.group/u/jacksealboy)\
**Post date:** [February 11, 2020, 6:03am UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/3 "2020-02-11T06:03:06Z")

</div>

> [@mf22](#):
>
> 您是否只設定了巴爾任務

Yes, I only set the Baal task. When the game is over, the leader will not automatically play the next game, so I have to set the number of seconds for the game to end.

---

<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:** [February 11, 2020, 8:25am UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/4 "2020-02-11T08:25:59Z")

</div>

If your issue is related to the follower who is not leaving the game, after leader did:

- try to set

```javascript
	Config.QuitList = ["XXxxXX"]; // List of character names to quit with. Example: Config.QuitList = ["MySorc", "MyDin"];

```

- for more followers, use also different delays

```javascript
	Config.QuitListDelay = [x, y]; // Quit the game with random delay in case of using Config.QuitList.

```

- Do you have set **true** to more Baal helper scripts ? correct and set only 1.

If your issue is related to leader:

- Do you have a customized [Baal.js](https://github.com/blizzhackers/kolbot/blob/master/d2bs/kolbot/libs/bots/Baal.js) script?  
use [pastebin.com](http://pastebin.com) and post here the links to it and to your character configuration file.

- If the Baal run end before Config.MinGameTime, then leader would stay in game until this counter expires.

- But you said that you have to set **Config.MaxGameTime** to exit the game. Do you have set **true** to other Baal helper scripts, or other things?

---

<div class="post-metadata">

**Author:** ![jacksealboy](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@jacksealboy](https://blizzhackers.discourse.group/u/jacksealboy)\
**Post date:** [February 13, 2020, 4:51am UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/5 "2020-02-13T04:51:55Z")

</div>

Thank you for your guidance, let me try

---

<div class="post-metadata">

**Author:** ![jacksealboy](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@jacksealboy](https://blizzhackers.discourse.group/u/jacksealboy)\
**Post date:** [February 13, 2020, 4:55am UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/6 "2020-02-13T04:55:20Z")

</div>

Also ask how to make the system run the warehouse account again, thank you for your guidance

---

<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:** [February 13, 2020, 5:47am UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/7 "2020-02-13T05:47:30Z")

</div>

> [@jacksealboy](#):
>
> Also ask how to make the system run the warehouse account again,

I guess it was a translation issue. maybe you wanna know how to log items on chars, so check [D2BotMuleLog guide](https://github.com/blizzhackers/documentation/blob/master/kolbot/D2BotMuleLog.md/#d2botmulelog)

---

<div class="post-metadata">

**Author:** ![jacksealboy](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@jacksealboy](https://blizzhackers.discourse.group/u/jacksealboy)\
**Post date:** [February 17, 2020, 8:49am UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/8 "2020-02-17T08:49:45Z")

</div>

Hello, this message appears in the system,Error in Diablo (diablo.js #326) Diablo not found portal, I know the problem is that Diablo cannot be found.  
However, my role is a sorcerer (single electric wizard) and I know that a monster with electrical resistance fly away without opening the seal to open the seal. However, my main question is, where do I go to set the anti-static monster before killing the next seal, or can I set the number of seconds that the anti-static monster can be set to open the seal? thank you.

---

<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:** [February 17, 2020, 2:12pm UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/9 "2020-02-17T14:12:03Z")

</div>

1. you should uncomment this line from character configuration file:

```javascript
	Config.SkipException = [getLocaleString(2851), getLocaleString(2852), getLocaleString(2853)]; // vizier, de seis, infector

```

1. for a single element sorceress, maybe you should set:

```javascript
	Config.TeleStomp = true;

```

1. the bosses of the seals should be killed to get the Diablo spawned. Sorceress can use static field for monsters that aren’t immune to lightning

```javascript
Config.StaticList = ["Andariel", "Duriel", "Mephisto", "Diablo", "Baal", getLocaleString(21855), getLocaleString(2851), getLocaleString(2852), getLocaleString(2853)];

```

you can get LocaleString numbers from …\d2bs\kolbot\sdk\LocaleStringID.js, otherwise you can use the exact name of the monster.  
getLocaleString(21855) = “Lister the Tormentor”  
getLocaleString(2851) = “Grand Vizier of Chaos”  
getLocaleString(2852) = “Lord De Seis”  
getLocaleString(2853) = “Infector of Souls”

---

<div class="post-metadata">

**Author:** ![jacksealboy](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@jacksealboy](https://blizzhackers.discourse.group/u/jacksealboy)\
**Post date:** [February 22, 2020, 6:11pm UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/11 "2020-02-22T18:11:49Z")

</div>

Hello, I would like to ask how to not kill Niu King in Niuguan, where should I set it? Thank you.

---

<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:** [February 23, 2020, 8:33am UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/12 "2020-02-23T08:33:43Z")

</div>

> [@jacksealboy](#):
>
> Hello, I would like to ask how to not kill Niu King in Niuguan, where should I set it? Thank you.

Do you wanna try another translation? We don’t get which king are you looking for.

---

<div class="post-metadata">

**Author:** ![jacksealboy](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@jacksealboy](https://blizzhackers.discourse.group/u/jacksealboy)\
**Post date:** [February 23, 2020, 3:33pm UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/13 "2020-02-23T15:33:52Z")

</div>

Hello, I want to ask how to not kill the king in the secret cow level, where should I set it? Thank you.

---

<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:** [February 23, 2020, 4:17pm UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/14 "2020-02-23T16:17:56Z")

</div>

It’s nothing to set, because it’s already in the [Cows.js](https://github.com/blizzhackers/kolbot/blob/master/d2bs/kolbot/libs/bots/Cows.js#L14) by default.

[MFHelper.js](https://github.com/blizzhackers/kolbot/blob/master/d2bs/kolbot/libs/bots/MFHelper.js#L39) has the skipping of cow king, too.

---

<div class="post-metadata">

**Author:** ![jacksealboy](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@jacksealboy](https://blizzhackers.discourse.group/u/jacksealboy)\
**Post date:** [April 1, 2020, 7:43am UTC](https://blizzhackers.discourse.group/t/bot-dont-leave-game-after-baals-death/573/16 "2020-04-01T07:43:41Z")

</div>

Hello, I recently tried to use a mage to perform tasks with other characters, but I do n’t know how to use it. Is there any relevant information you can refer to? Thank you
