Open Daboss847 opened 5 years ago
Yes. take a look at my follower settings; https://gyazo.com/13bce1ffff853c8b816d813050b92545
Thanks for the reply, but I was asking about exiting the game not joining.
On Thu, Apr 18, 2019 at 12:28 PM oband2 notifications@github.com wrote:
Yes. take a look at my follower settings; https://gyazo.com/13bce1ffff853c8b816d813050b92545
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kolton/d2bot-with-kolbot/issues/1462#issuecomment-484629200, or mute the thread https://github.com/notifications/unsubscribe-auth/ALXNKCPDDY7YF6EC2LQJONDPRC4V3ANCNFSM4HGY2JYA .
-- Tyler Ruff tylerqruff@gmail.com (801) 664-1964
for quiting using Config.QuitList
set in char config, you could try to find default lines 424-430 from ToolsThread.js and to add a delay line (eg. with random delay 5-30 seconds)
case 0x03: // "%Name1(%Name2) left our world. Diablo's minions weaken."
if ((typeof Config.QuitList === "string" && Config.QuitList.toLowerCase() === "any") ||
(Config.QuitList instanceof Array && Config.QuitList.indexOf(name1) > -1)) {
print(name1 + (mode === 0 ? " timed out" : " left"));
delay(rand(5, 30) * 1000);
quitFlag = true;
}
For using the quiting from Follower.js you should edit that file on default lines 506-510 and add a delay line
case "quit":
case me.name + " quit":
delay(rand(5, 30) * 1000);
quit();
break;
idk if you can set different delays using the name of the profiles that you set in manager, something like
if (me.profile == "leecher1") { delay(rand(5, 9) * 1000); }
if (me.profile == "leecher2") { delay(rand(10, 14) * 1000); }
if (me.profile == "leecher3") { delay(rand(15, 19) * 1000); }
if (me.profile == "leecher4") { delay(rand(20, 24) * 1000); }
...
@mf022 Thank you so much for the information. I'll try a couple of these!
I have tryed this two different way to make my followers to leave randomly after baal is killed, non of them will work. Config.QuitList, and the follower.js script.
but non of them will work as intented, and resault in fail to join game right after. could someone point me in right direction?, someon did mention to add delay in the char config file?, but im not sure how to do this correctly.
None of this shit is working for me. So frustrating.
Very helpful thread guys, thank you. I can confirm that adding a delay before this.exit() is called the bot will wait for a time before exiting the game.
My question:
Is there a way to get multiple followers/leechers to have different exit delay times? I'm using the JoinDelay config in D2BotChannel.dbj to spread out when my game of 6 runners all join the game, spread out over 60 seconds. But I can't figure out how to not have all 6 exit the game all at the same time. Trying to avoid RD's and "In line to create game" by doing this and increasing game length, among other tweaks.
Thanks in advance!
Originally posted by @tylerqr in https://github.com/kolton/d2bot-with-kolbot/issues/835#issuecomment-480076943