Open RJ1212 opened 5 years ago
your leader key is muted? Do you see the leader messages in follower d2 window? Did you configure your follower file ...?
Scripts.Follower = true;
If your leader key is muted you should set Local Chat on mode 2 for both chars in the config files.
On my follower file.
Scripts.Follower = true;
I followed your post and realized local chat was not enabled. But even after setting it, the follower doesnt listen. https://i.imgur.com/5qULYAP.png
My leader doesnt show LocalChat.enabled Mode 2 for some reason even though I configured it. https://i.imgur.com/qXHwZLw.png
Set UserAddon to false on your follower.
LocalChat won't work with D2BotMap so set it to false too.
Set UserAddon to false on your follower.
LocalChat won't work with D2BotMap so set it to false too.
OH IT WORKS NOW THANK YOU.
I changed the useraddon to false, then also changed config.leader from auto detection to actual name
LocalChat won't work with D2BotMap so set it to false too.
in fact for me LocalChat mode 2 is working in both cases for leader: D2BotMap or D2BotBlank+Manual.js https://github.com/blizzhackers/documentation/blob/master/kolbot/ManualPlay.md
Then you modified some files, LocalChat.init()
is not called by default when running D2BotMap.
Then you modified some files,
LocalChat.init()
is not called by default when running D2BotMap.
I guess my mods aren't affecting this, cause I have LocalChat.init();
only in the default line 111 of default.dbj, which is loaded in any case by d2bs.
edit: I didn't use the 3rd char in game to see if the chat communication is done through server or local chat.
A lot of stuff in default.dbj is not executed with D2BotMap as starter, check this part https://github.com/kolton/d2bot-with-kolbot/blob/master/d2bs/kolbot/default.dbj#L40-L47
commands are working even I haven't the 3rd char to check if that was server chat or local one. Anyway, my preferences in manual playing goes to Manual.js (by Laz), in which case the whole config is loaded.
D2BotMap I guess that can be used with LocalChat if you add some extra lines in default.dbj in the part related to d2botmap
if (getScript("d2botmap.dbj")) {
load("tools/mapthread.js");
load("tools/ToolsThread.js");
Config.init(true);
LocalChat.init();
while (true) {
delay(1000);
}
}
otherwise in case of using Laz's Manual.js script the whole char configuration is loaded
I'm trying to play manual with D2BotMap.dbj with a follower character, but it will just stay in town after auto joining my main character's game.
Follower character config, I set below
Config.Leader = "leadertest1"; // Config.PublicMode = 2; Scripts.Follower = true; // Script that follows a manually played leader around like a merc.
My follower will automatically join game and also join party, but it will stay in town even if i type
1 2 3 WP
etc..