暗黑破坏神吧 关注:683,086贴子:20,620,796

hackmap 屏蔽物品求教

只看楼主收藏回复

新人求教怎么做到:在按了小键盘“+”开启屏蔽模式后只屏蔽钱、红药、蓝药、体力药水、爆炸药水、箭矢、十字弓弹,其余物品全部显示?


IP属地:福建1楼2017-07-06 22:46回复
    https://tieba.baidu.com/p/1966079284


    IP属地:浙江2楼2017-07-06 22:49
    收起回复
      知道HM 修改怎么做吧? 0,-2,-1,-2 你说的药水 箭矢 前面数字改成这样


      IP属地:浙江3楼2017-07-06 22:57
      收起回复
        下载贴吧置顶里的,能屏蔽掉大部分垃圾!


        来自iPhone客户端4楼2017-07-06 22:57
        回复
          教程贴好像都是添加代码补充要显示的东西,我不想那么复杂,只想屏蔽弓箭药水这些占满屏幕的,其余的全部显示,担心漏东西了


          IP属地:福建5楼2017-07-06 23:04
          回复


            IP属地:浙江6楼2017-07-06 23:04
            收起回复
              比如新建个nec到鲜血荒地打出一把短弓,按小键盘“+”屏蔽物品后这把短弓不会显示。要让这把短弓在屏蔽物品模式下显示,一般的hackmap教程都是说将短弓的显示代码补充到hackmap的cfg文件里。我想反过来,只设置几条要屏蔽的弓箭药水这些物品的屏蔽代码,其余物品全部显示,这样能免去一个个添加短弓、帽子、硬皮甲、轻扣带等普通物品显示代码的麻烦。想问下这样hackmap要怎么设置代码能实现?


              IP属地:福建7楼2017-07-06 23:21
              回复
                这样“短弓”(假设是高级底材)等也不会被hackmap误屏蔽了,打出什么东西更有谱了


                IP属地:福建8楼2017-07-06 23:26
                回复
                  把前面的代码全删了,只留钱,弓箭,卷轴,药水
                  我是这样设置的,效果不错


                  IP属地:云南来自Android客户端9楼2017-07-07 09:30
                  收起回复


                    IP属地:江苏来自Android客户端10楼2017-07-07 09:33
                    回复
                      调教d2hackmap.cfg经测试发现:
                      (1)删掉
                      //物品显示:各种颜色已分开,以免ETH前缀影响物品颜色
                      Item Colours[0+][1-3][1]: -1,-2,-2,-2 //YX普通物品
                      Item Colours[0+][1-3][2]: 5,-2,-2,-2 //WX普通物品
                      Item Colours[0+][4]: 3,-2,-2,-2 //蓝色物品
                      Item Colours[0+][5]: 10,-1,-1,-2 //套装物品
                      Item Colours[0+][6]: 9,-2,-2,-2 //亮金物品
                      Item Colours[0+][7]: 4,-1,-1,-2 //暗金物品
                      ItemColours[Gold_Items][2-3][1]: 0,-1,-1,-2 //卖价35K物品 YX普通物品
                      ItemColours[Gold_Items][2-3][2]: 0,-1,-1,-2 //卖价35K物品 WX普通物品
                      ItemColours[Gold_Items][4]: 3,-1,-1,-2 //卖价35K物品 蓝色
                      ItemColours[Gold_Items][6]: 9,-1,-1,-2 //卖价35K物品 亮金
                      //////////////////////////////////////////////////////////
                      // 以下显示有用暗金装备 //
                      //////////////////////////////////////////////////////////
                      Item Colours[0+][7]: -1,0x63
                      //////////////////////////////////////////////////////////
                      // 以下显示有用绿色套装装备 //
                      //////////////////////////////////////////////////////////
                      Item Colours[0+][5]: 2,0x84
                      //项链,戒指
                      Item Colours[2013,2015][4]: -1,-1,-1,-2 //蓝色Amu Ring
                      Item Colours[2013,2015][6]: -1,0x6f,0x6f,0x6f //亮金Amu Ring
                      Item Colours[2013,2015][7]: -1,0x68,0x68,0x68 //暗金Amu Ring
                      //珠宝
                      Item Colours[2136]: -1,0x97,0x97,0x97 //珠宝
                      Item Colours[2136][6]: -1,0x6f,0x6f,0x6f //亮金珠宝
                      Item Colours[2136][7]: -1,0x68,0x68,0x68 //暗金珠宝
                      //携带护身符
                      item Colours[2096,2098]:2,0x84,0x84,0x84 //SC、GC
                      item Colours[2097]: 2,0x84,0x84,0x84 //LC
                      item Colours[2096][7]: -1,0x20,0x20,0x20 //usc
                      Item Colours[2097][7]: -1,0x68,0x68,0x68 //ulc
                      Item Colours[2098][7]: -1,0x63,0x63,0x63 //ugc
                      //符文
                      Rune Colours[1-6]: 0,-1,-1,-1 //低级符文1-6
                      Rune Colours[7-20]: 1,0x9b,0x9b,0x9b //低级符文7-21
                      Rune Colours[21-27]: 8,0x68,0x68,0x68 //中级符文22-27
                      Rune Colours[28+]: 8,0x20,0x20,0x20 //高级符文28-33
                      //亮金物品
                      ItemColours[1034-1038,1080-1084,1150-1154][6]: 9,0x6f,0x6f,0x6f//亮金Rare的鞋子
                      ItemColours[1029-1033,1075-1079,1145-1149][6]: 9,0x6f,0x6f,0x6f//亮金Rare的手套
                      Item Colours[176-196][6]: 9,0x6f,0x6f,0x6f //亮金Rare的爪子
                      Item Colours[1113-1116][6]: 9,0x6f,0x6f,0x6f //亮金头环、头冠、三重冠、权冠
                      //ItemColours[104-107,207-210][6]: 9,-1,-1,-2 //亮金男巫手杖
                      ItemColours[277-281,287-291,297-301][6]: 9,0x6f,0x6f,0x6f//亮金女巫ORB
                      ItemColours[1108-1112,1178-1182,1198-1202][6]: 9,0x6f,0x6f,0x6f//亮金nec盾
                      //ItemColours[1043,1085-1089,1155-1159][6]: 9,-1,-1,-2 //亮金腰带
                      ItemColours[282,283,292,293,302,303,71,164,267][6]: 9,-1,-1,-2 //亮金bow
                      Item HideLvl[302,303,267][6]: 60 //亮金bow 只显示60lv以上
                      ItemColours[286,296,306][6][2]: 9,-1,-1,-2 //亮金ETH ama标枪
                      Item Hide Lvl[296,306][6]: 60 //亮金ETH ama标枪 只显示60lv以上
                      //ItemColours[253,255-259][6][2]: 9,-1,-1,-2 //亮金eth长柄武器
                      //蓝色物品
                      ItemColours[1029-1033,1075-1079,1145-1149][4]: 3,-1,-1,-1 //蓝色Cube手套材料
                      Item Colours[1142][4]: 3,0x97,0x97,0x97 //蓝色的统治者大盾
                      Item Colours[1113-1116][4]: 3,0x97,0x97,0x97 //蓝色的头环
                      ItemColours[1124-1127,1131,1138][4]: 3,0x97,0x97,0x97//蓝色的精华轻甲
                      //ItemColours[1163-1167,1183-1187][4]: 3,0x97,0x97,-2 //蓝色dru头盔
                      Item Colours[1098-1102,1168-1172,1188-1192][4]: 3,0x97,0x97,0x97 //蓝**ar头盔
                      ItemColours[183-189,190-196][4]: 3,0x97,0x97,0x97//蓝色asn爪
                      //ItemColours[104-107,207-210][4]: 3,-1,-1,-2 //蓝色nec杖
                      ItemColours[277-281,287-291,297-301][4]: 3,0x97,0x97,0x97//蓝色sor杖
                      Item Colours[1108-1112,1178-1182,1198-1202][4]: 3,0x97,0x97,0x97 //蓝色nec盾
                      //白色注入物品
                      ItemColours[301][1,2,3][1][1]: 0,-1,-1,-1 //白次元(注入)
                      ItemColours[301][2,3][1,2][2,3,4]: 5,-1,-1,-1 //带孔次元(洗)
                      ItemColours[1116][1,2][1][1]: 0,-1,-1,-1 //白色权冠(注入)
                      ////////////////////////////////////////////
                      // 符文之语材料 //
                      ////////////////////////////////////////////
                      ItemColours[235][3][1,2][1,5,6,7]: 1,0x9b,0x9b,0x9b //巨神之刃
                      ItemColours[234][3][1,2][5]: 1,0x9b,0x9b,0x9b //巨神之剑
                      ItemColours[201][2,3][1,2][1,4,5,6,7]: 1,0x9b,0x9b,0x9b //狂战士斧
                      ItemColours[201][3][1,2][6]: 8,0x68,0x68,0x68 //5s超强狂战士斧
                      ItemColours[226][3][1][1,4,5,6]: 1,0x9b,0x9b,0x9b //幻化之刃
                      ItemColours[252,253][3][2][1,7]: 1,-1,-1,-1 //鬼魂之矛 战枪
                      Item Colours[255,256,257,258,259][2,3][2][1,5,6,7]: 1,0x9b,0x9b,0x9b //巨神 锐利 神秘 巨长斧 鲛尾
                      ItemColours[258][2,3][2][5]: 8,0x68,0x68,0x68 //4S巨长斧
                      ItemColours[30][2,3][1,2][4,5]: 1,-1,-1,-2 //3s、4s水晶剑
                      ItemColours[30][2,3][1,2][6]: 1,0x9b,0x9b,0x9b //5s水晶剑
                      ItemColours[22][2,3][1,2][5]: 1,0x9b,0x9b,0x9b //链枷
                      ItemColours[18,111,214][2,3][1,2][1,4,6]: 1,0x9b,0x9b,0x9b //巨战 神属 神使之杖
                      Item Colours[267][3][1][5]: 8,0x9b,0x9b,0x9b //阴影弓
                      ItemColours[268][3][1][1,5]: 1,0x9b,0x9b,0x9b //巨弓
                      Item Colours[302][3][1][5]: 1,0x9b,0x9b,0x9b //女族长
                      Item Colours[303][3][1][5]: 8,0x9b,0x9b,0x9b //大院长
                      ItemColours[270,272][3][1][1,7]: 1,-1,-1,-1 //十字军之弓 九头蛇弓
                      ItemColours[190,196][2,3][1,2][1,4]: 1,0x9b,0x9b,0x9b //近身刃 近身剪
                      Item Colours[1193-1197][2,3][1][1,4,5]: 1,0x9b,0x9b,0x9b //圣骑士盾
                      ItemColours[1193][3][1][1,5]: 8,0x68,0x68,0x68 //有形超强神圣小盾
                      ItemColours[1193-1197][2][2][1]: 1,0x9b,0x9b,0x9b //WX 0S圣骑士盾
                      ItemColours[1193-1197][2][2][5]: -1,-1,-1,-1 //WX 4S圣骑士盾
                      ItemColours[1197][2][2][1]: 8,0x68,0x68,0x68 //WX 0S旋风盾
                      ItemColours[1142][3][1][1,5]: 1,0x9b,0x9b,0x9b //统治者大盾
                      ItemColours[1142][2][1][1,5]: 1,-1,-1,-1
                      ItemColours[1142][2][2][1]: 1,0x9b,0x9b,0x9b
                      ItemColours[1142][2][2][5]: -1,-1,-1,-1
                      ItemColours[1161][3][1,2][1,4]: 1,0x9b,0x9b,-2 //巨魔巢穴骨盾
                      ItemColours[1161][3][1][3]: 5,-1,-1,-2
                      ItemColours[1068,1124,1125,1127,1131,1137,1138][3][1][1,4,5]: 1,0x9b,0x9b,0x9b //精华盔甲
                      ItemColours[1138][3][1][1,4,5]: 8,0x68,0x68,0x68 //有形超强AP+
                      ItemColours[1124-1138][2][2][1]: 1,0x9b,0x9b,0x9b //精华盔甲WX
                      ItemColours[1135,1137,1138][2][2][1]: 8,0x68,0x68,0x68 //无形无孔AP+、7+、SA+
                      ItemColours[1124-1138][2][2][3,4]: 5,-1,-1,-1
                      ItemColours[1124-1138][2][2][5]: -1,-1,-1,-1
                      Item Colours[13,14,105-107,207-210][2,3][1,2][1,3]: 1,0x9b,0x9b,0x9b //nec手杖
                      ItemColours[1108-1112,1178-1182,1198-1202][2,3][1][1,3]: 1,0x9b,0x9b,0x9b //nec盾
                      ItemColours[1098-1102,1168-1172,1188-1192][2,3][1][1,4]: 1,-1,-1,-2 //BB头
                      ItemColours[1116][3][1][1,4]: 1,-1,-1,-1 //3s超强权冠
                      ItemColours[60][2,3][1,2][5]: 1,-1,-1,-1 //4孔镰刀
                      Item Hide Lvl[60][2,3]: 88 //镰刀只显示88lv
                      //ItemColours[66-67,159-160,262-263][2,3][1,2][1,5]: 5,-1,-1,-2 //sor双手杖(眼光材料)
                      //ItemColours[66-67,159-160,262-263][2,3][1][1]: 0,-1,-1,-2
                      //ItemColours[68,161,264][2,3][1,2][5]: 5,-1,-1,-2


                      IP属地:福建11楼2017-07-08 12:55
                      回复
                        后,只留下:
                        //---------------------------------------------物品区总设置----------------------------------------
                        DefaultItem Show Mode: 1 // 默认物品显示模式, 1-3
                        ShowIdentified Item: 1, -1 // 显示已辨识物品,已辨识物品不做隐藏
                        AutomapItems Toggle: 1, -1 // 小地图物品隐藏开关
                        RuneNumbers Toggle: 1, -1 // RUNE编号显示
                        SocketNumbers Toggle: 1, -1 // 孔数显示
                        UnitNumbers Toggle: 0, -1 // 单元数字开关(物品内部代码)
                        ItemIndexs Toggle: 0, -1 // 物品索引开关(map索引)
                        ItemLife Per Level Toggle: 1,-1 // 按等级增加血量属性基础值显示(限于神符之语)
                        QuestItem Colour: 4 // 任务物品颜色
                        //Ethereal Item Prefix: "%2=ETH=" //Eth物品前缀
                        EtherealItem Postfix: "%2=ETH=" // Eth物品后缀
                        Ethereal BugItem Prefix:"%2[BUG]" //bug物品前缀
                        //EtherealBugItem Postfix: "%2[BUG]" //bug物品后缀
                        Good Gold Number: 3000 // 优质gold定义
                        GoodGold Colour: 0 // 优质gold颜色
                        PoorGold Colour: -1,-2,-2,-2 // 稀少gold
                        ItemHide Lvl[0+][0+]: 0 // 物品显示级别下限
                        //////////////////////////////////////////////////
                        // 选择显示不常用的东西 //
                        //////////////////////////////////////////////////
                        //Item Colours[2019]: 0,-2,-1,-2 // 箭矢
                        //ItemColours[2021]: 0,-2,-1,-2 // 十字弓弹
                        Item Colours[2084]: 0,-2,-1,-2 // 大血瓶
                        ItemColours[2089]: 0,-2,-1,-2 // 大蓝瓶
                        itemColours[2011,2012]: 0,-2,-1,-2 // 回城书,辨识书
                        itemColours[2022,2023]: 0,-2,-1,-2 // 回城卷轴,辨识卷轴
                        itemColours[2008]: 11,-2,-1,-2 // 小紫瓶,紫色
                        itemColours[2009]: 11,-1,-1,-1 // 大紫瓶,紫色
                        item Colours[LGem]: 0,-1,-1,-2 // 低级宝石
                        itemColours[HGem]: 1,0x62,0x62,-1 // 高级宝石
                        itemColours[2076,2057,2052,2062,2072,2067,2077]: -1,-1,-1,-2 // 21#-28# 所需宝石
                        Item Colours[2140-2145]:4,0x63,0x63,0x63 // 6boss key
                        ItemColours[2146]: 7,0x1f,0x1f,0x1f //Token of Absolution豁免徽章
                        ItemColours[2147]: 7,-2,-1,-2 //Twisted Essence of Suffering扭曲精华
                        ItemColours[2148]: 7,-2,-1,-2 //Charged Essense of Hatred充能精华
                        ItemColours[2149]: 7,0x1e,0x1e,0x1e //Burning Essence of Terror燃烧精华
                        ItemColours[2150]: 7,-2,-1,-2 //Festering Essence of Destruction毁灭精华
                        ItemColours[89]: -1,0x62,0x62,0x62 // 维特之脚
                        ItemColours[Shaft of the Horadric Staff]: -1,0x1e,0x1e,-1 // 赫拉迪克杖
                        ItemColours[Horadric Staff]: -1,0x1e,0x1e,-1 // 未合成的仗
                        ItemColours[Elixir]: -1,0x1e,0x1e,-1 // 也忘了……
                        ItemColours[Hell Forge Hammer]: -1,0x1e,0x1e,-1 // 地狱溶炉铁锤
                        ItemColours[The Gidbinn]: -1,0x1e,0x1e,-1 // 吉得宾匕首
                        ItemColours[Horadric Malus]: -1,0x1e,0x1e,-1 // Imbue任务锤子,铁匠mm丢的
                        ItemColours[2014,2017,2018,2024-2035,2037-2048,2137-2139,Khalim's Will]:-1,-1,-1,-1 //特殊过关物品和任务物品
                        ItemColours[Khalim's Flail,Mephisto's Soulstone]: -1,-2,-1,-2 // 克林姆连枷,墨菲斯托灵魂之石
                        这样重进游戏开屏蔽物品模式能只屏蔽钱、红药、蓝药、箭矢、十字弓弹,其余物品全部显示(如上面提到的短弓轻扣带)。


                        IP属地:福建12楼2017-07-08 12:56
                        回复
                          (2)上面的代码都保留,这样开屏蔽模式和原来一样会屏蔽短弓,只显示代码里提到的特定装备。甚至在(1)中如果没删除干净,保留了
                          //物品显示:各种颜色已分开,以免ETH前缀影响物品颜色
                          //////////////////////////////////////////////////////////
                          // 以下显示有用暗金装备 //
                          //////////////////////////////////////////////////////////
                          Item Colours[0+][7]: -1,0x63
                          短弓在屏蔽模式下都不显示。
                          (3)对比(1)、(2),是不是说d2hackmap显示特定装备和屏蔽是冲突的?
                          如果保留d2hackmap.cfg里显示特定装备的代码,就必须将所有想显示的装备代码补充完整,没有写上去的装备(比如短弓。。)就在屏蔽模式下就不显示。
                          (4)根据(1),求大神告知爆炸药水、体力药水、钥匙的装备代码,我想加到(1)里删减后代码里,这样就能钱、红药、蓝药、体力药水、爆炸药水、箭矢、十字弓弹,其余物品全部显示?


                          IP属地:福建13楼2017-07-08 12:56
                          回复
                            附上(1)中删除代码后效果图:
                            开屏蔽模式
                            不开屏蔽模式


                            IP属地:福建14楼2017-07-08 13:13
                            回复
                              求告知体力药水、爆炸药剂、小红药、中红药、小蓝药、中蓝药装备代码,d2hackmap里的”物品代码.txt“不全,没找到


                              IP属地:福建15楼2017-07-08 13:17
                              回复