Skip to content

Kolbot Leader config

drDentist edited this page Feb 3, 2014 · 3 revisions
1. D2BotLead is the starter that you use to create games. It can announce games in channels when used for public runs. You have to set D2BotLead for your profile as a entry script. Now edit starter with notepad++. First part of starter is self-explanatory. Default settings are sufficient, no need to change anything here.
    var StarterConfig = {
    MinGameTime: 120, // Minimum game length in seconds. If a game is ended too soon, the rest of the time is waited in the lobby
    PingQuitDelay: 30, // Time in seconds to wait in lobby after quitting due to high ping
    CreateGameDelay: 10, // Seconds to wait before creating a new game
    ResetCount: 999, // Reset game count back to 1 every X games.
    CharacterDifference: 99, // Character level difference. Set to false to disable character difference.
    ChatActionsDelay: 2, // Seconds to wait in lobby before entering a channel

Second part is very crucial and the most important. In this example we will set our channel to "KOLBOT" and our first message would be "HELLO" and our leader will announce his games and his last message after game is done will be "One more game and I'm done".

// ChannelConfig can override these options for individual profiles.  
JoinChannel: "KOLBOT", // Default channel. Can be an array of channels - ["channel 1", "channel 2"]
FirstJoinMessage: "HELLO", // Default join message. Can be an array of messages  
AnnounceGames: true, // Default value  
AfterGameMessage: "One more game and I'm done", // Default message after a finished game. Can be an array of messages  

After these settings your starter for leader is already working. You can start your profile!
Here are some additional settings worth of seeing.

SwitchKeyDelay: 0, // Seconds to wait before switching a used/banned key or after realm down  
CrashDelay: 10, // Seconds to wait after a d2 window crash  
FTJDelay: 60, // Seconds to wait after failing to create a game  
RealmDownDelay: 3, // Minutes to wait after getting Realm Down message  
UnableToConnectDelay: 5, // Minutes to wait after Unable To Connect message  
CDKeyInUseDelay: 5, // Minutes to wait before connecting again if CD-Key is in use.  
ConnectingTimeout: 20, // Seconds to wait before cancelling the 'Connecting...' screen  
PleaseWaitTimeout: 10, // Seconds to wait before cancelling the 'Please Wait...' screen  
WaitInLineTimeout: 60, // Seconds to wait before cancelling the 'Waiting in Line...' screen  
GameDoesNotExistTimeout: 30 // Seconds to wait before cancelling the 'Game does not exist.' screen  

Here starts part for more advanced users when few profiles that are creating games join other channels and have seperate settings. You can also make a copy of D2BotLead and change only basic settings and add as starter for other profile. It's not obligatory!

             "Profile 1": {      
		JoinChannel: "my channel",   
		FirstJoinMessage: ".login",  
		AnnounceGames: true,    
		AfterGameMessage: "follow my runs or die"  
	},  
	"Profile 2": {  
		JoinChannel: ["channel 1", "channel 2"],  
		FirstJoinMessage: [".login", "^login"],  
		AfterGameMessage: ["follow my runs or die", "seriously, you'll die"]  
	}  

2. D2BotMap. is a starter for manual play, you don't have to set anything.You have to manually login to account and create or join game. It gives you some improvements like:
  • reveals map
  • loads chicken/potion/fastmod from character config
  • shows ping
  • shows game time
  • shows vectors
  • displays IP
  • with numpad key 0 - goes to next area
  • with numpad key 1 - goes to previous area
  • with numpad key 2 - goes to wp and grab it (if possible)
  • with numpad key 3 - goes to boss from quest (if possible)
  • with numpad key 7 - disables monsters
  • with numpad key 8 - disables vectors

To see all properly change resolution to 800x600 in game settings!!

D2BotMap.jpg