战网中国

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 10336|回复: 19
打印 上一主题 下一主题

分享:网络不稳定下,kolbo自动仓库高符不入库的设置

[复制链接]

40

主题

722

帖子

2752

积分

精灵王

Rank: 6Rank: 6

积分
2752

社区居民忠实会员

跳转到指定楼层
楼主
发表于 2016-12-20 13:22:17 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
本帖最后由 copy 于 2016-12-31 14:17 编辑

我这里是AutoMule.js文件下的第417行:635-642是26#~33#符文的代码。
417 if (item) {
                        do {
                                if (Town.ignoredItemTypes.indexOf(item.itemType) === -1 &&
                                                (Pickit.checkItem(item).result > 0 || (item.location === 7 && info.muleInfo.hasOwnProperty("muleOrphans") && info.muleInfo.muleOrphans)) &&
                                                item.classid !== 549 && // Don't drop Horadric Cube
                                                item.classid !== 635 && item.classid !== 636 && item.classid !== 637 && item.classid !== 638 && //26#-33#符文不扔
                                                item.classid !== 639&& item.classid !== 640 && item.classid !== 641 && item.classid !== 642 &&  //     也就是不入库。
                                                (item.classid !== 603 || item.quality !== 7) && // Don't drop Annihilus
                                                (item.classid !== 604 || item.quality !== 7) && // Don't drop Hellfire Torch
                                                (item.location === 7 || (item.location === 3 && !Storage.Inventory.IsLocked(item, Config.Inventory))) && // Don't drop items in locked slots
                                                ((!TorchSystem.getFarmers() && !TorchSystem.isFarmer()) || [647, 648, 649].indexOf(item.classid) === -1) && // Don't drop Keys if part of TorchSystem
                                                !this.cubingIngredient(item) && !this.runewordIngredient(item) && !this.utilityIngredient(item)) { // Don't drop Runeword/Cubing/CraftingSystem ingredients
                                        items.push(copyUnit(item));




COPY:默认是不丢ANNI的,如果用BOT来杀DC,同样可以用楼主提供的方法把Don't drop Annihilus整行屏蔽,就可以自动入库ANNI了。
回复

使用道具 举报

2

主题

59

帖子

256

积分

侠客

Rank: 3Rank: 3

积分
256
20#
发表于 2022-3-9 12:31:04 来自手机 | 只看该作者
标注下,研究研究
回复 支持 反对

使用道具 举报

2

主题

59

帖子

256

积分

侠客

Rank: 3Rank: 3

积分
256
19#
发表于 2022-1-15 10:51:22 来自手机 | 只看该作者
标记,谢谢分享
回复 支持 反对

使用道具 举报

40

主题

722

帖子

2752

积分

精灵王

Rank: 6Rank: 6

积分
2752

社区居民忠实会员

18#
 楼主| 发表于 2017-1-22 09:12:46 | 只看该作者
记住一个:kolbot仓库记录在\d2bs\kolbot\mules\asia文件夹,如果你要从新遍历仓库,就要删掉里面原来的,要不它只会从之前最后一次记录那儿开始遍历。我是把它原来的备份在另外文件夹放在\d2bs\kolbot\mules里。
                 "仓库名1/密码/asia": ["all"],
                ……
                "仓库名n/密码/asia": ["all"]
这里如果想从中间哪儿仓库开始遍历,可以把不遍历的仓库用“//”,注释掉,不要删除。
回复 支持 反对

使用道具 举报

40

主题

722

帖子

2752

积分

精灵王

Rank: 6Rank: 6

积分
2752

社区居民忠实会员

17#
 楼主| 发表于 2017-1-22 09:11:45 | 只看该作者
记住一个:kolbot仓库记录在\d2bs\kolbot\mules\asia文件夹,如果你要从新遍历仓库,就要删掉里面原来的,要不它只会从之前最后一次记录那儿开始遍历。我是把它原来的备份在另外文件夹放在\d2bs\kolbot\mules里。
                 "仓库名1/密码/asia": ["all"],
                ……
                "仓库名n/密码/asia": ["all"]
这里如果想从中间哪儿仓库开始遍历,可以把不遍历的仓库用“//”,注释掉,不要删除。
回复 支持 反对

使用道具 举报

40

主题

722

帖子

2752

积分

精灵王

Rank: 6Rank: 6

积分
2752

社区居民忠实会员

16#
 楼主| 发表于 2017-1-22 08:58:44 | 只看该作者
D2BotMuleLog.dbj这个是当你仓库里东西有变动后,启动遍历一下,更新仓库记录好查询。设置好这里:d2bot-with-kolbot-cn\d2bs\kolbot\libs下的MuleLogger.js里:
/**
*        @filename        MuleLogger.js
*        @author                kolton
*        @desc                Log items on configurable accounts/characters
*/

var MuleLogger = {
        LogAccounts: {
                /* Format:
                        "account1/password1/realm": ["charname1", "charname2 etc"],
                        "account2/password2/realm": ["charnameX", "charnameY etc"],
                        "account3/password3/realm": ["all"]

                        To log a full account, put "accountname/password/realm": ["all"]

                        realm = useast, uswest, europe or asia

                        Individual entries are separated with a comma.
                */
                "仓库名1/密码/asia": ["all"],
                ……
                "仓库名n/密码/asia": ["all"]
        },

        LogGame: ["游戏房间名", "密码"], // ["gamename", "password"]
        LogNames: true, // Put account/character name on the picture
        LogItemLevel: true, // Add item level to the picture
        LogEquipped: false, // include equipped items
        LogMerc: false, // include items merc has equipped (if alive)
        SaveScreenShot: false, // Save pictures in jpg format (saved in 'Images' folder)
        IngameTime: 300, // Time to wait after leaving game

然后,另外建个遍历仓库的Profile,用D2BotMuleLog.dbj启动。我是有改ingametime,它默认时间不到一分钟的,我怕会被办,时间设长点还可当晒仓库。
回复 支持 反对

使用道具 举报

40

主题

722

帖子

2752

积分

精灵王

Rank: 6Rank: 6

积分
2752

社区居民忠实会员

15#
 楼主| 发表于 2017-1-22 08:57:28 | 只看该作者
D2BotMuleLog.dbj这个是当你仓库里东西有变动后,启动遍历一下,更新仓库记录好查询。设置好这里:d2bot-with-kolbot-cn\d2bs\kolbot\libs下的MuleLogger.js里:
/**
*        @filename        MuleLogger.js
*        @author                kolton
*        @desc                Log items on configurable accounts/characters
*/

var MuleLogger = {
        LogAccounts: {
                /* Format:
                        "account1/password1/realm": ["charname1", "charname2 etc"],
                        "account2/password2/realm": ["charnameX", "charnameY etc"],
                        "account3/password3/realm": ["all"]

                        To log a full account, put "accountname/password/realm": ["all"]

                        realm = useast, uswest, europe or asia

                        Individual entries are separated with a comma.
                */
                "仓库名1/密码/asia": ["all"],
                ……
                "仓库名n/密码/asia": ["all"]
        },

        LogGame: ["游戏房间名", "密码"], // ["gamename", "password"]
        LogNames: true, // Put account/character name on the picture
        LogItemLevel: true, // Add item level to the picture
        LogEquipped: false, // include equipped items
        LogMerc: false, // include items merc has equipped (if alive)
        SaveScreenShot: false, // Save pictures in jpg format (saved in 'Images' folder)
        IngameTime: 300, // Time to wait after leaving game

然后,另外建个遍历仓库的Profile,用D2BotMuleLog.dbj启动。我是有改ingametime,它默认时间不到一分钟的,我怕会被办,时间设长点还可当晒仓库。
回复 支持 反对

使用道具 举报

28

主题

277

帖子

1298

积分

精灵王

Rank: 6Rank: 6

积分
1298
14#
发表于 2017-1-21 22:07:36 | 只看该作者
小渔 发表于 2016-12-22 08:55
1、按照提示设置一下d2bot-with-kolbot-CORE15-CN\d2bs\kolbot\libs里的AutoMule.js文件
var AutoMule = {
...

感謝大大的教導....一次成功....

還有一個問題...請問 D2BotMuleLog.dbj  腳本如何使用...完全不會啟動耶
回复 支持 反对

使用道具 举报

2

主题

22

帖子

126

积分

侠客

Rank: 3Rank: 3

积分
126
13#
发表于 2017-1-18 18:56:16 | 只看该作者
我也來試看看~~~
回复 支持 反对

使用道具 举报

40

主题

722

帖子

2752

积分

精灵王

Rank: 6Rank: 6

积分
2752

社区居民忠实会员

12#
 楼主| 发表于 2016-12-22 08:55:17 | 只看该作者
1、按照提示设置一下d2bot-with-kolbot-CORE15-CN\d2bs\kolbot\libs里的AutoMule.js文件
var AutoMule = {
        Mules: {
                "Mule1":  {
                        muleProfile: "",  // 引号内填入仓库的档案名称(profile name),它会在需要时被自动启动/关闭。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: "asia", // 引号内填入国度,可用选项有: "useast", "uswest", "europe", "asia" // Available options: "useast", "uswest", "europe", "asia"
                        expansion: true, // 仓库是否为资料片。
                        ladder: true, // 仓库是否天梯模式。
                        hardcore: false, // 仓库是否为专家模式。

                        // 仓库游戏所创建的游戏名。切记不要与mule logger功能使用相同的游戏名。Game name and password of the mule game. Never use the same game name as for mule logger.
                        muleGameName: ["", ""], // ["gamename", "password"]

                        // 需要使用仓库管理功能的档案名称(profile name),只有设置了此处,其他档案名的bot才会与仓库握手进行倒东东。List of profiles that will mule items. Example: enabledProfiles: ["profile 1", "profile 2"],
                        // 格式["profile1", "profile2"]
                        enabledProfiles: ["","",""],

                        // 运行8个bot时当需要启动仓库管理时自动关闭的档案名称(profime name)。 // Stop a profile prior to muling. Useful when running 8 bots without proxies.
                        // 格式"profime1"
                        stopProfile: "",

                        // 当空间小于设定百分比时调用仓库管理员介入。 // Trigger muling at the end of a game if used space in stash and inventory is equal to or more than given percent.
                        usedStashTrigger: 80, // 身上已用空间超过该值,下局自动调用仓库管理员介入。
                        usedInventoryTrigger: 80 // 储藏箱已用空间超过该值,下局自动调用仓库管理员介入。
2、设置自动仓库bot,用D2BotMule.dbj运行。就可以了。
很简单啊
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|BattleCN ( 陕ICP备05006600号 )

GMT+8, 2024-5-5 13:46 , Processed in 0.165130 second(s), 22 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表