|
沙发
楼主 |
发表于 2016-1-1 13:14:09
|
只看该作者
二、kol bot的运用进阶
(一)bot基本使用
kol bot的运行环境:
(1)系统支持:win7、win8、win10,暗黑2采用英文版,文件目录为英文目录(中文目录会出问题)
(2)软件需要:microsoft .Net Framework 3.5 microsoft .Net Framework 4.0,vc++ 2005,vc++ 2008,vc++ 2010(少一个都不行)
(3) 运行需求:win8和win10采用兼容win7模式启动,单击右键,将d2bs和d2bot用管理员身份运行和兼容模式运行(否则会出问题)
(二)组队功能
需要设置以下几个地方:
(1)d2bot主程序界面keylist选项:在cdkey输入中输入list名称,如:cdkey1,cdkey2,cdkey3等,将cdkey的对应mpq文件输入到list中,然后在keylist页面上,下拉选择刚填入的对应list文件名
(2)设置好需要组队的人物profile,如:teamleader,tema1,team2,team3等,方便接下来修改游戏内代码,其中,司机运行D2BotLead脚本,team成员运行D2BotFollow脚本
(3)设置D2BotLead.dbj,找到如下代码:JoinChannel: \"\",在引号中输入自己的channel,可以随便填写,比如mylove、mybot等,这里的设置方便今后查找team运行中出现的问题
(4)设置D2BotFollow.dbj,找到如下代码
/* Join game settings
Format: \"leader\'s profile\": [\"leecher 1 profile\", \"leecher 2 profile\", ...]
If you want everyone to join the same leader, use \"leader\'s profile\": [\"all\"]
NOTE: Use PROFILE names (profile matches window title), NOT character/account names
leader:leecher groups need to be divided by a comma
example:
var JoinSettings = {
\"lead1\": [\"follow1\", \"follow2\"],
\"lead2\": [\"follow3\", \"follow4\"]
};
*/ var JoinSettings = { \"Leader\": [\"Leecher\"]
然后将
\"Leader\": [\"Leecher\"]修改为:队长的profile名称,leecher的profile名称(即上面中的teamleader,team1,team2,注意:不是角色acc名称,是profile名称)
(5)设置leader的配置文件
需要修改如下:
1、 找到如下代码:
// User addon script. Read the description in libs/bots/UserAddon.js
Scripts.UserAddon = true; // !!!YOU MUST SET THIS TO FALSE IF YOU WANT TO RUN BOSS/AREA SCRIPTS!!! 然后将true改为false
2、找到如下代码:
// Team MF system
Config.MFLeader = false; // Set to true if you have one or more MFHelpers. Opens TP and gives commands when doing normal MF runs.
然后将false改为true
3、找到如下代码:
Scripts.MFHelper = false;
// Run the same MF run as the MFLeader. Leader must have Config.MFLeader = true
然后将false改为true
4、找到如下代码:
// If Config.Leader is set, the bot will only accept invites from leader. If Config.PublicMode is not 0, Baal and Diablo script will open Town Portals.
Config.PublicMode = 0; //1 = invite and accept, 2 = accept only, 3 = invite only, 0 = disable
// Party message settings. Each setting represents an array of messages that will be randomly chosen.
然后将0修改1
5、设置leader需要mf的区域,值得注意的是:在dia和baal脚本中,MF Helper脚本会自动停止,转而用更加完整和强大的dia、baal脚本代替MF Helper脚本
[/table][table=100%,#ffffff] | (6)设置team成员的配置文件
1、把所有act1到act5的mf脚本文件全部设置为false,当然,如果你想实现leader在k安达利尔的时候,让你的小sor开开小差,去杀一趟暴躁外皮,也可以将部分脚本改为true。
2、找到如下代码:
Config.Leader = \"\";
然后在引号中,填入你的leader的角色名。记住,这里是角色名,不是profile名
3、找到如下代码:
Config.QuitList = [\"\"]; // List of character names to quit with. Example: Config.QuitList = [\"MySorc\", \"MyDin\"];
然后在引号中,填入你的leader的角色名。记住,这里是角色名,不是profile名
(三)自动合成、打孔
在角色配置文件中作如下修改:
1、找到如下代码
Config.Cubing = false; // Set to true to enable cubing.
然后将false修改为true
2、找到对应的需要cube的文件,然后把前面的//去掉即可
Config.Recipes.push([Recipe.Socket.Weapon, \"Thresher\", Roll.Eth]); // Socket ethereal Thresher
Config.Recipes.push([Recipe.Socket.Weapon, \"Cryptic Axe\", Roll.Eth]); // Socket ethereal Cryptic Axe
Config.Recipes.push([Recipe.Socket.Armor, \"Sacred Armor\", Roll.Eth]); // Socket ethereal Sacred Armor
Config.Recipes.push([Recipe.Socket.Armor, \"Archon Plate\", Roll.Eth]); // Socket ethereal Archon Plate
如果要增加需要打孔的,请把上面复制一行代码,然后把对应的物品英文名称对号输入即可,如想要打孔无形的锐利之斧,就把Thresher填入引号中
3、配置文件默认的cube,包括戒指、项链、武器打孔、bug+打孔,洗手套、洗腰带、洗头环等等,非常方便
(四)自动小号升级(可以将1级小bb升级到你所想要的等级)
1、在如上team实现的基础上,修改leader狩猎区域为dia,或者dia+baal,其余区域全部改为false
2、修改leecher配置文件,为了防止出现问题,先将所有true选项,全部改为false
3、找到如下代码:
Scripts.Wakka = false; // Walking chaos leecher with auto leader assignment, stays at safe distance from the leader
| Scripts.SealLeecher = false; // Enter safe portals to Chaos. Leader should run SealLeader. |
然后将false修改为true
(五)自动仓库
kolbot的自动仓库功能很强大,主要功能有:
1、自动建立acc账号,账号自动附加后缀,省去了自己建立账号的麻烦
2、自动建立char账号,char账号自动附加后缀,每个char装满后,自动建立新的角色账号
3、自动呼叫仓库,倘若仓库账号正在mf,可以自动停止仓库,然后自动运行仓库账号,然后添加完毕后,mf账号自动开始恢复mf
请按照以下步骤进行修改:
1、找到automule配置文件,然后找到如下代码:
muleProfile: \"\", // The name of mule profile in d2bot#. It will be started and stopped when needed.accountPrefix: \"\", // Account prefix. Numbers added automatically when making accounts.
accountPassword: \"\", // Account password.charPrefix: \"-\", // Character prefix. Suffix added automatically when making characters.
realm: \"\", // Available options: \"useast\", \"uswest\", \"europe\", \"asia\" 然后在muleprofile里面,填入profile文件名
在accountprefix中,填入你的仓库账号的前缀名:比如你的仓库叫做mybot,那么请在这一栏中填入”mybot-“,后面的-,能够让bot自动附加仓库后缀
在accountpassword中,填入账号的密码
在realm中,填入仓库账号所在区域,比如亚洲就填入asia
2、继续在配置文件配置:找到
expansion: true,
ladder: true,
hardcore: false,
然后分别对应是d2c,还是d2x,还是d2hc,自己根据所玩的游戏,改为ture或者false
3、继续在配置文件中找到:
// Game name and password of the mule game. Never use the same game name as for mule logger.muleGameName: [\"\", \"\"], // [\"gamename\", \"password\"]
// List of profiles that will mule items. Example: enabledProfiles: [\"profile 1\", \"profile 2\"],
enabledProfiles: [\"\"],
// Stop a profile prior to muling. Useful when running 8 bots without proxies.stopProfile: \"\",
然后在引号中,分别填入仓库账号进游戏的游戏名和密码
在enabledProfiles,分别填入需要控制仓库的profile名
在stopProfile中,主要是针对cdkey少的朋友,即在运行游戏过程中,自动停止mf账号,自动运行仓库的profile名
4、在d2bot界面下,建立仓库profiles,需要注意的是,仓库push的脚本是d2botmule脚本,其中profile中的游戏名和账号名等,不需要填入,kolbot会自动在游戏内呼叫的,非常智能。
(六)aotobus
1、在team的实现的基础上,修改bb配置文件,为防止出现问题,把所有的true,全部改成false
2、将其中一个bb用D2BotLead.dbj启动,司机和其他bb用D2BotFollow.dbj启动
3、修改leader配置文件,找到:
Scripts.Rusher = false; // Rush bot. For a list of commands, see Rusher.js
Config.Rusher.WaitPlayerCount = 0; // Wait until game has a certain number of players (0 - don\'t wait, 8 - wait for full game).
将false改为true,将0修改为游戏内玩家人数
4、对应修改bb配置文件
Scripts.Rushee = false; // Automatic rushee, works with Rusher. Set Rusher\'s character name as Config.Leader Config.Rushee.Quester = false; // Enter portals and get quest items.
将false修改为true
对应修改
Config.Leader = \"\"; // Leader\'s ingame character name. Leave blank to try auto-detection (works in AutoBaal, Wakka, MFHelper)
Config.QuitList = [\"\"]; // List of character names to quit with. Example: Config.QuitList = [\"MySorc\", \"MyDin\"];
将引号内设置为leader和bb的角色名,注意,不是profil名
5、D2C在onfig.Rusher.LastRun = \"diablo\"选项冒号内填入diablo,资料片则填入baal |
(七)k3boss功能 |
|