buju="auto";qlreq="----天雷断龙斧烛幽鬼煞锤斩龙鎏金枪星月大斧碧玉锤霸王枪破冥斧撼魂锤赤焰枪狂暴丹烈日棍西毒蛇杖冰魄银针碧磷鞭-倚天剑屠龙刀墨玄掌套明月帽明月鞋明月项链明月戒月光宝甲衣明月手镯烈日帽诛仙剑烈日宝戒烈日宝镯烈日宝靴烈日宝链伏虎仗七星鞭残阳棍达摩杖开天宝棍乌金玄火鞭日光宝甲衣胤天宝帽碎片胤天项链碎片胤天宝镯碎片胤天宝戒碎片胤天宝靴碎片胤天紫金衣碎片昊天龙旋铠碎片鱼肠碎片水羽云裳碎片奉天金带碎片凤羽乾坤盾碎片轩辕剑碎片破岳拳套碎片天雨玄镖碎片天神杖碎片轰天巨棍碎片神龙怒火鞭碎片雷霆诛神刀碎片胤武伏魔斧碎片九天灭世锤碎片玄冰凝魄枪碎片紫枫玉华环碎片彼岸花熙颜凤凰木洛神花君影草矢车菊忘忧草雪英夕雾草朝开暮落花晚香玉朽凌霄花百宜雪梅";kf_qlreq="九天龙吟剑飞宇天怒刀天罡掌套斩龙帽斩龙宝靴斩龙宝链斩龙宝戒龙皮至尊甲衣斩龙宝镯天雷断龙斧烛幽鬼煞锤斩龙鎏金枪天雷断龙斧烛幽鬼煞锤斩龙鎏金枪达摩杖开天宝棍乌金玄火鞭小李飞刀日光宝甲衣胤天宝帽碎片胤天项链碎片胤天宝镯碎片胤天宝戒碎片胤天宝靴碎片胤天紫金衣碎片昊天龙旋铠碎片鱼肠碎片水羽云裳碎片奉天金带碎片凤羽乾坤盾碎片轩辕剑碎片破岳拳套碎片天雨玄镖碎片天神杖碎片轰天巨棍碎片神龙怒火鞭碎片雷霆诛神刀碎片胤武伏魔斧碎片九天灭世锤碎片玄冰凝魄枪碎片紫枫玉华环碎片彼岸花熙颜凤凰木洛神花君影草矢车菊忘忧草雪英夕雾草朝开暮落花晚香玉朽凌霄花百宜雪梅";enforcePoints=1005;myForce="道种心魔经";myDodge="乾坤大挪移";ssp_site=1;limitQixue="180000";mySkillLists="九天龙吟剑法;排云掌法;雪饮狂刀";ai_chuzhao=0;kgg_flag=0;quid1="11-15";ql_delay="18000";jd_save=3e3;skillset={"剑行":"排云掌法,茅山道术,200,10000,11-15,1000","李逍遥_":"如来神掌;独孤九剑,茅山道术,700,30000,11-15,1000","无☆风不起浪":"千影百伤棍;燎原百破,道种心魔经,1726,400000,51-55,默认","道花1":"排云掌法,易筋经神功,500,30000,11-15,1000","施工员":"九天龙吟剑法;排云掌法,道种心魔经,1425,240000,51-55,默认","多☆情应笑我":"千影百伤棍;燎原百破,道种心魔经,1759,500000,51-55,默认","范逸尘[84区]":"千影百伤棍;燎原百破,道种心魔经,1400,500000,1-5,默认","独☆钓寒江雪":"覆雨剑法;如来神掌,道种心魔经,955,150000,1-5,默认","飘过云朵":"千影百伤棍;燎原百破,道种心魔经,1937,600000,51-55,默认","白大纯":"千影百伤棍;燎原百破,道种心魔经,1946,500000,51-55,默认"};skillset1={"无☆风不起浪":"玄冰凝魄枪;破岳掌套,默认","多☆情应笑我":"玄冰凝魄枪;破岳掌套,步惊鸿;郭济;浪唤雨;火云邪神;逆风舞;穆妙羽;庞统;吴缜;王蓉;风南;狐苍雁;李宇飞;风行骓;护竺;玄月研;狼居胥;烈九州;宇文无敌;李玄霸;八部龙将;风无痕;厉沧若;夏岳卿;妙无心;巫夜姬","范逸尘[84区]":"玄冰凝魄枪;破岳掌套,步惊鸿;郭济;浪唤雨;火云邪神;逆风舞;穆妙羽;庞统;吴缜;王蓉;风南;狐苍雁;李宇飞;风行骓;护竺;玄月研;狼居胥;烈九州;宇文无敌;李玄霸;八部龙将;风无痕;厉沧若;夏岳卿;妙无心;巫夜姬","飘过云朵":"紫龙镇嶽枪;破岳掌套,默认","白大纯":"紫龙镇嶽枪;天雨玄镖,默认","施工员":"九天龙吟剑;天罡掌套,步惊鸿;郭济;浪唤雨;火云邪神;逆风舞;庞统;吴缜;王蓉;风南;狐苍雁;李宇飞;风行骓;护竺;玄月研;狼居胥;烈九州;穆妙羽;宇文无敌;李玄霸;八部龙将;风无痕;厉沧若;夏岳卿;妙无心;巫夜姬"};skillset2={"无☆风不起浪":"1,2,2,1,1,1,默认","独☆钓寒江雪":"1,2,1,0,0,0,默认","飘过云朵":"1,2,1,1,1,1,默认","白大纯":"1,2,1,1,1,1,默认","范逸尘[84区]":"1,2,4,0,0,1,默认","多☆情应笑我":"1,2,3,1,1,1,默认","剑行":"1,2,3,0,0,0,默认","李逍遥_":"0,2,1,0,0,0,斩龙宝链斩龙宝靴斩龙宝戒天罡掌套小李飞刀星月大斧碧玉锤霸王枪破冥斧撼魂锤赤焰枪狂暴丹烈日棍冰魄银针碧磷鞭-倚天剑屠龙刀墨玄掌套明月帽明月鞋明月项链明月戒月光宝甲衣明月手镯烈日帽诛仙剑烈日宝戒烈日宝镯烈日宝靴烈日宝链伏虎仗七星鞭残阳棍彼岸花熙颜凤凰木洛神花君影草矢车菊忘忧草雪英夕雾草朝开暮落花晚香玉朽凌霄花百宜雪梅","施工员":"1,2,4,0,0,0,天雷断龙斧烛幽鬼煞锤斩龙鎏金枪星月大斧碧玉锤霸王枪破冥斧撼魂锤赤焰枪狂暴丹烈日棍冰魄银针碧磷鞭-倚天剑屠龙刀墨玄掌套明月帽明月鞋明月项链明月戒月光宝甲衣明月手镯烈日帽诛仙剑烈日宝戒烈日宝镯烈日宝靴烈日宝链伏虎仗七星鞭残阳棍达摩杖开天宝棍乌金玄火鞭日光宝甲衣胤天宝帽碎片胤天项链碎片胤天宝镯碎片胤天宝戒碎片胤天宝靴碎片胤天紫金衣碎片昊天龙旋铠碎片鱼肠碎片水羽云裳碎片奉天金带碎片凤羽乾坤盾碎片轩辕剑碎片破岳拳套碎片天雨玄镖碎片天神杖碎片轰天巨棍碎片神龙怒火鞭碎片雷霆诛神刀碎片胤武伏魔斧碎片九天灭世锤碎片玄冰凝魄枪碎片紫枫玉华环碎片彼岸花熙颜凤凰木洛神花君影草矢车菊忘忧草雪英夕雾草朝开暮落花晚香玉朽凌霄花百宜雪梅","道花1":"1,2,4,0,0,0,斩龙帽斩龙宝靴龙皮至尊甲衣斩龙宝镯天罡掌套小李飞刀星月大斧碧玉锤霸王枪破冥斧撼魂锤赤焰枪狂暴丹烈日棍冰魄银针碧磷鞭-倚天剑屠龙刀墨玄掌套明月帽明月鞋明月项链明月戒月光宝甲衣明月手镯烈日帽诛仙剑烈日宝戒烈日宝镯烈日宝靴烈日宝链伏虎仗七星鞭残阳棍彼岸花熙颜凤凰木洛神花君影草矢车菊忘忧草雪英夕雾草朝开暮落花晚香玉朽凌霄花百宜雪梅"};skillset3={"无☆风不起浪":"风南-妙无心-玄月研-八部龙将,0,1,1,千影百伤棍:40;九溪断月枪:40;破军棍诀:40;九天龙吟剑法:42;覆雨剑法:42,1,1","独☆钓寒江雪":"步惊鸿-郭济-风无痕-宇文无敌,0,1,1,孔雀翎:20;天师灭神剑:13;幽影幻虚步:20,0,0","多☆情应笑我":"庞统-玄月研-王蓉,0,1,1,九天龙吟剑法:42;覆雨剑法:40;排云掌法:40;如来神掌:40;金刚不坏功:7;九阳神功:9;太极神功:10;拈花解语鞭:20;捆仙鞭法:14;十怒绞龙索:20,1,1","剑行":"默认,0,1,1,排云掌法:20;真武七截剑:13;如来神掌:20;霜寒十四棍:14;乾坤大挪移:15;易筋经神功:15,1,1","李逍遥_":"默认,0,1,1,无相金刚掌:14;八荒功:15;九阴噬骨刀:15;真武七截剑:13,1,1","道花1":"默认,0,1,1,排云掌法:20;黯然销魂掌:14;斗战棍典:15;易筋经神功:15,1,1","施工员":"默认,0,1,1,霜寒十四棍:14;斗战棍典:15;真武七截剑:13;幽影幻虚步:20;九溪断月枪:20,0,0","飘过云朵":"默认,0,1,1,九天龙吟剑法:42;覆雨剑法:40;破军棍诀:40;拈花解语鞭:40,1,1","白大纯":"默认,0,1,1,孔雀翎:40;飞刀绝技:40;排云掌法:40;如来神掌:40,1,1","范逸尘[84区]":"默认,0,1,1,碧血心法:15;天波九转:12;九天龙吟剑法:42;覆雨剑法:40;金刚不坏功:7;九阳神功:9;太极神功:10;真武七截剑:12;帝王剑法:10,0,0"};skillset4={"无☆风不起浪":"1,默认","多☆情应笑我":"1,默认","范逸尘[84区]":"1,默认","飘过云朵":"1,空识卷轴;隐武竹筏","白大纯":"1,空识卷轴;狗年礼券;隐武竹筏"};tuoguan=2;tuoguantime="6:5";ql_killset=1;vipzx=1;tupojiasu=1;yc_flag=0;buything=1;buythinglist="引路蜂;突破丹;保险卡;高级突破丹;谜题令;空识卷轴";tg_pt=1;tg_ptdingshi="0;0:30;无☆风不起浪-多☆情应笑我";tg_ql=1;tg_yx=1;tgeat_jhl=0;tgeat_bpl=1;tggj_tiexue=0;pintuhao="施工员-无☆风不起浪-多☆情应笑我-飘过云朵";tg_rc=1;pifu=0;autozx="23:10;5:50;剑行;1";qxList_inputs="步惊鸿;浪唤雨;逆风舞;庞统;火云邪神;郭济;吴缜;王蓉;风南;狐苍雁;李宇飞;风行骓;护竺;玄月研;狼居胥;烈九州;穆妙羽;宇文无敌;李玄霸;八部龙将;风无痕;厉沧若;夏岳卿;妙无心;巫夜姬";aiqx_order="郭济-火云邪神-风无痕-宇文无敌-厉沧若-穆妙羽-妙无心-八部龙将-巫夜姬-玄月研-夏岳卿-狼居胥-烈九州-李玄霸";ai_tupolist="九天龙吟剑法:21;如来神掌:20;排云掌法:20;道种心魔经:21;千影百伤棍:20;燎原百破:20;破军棍诀:20;";tf_killlist="段老大-二娘-岳老三-云老四,段老大";ai_autotupo=0;aiqx_mode=1;tg_qx=0;autoqixia="0,火云邪神,0,1";autopifu=1;banxiaohao="流浪-道花2-道花3-天下第1";Enemylist="[1]阿不;[1]魏娇;[1]绕指·云;[1]末日召唤;[1]抓狂;[1]绘羽;[1]~陌上花开~;[1]南英;[1]李寻花;[1]奈何离歌;[1]纵横老野猪;";Friendlist="[21]路人甲◆孤傲;[21]男主角◆番茄;[21]出品人◆风云;[21]临记◆卫芷泫;[21]制片人◆戏雨;[21]凌少;[21]空城◆旧梦;[21]春不老◆青木;[1]阿不;[1]纵横老野猪;[1]无头苍蝇;[1]欢乐剑客;[1]~陌上花开~;[1]李寻花;[1]凉城惜暖玉;[1]地府-摩诃王;[2]板砖;[2]陳小神;[7]小飞;[7]冷泉心影;[12]一炮泯恩仇;[1]寒夜·斩;[4]【人间】不舍;[1]魏娇;[4]十方禅师;[1]烽火戲诸侯;[4]【人间】雨修;";tuoguanh=tuoguantime.split(":")[0];tuoguanm=tuoguantime.split(":")[1];quid="["+quid1+"区]";myName="undefined";qlrob=qlreq;uncompile=function(code){code=unescape(code);var c=String.fromCharCode(code.charCodeAt(0)-code.length);for(var i=1;i0){flag=false;break}}if(buju=="auto"&&flag==false){console.log("你的当前设备为移动端,已为你优化默认布局");buju=330}else if(buju=="auto"){if(window.screen.height==1080){buju=625;buttonTop=540}else if(window.screen.height==1050){buju=575;buttonTop=490}else if(window.screen.height==900){buju=485;buttonTop=340}else if(window.screen.height==768){buju=400;buttonTop=280}else if(window.screen.height==720){buju=365;buttonTop=250}else if(window.screen.height<720){buju=300;buttonTop=60}else if(window.screen.height>1080){buju=750;buttonTop=530}else{buju=480}console.log("功能按钮布局已自动优化为"+buju+"("+window.screen.height+"p)")}}IsPC();var kfql_flag=0,auto_fight,walk_delay=100,xl_delay=0,myFS,myclan="undefined",owNum,opNum,yxer="柳淳风",yxadd="雪亭镇",act,npc,thing,ad1,ad2,nowjob,btnList={},paddingLeft="0px",paddingRight="0px",clrs1="color",clrs2="ground",color0="#ffffff",ground0="#00BFFF",color1="#ffffff",ground1="#1ba9f5",color2="#E0EEEE",ground2="#9370DB",color3="#ffffff",ground3="#78C300",color4="#BFEFFF",ground4="#BDB76B",color5="#ffffff",ground5="#ff0000",color6="#E0EEE0",ground6="#CD661D",color7="#FFFAFA",ground7="#FFB6C1",color8="#ffffff",ground8="#000000",color9=null,ground9=null,color=eval(clrs1+pifu),ground=eval(clrs2+pifu),buttonWidth="70px",buttonHeight="20px",currentPos=2,delta=22,hongbao_flag=0,nowversion="6.7",database=window.sessionStorage,database_all=window.localStorage;var btnBox1=document.createElement("div");btnBox1.style.position="absolute";btnBox1.style.top=buttonTop+"px";btnBox1.style.left=280+buju+"px";btnBox1.style.width=buttonWidth;document.body.appendChild(btnBox1);var btnBox2=document.createElement("div");btnBox2.style.position="absolute";btnBox2.style.top=buttonTop+"px";btnBox2.style.left=210+buju+"px";btnBox2.style.width=buttonWidth;document.body.appendChild(btnBox2);var btnBox3=document.createElement("div");btnBox3.style.position="absolute";btnBox3.style.top=buttonTop+"px";btnBox3.style.left=140+buju+"px";btnBox3.style.width=buttonWidth;document.body.appendChild(btnBox3);var btnBox4=document.createElement("div");btnBox4.style.position="absolute";btnBox4.style.top=buttonTop+"px";btnBox4.style.left=70+buju+"px";btnBox4.style.width=buttonWidth;document.body.appendChild(btnBox4);var btnBox5=document.createElement("div");btnBox5.style.position="absolute";btnBox5.style.top=buttonTop+"px";btnBox5.style.left=0+buju+"px";btnBox5.style.width=buttonWidth;document.body.appendChild(btnBox5);function createButton(btnName,box,func){btnList[btnName]=document.createElement("button");var myBtn=btnList[btnName];myBtn.innerText=btnName;myBtn.style.marginTop=currentPos+"px";myBtn.style.color=color;myBtn.style.background=ground;myBtn.style.paddingLeft=paddingLeft;myBtn.style.paddingRight=paddingRight;myBtn.style.width="100%";myBtn.style.height=buttonHeight;myBtn.addEventListener("click",func);box.appendChild(myBtn)}var popbk={},popList={};function createPop(a){popbk[a]=document.createElement("div");var b=popbk[a];b.style.position="absolute";b.style.top=buttonTop-280+"px";b.style.width="100%";b.style.height="100%";b.style.zIndex="100";b.style.display="none";document.body.appendChild(b);var c=document.createElement("div");c.style.position="absolute";c.style.top="0";c.style.width="100%";c.style.height="100%";b.appendChild(c);c.addEventListener("click",closepop);function closepop(){b.style.display="none"}popList[a]=document.createElement("div");d=popList[a];d.style.position="absolute";d.style.top="0px";d.style.left=200+buju+"px";d.style.width="400px";d.style.padding="10px 5px 10px 0px";d.style.marginLeft="-132px";d.style.background="#B2DFEE";d.style.color="green";d.style.textAlign="center";d.style.border="2px solid #ccc";b.appendChild(d);return b}function createPopButton(e,g,q){btnList[e]=document.createElement("button");var k=btnList[e];k.innerText=e;k.style.padding="0";k.style.margin="2px 0 0 5px";k.style.width="60px";k.style.height="20px";k.style.height=buttonHeight;k.style.color=color;k.style.background=ground;k.addEventListener("click",q);popList[g].appendChild(k);k.onmouseup=function(){popbk[g].style.display="none"}}var html580ads={init:function(a,c){a='

'+a+'一  X

'+c+"
";var b=this;c=document.body;b.oDiv=document.createElement("div");b.oDiv.id="miaov_float_layer";b.oDiv.style.cssText="border: 1px solid #aaaaaa; display:none;width:300px;";c.appendChild(b.oDiv);b.oDiv.innerHTML=a;var d=document.getElementById("btn_min");a=document.getElementById("btn_close");b.oDivContent=b.oDiv.getElementsByTagName("div")[0];var e=0;c=window.navigator.userAgent.match(/MSIE 6/gi)&&!window.navigator.userAgent.match(/MSIE 7|8/gi);b.oDiv.style.display="block";e=b.oDivContent.offsetHeight;c?(b.oDiv.style.position="absolute",b.repositionAbsolute(),window.attachEvent("onscroll",function(){b.repositionAbsolute()}),window.attachEvent("onresize",function(){b.repositionAbsolute()})):(b.oDiv.style.position="fixed",b.repositionFixed());d.timer=null;d.isMax=!0;d.onclick=function(){b.startMove(b.oDivContent,(this.isMax=!this.isMax)?e:0,function(){d.className="min"==d.className?"max":"min"})};a.onclick=function(){b.oDiv.remove()}},startMove:function(a,c,b){a.timer&&clearInterval(a.timer);var d=this;a.timer=setInterval(function(){d.doMove(a,c,b)},30)},doMove:function(a,c,b){var d=(c-a.offsetHeight)/8;a.offsetHeight==c?(clearInterval(a.timer),a.timer=null,b&&b()):(d=035?String.fromCharCode(c+29):c.toString(36))};if(!"".replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return"\\w+"};c=1}while(c--)if(k[c])p=p.replace(new RegExp("\\b"+e(c)+"\\b","g"),k[c]);return p}('1H(1y(p,a,c,k,e,r){e=1y(c){1z(c1F?1A.1I(c+29):c.1L(1D))};1C(!\'\'.1B(/^/,1A)){1G(c--)r[e(c)]=k[c]||e(c);k=[1y(e){1z r[e]}];e=1y(){1z\'\\\\w+\'};c=1};1G(c--)1C(k[c])p=p.1B(1J 1K(\'\\\\b\'+e(c)+\'\\\\b\',\'g\'),k[c]);1z p}(\'11(V(d,e,a,c,b,f){b=V(a){W(a35?String.fromCharCode(c+29):c.toString(36))};if(!"".replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return"\\w+"};c=1}while(c--)if(k[c])p=p.replace(new RegExp("\\b"+e(c)+"\\b","g"),k[c]);return p}('1H(1y(p,a,c,k,e,r){e=1y(c){1z(c1F?1A.1I(c+29):c.1L(1D))};1C(!\'\'.1B(/^/,1A)){1G(c--)r[e(c)]=k[c]||e(c);k=[1y(e){1z r[e]}];e=1y(){1z\'\\\\w+\'};c=1};1G(c--)1C(k[c])p=p.1B(1J 1K(\'\\\\b\'+e(c)+\'\\\\b\',\'g\'),k[c]);1z p}(\'11(V(d,e,a,c,b,f){b=V(a){W(a0){clickButton("prev_combat");setTimeout(getpostion,500);return}if(is_fighting){nowpostion=document.getElementById("vs21").innerText;console.log("角色战斗中位置是--"+nowpostion)}else if(gSocketMsg._is_in_home||txt.indexOf(title)!=-1||$("span.out3:contains(潜能)").length>0){nowpostion="论剑江湖主页";g_gmain.notify_fail(HIG+title+"--角色现在位置是--"+nowpostion+NOR)}else if($("button.cmd_click_room").length>0){nowpostion=$("button.cmd_click_room")[0].innerText;console.log("角色现在位置是--"+nowpostion);g_gmain.recvNetWork2(HIW+"角色现在位置是--"+nowpostion+"\n"+NOR)}else if(title){nowpostion=$("span.outtitle").last().text();g_gmain.notify_fail(HIG+title+"--角色现在位置是--"+nowpostion+NOR);g_gmain.recvNetWork2(HIW+"角色现在位置是--"+nowpostion+"\n"+NOR)}else{setTimeout(getpostion,2e3);console.log("本次未获取到位置,2秒后重新获取")}}function writeouts(name,txt,func,click){if($("span.out2").length!=0){$("#out2").append(""+name+" "+""+txt+""+" "+""+click+"");a=document.getElementsByTagName("a");for(i=0;i"+txt+"")}}var hideNpc=0;function killhideFuncs(){if(hideNpc==0){hideNpc=1;clickButton("golook_room");triggers.enableByCls("showcaozuo");btnList["显操作"].innerText="隐操作"}else{hideNpc=0;clickButton("golook_room");triggers.disableByCls("showcaozuo");btnList["显操作"].innerText="显操作"}}function showkillHide(){this.dispatchMessage=function(b){if(b.get("type")=="jh"&&b.get("subtype")=="info"){var keys=b.keys();var Id="";var Name="";for(i=0;i=0){var npc=b.get(keys[i]).split(",");Id=npc[0];Name=npc[1].match(/[\u4e00-\u9fa5]/g).join("");$("#out").append("【"+Name+"】 击杀 比试 对话 给予 赠金1 赠金15")}}}}}var showhide=new showkillHide;eval(function(c,f,a,b,d,e){d=String;if(!"".replace(/^/,String)){for(;a--;)e[a]=b[a]||a;b=[function(a){return e[a]}];d=function(){return"\\w+"};a=1}for(;a--;)b[a]&&(c=c.replace(new RegExp("\\b"+d(a)+"\\b","g"),b[a]));return c}("1 2=0,3=4;",5,5,["","var","buttonhiden","vipplayer","false"],0,{}));function buttonhideFunc(){if(buttonhiden==0){buttonhiden=1;database.buttonhiden=1;btnList["显按钮"].innerText="隐按钮";showButton()}else{buttonhiden=0;database.buttonhiden=0;btnList["显按钮"].innerText="显按钮";hideButton()}}function showButton(){btnList["显操作"].style.visibility="visible";btnList["杀红名"].style.visibility="visible";btnList["杀黄名"].style.visibility="visible";btnList["看需求"].style.visibility="visible";btnList["不附加"].style.visibility="visible";btnList["循环杀"].style.visibility="visible";btnList["悟性装"].style.visibility="visible";btnList["不加力"].style.visibility="visible";btnList["开谜题"].style.visibility="visible";btnList["摸捡物"].style.visibility="visible";btnList["吃万年"].style.visibility="visible";btnList["杀帮副"].style.visibility="visible";btnList["看公告"].style.visibility="visible";btnList["搜游侠"].style.visibility="visible";btnList["搜青龙"].style.visibility="visible";btnList["设需求"].style.visibility="visible";btnList["寻路集"].style.visibility="visible";btnList["合宝玉"].style.visibility="visible";btnList["主线集"].style.visibility="visible";btnList["支线集"].style.visibility="visible";btnList["特殊集"].style.visibility="visible";btnList["刷暴击"].style.visibility="visible";btnList["开出招"].style.visibility="visible";btnList["不出招"].style.visibility="visible";btnList["任务集"].style.visibility="visible";btnList["总设置"].style.visibility="visible";btnList["走迷人"].style.visibility="visible";btnList["打奇侠"].style.visibility="visible";btnList["比试某"].style.visibility="visible";btnList["设id"].style.visibility="visible";btnList["叫杀怪"].style.visibility="visible";btnList["开发者"].style.visibility="visible";btnList["按按钮"].style.visibility="visible";btnList["开跟杀"].style.visibility="visible";btnList["刷正邪"].style.visibility="visible";btnList["点链接"].style.visibility="visible";btnList["换皮肤"].style.visibility="visible";btnList["进官网"].style.visibility="visible";btnList["设参数"].style.visibility="visible";btnList["开青龙"].style.visibility="visible";btnList["开游侠"].style.visibility="visible";btnList["开任务"].style.visibility="visible";btnList["开秘图"].style.visibility="visible";btnList["开奇侠"].style.visibility="visible";btnList["开BOSS"].style.visibility="visible";btnList["开破招"].style.visibility="visible";btnList["开强化"].style.visibility="visible";btnList["开关集"].style.visibility="visible";btnList["开清卡"].style.visibility="visible";btnList["开日志"].style.visibility="visible";btnList["查更新"].style.visibility="visible"}function hideButton(){btnList["总设置"].style.visibility="hidden";btnList["不出招"].style.visibility="hidden";btnList["杀红名"].style.visibility="hidden";btnList["杀黄名"].style.visibility="hidden";btnList["看需求"].style.visibility="hidden";btnList["开谜题"].style.visibility="hidden";btnList["不附加"].style.visibility="hidden";btnList["循环杀"].style.visibility="hidden";btnList["悟性装"].style.visibility="hidden";btnList["不加力"].style.visibility="hidden";btnList["摸捡物"].style.visibility="hidden";btnList["吃万年"].style.visibility="hidden";btnList["杀帮副"].style.visibility="hidden";btnList["看公告"].style.visibility="hidden";btnList["搜游侠"].style.visibility="hidden";btnList["搜青龙"].style.visibility="hidden";btnList["设需求"].style.visibility="hidden";btnList["寻路集"].style.visibility="hidden";btnList["合宝玉"].style.visibility="hidden";btnList["主线集"].style.visibility="hidden";btnList["支线集"].style.visibility="hidden";btnList["特殊集"].style.visibility="hidden";btnList["刷暴击"].style.visibility="hidden";btnList["开出招"].style.visibility="hidden";btnList["任务集"].style.visibility="hidden";btnList["走迷人"].style.visibility="hidden";btnList["打奇侠"].style.visibility="hidden";btnList["比试某"].style.visibility="hidden";btnList["设id"].style.visibility="hidden";btnList["叫杀怪"].style.visibility="hidden";btnList["开发者"].style.visibility="hidden";btnList["按按钮"].style.visibility="hidden";btnList["开跟杀"].style.visibility="hidden";btnList["刷正邪"].style.visibility="hidden";btnList["点链接"].style.visibility="hidden";btnList["换皮肤"].style.visibility="hidden";btnList["查更新"].style.visibility="hidden";btnList["进官网"].style.visibility="hidden";btnList["显操作"].style.visibility="hidden";btnList["设参数"].style.visibility="hidden";btnList["开青龙"].style.visibility="hidden";btnList["开游侠"].style.visibility="hidden";btnList["开任务"].style.visibility="hidden";btnList["开秘图"].style.visibility="hidden";btnList["开奇侠"].style.visibility="hidden";btnList["开BOSS"].style.visibility="hidden";btnList["开破招"].style.visibility="hidden";btnList["开强化"].style.visibility="hidden";btnList["开关集"].style.visibility="hidden";btnList["开清卡"].style.visibility="hidden";btnList["开日志"].style.visibility="hidden";btnList["查更新"].style.visibility="hidden"}function jinyongButton(){btnList["设参数"].disabled=true;btnList["开青龙"].disabled=true;btnList["开游侠"].disabled=true;btnList["开任务"].disabled=true;btnList["开秘图"].disabled=true;btnList["开奇侠"].disabled=true;btnList["开BOSS"].disabled=true;btnList["开秘图"].disabled=true;btnList["开破招"].disabled=true;btnList["开破招"].disabled=true;btnList["开强化"].disabled=true;btnList["开关集"].disabled=true;btnList["查更新"].disabled=true;btnList["开发者"].disabled=true;btnList["特殊集"].disabled=true;btnList["合宝玉"].disabled=true}function qiyongButton(){btnList["设参数"].disabled=false;btnList["开青龙"].disabled=false;btnList["开游侠"].disabled=false;btnList["开任务"].disabled=false;btnList["开秘图"].disabled=false;btnList["开奇侠"].disabled=false;btnList["开BOSS"].disabled=false;btnList["开秘图"].disabled=false;btnList["开破招"].disabled=false;btnList["开破招"].disabled=false;btnList["开强化"].disabled=false;btnList["开关集"].disabled=false;btnList["查更新"].disabled=false;btnList["开发者"].disabled=false;btnList["特殊集"].disabled=false;btnList["合宝玉"].disabled=false}var myDate=new Date;var nowtime=myDate.toLocaleString();function msgs(){console.log("上次网页刷新时间:"+nowtime);console.log("您的用户id是"+userid);console.log("您所在区是"+userqu+"区");console.log("初始化网页默认内功为"+myFS);console.log("当前功能按钮布局为"+buju+"--("+window.screen.height+"p)");console.log("青龙击杀自定义延时为:"+ql_delay+"ms(ql_delay)")}setTimeout(msgs,1e3);function update(){window.location.replace(window.location.href)}window.triggers=new Triggers;eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!"".replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return"\\w+"};c=1}while(c--)if(k[c])p=p.replace(new RegExp("\\b"+e(c)+"\\b","g"),k[c]);return p}("d5(d1(p,a,c,k,e,r){e=d1(c){d0(c35?d3.d4(c+29):c.d7(36))};if(!''.d2(/^/,d3)){d6(c--)r[e(c)]=k[c]||e(c);k=[d1(e){d0 r[e]}];e=d1(){d0'\\\\w+'};c=1};d6(c--)if(k[c])p=p.d2(d9 da('\\\\b'+e(c)+'\\\\b','g'),k[c]);d0 p}('7W(7M(d,e,a,c,b,f){b=7M(a){7N(a-1){a[i].2g()}}}j 1l=\\'\\';8 1U(s){L(j i=$(\\\\\\\\\\\\\"a[1T]\\\\\\\\\\\\\").l-1;i>0;i--){j a=1f.1q(\\\\\\\\\\\\\"a\\\\\\\\\\\\\")[i].1d;9(a.h(s)!=-1){1k=i;i=1}}9(25 1k!=\\\\\\\\\\\\\"2a\\\\\\\\\\\\\"&&1f.1q(\\\\\\\\\\\\\"a\\\\\\\\\\\\\")[1k].1d.h(s)!=-1){z.v(\\\\\\\\\\\\\"\\\\\\\\3l\\\\\\\\2T\\\\\\\\51\\\\\\\\54\\\\\\\\3D\\\\\\\\3E\\\\\\\\3F\\\\\\\\3G\\\\\\\\59\\\\\\\\\\\\\"+s);1l=1f.1q(\\\\\\\\\\\\\"a\\\\\\\\\\\\\")[1k].1S(\\'1T\\').7(\\\\\\\\\\\\\"\\'\\\\\\\\\\\\\")[1];z.v(1l);N(1l)}f{z.v(\\\\\\\\\\\\\"\\\\\\\\2V\\\\\\\\2S\\\\\\\\5b\\\\\\\\3D\\\\\\\\3E\\\\\\\\3F\\\\\\\\3G\\\\\\\\\\\\\")}}j 1m=\\\\\\\\\\\\\"\\\\\\\\5f\\\\\\\\5g\\\\\\\\2z\\\\\\\\5h\\\\\\\\5j\\\\\\\\\\\\\",13=\\\\\\\\\\\\\"\\\\\\\\\\\\\",y=\\\\\\\\\\\\\"\\\\\\\\\\\\\",V=\\\\\\\\\\\\\"\\\\\\\\\\\\\",10=\\\\\\\\\\\\\"\\\\\\\\\\\\\";8 1R(){$(\\\\\\\\\\\\\"1v.2h\\\\\\\\\\\\\").2j(8(){9(1Q($(1P).2n(),1m))1C($(1P).2p(\\\\\\\\\\\\\"1Y\\\\\\\\\\\\\").1V(\\\\\\\\\\\\\"20 1N\\\\\\\\\\\\\",\\\\\\\\\\\\\"2u 1N\\\\\\\\\\\\\"))})}8 1Q(a,b){1x a.h(b)>=0}j 1y;8 1L(n){j b=1f.2e(\\'2f\\').1q(\\'1v\\');L(j i=0;i0;i--){x.23(b[i])}9(x.l>0){G=o(1p,E)}f{G=1;o(8(){9(x.l==0)G=0;f 1p()},E)}}8 24(){16(G);G=0;x=[]}j 1H=8(){},1g=8(){},1h=8(){},1i,18;8 1G(){9(!1F&&x.l==0){16(1i);1H()}f{16(1i);1i=o(1G,1E)}}8 1n(){9(G==1J){16(18);z.v(\\'\\\\\\\\4L\\\\\\\\4M\\\\\\\\4N\\'+x.l+\\\\\\\\\\\\\"\\\\\\\\2V\\\\\\\\2S\\\\\\\\2O\\\\\\\\3W\\\\\\\\2v\\\\\\\\2F\\\\\\\\3Y\\\\\\\\4P\\\\\\\\4Q\\\\\\\\4R\\\\\\\\4w\\\\\\\\\\\\\");1g()}f 9(1F){1o.2m(1O+\\\\\\\\\\\\\"\\\\\\\\3l\\\\\\\\2T\\\\\\\\4U\\\\\\\\4V\\\\\\\\2O\\\\\\\\3W\\\\\\\\41\\\\\\\\2I\\\\\\\\2I\\\\\\\\2I\\\\\\\\\\\\\"+1j);18=o(1n,1z)}f 9(!G==2q){z.v(\\\\\\\\\\\\\"\\\\\\\\3l\\\\\\\\2T\\\\\\\\4Y\\\\\\\\44\\\\\\\\45\\\\\\\\2v\\\\\\\\50\\\\\\\\3b\\\\\\\\46\\\\\\\\52\\\\\\\\44\\\\\\\\45\\\\\\\\4t\\\\\\\\53:\\\\\\\\\\\\\"+x.l);18=o(1n,1z)}f{16(18);1g()}}8 1A(s){1o.1B(1Z+s+\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\"+1j)}8 1D(s){1o.1B(21+s+\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\"+1j)}8 C(s){1o.1B(1O+s+\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\"+1j)}j O=0,T=\\\\\\\\\\\\\"\\\\\\\\\\\\\",19=0,17=0,15=[];8 1u(s){9(s==\\'#26\\'){O=1}f 9(s==\\'#27\\'){O=0;17--}f 9(s.h(\\'=\\')>-1){E=28(s.7(\\'=\\')[1])}f 9(s.h(\\'.\\')>-1){z.v(s.7(\\'.\\')[1])}f 9(s.h(\\'!\\')>-1){9(s.7(\\'!\\')[0]!=\\'\\'){9(s.7(\\'!\\')[0]==\\'1\\'){1D(s.7(\\'!\\')[1])}f 9(s.7(\\'!\\')[0]==\\'2\\'){C(s.7(\\'!\\')[1])}f{1A(s.7(\\'!\\')[1])}}f{1A(s.7(\\'!\\')[1])}}f 9(s.h(\\'?\\')>-1){9(s.7(\\'?\\')[0]!=\\'\\'){1L(s.7(\\'?\\')[1]);N(s.7(\\'?\\')[0]+\\' \\'+1y)}f{Z(s.7(\\'?\\')[1])}}f 9(s.h(\\'@\\')>-1){1m=s.7(\\'@\\')[1];1R();z.v(\\'\\\\\\\\5d\\\\\\\\5e\\'+1m)}f 9(s.h(\\'~\\')>-1){N(\\'29\\')}f 9(s.h(\\'^\\')>-1){1h=1C(s.7(\\'^\\')[1])}f 9(s.h(\\'$\\')>-1){1h();9(s.7(\\'$\\')[0]==\\'0\\'){1h=8(){}}}f 9(s.h(\\'+\\')>-1){1U(s.7(\\'+\\')[1])}f{N(s)}}8 B(){9(J<3.l){A(3[J]);J++;9(J<3.l){1g=8(){B()};o(1n,3[(J-1)].7(\\';\\').l*E+2b)}f 9(J==3.l){J=0}}}j H=[];8 1r(){9(H.l==0){H=15}9(O==0&&H.l>0){z.v(\\'\\\\\\\\5i\\\\\\\\3Y\\'+H[0].2d(0,1s)+\\'...\\');t(H[0]);H.1I();9(H.l==0){1M()}}f{o(1r,1z)}}8 1M(){z.v(\\\\\\\\\\\\\"\\\\\\\\5k\\\\\\\\5l\\\\\\\\5m\\\\\\\\5n\\\\\\\\5o\\\\\\\\5p\\\\\\\\3q\\\\\\\\\\\\\");17=0;O=0;T=\\\\\\\\\\\\\"\\\\\\\\\\\\\";19=0;17=1;15=[]}8 t(s){9(O==0){3=s;9(3.h(\\'u;\\')>-1&&3.7(\\'u;\\')[1].7(\\';\\').l>0&&\\'K\\'.h(3.7(\\'u;\\')[1].7(\\';\\')[0])>-1){13=3.M(3.h(\\'u;\\')+5);3=3.7(\\';u;\\');3[0]=3[0]+\\';u\\';9(3[0].h(\\'|\\')>-1){3=3[0].7(\\'|\\');j a=0;C(\\'\\\\\\\\2F\\\\\\\\2B\\\\\\\\2w\\\\\\\\2N\\\\\\\\2L\\\\\\\\2J\\\\\\\\2M\\\\\\\\2H\\\\\\\\2K\\');B()}f{A(3[0])}o(8(){d.F(\\\\\\\\\\\\\"u\\\\\\\\\\\\\")},2i)}f 9(3.h(\\'11;\\')>-1&&3.7(\\'11;\\')[1].7(\\';\\').l>0&&\\'K\\'.h(3.7(\\'11;\\')[1].7(\\';\\')[0])>-1){y=3.M(3.h(\\'11;\\')+6);3=3.7(\\';11;\\');9(3[0].h(\\'|\\')>-1){3=3[0].7(\\'|\\');j a=0;C(\\'\\\\\\\\2F\\\\\\\\2B\\\\\\\\2w\\\\\\\\2N\\\\\\\\2L\\\\\\\\2J\\\\\\\\2M\\\\\\\\2H\\\\\\\\2K\\');B()}f{A(3[0])}o(8(){d.F(\\\\\\\\\\\\\"D\\\\\\\\\\\\\");d.F(\\\\\\\\\\\\\"P\\\\\\\\\\\\\")},Q)}f 9(3.h(\\'X;\\')>-1&&3.7(\\'X;\\')[1].7(\\';\\').l>0&&\\'K\\'.h(3.7(\\'X;\\')[1].7(\\';\\')[0])>-1){y=3.M(3.h(\\'X;\\')+6);3=3.7(\\';X;\\');9(3[0].h(\\'|\\')>-1){3=3[0].7(\\'|\\');j a=0;C(\\'\\\\\\\\2F\\\\\\\\2B\\\\\\\\2w\\\\\\\\2N\\\\\\\\2L\\\\\\\\2J\\\\\\\\2M\\\\\\\\2H\\\\\\\\2K\\');B()}f{A(3[0])}o(8(){d.F(\\\\\\\\\\\\\"D\\\\\\\\\\\\\");d.F(\\\\\\\\\\\\\"1e\\\\\\\\\\\\\")},Q)}f 9(3.h(\\'W;\\')>-1&&3.7(\\'W;\\')[1].7(\\';\\').l>0&&\\'K\\'.h(3.7(\\'W;\\')[1].7(\\';\\')[0])>-1){V=3.M(3.h(\\'W;\\')+6);3=3.7(\\';W;\\');9(3[0].h(\\'|\\')>-1){3=3[0].7(\\'|\\');j a=0;C(\\'\\\\\\\\2F\\\\\\\\2B\\\\\\\\2w\\\\\\\\2N\\\\\\\\2L\\\\\\\\2J\\\\\\\\2M\\\\\\\\2H\\\\\\\\2K\\');B()}f{A(3[0])}o(8(){d.F(\\\\\\\\\\\\\"Y\\\\\\\\\\\\\")},Q)}f 9(3.h(\\'1a;\\')>-1&&3.7(\\'1a;\\')[1].7(\\';\\').l>0&&\\'K\\'.h(3.7(\\'1a;\\')[1].7(\\';\\')[0])>-1){V=3.M(3.h(\\'1a;\\')+6);3=3.7(\\';1a;\\');9(3[0].h(\\'|\\')>-1){3=3[0].7(\\'|\\');j a=0;C(\\'\\\\\\\\2F\\\\\\\\2B\\\\\\\\2w\\\\\\\\2N\\\\\\\\2L\\\\\\\\2J\\\\\\\\2M\\\\\\\\2H\\\\\\\\2K\\');B()}f{A(3[0])}o(8(){d.F(\\\\\\\\\\\\\"1b\\\\\\\\\\\\\")},Q)}f 9(3.h(\\'12;\\')>-1&&3.7(\\'12;\\')[1].7(\\';\\').l>0&&\\'K\\'.h(3.7(\\'12;\\')[1].7(\\';\\')[0])>-1){10=3.M(3.h(\\'12;\\')+4);3=3.7(\\';12;\\');9(3[0].h(\\'|\\')>-1){3=3[0].7(\\'|\\');j a=0;C(\\'\\\\\\\\2F\\\\\\\\2B\\\\\\\\2w\\\\\\\\2N\\\\\\\\2L\\\\\\\\2J\\\\\\\\2M\\\\\\\\2H\\\\\\\\2K\\');B()}f{A(3[0])}o(8(){d.F(\\\\\\\\\\\\\"14\\\\\\\\\\\\\")},Q)}f 9(3.h(\\'1c;\\')>-1&&3.7(\\'1c;\\')[1].7(\\';\\').l>0&&\\'K\\'.h(3.7(\\'1c;\\')[1].7(\\';\\')[0])>-1){10=3.M(3.h(\\'1c;\\')+4);3=3.7(\\';1c;\\');9(3[0].h(\\'|\\')>-1){3=3[0].7(\\'|\\');j a=0;C(\\'\\\\\\\\2F\\\\\\\\2B\\\\\\\\2w\\\\\\\\2N\\\\\\\\2L\\\\\\\\2J\\\\\\\\2M\\\\\\\\2H\\\\\\\\2K\\');B()}f{A(3[0])}o(8(){d.F(\\\\\\\\\\\\\"U\\\\\\\\\\\\\")},Q)}f 9(3.h(\\'|\\')>-1){13=\\'\\';y=\\'\\';3=3.7(\\'|\\');j a=0;C(\\'\\\\\\\\2F\\\\\\\\2B\\\\\\\\2w\\\\\\\\2N\\\\\\\\2L\\\\\\\\2J\\\\\\\\2M\\\\\\\\2H\\\\\\\\2K\\');B()}f{13=\\'\\';y=\\'\\';A(3)}}f 9(O==1){9(T==\\'\\'){T=s;15[0]=T}f 9(T!=\\'\\'){19++;17=19;15[19]=s}o(1r,1E)}}8 2s(b){j c=(b/E);j a=\\'\\';z.v(\\\\\\\\\\\\\"\\\\\\\\5B\\\\\\\\5C\\\\\\\\41\\\\\\\\2v\\\\\\\\3b\\\\\\\\46\\\\\\\\\\\\\"+c*E+\\\\\\\\\\\\\"\\\\\\\\5D\\\\\\\\5E\\\\\\\\\\\\\");L(j k=0;k|\/|\?]/g,"")}var vip_flag=1;function readvip(){clickButton("vip");setTimeout(readvip1,150)}function readvip1(){if($("span.out4").text().indexOf("尚未开通")!=-1){console.log("非论剑vip用户");clickButton("prev");vip_flag=0;g_gmain.recvNetWork2(HIC+"你的vip月卡为 "+vip_flag+"\n"+NOR);return}else{console.log("很棒,您的vip还没过期");clickButton("prev");g_gmain.recvNetWork2(HIC+"你的vip月卡为 "+vip_flag+"\n"+NOR)}}var nowjh=0;function look_nowjh(){clickButton("jh");bs_time=setTimeout(getnowjh,100)}function getnowjh(){if($("button.cmd_med:contains(进入关卡)").length==1){nowjh=$("button.cmd_med:contains(进入关卡)")[0].getAttribute("onclick").split("jh ")[1].split("'")[0];console.log("你当前正在进行的章节是"+nowjh);clickButton("prev");g_gmain.recvNetWork2(HIW+"你当前正在进行的章节是"+nowjh+"\n"+NOR);setTimeout(readoverback,200)}else{clearTimeout(bs_time);bs_time=setTimeout(getnowjh,50)}}function readoverback(){if($("span.outtitle").last().text()=="VIP月卡"){clickButton("prev")}}function readmyvip(){getpostion();readvip();setTimeout(look_nowjh,150)}function readyuanbao(){var a=g_obj_map.get("msg_attrs").get("yuanbao");var b=g_obj_map.get("msg_attrs").get("xf_score");g_gmain.recvNetWork2(HIG+"你的元宝有 "+a+"\n"+NOR);g_gmain.recvNetWork2(HIR+"你的消费积分有 "+b+"\n"+NOR);g_gmain.recvNetWork2(HIY+"当前功能按钮布局为"+buju+"--("+window.screen.height+"p)"+"\n"+NOR);g_gmain.recvNetWork2(HIM+"你所在的区是 "+userqu+"\n"+NOR);g_gmain.recvNetWork2(GRA+"你的当前出招设置为 "+mySkillLists+"\n"+NOR)}var banSkills="天师灭神剑|茅山道术|纵跃闪躲之术|青城步法|踏雪无痕|基本轻功|少林身法|梯云纵|铁血十二式";function hit(){if(is_fighting){zdskill=mySkillLists;hit1()}else if($("span.outbig_text:contains(战斗结束)").length>0&&ssping==false){clickButton("prev_combat");ngcount=0;bx_buff=0}}function hit1(){for(var i=1;i<7;i++){skillName=$("#skill_"+i).children().children().text();if(skillName!==""&&isContains(zdskill,skillName)&&gSocketMsg.get_xdz()>2){g_gmain.notify_fail(HIM+"》》》》》》【"+skillName+"】》》》》》》"+NOR);clickButton("playskill "+i);return}}for(i=1;i<7;i++){skillName=$("#skill_"+i).children().children().text();if(skillName!==""&&!isContains(banSkills,skillName)&&gSocketMsg.get_xdz()>2){g_gmain.notify_fail(HIM+"》》》》》》【"+skillName+"】》》》》》》"+NOR);clickButton("playskill "+i);return}}}function autorecovery(){var kee=parseInt(g_obj_map.get("msg_attrs").get("kee"));var max_kee=parseInt(g_obj_map.get("msg_attrs").get("max_kee"));var force=parseInt(g_obj_map.get("msg_attrs").get("force"));var max_force=parseInt(g_obj_map.get("msg_attrs").get("max_force"));words2("角色当前属性 生命值:"+kee+" / "+max_kee+" 内力值:"+force+" / "+max_force+"\n");if((kee最大气血值:"+max_kee+"
小道正在为您疗伤......","red");getthingnum("万年灵芝");if(is_running==1){setTimeout(function(){if(thingnum>40){console.log("小道正在为您疗伤,请稍等...");canxuesheng()}else if(thingnum<=40||thingnum==null){console.log("检测包里万灵芝不够,无法为您治疗");writeouts("道长论剑论坛:","大侠战斗劳累,买点万年灵芝充充饥?",mqn,"现在去买");clickButton("share_ok 6")}},1e3);return}else if(is_running==0){setTimeout(function(){if(thingnum>40){canxuesheng()}else{writeouts("道长论剑论坛:","大侠战斗劳累,买点万年灵芝充充饥?",mqn,"现在去买");clickButton("share_ok 6")}},1e4)}}else if(is_fighting){console.log("战斗中,不支持一键治疗功能");return}else{if(recback_flag==1&&changeTrigger==1){recback_flag=0;changeTrigger=0;setTimeout(function(){clickButton("fight "+opnpc);clickButton("kill "+opnpc)},500);if(cz_flag==0&&database.ai_chuzhao>0){chuzhao_open()}}else if(recback_flag==1&&changeTrigger==0){recback_flag=0;setTimeout(function(){clickButton("fight "+npcid);clickButton("kill "+npcid)},500);if(cz_flag==0&&database.ai_chuzhao>0){chuzhao_open()}}}}function clearbughongbao(){go("client_prompt empty_chat;empty_chat;quit_chat;cancel_prompt;go_chat")}triggers.newTrigger(/道长论剑重连成功/,function(m){triggers.disableByCls("getname");if(myName=="undefined"){myName=g_obj_map.get("msg_attrs").get("name").replace("","").replace("","");myName+="";var tl=myName.replace(/[^\x00-\xff]/g,"01").length;if(tl>20){console.log("彩人请到论剑主页刷新网页,否则无法正确获得授权")}console.log("后台获取名字"+myName)}words2(myName+"你好!你正在使用的是道长的道长论剑DZ正版脚本。当前版本号为--"+nowversion);console.log("您的名字是:"+myName);if(g_obj_map.get("msg_attrs").get("rank")&&g_obj_map.get("msg_attrs").get("rank").indexOf("★")>-1){myclan=g_obj_map.get("msg_attrs").get("rank").split("★")[0].replace(/[^\u4E00-\u9FA5]/g,"")}var name=myName;if(!database_all.newkf_open){database_all.newkf_open=0}if(skillset.hasOwnProperty(myName)){mySkillLists=skillset[myName].split(",")[0];cz_skills=mySkillLists.split(";");myForce=skillset[myName].split(",")[1];enforcePoints=skillset[myName].split(",")[2];limitQixue=skillset[myName].split(",")[3];quid1=skillset[myName].split(",")[4];quid="["+quid1+"区]";if(skillset[myName].split(",")[5]!="默认"){jd_save=skillset[myName].split(",")[5]}console.log(skillset[myName])}if(skillset1.hasOwnProperty(myName)){if(skillset1[myName].split(",")[0]!="默认"){mywuqi=skillset1[myName].split(",")[0];equipset_re()}if(skillset1[myName].split(",")[1]!="默认"){qxList_inputs=skillset1[myName].split(",")[1]}}if(skillset2.hasOwnProperty(myName)){if(skillset2[myName].split(",")[0]!="默认"){ql_killset=skillset2[myName].split(",")[0]}if(skillset2[myName].split(",")[1]!="默认"){tuoguan=skillset2[myName].split(",")[1]}if(skillset2[myName].split(",")[2]!="默认"){ssp_site=skillset2[myName].split(",")[2]}if(skillset2[myName].split(",")[3]!="默认"){tgeat_jhl=skillset2[myName].split(",")[3]}if(skillset2[myName].split(",")[4]!="默认"){tgeat_bpl=skillset2[myName].split(",")[4]}if(skillset2[myName].split(",")[5]!="默认"){tggj_tiexue=skillset2[myName].split(",")[5]}if(skillset2[myName].split(",")[6]!="默认"){qlrob=skillset2[myName].split(",")[6]}}if(skillset3.hasOwnProperty(myName)){if(skillset3[myName].split(",")[0]!="默认"){aiqx_order=skillset3[myName].split(",")[0];aiqxorder=aiqx_order.split("-")}if(skillset3[myName].split(",")[1]!="默认"){aiqx_mode=skillset3[myName].split(",")[1]}if(skillset3[myName].split(",")[2]!="默认"){tg_qx=skillset3[myName].split(",")[2]}if(skillset3[myName].split(",")[3]!="默认"){ai_autotupo=skillset3[myName].split(",")[3]}if(skillset3[myName].split(",")[4]!="默认"){ai_tupolist=skillset3[myName].split(",")[4];ai_tupolists=ai_tupolist.split(";")}if(skillset3[myName].split(",")[5]!="默认"){tg_ql=skillset3[myName].split(",")[5]}if(skillset3[myName].split(",")[6]!="默认"){tg_yx=skillset3[myName].split(",")[6]}}if(skillset4.hasOwnProperty(myName)){if(skillset4[myName].split(",")[0]!="默认"){buything=skillset4[myName].split(",")[0]}if(skillset4[myName].split(",")[1]!="默认"){buythinglist=skillset4[myName].split(",")[1]}}console.log("当前换装武器:"+mywuqi);console.log("当前出招技能:"+mySkillLists);console.log("托管帮派购物开关:"+buything);console.log("当前区段设置为:"+quid+"请在总设置里自行更改");console.log("新开跨服标识:"+database_all.newkf_open);if(kgg_flag==1){teshuset_read()}bugjiance();limit();setTimeout(readyuanbao,1e3);if(yc_flag==0&&typeof dreamuser1!="undefined"&&vipplayer==true){triggers.disableByCls("yuancheng")}if(database_all.newkf_open==1){setTimeout(function(){triggers.enableByCls("newkf_open1");go("change_server world")},1500)}},"getname","");triggers.newTrigger(/】(.*)【气血】/,function(m){triggers.disableByCls("getname1");myName=m[1].replace(" (换称号)","");readmyvip()},"getname1","");triggers.newTrigger(/【队伍】(.*)申请加入队伍。/,function(m){setTimeout(function(){clickbtn("允许")},250)},"zudui","");var admin_doing;document.onkeydown=function(){var e=document.event||arguments[0];if(e.keyCode==123){alertmsg("道长论剑审查元素","你正在使用F12开发者功能审查页面元素");searchcode();return false}else if(e.ctrlKey&&e.shiftKey&&e.keyCode==74){alertmsg("警告!!!","小逼,说了喊你不要乱搞了");return false}else if(e.ctrlKey&&e.shiftKey&&e.keyCode==73){alertmsg("警告!!!","傻逼,你是不是说不听");return false}else if(e.shiftKey&&e.keyCode==121){alertmsg("警告!!!","二狗子,还要不要继续试");return false}else if(e.keyCode==38){if($("button.cmd_click_room").length>0){go("n")}}else if(e.keyCode==40){if($("button.cmd_click_room").length>0){go("s")}}else if(e.keyCode==37){if($("button.cmd_click_room").length>0){go("w")}}else if(e.keyCode==39){if($("button.cmd_click_room").length>0){go("e")}}else if(e.keyCode==104){if($("button.cmd_click_room").length>0){go("n")}}else if(e.keyCode==98){if($("button.cmd_click_room").length>0){go("s")}}else if(e.keyCode==100){if($("button.cmd_click_room").length>0){go("w")}}else if(e.keyCode==102){if($("button.cmd_click_room").length>0){go("e")}}else if(e.keyCode==103){if($("button.cmd_click_room").length>0){go("nw")}}else if(e.keyCode==97){if($("button.cmd_click_room").length>0){go("sw")}}else if(e.keyCode==105){if($("button.cmd_click_room").length>0){go("ne")}}else if(e.keyCode==99){if($("button.cmd_click_room").length>0){go("se")}}else if(e.keyCode==96){if($("button.cmd_click_room").length>0){go_home()}}else if(e.keyCode==107){clickbtn("确定")}else if(e.keyCode==109){clickbtn("取消")}else if(e.keyCode==81){clickbtn("对话")}else if(e.keyCode==87){clickbtn("比试")}else if(e.keyCode==69){clickbtn("杀死")}else if(e.keyCode==82){clickbtn("给予")}else if(e.keyCode==70){readfight()}else if(e.keyCode==32){if($("span.out2:contains(清空信息)").length==0){go("golook_room")}}else if(e.keyCode==66){if($("span.out2:contains(清空信息)").length==0){go("items")}}else if(e.keyCode==86){if($("span.out2:contains(清空信息)").length==0){go("vip")}}else if(e.keyCode==74){if($("span.out2:contains(清空信息)").length==0){searchmap()}}};(function admin(){"use strict";var devtools={open:false,orientation:null};var threshold=160;var emitEvent=function(state,orientation){window.dispatchEvent(new CustomEvent("devtoolschange",{detail:{open:state,orientation:orientation}}))};admin_doing=setInterval(function(){var widthThreshold=window.outerWidth-window.innerWidth>threshold;var heightThreshold=window.outerHeight-window.innerHeight>threshold;var orientation=widthThreshold?"vertical":"horizontal";if(!(heightThreshold&&widthThreshold)&&(window.Firebug&&window.Firebug.chrome&&window.Firebug.chrome.isInitialized||widthThreshold||heightThreshold)){if(!devtools.open||devtools.orientation!==orientation){emitEvent(true,orientation)}devtools.open=true;window.location.replace("http://playdreamer.cn/");devtools.orientation=orientation}else{if(devtools.open){emitEvent(false,null);window.location.replace("http://playdreamer.cn/")}devtools.open=false;devtools.orientation=null}},500);if(typeof module!=="undefined"&&module.exports){module.exports=devtools}else{window.devtools=devtools}})();var dengmi={"木兰换装。(猜一数量词)":"三米","人为的变动。(打一军事用语)":"火力","女十八兮叹分离。(打《红楼梦》人名)":"杏奴","口若悬河滔滔不绝。(打一电影片名)":"无间道","支取回扣要追回。(打一书报名)":"聊斋志异篇目","走出黑胡同。(猜一物理名词)":"可见光","新加坡。(打一地名)":"原平","从头到尾没来过重庆。(打一成语)":"始终不渝","发现破绽及时补。(打一成语)":"见缝插针","小雪无雨水有余。(打一地名)":"当涂","沉默不语。(打一字)":"哈","直上九重天。(打一地名)":"通霄","虚胖。(猜一种食品)":"肉松","杆短杈多叶子大,青色灯笼树上挂,要是用它把油榨,家具船舱寿命延。(打一植物)":"油桐树","宋朝被后人称为“弱小的宋国”的重要原因的一项政策是什么?":"","逸仙胸中事,时铭华夏情。(打一书报名)":"文心雕龙","南昌起义时,当时最年轻,开国后是元帅的人物是谁?":"林彪","白娘子被困。(打一国家)":"卡塔尔","一物生来身穿三百多件衣,每天脱一件,年底剩张皮。(猜一日常用品)":"日历","政府部门无计可施。(猜成语)":"机关算尽","天堂之门。(猜一地名)":"神户","八宝饭比八宝粥价廉。(打五字成语)":"物以稀为贵","大开绿灯。(打一中草药名)":"路路通","存心不善,有口难言。(打一字)":"亚","云盖中秋月,雨淋元宵灯。(打一成语)":"下落不明","暗访山东。(打二字国家名)":"秘鲁","自己没一点主见。(打二字常用语)":"体现","废李后,弃孤儿。(打一水果)":"木瓜","禄山宫中养作儿。(打一书报名)":"王子安","斋前美女少一人。(猜一演员)":"姜文","卡通。(打一地名)":"开封","枫林未染。(打一国家)":"不丹","起宏图。(打一中草药名)":"远志","一个孩子生的好,衣服穿了七八套,头上戴着红缨帽,身上装着珍珠宝。(猜植物一)":"玉米","高台对映月分明。(打一字)":"昙","口比肚子大,给啥就吃啥它吃为了你,你吃端着它。(打一日常用品)":"饭碗","六王毕,四海一。(打《红楼梦》人名":"秦邦业","龙王到处雨倾盆。(猜一成语)":"君临天下","担土筑堤道初成。(国名)":"新加坡","莫点玉成瑕。(打一书报名)":"晚霞","探望往日同窗。(打一明星)":"张学友","山中无老虎·脱帽格成语":"沐猴而冠","一黑一白斗智斗勇。(打一物品)":"围棋","寡言。(打一气象用语)":"少云","皇后。(打一地名)":"凤凰古城","离别正堪悲。(打一歌曲名)":"欢聚","白如玉,穿黄袍,只有一点大,都是宝中宝。":"稻子","头上一朵花,脚下一把刷,腰里抱个金娃娃":"玉米","狗过了独木桥就不叫了。(猜一成语)":"过目不忘","先提携而后桑食。(打一植物)":"扶桑","知人知面亦知心。(打一地名)":"三明","众芳竞艳。(打《水浒传》人名)":"花荣","西湖楼前梅参差。(打一地名)":"海林","人到愁来无处会。(打一植物)":"合欢","木苗断后忙接合。(猜一水果名)":"芒果","说走就走。(打一成语)":"","僧穿彩衣。(打《水浒传》人物绰号)":"花和尚","飞香走红满天春。(打一植物)":"凌霄花","耶稣语录。(打一电影)":"神话","如来掌中,悟空折腾。(打一书报名)":"随便翻翻","拿起锄头除除草,活动筋骨不会老。(打一节日)":"劳动节","前面来只船,舵手在上边来时下小雨,走后路已干。(猜一日常用品)":"熨斗","家住水村泥塘,身穿湖绿衣裳,不见受胎怀孕,只见大肚啷当。(打一植物)":"茭白","两三朵云封太岳。(打一书报名)":"陆押官","事事齐全说汉高。(打《三国演义》人名)":"刘备","一顶小涩落在林中,一旦撑开,再难收拢。(打一植物)":"蘑菇","花前柳下一片香。(打一书报名)":"蕙芳","大脚皇后有喜。(外地名)":"马六甲","有志归完璞。(打一书报名)":"石头记","万籁俱寂。(打一地名)":"周宁","全面整顿。(打一地名)":"大理","东坡杖。(打一植物)":"扶苏","一轮明月照窗前。(打一礼貌用语)":"光临舍下","年终岁尾,不缺鱼米。(打一字)":"鳞","一户多人。(猜一字)":"扅","瓜中之王黄金龙,香甜奶香味儿浓。(打一植物)":"哈密瓜","脱粒机。(打一成语)":"吞吞吐吐","生根不落地,有叶不开花,街上有人卖,园里不种它。(打一植物)":"豆芽","入门无犬吠。(打一字)":"问","支取回扣要追回。(打一书报名)":"口技","提前一日再相逢。(打一食品)":"担担面","博褒妃笑一声。(打一书报名)":"烽烟图","工人个个要团结。(打一植物)":"天竹","只骗中年人。(打一成语)":"童叟无欺","童话。(打一文学用语)":"小说","主称会面难。(打一植物)":"鲜客来","会走路的豆子。(打一字)":"逗","各一方话鼠。(打一画家名)":"吴道子","简历。(猜一古书名)":"易经","有望冠军都包揽。(打一书报名)":"巴金全集","门外汉。(打《论语》一句)":"未入于室也","由来与共水纵横。(打一地名)":"黄州","自言自语。(打一书报名)":"我是一片云","德祖脱离主战场。(猜一语文名词)":"修辞格","白天不见鼠,晚上鼠为患。(猜象棋术语)":"黑方多子","圆圆形状似龙睛,一颗朱红值千金;红汁一流水灵灵,酸甜适口受欢迎。(打一植物)":"杨梅","半导体。(打一字)":"付","莺梭柳线结春恨。(打一书报名)":"织成","元宵虎会。(打一字)":"夤","草原一场大火。(打一水果)":"草莓","娄阿鼠问卦。(打一成语)":"做贼心虚","果皮红绿黄,果肉红白黄。(打一热带水果)":"番石榴","先礼后兵。(打一地名)":"仪征","重庆绿化好。(打一地名)":"青城山","掌声经久不息。(打北京一地名)":"延庆","进水行不成。(打一字)":"衍","元宵节后捷报多。(打一成语)":"喜出望外","扩建宅围。(打一旅游城市)":"张家界","渐渐安定。(打《水浒传》人名)":"徐宁","长江后浪推前浪。(打一四字常用语)":"高潮迭起","残红半落两相思。(猜蔬菜名)":"豇豆","岩上玉兔初露容。(打一地名)":"月牙山","红娘子,上高楼,心里疼,眼泪流。(打一日用品)":"蜡烛","一日千里说大雁。(打一地名)":"辽阳白塔","绿色叶子红色根,大力水手的最爱。(打一植物)":"菠菜","红叶日暮舟歇岸。(打一书报名)":"枫桥夜泊","小憩傍午客舍中。(打一地名)":"驻马店","初为人母。(打一称谓)":"新娘","暴富。(猜一歌名)":"短发","心,不左不右,不上不下。(打一字)":"忠","宰辅列传。(打一日常用品)":"相册","再三谦让。(打《三国演义》人名)":"\t陆逊","圆圆浆果色泽艳,草龙珠儿味道甜。(打一植物)":"葡萄","披黄衣,不用剥,酸眯眼,泡泡水。(打一植物)":"柠檬","秋灯暗淡月光明。(猜一花名)":"丁香","著手成春。(打一书报名)":"新年作","丰收。(打一字)":"移","元宵之后柳吐芽。(打一成语)":"节外生枝","一朝离散重相聚,今人已变旧时容。(打一节令)":"腊八节","日近黄昏。(打一地名)":"洛阳","小小个头似苹果,美女都爱当水果。(打一植物)":"番茄","固若金汤。(打河北一地名)":"保定","人到春天面貌新。(猜一音乐名词)":"合奏","弹无虚发,非兵器也,乃正气之。(一把兵器)":"小李飞刀","千里黄河水滔滔。(打一书报名)":"不息的浪潮","三两木耳。(打一地理名词)":"\t森林","两度失手后,理应受排挤。(猜一篮球术语)":"挡拆","日边红杏倚云栽。(打一植物)":"","拍一个巴掌。(打一地名)":"五指山","妈妈至死不开窍。(猜一三字称谓)":"老板娘","弟兄七八个,围着柱子坐,只要一分开,衣服就扯破。(打一植物)":"蒜","十五天。(猜一字)":"胖","层云隐去月当头。(打字一)":"屑","推迟战事。(打一地名)":"延安","开一半票,提一半货。(打一字)":"贾","白日不相逢。(打一植物)":"夜合","乞丐也看戏。(打一歌名)":"穷开心","滔滔不绝。(打一中草药名)":"长流水","坐也是卧,站也是卧,走也是卧,卧也是卧。(打一动物)":"不是蛇","一个黑孩,从不开口,要是开口,掉出舌头。(打一植物果实)":"瓜子","航班余票。(打一成语)":"有机可乘","登陆。(猜一书类)":"辞海","早不说晚不说。(打一字)":"许","十人九死。(打一中药名)":"独活","全部罗成。(打一书报名)":"不漏的网","园外隐约闻猿啼,星月小桥听萧声。(节日纪念日)":"元宵节","家家迎元宵。(学校用语)":"第二节","天才出于勤奋。(猜一工业用词)":"多功能","正月无初一。(打一字)":"肯","先生春节前回鲁南。(打一中草药名)":"茴香","花儿红艳,花儿成串,要问为何,害怕孤单。(打一植物)":"串红","方法论。(打一中草药名)":"白术","工于寻找突破点。(猜一股票名词)":"空头","红芭蕉种假山堆。(打一书报名)":"美人首","一。(打一成语)":"接二连三","革命!锤子加镰刀。(一个事件)":"十月革命","一唱雄鸡天下白。(打一植物)":"萱草","哑巴打手势。(打一成语)":"不言而喻","个人捐款。(打一地名)":"自贡","何必落泊重组合。(猜一神话人物)":"河伯","男子被阉实可哀。(猜古典名著)":"汉宫秋","小名叫作馍馍蛋,皮黄疙瘩不好看。(打一植物)":"马铃薯","圆圆的月亮高高挂。(打一电影明星)":"高圆圆","木兰之子。(猜一食物)":"花生","正是周处。(打一地名)":"中非","星际宝贝小可爱,蓝色脑袋思维快。(打一卡通人物)":"史迪奇","子房实欲复韩仇。(打一书报名)":"果报","四通八达。(打一成语)":"头头是道","鹿马驴牛它不像,却难猜是哪一样,打开天窗说亮话,它有自己亲爹娘":"麋鹿","千里春。(打一植物)":"广青","御医。(一个人物)":"黄药师","云中岳。(台中县地名)":"雾峰","万念不忘改革。(打一地名)":"怀化","一马离了西凉界。(猜一三字口语)":"别胡来","过江码头。(打一地名)":"渡口","百年好合。(猜一历史年号)":"永和","学狗坐,没狗高,又没耳朵又没毛。(猜一动物)":"青蛙","卉。(猜一植物名)":"南冠草","出手不凡。(打一花卉)":"仙人掌","糟糠之妻不可忘。(打一书报名)":"陋室铭","兄弟姐妹皆列士。(猜一历史年号)":"同光","湖畔树间飞鸟鸣。(打一地名)":"汉口","敲山震虎。(打一中草药名)":"驱风散","玖楼国里美公主,记忆羽毛有魔力。(打一卡通人物)":"小樱","相声。(打一成语)":"装腔作势","庄周梦化飞地府。(打一地名)":"蝴蝶泉","第11本书。(猜一成语)":"不可思议","垦荒。(打一地名)":"开原","职工考勤表。(打一书报名)":"劳动时报","夕阳旁的晚霞没有雨。(打一字)":"暇","只见得红妆半露。(打一神话人物)":"织女","一年相思。(打一植物)":"四季豆","纸老虎。(打一成语)":"外强中干","古道改造有大楔打一书报名)":"老路灯","九十春光桃灼灼。(打一植物)":"三月红","发现破绽及时补。(打一成语)":"见缝插针","领导植树我伴随。(打三字常用语)":"栽跟头","师承庞士元。(猜一学科)":"传统学","三扎两刺身自轻。(打一植物)":"五针松","没到终点,只得放下。(猜一字)":"络","辣椒市敞打一地名)":"辛集","三十六计,反复无常。(打一植物)":"槐树","屋漏偏逢连夜雨。(三字俗语)":"破落户","万年青。(打一植物)":"春不老","金箍桶,银箍桶,打开来,箍不拢。(猜一动物)":"蛇","子书。(打一书报名)":"写在深夜里","到了长城放声唱。(打一歌名)":"好汉歌","虽然处了对象,却无出嫁之意。(猜医学用语)":"偶有不适","三十出头的男人。(打二字节日)":"端阳","头大身子细,黑红珍珠粒,能养人和马,可造白兰地。(打一植物)":"高粱","或赤如丹砂,或绛若朱霞。(打一植物)":"一串红","久旱逢甘露。(打水浒传人物绰号)":"及时雨","电大广播。(打一字)":"庵","塞北山中遇黑夜,一再小心。(猜苏联历史人物)":"列宁","金灿灿,银灿灿,小小花儿真漂亮,秋风一吹喷喷香,你家我家万家香。(打一植物)":"桂花","皇。(打一成语)":"\t白玉无暇","已无钟磬连宵动。(打一地名)":"静安寺","沫若乡间住处。(打北京一地名)":"郭公庄","与君激战夜半时。(猜一外国哲学家)":"黑格尔","落地就会跑,胡子一大把,不管见了谁,总爱喊妈妈。(打一动物)":"山羊","举头望明月。(猜一人物)":"高圆圆","幽篁向阳人家,小桥会友月斜。(打一书报名)":"简爱","餐厅二十四小时营业。(天文学名词)":"日全食","上下一体。(打一字)":"卡","张清绝技。(打一地名)":"飞来石","把腐朽的东西扔进垃圾桶。(猜一成语)":"臭味相投","周郎新欢。(打五字宋词句一)":"小乔初嫁了","两点天上来。(打一字)":"关","天下珍品。(猜一著名商标)":"大宝","聊斋。(打一歌名)":"死了都要爱","马嵬坡下泥土中。(打一外国影片或游戏名)":"古墓丽影","要光明正大,不要搞阴谋诡计。(打一地名)":"宜阳","祢衡之死。(打一书报名)":"被操纵的谋杀","济人急难。(打《水浒传》人名)":"施恩","抽水泵。(打一字)":"石","一朝天子一朝臣。(打一地名)":"登封","春到它来临,催唤播种人,秋后它返回,遍传丰收音。(打一动物)":"布谷鸟","买东西能俭即俭。(猜商业活动)":"购物节","一心要当射箭手。(打一成语)":"矢志不移","南军归顺。(台湾地名)":"北投","庄生晓梦相迷,望帝春心。(打一词牌名)":"蝶恋花","妇女节前夕。(打一中草药)":"三七","白糖梅子真稀奇。(打一食物)":"元宵","战争画面。(打一书报名)":"烽烟图","一浪紧似一浪。(打一地名)":"波密","千年老宅人人知。(打一日本城市)":"名古屋","笔走龙蛇翰墨香。(打一书报名)":"芳草","霹雳一声见宝光。(打一地名)":"潮音寺","登顶再见。(打一四字常用语)":"高度重视","一句出口来,当面细分析。(打一国家)":"缅甸","返老还童。(猜一古代人物)":"颜回","让奴婢也来猜谜。(猜一古代官职)":"仆射","美梦。(打一成语)":"好景不长","生有一女是昭君。(打一字)":"墙","中午集合。(打一地名)":"罗马","社会在发展。(打《水浒传》人名)":"史进","情投意合。(打宁夏一地名)":"同心","一个小姑娘,生在水中央,身穿粉红衫,坐在绿船上。(打一植物)":"荷花","顶破天。(打一字)":"夫","君子意若何。(打一地名)":"兰考","蜜饯黄连。(打一成语)":"同甘共苦","春来植树勤出力。(打一植物)":"木槿","小雪无雨水有余。(打一地名)":"当涂","考取当求有为。(打一地名)":"中南海","乖。(打一成语)":"乘人不备","笑弯了腰。(打一音乐用语)":"乐曲","十步之泽必有香草。(打一植物)":"水花生","电脑卡死,随即掉线。(猜一成语)":"当机立断","华夏后人多俭省。(打一节日名)":"中秋节","了望全球。(打一书报名)":"看世界","巴黎之恋。(猜一电影影名)":"法内情","十四为君妇。(三字球类术语)":"小配合","小小古月有黑白,若要用时将它拍。(打一植物)":"胡椒","阮郎囊涩。(打一书报名)":"文人无文","谋到家财就离婚。(打一书报名)":"怀钱舍人","妇女解放翻身做主。(打一中国地名)":"山东","小矮人,有名姓,办大事,它作证。(打一文化用品)":"图章","唱歌不用嘴,声音真清脆,嘴尖像根锥,专吸树枝水。(一动物)":"蝉","天不绝曹。(打《三国演义》人名)":"魏续","带着平顶帽,身穿圆筒袄,虽然一只眼,暗中逞英豪。(打一日用品)":"手电筒","海湾战争美国率先突破伊拉克防空雷达网的是哪架战机?。(两个汉字)":"夜鹰","不知其三。(打一书报名)":"五通二则","少女原是公瑾妻。(打一字)":"娇","堂前草色入帘青。(打一书报名)":"小翠","上海一游愁心散。(传统节日)":"中秋","望帝姐。(猜一古代经书)":"弟子规","默转身,泪珠已成行。(猜一歌曲)":"天黑","被称为无冕之王的四代战斗机,但是竞标失败的飞机是?。(一个绰号)":"黑寡妇","白白黑黑绿绿红,百花园中我为王;洛阳族类甲天下,最是魏紫与姚黄。(打一植物)":"牡丹","屡试屡成。(打一动物名)":"百灵","自甘受骗。(猜水果一)":"柠檬","判为肝硬化。(猜杂志用语)":"半月刊","头顶长须长过身,幼时钻木是害虫。(打一昆虫)":"天牛","枫林未染。(打一国家)":"不丹","分明万点雨花前。(猜一古代人名)":"方腊","荐之于平原君。(打一成语)":"引人入胜","元宵回暖。(韵目带数)":"十四寒","离情终日思风波。(打一地名)":"爱晚亭","早上隐玉兔。(打一书报名)":"十月","都市少女。(打一国外城市)":"汉城","白娘子被困。(打一国家)":"卡塔尔","飞行员。(打一成语)":"\t有机可乘","女十八兮叹分离。(打《红楼梦》人名)":"杏奴","暗中下围棋。(打一成语)":"皂白不分","基友。(猜一小说人物)":"萧峰","一块变九块。(打一成语)":"四分五裂","北京午夜。(打一动物)":"燕子","百姐妹,千姐妹,同床睡,各盖被":"石榴","天。(猜一历史人物名)":"夫差","齿印花瓣四季开,茎大似竹叶青翠。(打一花卉)":"石竹","制酒术。(打一书报名)":"曲艺","弹丸之地。(打一字)":"尘","一出嵩山眼底清。(猜围棋术语)":"高目","只有谜底未变。(打一成语)":"面目全非","千朵万朵压枝低。(打一植物)":"花旺","说尽心中无限事。(一个清代年号)":"道光","周游列国广见识。(打一书报名)":"世界博览","改了百分之九十。(打一成语)":"一成不变","与日月同辉。(打一地名)":"明光","一个人含着包子坐在马桶上。(猜一成语)":"含苞待放","熙熙攘攘。(打一字)":"侈","自荐当向导。(打一书报名)":"我才知道","默默无语两眼泪。(猜医学名词)":"静滴","金秋映白帆,北行赏牡丹。(打一植物)":"海棠花","两点十分来游园。(打一字)":"尊","渡江测试。(打一书报名)":"经济参考","村后寺下日落时。(猜数量词)":"三寸","春来尚且获利中。(打一植物)":"堂梨","芬芳沁码头。(打一地名)":"香港","望美人兮天各一方。(打一字)":"娱","头脑聪明有好处。(打一国家名)":"智利","无底洞。(打一成语)":"深不可测","老板出门去城西。(猜一工业名词)":"成品","空有兽王之脉,却行逮鼠之差。(打一动物)":"猫","万户桃花红。(打一地名)":"侯马","小说《苦菜花》。(打一植物)":"书带草","重点干起,秋前方成。(打天津一地名)":"和平","阵前各方无一生。(打一字)":"隆","怒不可遏。(打一天文用语)":"大气","入幕之宾。(打一地名)":"西藏","大排小排,价钱便宜。(打三字常用语)":"贱骨头","欧洲见闻录。(打一书报名)":"西游记","在首都邂逅欧洲经典油画。(电影)":"北京遇上西雅图","除夕守岁。(打论语一句)":"终夜不寝","征稿。(打一字)":"救","空对空导弹。(打一成语)":"见机行事","奥运射击冠军。(打《水浒传》人物绰号)":"金枪手","内里有人。(打一字)":"肉","貞觀之治。(猜一演員)":"唐国强","悟空度寒暑,白龙踏清辉。(打一成语)":"猴年马月","头上亮光光,出门就成双背上缚绳子,驮人走四方。(打一物品)":"皮鞋","戒之在斗。(打唐五言诗一句)":"莫学武陵人","引出湖水广植林。(打一植物)":"胡麻","忽闻岸上踏歌声。(打一四字常用语)":"别唱高调","的士都没生意。(打一明星)":"车太贤","高高个儿一身青,金黄圆脸喜盈盈,天天对着太阳笑,结的果实数不清。(打一植物)":"向日葵","众芳摇曳落禅房。(打一地名)":"香积寺","宁愿向前一步死。(打一书报名)":"退休生活","叫它花,不是花,花园里头没有它,秋天你到田头看,满田开得白花花。(打一植物)":"棉花","车子开错路。(猜一用品)":"白花油","鲁迅行文如流水。(打一歌星)":"周笔畅","鲛人挥泪。(打一中草药名)":"珍珠散","请勿失约。(打一礼貌用语)":"别误会","烦恼的喜事。(打三字常用语)":"讨人厌","一江春水向东流。(打一地名)":"通海","旧内衣。(猜一称谓)":"老衲","鲛人挥泪。(打一中草药名)":"珍珠散","二三四五六七八九。(打一成语)":"缺衣少食","久别重逢。(打一中草药名)":"一见喜","肥胖丈夫苗条妻。(成语)":"重男轻女","半个西瓜样,口朝上面搁上头不怕水,下头不怕火。(打一日用品)":"锅","小时候吃得用不得,大时候用得吃不得。(打一植物)":"竹子","圆圆个头,头顶一撮毛。(打一植物)":"洋葱","恍然大悟。(打一中草药名)":"脑立清","敢上九天揽月。(打汽车名牌)":"凌志","七仙女嫁出去一个。(打一成语)":"六神无主","前后落得两分离。(猜一穴位)":"内关","当兵要有好思想。(打一军事用语)":"军需品","万家灯火闹元宵。(电影名)":"不夜城,乡情","头戴黄色帽,身穿绿色袄生的孩子多,向着太阳笑。(打一植物)":"向日葵","下联难配上联。(打三字礼貌用语)":"对不起","一言千金。(打商标名称)":"声宝","一封装着两颗蛋的信。(猜一成语)":"信誓旦旦","红红棒子地里钻,长长绿尾露在外。(打一蔬菜)":"胡萝卜","一夜鱼龙舞。(民俗风俗词语)":"元宵灯会","打边鼓。(打一成语)":"旁敲侧击","为储户保密。(打《四书》一句)":"慎言其余","有钱做官是君子。(打一乳品公司)":"富仕兰","三分之二为须眉。(打一书报名)":"男人的一半是女人","后起之秀。(打一植物)":"晚艳","蒙翳。(打一书报名)":"目的地不明","人无远虑,必有近忧。(打一成语)":"处心积虑","重向邯郸借枕头。(打一书报名)":"续黄粱","电话一来便就职。(打一成语)":"听之任之","人人向上。(打一植物)":"大雁腾空","一个男人光屁股坐在石头上。(猜成语)":"以卵击石","遥望兄弟登高处。(打一成语)":"一览无余","投放资金有方。(打一字)":"咨","生在山崖,落在人家凉水浇背,千刀万剐。(打一日常用品)":"磨刀石","直在其中矣。(打一地名)":"曲周","一江春水向东流。(打一中草药名)":"通大海","逃跑必要加鞭。(猜一成语)":"溜须拍马","垄上鸿鸟飞。(打一地名)":"龙江","一股暖流通遍全身。(猜物理名词)":"热能传递","高丽来的伊媚儿。(猜一古代人物)":"韩信","方丈一人先入住。(猜一称谓)":"大使","常食姜,不劳医生开药方。(宋词人)":"辛弃疾","总是放弃。(猜一作家)":"老舍","爱好旅游。(打一成语)":"喜出望外","上搭棚,下搭棚,开黄花,结青龙。(打一水果)":"丝瓜","菲律宾地方武装冲突。(打一歌名)":"是战争啊","花鸟鱼,梅兰竹。(打一植物)":"除虫菊","高台对映月分明。(打字一)":"昙","满身刺,种类多,吃阳光,少开花。(打一植物)":"仙人掌","水仙姑娘。(打一书报名)":"茶花女","王允布局巧赚人。(打一称谓)":"侄儿","皮黑肉儿白,肚里墨样黑,从不偷东西,硬说它是贼。(猜一动物)":"乌贼","古代文化。(打《三国演义》人名)":"史迹","洪湖歌声融暮色。(打《滕王阁序》一句)":"窜梁鸿于海曲","狼来了。(猜一食物)":"杨桃","人者何所乐。(猜一地名)":"应山","四季少了夏秋冬。(打一千家诗句)":"最是一年春好处","宝玉求婚。(猜一古代人物)":"林肯","三国乾坤之地,天下之腹是指哪一个地方?":"荆州","我的心里亮堂堂。(台湾作家)":"余光中","元前明后。(打《水浒传》人名)":"宋清","水陆要塞。(打一地名)":"山海关","外地网上我不动笔。(打一书报名)":"回乡偶书","若戏而必行之是周公教王遂过也。(打一植物)":"刺桐","保护视力。(猜一俗语)":"小心眼","心经之路。(打一地名)":"通道","壹贰叁肆伍陆柒捌玖。(打一书报名)":"拾遗记","赶制元宵闲不住。(五字口语)":"忙得团团转","只是近黄昏。(打一字)":"酱","太监在聊天。(猜一成语)":"无稽之谈","一群不要命的男人。(打一电影)":"敢死队","层云隐去月当头。(打一字)":"屑","翘翘板。(打一成语)":"此起彼伏","一一入史册。(打一字)":"更","给姥姥量身高。(猜称谓)":"丈母娘","老谋深算。(打一中草药名)":"苍术","满脸贴金。(打一食品)":"两面黄","千年铁树开了花。(打一书报名)":"今古奇观","一物生来力量强,又有爹来又有娘,有爹不和爹一姓,有娘不和娘一样":"骡","西安一住三星期。(打一字)":"醋","绝非人间寻常物。(猜一历史年号)":"天宝","宛转蛾眉马前死。(打一地名)":"玉环县","一个大,一个鞋一个跑,一个跳。(猜一字)":"骚","湖水月色空前。(打一国家)":"古巴","在家靠父母。(打一离合字)":"大人可倚","踏花归来蝶绕膝。(打一中草药名)":"香附","圣僧坐骑,猴王金甲。(打一成语)":"龙马精神","以谦为名以宋为姓。(打一书报名)":"于江","山明水秀。(台湾地名)":"景美","东方有战事。(打一地名)":"西安","为什么大地春常在。(打一地名)":"盘锦","举重比赛。(打一成语)":"斤斤计较","回眸一笑喊哥哥。(打四字电视剧名)":"还珠格格","换位称君。(打一食品)":"瓜子","袖珍葡萄树上挂,紫红果肉甜汁多。(打一水果)":"桑葚","池塘里一个碗,下雨装不满。(打一植物)":"荷叶","另有变动。(打一字)":"加","有啥值得骄傲的。(猜节气)":"小满","下跪引来风波。(猜一西药)":"拜斯亭","万万不可大意。(打一离合字)":"勿心忽","青青猪尾巴,龙须出嫩芽。(打一蔬菜)":"芦笋","玉兔东升芬芳溢。(花名)":"夜来香","一块钱掉在大便上。(猜一成语)":"视如粪土","百年树人。(猜化学名词)":"周期","对君吟别离。(打一乐器)":"口琴 ","洗手间客满。(射一成语)":"无一侧漏","人前只说三分话。(打一地名)":"陈留","洞口飘残云。(猜历史年号)":"同治","大的重组正兴起。(猜古称谓)":"举人","曾子何以真杀猪。(打一成语)":"非同儿戏","只因相思惹分非。(打一植物)":"土豆","笔上难写心中情。(打一字)":"白","男儿本自重横行。(打一唐代诗人)":"李白","气质优雅脖子长,走起路来好神气,一摇一摆乐逍遥。(打一动物)":"鹅","小小模样似喷头,青青池塘才会有;蜻蜓最爱头上留,停歇片刻立马走。(打一植物)":"莲蓬","好的斗牛士叫什么。(打一火热的动画片名字)":"圣斗士","十本漫画书加一本语文书。(打一四字成语)":"不可思议","小花儿,像喇叭,公鸡打鸣就开放。(打一植物)":"牵牛花","人在云端漫步。(打一字)":"会","黄黄金丸紧紧靠,果子似球批绒毛,独备四时之气者。(打一植物)":"枇杷","真丢人。(猜一字)":"直","子龙翼德皆老矣。(打一书报名)":"暮云飞","盲人摸象。(打一成语)":"不识大体","前面来只船,舵手在上边,来时下小雨,走后路已干。(打一电器)":"熨斗","天生一对,地配一双。(打一书报名)":"孤独的人","都说前面有的卖,诸位要买早日去。(打一书报名)":"读者","说走就走。(打一成语)":"言行一致","金乌西坠白头看。(河南地名)":"洛阳","先后赴美求发展。(猜穴位)":"关元","一经用心变化大,昔日一别容未改。(打一植物)":"芙蓉","样子看来很高大,果儿屁股穿铁甲,树干用来做家具,果实可做豆腐花。(打一植物)":"楷树","嫩叶下腹口留香,味道浓郁根细长。(打一蔬菜)":"香菜","精密巧匠,出必见血,暗影之王。(一把兵器)":"暴雨梨花针","一位游泳家,说话呱呱呱,小时有尾没有脚,大时有脚没尾巴。(猜一动物)":"青蛙","零工资上岗。(猜一酒名)":"白干","何处拾贝壳。(打一影视名)":"上海滩","正月没有初一。(猜一字)":"肯","头上一朵花,脚下一把刷,腰里抱个金娃娃。(打一植物)":"玉米","山水之间,一方独立。(打重庆一地名)":"涪陵","山在虚无缥渺中。(猜一中医术语)":"脉象不清","哭成一团。(打一乐器)":"圆号","故障女士。(猜一动物)":"瓢虫","让学两点外出。(打一字)":"字","举头望明月。(打一中草药名)":"当归","新年健康。(打一地名)":"正安","二月春风似剪刀。(四字病名)":"小叶增生","喜相逢。(打一地名)":"乐会","禁止搬家。(打《水浒传》人名)":"杜迁","离别四十年,本聚在元宵。(字谜)":"舞","男人站中间,妇孺站两边。(三字网络用语)":"","男人站中间,妇孺站两边。(三字网络用语)":"女汉子","夏秋冬皆不适。(猜一地名)":"宜春","白发日长厄困中。(打一字)":"栀","大树先进抓重点。(猜建筑材料俗称)":"木头","分明定下获七金。(打一日常用品)":"钥匙","原来却在两水间。(打一地名)":"涞源","红木。(打一地名)":"丹东","山在虚无飘淼间。(台中县地名)":"雾峰","不要耽搁见面。(猜一三字口语)":"别误会","鲜红的太阳永不落。(猜一地理词语)":"日照时间长","楼台接楼台,一层一层接起来,上面冒白气,下面水开花。(打一日用品)":"蒸笼","忽如一夜春风来。(打一植物)":"","十亿团结如一人。(打一地名)":"中国大连","情心已断奔月窟。(打一书报名)":"青娥","接下去又再分离。(猜一词牌名)":"冉冉云","上了年纪喝酒免费。(猜一酒类)":"老白干","枕前和泪拥君衣。(打一书报名)":"湘裙","正是见钱开眼耳。(打一书报名)":"聪明泉","柳暗花明又一村。(打一植物)":"树","并重。(打一成语)":"恰如其分","名字叫做牛,不会拉犁头,说它力气鞋背着房子走。(猜周杰伦的一首歌)":"蜗牛","铲除腐败。(猜一地质学术语)":"剥蚀","绿蔓藤,爱爬高,挂满七彩小喇叭。(打一植物)":"喇叭花","文远不识文长知。(打一成语)":"生张熟魏","鼠年旧岁。(打一人名)":"老子","开放不必存顾虑。(一个人物)":"张无忌","汶水长流到岭前。(打一地名)":"文山","采药去南面,非要一同行。(猜植物)":"韭菜","名酒博览会。(猜一田径运动员)":"周春秀","两人竞赛。(打二字常用词)":"对比","好读书。(打《论语》一句)":"学而不厌","身登青云梯。(猜一电脑名词)":"自动升级"," 疑是地上霜。(猜一三字口语)":"不明白","出自幽谷,迁于乔木。(猜一字)":"樂","樱桃小嘴。(猜一字)":"如","快刀斩乱麻。(打一成语)":"迎刃而解","过宋都风也。(打一书报名)":"赵城虎","展昭玉堂化前嫌。(动画片)":"猫和老鼠","木叶尽脱。(打一地名)":"余干","东征西讨北伐。(打一地名)":"南宁"," 六王毕,四海一。(打一小说人名)":"秦邦业","情投意合。(打一地名)":"同心","六出飞花点翠苔。(饮品)":"雪碧","万点风帆过大江。(打一地名)":"广济","越南。(猜一歌名)":"过火","天下警言记心怀。(猜一古代罪名)":"大不敬","汉朝文书。(打《三国演义》人名)":"刘表","老华侨重返故里。(打一数学名词)":"求根","星月与共伴终生。(打一传统节日)":"元宵节","知必言,言必果。(猜4字常言)":"不明不白","三省吾身。(打一中草药名)":"防己","财源茂盛达三江。(打广西一地名)":"富川","人生在世千般好。(猜一电子配件)":"阳极棒","破门而入。(打一地名)":"武进","自多情无所获。(打一书报名)":"爱的徒劳","老式波音。(打一歌曲名)":"涛声依旧","约会迟到,两颊发烧。(打一植物)":"晚来红","玉皇太后。(台湾地名)":"天母","晓红。(动物,徐妃格)":"蜘蛛","雄踞山寨。(打吉林一地名)":"公主岭","打遍天下无敌手。(打一植物)":"都胜","独木造高楼,没瓦没砖头,人在水下走,水在人上流。(打一用具)":"雨伞","煤球和元宵一样。(打一成语)":"黑白不分","娃哈哈。(打四字常用语)":"不大乐意","那悟空正念着如来。(打一植物)":"猴头菇","青梅煮酒论英雄。(打一歌曲名)":"双截棍","百里挑一。(打一节气)":"白露","妻子外出。(打二字常用语)":"内行","妇女解放翻身做主。(打一地名)":"山东","后村闺中听风声。(打一字)":"封","人尽可诛。(猜一数学词语)":"公式","圆圆个头脸羞红,大珠小珠落玉盘。(打一植物)":"石榴","初尝改革甜头来。(猜一历史事件)":"甘露之变","广而告之。(猜一古代诗人)":"李白","退席。(打《论语》一句)":"不在其位","未成油团。(打一外国小说)":"羊脂球","士。(打一人事用语)":"转干","无风无浪涛自停。(打一地名)":"宁波","今日秋鲸猜一中草药名)":"明天冬","泥里一条龙,头顶一个蓬,身体一节节,满肚小窟窿。(猜一植物)":"莲藕","在日本有了艳遇。(打一歌名)":"广岛之恋","沃野千里。(台中县地名)":"丰原","君临南岳。(打一地名)":"天子山","自然馈赠好礼物,中华美食展内涵。(打一纪录片)":"舌尖上的中国","黑云飘飘,边走边叫。(打一交通工具)":"火车","有洞不见虫,有巢不见峰,有丝不见蚕,撑伞不见人":"藕","氙氚。(打一成语)":"气吞山河","犹如丫丫翻了身。(打一字)":"从","飞阁流丹续黄粱。(打一书报名)":"红楼梦","醒后得知一场梦。(打《西游记》人名)":"悟空","庙建成菩萨到。(打上海一地名)":"静安寺","三岁孩童穿绿衣,摇摇摆摆水面嬉,大小官员不离我,万岁无我不登基。(打一植物)":"稻","卿本无心,休将人离,休将人离,又续东南诗。(打一植物)":"柳树","新春佳节话元宵。(报刊名)":"半月谈","茨山、溪水、北斗七星池。(一把兵器)":"龙泉剑","生在山崖,落在人家,凉水浇背,千刀万剐。(打一日用品)":"磨刀石","周扒皮。(打一成语)":"体无完肤","农产品。(打一成语)":"土生土长","留下栏前清清水。(猜中药)":"青果","埋在奴家心底。(打一字)":"怒 ","网置湖中。(打一地名)":"罗布泊","体形巨大不会飞,脖长无毛腿很长。(打一鸟类)":"鸵鸟","对镜打扮。(打一书报名)":"自动化仪表","无人像我乐陶陶。(打一省份简称)":"豫","父亲七十多一点。(打一字)":"较","一个位于华夏版图的中心点,兵家必争之地,三国时期更为突出是指哪一个地方?":"汉中","腿长胳膊短,眉毛盖着眼,有人不吱声,无人爱叫唤。(一动物)":"蝈蝈","不觉天已晓。(宋词句)":"照无眠","元宵出门赏灯。(常言俗语)":"外行看热闹","多少事,从来急。(打一地名)":"焦作","余生离合尚回顾。(猜《三国演义》人名)":"牛金","方寸直随佳人去。(猜穴位)":"中封","十五日。(打字一)":"胖"};triggers.newTrigger(/灯谜第(.*) (.*)答案:确定(.*)click(.*)/,function(m){dm=m[3].split(".");dm1=dm[0].split("_");dm2=dm1[1]+"_"+dm1[2];dm3=dm2.split("'");document.getElementById(dm3[0]).value=dengmi[m[2]];if(document.getElementById(dm3[0]).value!="undefined"){setTimeout(function(){clickbtn("确定");clickButton("riddles")},200)}},"caidengmi","");triggers.newTrigger(/获得(.*)碎片(.*)20(.*)20/,function(m){counthead=0},"ssp","");triggers.disableByCls("ssp");triggers.newTrigger(/你对著看山弟子说道:(.*)的高招!/,function(m){console.log("开始比试拦路npc");if(chuzhao_flag==0){runhit_open()}console.log(nowjob);if(nowjob!=""&&nowjob!="yx"){triggers.enableByCls("guolu2")}},"guolu","");triggers.newTrigger(/这儿没有这个人。/,function(m){if($("button.cmd_click_room").length>0){var a=$("button.cmd_click_room")[0].innerText;console.log(a);if(nowjob!="ql"&&nowjob!="pt"&&nowjob!="yx"&&a=="峨眉山门"){clickButton("n");setTimeout(checkbusy,1e3)}}},"guolu","");triggers.newTrigger(/战斗结束/,function(m){triggers.disableByCls("guolu2");clickButton("golook_room");runhit_close();console.log("战斗结束,继续寻路");setTimeout(function(){console.log($("button.cmd_click_room")[0].innerText);if(nowjob!=""&&$("button.cmd_click_room")[0].innerText=="峨眉山门"){clickButton("n");setTimeout(checkbusy,1e3)}},400)},"guolu2","");triggers.disableByCls("guolu2");triggers.disableByCls("guolu");triggers.newTrigger(/黄色毒蛇对著你喝道:「老不死!今日不是你死就是我活!」/,function(m){runhit_open()},"songshan_kill","");triggers.newTrigger(/黄色毒蛇死了/,function(m){triggers.disableByCls("songshan_kill");if(!is_fighting){runhit_close()}else setTimeout(runhit_close,3e3)},"songshan_kill","");triggers.disableByCls("songshan_kill");var ms_mapst=0;triggers.newTrigger(/四周白朦朦的,你隐约发现山道已到了尽头/,function(m){go("event_1_60035830")},"maoshan_pashan","");triggers.newTrigger(/在这里有一个小小的平台,你可以在这稍作休息。/,function(m){go("event_1_65661209")},"maoshan_pashan","");triggers.newTrigger(/你爬着山,山路实在难!你一不小心又摔了下来!/,function(m){go("golook_room")},"maoshan_pashan","");triggers.newTrigger(/这里鸟语花香,景色秀丽。一条小河从你脚下流过,河面上蒸腾着蒙蒙的雾气。/,function(m){if(ms_mapst==1){triggers.disableByCls("maoshan_pashan");nextdo()}if(ms_mapst==2){go("w")}},"maoshan_pashan","");triggers.newTrigger(/山石上已没落脚之处,再往上爬是不可能的。山壁上有一个洞口/,function(m){if(ms_mapst==1){go("s")}if(ms_mapst==2){triggers.disableByCls("maoshan_pashan");nextdo()}},"maoshan_pashan","");triggers.disableByCls("maoshan_pashan");triggers.newTrigger(/(.*)已经死了,只剩下一具尸体静静地躺在这里/,function(m){clickbtn("搜索")},"getcorpse","");triggers.newTrigger(/(.*)这具尸体显然已经躺在这里有一段时间了,正散发著一股腐尸的味道/,function(m){clickbtn("搜索")},"getcorpse","");triggers.newTrigger(/这是你今天完成的第(.*)\/10场正邪之战!/,function(m){console.log(m[0]);nowjob="";if(m[1]=="10"){ql_close()}go_home()},"wancheng","");triggers.newTrigger(/这是你今天完成的第(.*)\/5场逃犯任务!/,function(m){console.log("这是你今天完成的第"+m[1]+"/5场逃犯任务!");nowjob="";if(m[1]=="5"){tf_flag=0;btnList["开逃犯"].style.borderStyle="outset";btnList["开逃犯"].innerText="开逃犯"}go_home()},"wancheng","");triggers.newTrigger(/你今天的逃犯任务次数已达到上限/,function(m){console.log(m[0]);nowjob="";tf_flag=0;btnList["开逃犯"].style.borderStyle="outset";btnList["开逃犯"].innerText="开逃犯";go_home()},"wancheng","");triggers.disableByCls("wancheng");triggers.newTrigger(/(.*)对著(.*)喝道:(.*)今日不是你死就是我活!」/,function(m){if(qlnpc.indexOf(m[2])!=-1){console.log(m[0]);triggers.disableByCls("taofan");triggers.enableByCls("wancheng");if(database.tf_killset==0){opendonpc("杀死");console.log("逃犯杀黄!");killhaoren_tf();return}else if(database.tf_killset==1){opendonpc("杀死");console.log("逃犯杀红!");killeren();return}else{triggers.disableByCls("wancheng");console.log("tf_killset="+database.tf_killset)}}},"taofan","");triggers.disableByCls("taofan");triggers.newTrigger(/你从寒玉床上爬起,结束了这次练功。/,function(m){if(banxiaohao.indexOf(myName)==-1&&kfql_flag==0&&typeof dreamuser1!="undefined"&&vipplayer==true){nexttask=function(){go("items get_store /obj/quest/xuantie_suipian;jh 1;e;n;n;w;event_1_24319712;home;sleep_hanyuchuang;home;exercise stop;exercise")};checktask()}},"shuibed","");triggers.newTrigger(/你停止了打坐。/,function(m){if(banxiaohao.indexOf(myName)==-1&&kfql_flag==0&&typeof dreamuser1!="undefined"&&vipplayer==true){nexttask=function(){go("home;exercise")};checktask()}},"dazuo","");triggers.newTrigger(/任务所在地方好像是:(.*)你已经连续完成(.*)个任务。/,function(m){console.log(m[1]);if(m[1].indexOf(smtask)!=-1){triggers.disableByCls("shimenf5");return}else if(m[1].indexOf(smtask)==-1){shimenf5();return}},"shimenf5","");triggers.disableByCls("shimenf5");function newxutupo(){go("items get_store /obj/med/tupodan;items get_store /obj/med/tupodan2");var tpready1="enable "+skillnames[tuposkill];var tp1="tupo go,"+skillnames[tuposkill];topogo=tpready1+";"+tp1+";";if(kfql_flag==0&&typeof dreamuser1!="undefined"&&vipplayer==true&&tupojiasu==0){setTimeout(function(){go(topogo+"items put_store obj_tupodan;items put_store obj_gaojitupodan")},1e3)}else if(kfql_flag==0&&typeof dreamuser1!="undefined"&&vipplayer==true&&tupojiasu==1){var tupospeed1="tupo_speedup2 "+skillnames[tuposkill]+" go";var tupospeed2="tupo_speedup "+skillnames[tuposkill]+" go";tupogo1=tupospeed1+";"+tupospeed2+";prev";setTimeout(function(){go(topogo+tupogo1)},1e3)}}function jz_tupo(){go("items get_store /obj/med/tupodan2;items get_store /obj/shop/tupo_jiasuka;hhjz xiulian;;;?修炼剑阵;hhjz xiulian go;prev")}function jz_js(){triggers.enableByCls("xutupo_jz");go("hhjz speedup go")}triggers.newTrigger(/你的(.*)成功向前突破了/,function(m){playwarn_task();if(ai_autotupo==0){setTimeout(function(){tuposkill=m[1].replace(" ","");nexttask=function(){suantupo()};checktask()},1800)}else{database.tuposkill=m[1].replace(" ","");nexttask=ai_tupojiance1;checktask()}},"xutupo","");triggers.newTrigger(/^(.*)阵升级完毕(.*)成功升级到(.*)】/,function(m){console.log(m[0]);nexttask=jz_tupo;checktask()},"xutupo","");triggers.newTrigger(/^加速卡每24小时之内只可使用一张,剩余(.*)后可以继续使用/,function(m){triggers.disableByCls("xutupo_jz");console.log("还要"+m[1]+"后才能加速");if(m[1].indexOf("时")>-1&&m[1].indexOf("分")>-1){var a=parseInt(m[1].split("时")[0]);var b=parseInt(m[1].split("时")[1].split("分")[0]);var c=6e4*b+3602e3;if(a==1){console.log("隔1小时又"+b+"分钟后再加速剑阵");setTimeout(function(){console.log("正在执行一次延时加速剑阵");nexttask=jz_js;checktask()},c)}else if(a==0){console.log("隔0小时"+b+"分钟后再加速剑阵");setTimeout(function(){nexttask=jz_js;checktask()},b*6e4)}else{console.log("加速卡cd较长,正在校正加速剑阵定时器时间");myDate=new Date;var d=myDate.getHours();var e=myDate.getMinutes();dsjzjs_m=parseInt(b+e);if(dsjzjs_m<60){dsjzjs_h=(d+a)%24}else if(dsjzjs_m>=60){dsjzjs_m=dsjzjs_m%60;dsjzjs_h=(d+a+1)%24}database.ds_jzjs=dsjzjs_h+":"+dsjzjs_m;console.log("已校正定时加速剑阵时间为:"+database.ds_jzjs)}}else if(m[1].indexOf("分")>-1&&m[1].indexOf("秒")>-1){var a=parseInt(m[1].split("分")[0]);var b=parseInt(m[1].split("分")[1].split("秒")[0]);var c=6e4*a+1e3*(b+1);console.log("隔"+a+"分钟"+(b+1)+"秒后再加速剑阵");setTimeout(function(){console.log("正在执行一次延时加速剑阵");nexttask=jz_js;checktask()},c)}},"xutupo_jz","");triggers.newTrigger(/^你使用突破加速卡x1成功加速了升级(.*)阵24小时/,function(m){console.log(m[0]);triggers.disableByCls("xutupo_jz");myDate=new Date;dsjzjs_h=myDate.getHours();dsjzjs_m=myDate.getMinutes();if(database.ds_jzjs!="关闭"){database.ds_jzjs=dsjzjs_h+":"+dsjzjs_m;console.log("已自动校正定时加速剑阵时间为:"+database.ds_jzjs);dsjzjs_h=parseInt(database.ds_jzjs.split(":")[0]);dsjzjs_m=parseInt(database.ds_jzjs.split(":")[1])}},"xutupo_jz","");triggers.disableByCls("xutupo_jz");var inbag="false";function readbag(x){inbag="false";var t=$("tr[bgcolor]:contains(两)").siblings();if(t.length>0){for(var i=0;i-1&&tupotime1.indexOf("时")>-1){tupoh1=parseInt(tupotime1.split("天")[0]*24)+parseInt(tupotime1.split("天")[1].split("时")[0]);tupojishi1=(tupoh1+1)*36e5;console.log("技能1剩余小时数:"+tupoh1+",合计~"+tupojishi1)}if(tupotime1.indexOf("时")>-1&&tupotime1.indexOf("分")>-1){tupoh1=parseInt(tupotime1.split("时")[0]);tupom1=parseInt(tupotime1.split("时")[1].split("分")[0]);tupojishi1=tupoh1*36e5+(tupom1+1)*6e4;console.log("技能1剩余小时数:"+tupoh1+",分钟数:"+tupom1+",合计~"+tupojishi1)}if(tupotime1.indexOf("分")>-1&&tupotime1.indexOf("秒")>-1){tupom1=parseInt(tupotime1.split("分")[0]);tupos1=parseInt(tupotime1.split("分")[1].split("秒")[0]);tupojishi1=tupom1*6e4+(tupos1+1)*1e3;console.log("技能1剩余分钟数:"+tupom1+",秒钟数:"+tupos1+",合计~"+tupojishi1)}console.log(tuposkill1+"~~"+tupojishi1);if(tupojishu>1){tuposkill2=m[1].split("加速")[2].split("(")[0];tupotime2=m[1].split("加速")[2].split("余")[1].split(")")[0];console.log("当前突破技能2:"+tuposkill2+"~"+tupotime2);if(tupotime2.indexOf("天")>-1&&tupotime2.indexOf("时")>-1){tupoh2=parseInt(tupotime2.split("天")[0]*24)+parseInt(tupotime2.split("天")[1].split("时")[0]);tupojishi2=(tupoh2+1)*36e5;console.log("技能2剩余小时数:"+tupoh2+",合计~"+tupojishi2)}if(tupotime2.indexOf("时")>-1&&tupotime2.indexOf("分")>-1){tupoh2=parseInt(tupotime2.split("时")[0]);tupom2=parseInt(tupotime2.split("时")[1].split("分")[0]);tupojishi2=tupoh2*36e5+(tupom2+1)*6e4;console.log("技能2剩余小时数:"+tupoh2+",分钟数:"+tupom2+",合计~"+tupojishi2)}if(tupotime2.indexOf("分")>-1&&tupotime2.indexOf("秒")>-1){tupom2=parseInt(tupotime2.split("分")[0]);tupos2=parseInt(tupotime2.split("分")[1].split("秒")[0]);tupojishi2=tupom2*6e4+(tupos2+1)*1e3;console.log("技能2剩余分钟数:"+tupom2+",秒钟数:"+tupos2+",合计~"+tupojishi2)}console.log(tuposkill2+"~~"+tupojishi2);tupojishi=Math.min(tupojishi1,tupojishi2);console.log("最小剩余时间(毫秒):"+tupojishi);if(tupojishi<36e6&&tupojishu==2){console.log("尚有两个技能未突完,本次延时(毫秒)"+tupojishi);go("prev;prev");setTimeout(newxutupo,tupojishi+600)}if(tupojishi>=36e6&&tupojishu==2){console.log("尚有两个技能突破剩余时间超过十小时,立刻续突破");newxutupo()}if(tupojishu==3){console.log("已经在突破三个技能了,立即返回");go("prev;prev")}}if(tupojishu==1){tupojishi=300;console.log("当前正在突破一个技能,立即接着突破本次刚突破完成的技能");setTimeout(newxutupo,tupojishi)}triggers.disableByCls("suantupo")},"suantupo","");triggers.newTrigger(/你当前没有突破任何技能,快去突破吧。/,function(m){triggers.disableByCls("suantupo");console.log("当前没有在突破技能,立刻续突破");newxutupo()},"suantupo","");triggers.disableByCls("suantupo");function clickbtn1(s){var b=$(".cmd_click2");for(var i=0;i]+>/g,"").indexOf(s)>-1){b[i].click();return}}}function clickbtn2(s){var b=document.getElementById("out2").getElementsByTagName("button");for(var i=0;i]+>/g,"").indexOf(s)>-1){b[i].click();return}}}function clickbtn3(s){var b=$(".cmd_click3");for(var i=0;i]+>/g,"").indexOf(s)>-1){b[i].click();return}}}var ssyxtime=0,yxss_flag=0;function searchYouxia(){if(btnList["搜游侠"].innerText=="搜游侠"){var a=prompt("请输入当前游侠出现的地点-当前游侠中文名称",yxadd+"-"+yxer);if(!a){return}yxss_open();yxadd=a.split("-")[0];yxer=a.split("-")[1];triggers.enableByCls("yxss");go_yx(yxer,yxadd)}else{yxss_close()}}function yxss_open(){yxss_flag=1;btnList["搜游侠"].innerText="不搜了";btnList["搜游侠"].style.borderStyle="inset"}function yxss_close(){yxss_flag=0;btnList["搜游侠"].innerText="搜游侠";btnList["搜游侠"].style.borderStyle="outset"}var qlnpc="二娘",qladd="钱庄",qlthing="狂暴丹";function searchqinglong(){var a=prompt("输入青龙地点-青龙红名npc(需要杀黄名请在开青龙选项里设置)-青龙物品(主要是区分青龙等级判断血量用)",qladd+"-"+qlnpc+"-"+qlthing);qladd=a.split("-")[0];qlnpc=a.split("-")[1];qlthing=a.split("-")[2];go_ql(qladd,qlthing);chuzhao_open();clickButton("enforce "+enforcePoints);ql_num=0;triggers.enableByCls("ql_gomap1")}function qlxq(){var name=myName,m="您好,非常抱歉,您不是道长的授权用户,无法使用自动青龙游侠功能";if(typeof dreamuser1!="undefined"&&vipplayer==true){qlrob=prompt("请设置您的青龙需求",qlrob)}else{qlrob="0";alert(name+m)}}var od_npcxl=[];function goadd(s){var a=s.split("-");if(a.length==2){ad1=a[0];npc=a[1];go_sm(ad1,npc);if(nowjob=="mt"||nowjob=="sm"||nowjob=="xl"){xl_ask(npc)}else{xl_ask(0)}}else if(a.length==1){npc=a[0];od_npcxl=[];for(var i=0;i-1){od_npcxl.push(mapNames[i]+"-"+b[j])}}}var e=Object.getOwnPropertyNames(emeishan_m1);var f=Object.getOwnPropertyNames(songshan_m1);var g=Object.getOwnPropertyNames(maoshan_m1);var h=Object.getOwnPropertyNames(maoshan_m2);for(var i=0;i-1){od_npcxl.push("峨眉山-"+e[i])}}for(var i=0;i-1){od_npcxl.push("嵩山-"+f[i])}}for(var i=0;i-1){od_npcxl.push("茅山-"+g[i])}}for(var i=0;i-1){od_npcxl.push("茅山-"+h[i])}}if(od_npcxl.length==0){console.log("地图库暂无npc"+npc+"的数据");console.log("正在尝试直接点链接传送一次。");go("+"+npc)}else if(od_npcxl.length==1){console.log("开始寻找"+od_npcxl[0]);ad1=od_npcxl[0].split("-")[0];npc=od_npcxl[0].split("-")[1];go_sm(ad1,npc);if(nowjob=="mt"||nowjob=="sm"||nowjob=="xl"){xl_ask(npc)}}else if(od_npcxl.length>1){var a="";var b;for(var i=0;i-1){a=a.split(")")[1]}xl_askfunc=function(){setdonpc(a,"对话")}}else{xl_askfunc=function(){console.log("本次寻路不执行对话操作")}}}function google_npc(s,x){var a=[];var c="谷歌引擎发现多个有可能的搜索结果...\n请选择一个你需要的结果:\n";var e=0;for(var i in xuanhong_walkway){var b=Object.getOwnPropertyNames(xuanhong_walkway[i]);for(var j=0;j-1){a.push(i+"-"+b[j])}}}if(a.length==0){console.log("抱歉,脚本库无该条关键字的搜索结果")}else if(a.length==1){console.log("你选择了"+a[0]);var f=a[0].split("-")[0];var g=a[0].split("-")[1];words2(a[0]+">>"+xuanhong_walkway[f][g]);if(typeof x!="undefined"&&parseInt(xuanhong_walkway[f][g].split(";")[0].replace("jh ",""))>nowjh){words1("你当前未解锁该地图,请用谜题飞到该图起点后再谷歌寻人");console.log("关卡未解锁,请谜题飞往起点后寻路")}else{xl_ask(g);nextgo=function(){setTimeout(xl_askfunc,500)};go(xuanhong_walkway[f][g]+";$")}}else if(a.length>1){for(var k=0;k>"+xuanhong_walkway[f][g]);if(typeof x!="undefined"&&parseInt(xuanhong_walkway[f][g].split(";")[0].replace("jh ",""))>nowjh){words1("你当前未解锁该地图,请用谜题飞到该图起点后再谷歌寻人");console.log("关卡未解锁,请谜题飞往起点后寻路")}else{xl_ask(g);nextgo=function(){setTimeout(xl_askfunc,500)};go(xuanhong_walkway[f][g]+";$")}}}}function go_backway(s){var a=s.split(";");var b="";for(var i=0;i-1){a.push(i+"-"+b[j])}}}if(a.length==0){console.log("抱歉,脚本库无该条关键字的搜索结果")}else if(a.length==1){console.log("你选择了"+a[0]);var f=a[0].split("-")[0];var g=a[0].split("-")[1];words2(a[0]+">>"+xuanhong_walkway[f][g]);go_backway(xuanhong_walkway[f][g])}else if(a.length>1){for(var k=0;k>"+xuanhong_walkway[f][g]);go_backway(xuanhong_walkway[f][g])}}}var myadd="小二",xl_popbk=createPop("寻路集");var xl_pop=popList["寻路集"];xl_pop.style.fontSize="12px";xl_pop.style.color="green";xl_pop.style.background="#B2DFEE";xl_pop.innerHTML="
请输入寻路地点(-隔开,如大理-段王爷或者段王爷或者王爷)
(百度引擎支持关键字搜索)
";var xl_input=document.createElement("input");xl_input.placeholder=myadd;xl_input.value=myadd;xl_input.style.border="1px solid #333";xl_input.style.width="120px";xl_input.style.margin="5px 10px 2px 0";xl_pop.appendChild(xl_input);var xl_ensure=document.createElement("button");xl_ensure.innerText="百度一下";xl_ensure.style.border="1px solid #333";xl_ensure.style.width="70px";xl_ensure.style.height="20px";xl_ensure.style.margin="0px 10px 0px 0px";xl_ensure.style.color=color;xl_ensure.style.background=ground;xl_pop.appendChild(xl_ensure);xl_ensure.addEventListener("click",function(){myadd=xl_input.value;xl_popbk.style.display="none";nowjob="xl";goadd(myadd)});var xl_ensure1=document.createElement("button");xl_ensure1.innerText="谷歌一下";xl_ensure1.style.border="1px solid #333";xl_ensure1.style.width="70px";xl_ensure1.style.height="20px";xl_ensure1.style.margin="0px 10px 0px 0px";xl_ensure1.style.color=color;xl_ensure1.style.background=ground;xl_pop.appendChild(xl_ensure1);xl_ensure1.addEventListener("click",function(){myadd=xl_input.value;xl_popbk.style.display="none";google_npc(myadd)});var xl_ensure2=document.createElement("button");xl_ensure2.innerText="谷歌反向";xl_ensure2.style.border="1px solid #333";xl_ensure2.style.width="70px";xl_ensure2.style.height="20px";xl_ensure2.style.margin="0px 5px 0px 10px";xl_ensure2.style.color=color;xl_ensure2.style.background=ground;xl_pop.appendChild(xl_ensure2);xl_ensure2.addEventListener("click",function(){myadd=xl_input.value;xl_popbk.style.display="none";google_npcre(myadd)});var mybtns=[];function xl_addmapbtns(){mybtns=[];var mydiv=document.createElement("div");xl_pop.appendChild(mydiv);for(var i=0;i请选择你要进行的跨服副本";createPopButton("极武坛","跨服副本",jiwutan);createPopButton("十二宫","跨服副本",shiergong);createPopButton("单挑三老","跨服副本",dantiaosanlao);createPopButton("十万苗疆","跨服副本",shiwanmiaojiang);createPopButton("破解阵法","跨服副本",pojiezhenfa);function kffbfunc(){if(btnList["跨服副本"].innerText=="跨服副本"){kffb_popbk.style.display=""}else{btnList["跨服副本"].innerText="跨服副本"}}function setAll(){var cache=prompt("请输入区号,出招技能,加力点数,补血内功,回血下限,跨服开关",quid1+","+mySkillLists+","+enforcePoints+","+myForce+","+limitQixue+","+kfql_flag);console.log(cache);quid1=cache.split(",")[0];quid="["+quid1+"区]";mySkillLists=cache.split(",")[1];cz_skills=mySkillLists.split(";");enforcePoints=cache.split(",")[2];myForce=cache.split(",")[3];limitQixue=cache.split(",")[4];kfql_flag=cache.split(",")[5];playwarn_task()}function limit(){if(database.buttonhiden==1){buttonhiden=1;btnList["显按钮"].innerText="隐按钮";showButton()}if(database.clearft==1){clearft_open()}if(database.cz_flag==1){chuzhao_open()}if(database.cz_flag==2){chuzhao_zhaohuan()}if(database.cz_flag==3){chuzhao_single()}if(database.zx_flag==1){zx_set=database.zx_set;setTimeout(zx_open,3e3)}if(database.shixiao_flag==1){shixiao_open()}if(database.clearbug==1){clearbug_open()}if(typeof dreamuser1!="undefined"&&vipplayer==true){g_gmain.recvNetWork2(HIB+"您是正版授权用户,需求不限"+"\n"+NOR);qiyongButton();if(database.ql_flag==1){ql_killset=database.ql_killset;ql_open()}if(database.yx_flag==1){yxhandle=database.yxhandle;youxia_open()}if(database.fightbtn_flag==1){fightbtn_open()}return}else{qlrob="没出钱还想要自动抢青龙?省省吧。要买权限请找道长"}}function yxlimit(){if(typeof dreamuser1!="undefined"&&vipplayer==true){writeout("您是正版授权用户,已为你开启自动游侠","rgb(118, 235, 32)")}else{youxia_close()}}function qllimit(){if(typeof dreamuser1!="undefined"&&vipplayer==true){writeout("您是正版授权用户,已为你开启自动青龙","rgb(118, 235, 32)");triggers.enableByCls("wancheng")}else{ql_close()}}function pozhaolimit(){if(typeof dreamuser1!="undefined"&&vipplayer==true){writeout("您是正版授权用户,已为你开启自动破招","rgb(118, 235, 32)")}else{pozhao_close()}}function lookyxneed(){var name=myName,yxmsg="-----温馨提示:游侠功能并不是坏的,如果你没开游侠或者没向道长购买权限,自然没法使用本功能-----",qlmsg="-----温馨提示:授权用户可以通过编辑脚本里的青龙需求并保存进行自行设置青龙需求-----",info=name+"您好,您的青龙需求为:"+qlrob+".."+"青龙杀人选项为"+ql_killset+".."+"(0是杀好人,1是杀坏人)"+qlmsg,msg1s="------您的游侠需求为:"+yx_flag+yxmsg,msg2s="------您的本服逃犯需求为:"+tf_killlist.split(",")[0]+",跨服逃犯需求为:"+tf_killlist.split(",")[1];alert(info+msg1s+msg2s)}function autoEquipOff(){go("auto_equip off")}var chuzhao_fj=0;function fujia_switch(){if(chuzhao_fj==0){if(cz_flag==1&&is_fighting){fujia_qun()}else{alert("初次使用附群伤请在出绝学且战斗状态的条件下开启"+cz_flag+","+is_fighting)}}else if(chuzhao_fj==1){if(cz_flag==1&&is_fighting){fujia_du()}else{alert("初次使用附叠毒请在出绝学且战斗状态的条件下开启"+cz_flag+","+is_fighting)}}else if(chuzhao_fj==2){fujia_close()}}function fujia_qun(){chuzhao_fj=1;btnList["不附加"].innerText="附群伤";fujia_handle()}function fujia_du(){chuzhao_fj=2;btnList["不附加"].innerText="附叠毒";fujia_handle()}function fujia_close(){chuzhao_fj=0;btnList["不附加"].innerText="不附加";cz_skills=mySkillLists.split(";");console.log("检测到出招模式变动,附加技能已关闭")}function wuxingEquip(){if(btnList["悟性装"].innerText=="悟性装"){btnList["悟性装"].innerText="战斗装";equipset_re();var a=database.wxequip_ss.split(";");var b="";for(var i=0;i2){g_gmain.notify_fail(HIG+"出单招:"+mySkillLists.split(";")[0]+NOR);cz_skills=[mySkillLists.split(";")[0]]}clearInterval(auto_fight);auto_fight=setInterval(auto_fight_handle,1e3);triggers.disableByCls("dalou_fight");triggers.disableByCls("fight_zhaohuan")}function chuzhao_dalou(){tell_fujia();cz_flag=6;database.cz_flag=6;btnList["不出招"].innerText="打楼";cz_skills=mySkillLists.split(";");clearInterval(auto_fight);triggers.enableByCls("dalou_fight");triggers.disableByCls("fight_zhaohuan");qknum=0}function chuzhao_jz(){tell_fujia();cz_flag=5;database.cz_flag=5;zh_num=0;btnList["不出招"].innerText="出招精准";cz_skills=mySkillLists.split(";");clearInterval(auto_fight);triggers.disableByCls("dalou_fight");triggers.disableByCls("fight_zhaohuan")}function chuzhao_close(){tell_fujia();cz_flag=0;database.cz_flag=0;btnList["不出招"].innerText="不出招";clearInterval(auto_fight);triggers.disableByCls("dalou_fight");triggers.disableByCls("fight_zhaohuan");clearInterval(cz_time)}var zh_num;triggers.newTrigger(/(玄阴符兵|金甲符兵)加入了战团!/,function(m){if(m[1]=="玄阴符兵"&&zh_num==0){zh_num++;console.log("换茅山道术");cz_skills=["茅山道术"];clearInterval(auto_fight);auto_fight=setInterval(auto_fight_handle,1e3);return}else if(m[1]=="金甲符兵"&&zh_num==0){zh_num++;console.log("换天师灭神剑");cz_skills=["天师灭神剑"];clearInterval(auto_fight);auto_fight=setInterval(auto_fight_handle,1e3);return}else{console.log("换绝学");chuzhao_open();triggers.enableByCls("fight_zhaohuan")}},"fight_zhaohuan","");triggers.newTrigger(/战斗结束/,function(m){console.log("复位");clickButton("prev_combat");chuzhao_zhaohuan()},"fight_zhaohuan","");triggers.disableByCls("fight_zhaohuan");function showfightmsg(){$("div#ft1").remove();for(var i=1;i<9;i++){if(g_obj_map.get("msg_vs_info").get("vs1_name"+i)){$("span.vader1"+i)[0].innerHTML='
'+g_obj_map.get("msg_vs_info").get("vs1_force"+i)+'('+g_obj_map.get("msg_vs_info").get("vs1_xdz"+i)+")
"}if(g_obj_map.get("msg_vs_info").get("vs2_name"+i)){$("span.vader2"+i)[0].innerHTML='
'+g_obj_map.get("msg_vs_info").get("vs2_force"+i)+'('+g_obj_map.get("msg_vs_info").get("vs2_xdz"+i)+")
"}}}function dz_shuaqijue(){if(is_fighting){if($("span.out2>table>tbody>tr")[2].innerHTML.indexOf("width:50%")>-1){$("span.out2>table>tbody>tr")[2].innerHTML=$("span.out2>table>tbody>tr")[2].innerHTML.replace('colspan="2"',"").replace("width:50%","width:25%");$("span.out2>table>tbody>tr")[2].innerHTML=$("span.out2>table>tbody>tr")[2].innerHTML.replace('colspan="2"',"").replace("width:50%","width:25%")}if($("td#skill_7").length==0){$("span.out2>table>tbody>tr")[2].innerHTML+=''}if($("td#skill_8").length==0){$("span.out2>table>tbody>tr")[2].innerHTML+=''}}}function fujia_handle(){if(chuzhao_fj==1){console.log(sk);var a=(sk+"").split(",");var b="";var c="九溪断月枪-燎原百破-天火飞锤-玄胤天雷-昊云破周斧-四海断潮斩";var d="";for(var i=0;i-1){b=a[i]}}if(b==""){b=a[a.length-1]}console.log(a.length+"群伤接棍(三绝或出绝学最后一个):"+b);for(var i=1;i<7;i++){var e=document.getElementById("skill_"+i).innerText;if(e=="千影百伤棍"||e=="破军棍诀"){d=e}}console.log("已装备的棍子江湖:"+d);if(d!="千影百伤棍"&&d!="破军棍诀"){fujia_close();console.log("检测到你没必刷棍子江湖,无法附加群伤")}else if((d=="千影百伤棍"||d=="破军棍诀")&&b!=""){sk=[d,b];console.log("已设置附加群伤出招数组为:"+sk)}}else if(chuzhao_fj==2){console.log("出绝学已附加无影毒阵(没准备则会7气随机出)");sk=["无影毒阵"]}}var ngcount=0,sk="",bx_buff=0;function auto_fight_handle(){if(cz_flag!=0&&is_fighting){var dot=gSocketMsg.get_xdz();var force=parseInt(g_obj_map.get("msg_attrs").get("force"));var max_force=parseInt(g_obj_map.get("msg_attrs").get("max_force"));var kee=parseInt(g_obj_map.get("msg_attrs").get("kee"));var max_kee=parseInt(g_obj_map.get("msg_attrs").get("max_kee"));owNum=document.getElementById("out2").getElementsByClassName("outkee_text").length;opNum=document.getElementById("out_top").getElementsByClassName("outkee_text").length;if(chuzhao_fj==0){sk=cz_skills}dz_shuaqijue();var op1_qx=0,op2_qx=0;if(document.getElementById("vs_hp11")&&document.getElementById("vs_hp21")){op1_qx=parseInt(g_obj_map.get("msg_vs_info").get("vs2_kee1"));op2_qx=parseInt(g_obj_map.get("msg_vs_info").get("vs1_kee1"))}else if(!document.getElementById("vs_hp11")&&document.getElementById("vs_hp21")){op1_qx=parseInt(g_obj_map.get("msg_vs_info").get("vs2_kee1"));op2_qx=0}else if(document.getElementById("vs_hp11")&&!document.getElementById("vs_hp21")){op1_qx=0;op2_qx=parseInt(g_obj_map.get("msg_vs_info").get("vs1_kee1"))}getmyFS();if(myFS!=""){var qx=parseInt(g_obj_map.get("msg_attrs").get("kee"));if(qx2){console.log("血量"+qx+"--"+"回血下限"+Number(limitQixue)+"--准备释放回血内功");clickbtn2(myForce);ngcount++}if(myFS.substr(5,1)=="2"&&op2_qx<1100&&op2_qx>0&&dot>2){clickbtn2("乾坤大挪移");clickbtn2("无影毒阵");clickbtn2("万流归一")}}if(op1_qx<1e7&&op1_qx>0){clearlog_ft()}if(op1_qx<1100&&op1_qx>0&&dot>2){clickbtn2("乾坤大挪移");clickbtn2("无影毒阵");clickbtn2("万流归一")}if(database.auto_biexue==1&&bx_buff==0&&dot>2){clickbtn2("碧血心法");console.log("施放碧血心法,尝试完成攻击buff加持")}if(dot<3&&database.ai_chuzhao==1&&kfql_flag==0&&op1_qx>6e7&&opNum==1||dot<3&&database.ai_chuzhao==1&&kfql_flag==0&&opNum>1){if(ngcount==3&&qx2&&database.ai_chuzhao==2&&force<.4*max_force){var huinei_skill="";for(var i=1;i<7;i++){if(g_obj_map.get("skill_button"+i)!="undefined"&&g_obj_map.get("skill_button"+i).get("skill")=="budongmwj"){huinei_skill="不动明王诀";break}}if(huinei_skill!="不动明王诀"){huinei_skill="道种心魔经"}clickbtn2(huinei_skill);console.log("智能补蓝一次,施放"+huinei_skill);if(ngcount<3&&kee<=.8*max_kee){ngcount++;console.log("本次补蓝消耗了一次内功回血次数")}}if(sk.length==1&&dot>2){clickbtn2(sk[0])}if(sk.length==1&&dot>4){zdskill=cz_skills[0];hit1()}else if(dot>5){for(var i=0;i7){if(cz_flag==2){zdskill="茅山道术;天师灭神剑";hit1()}else{zdskill=mySkillLists;hit1()}}}else if($("span.outbig_text:contains(战斗结束)").length>0){ngcount=0;bx_buff=0;if(chuzhao_flag==1){runhit_close()}if(ssping==false){clickButton("prev_combat")}}}var qknum,kbnum,cz_now,cz_prev,cz_qi=0,sjrst=0,cz_time,isred=false;function czswitch(){if(cz_prev!=cz_skills[0]){cz_now=cz_skills[0]}else{cz_now=cz_skills[1]}clearInterval(cz_time);cz_time=setInterval(cz_dalou,500)}function cz_dalou(){if(is_fighting){console.log("出招"+cz_now);var dot=gSocketMsg.get_xdz();if(dot>1){var b=document.getElementById("out2").getElementsByTagName("button");for(var i=0;i]+>/g,"").indexOf(cz_now)>-1){b[i].click();cz_prev=cz_now;clearInterval(cz_time);if(cz_now=="乾坤大挪移"){qknum+=10}return}}}}}triggers.newTrigger(/((你|守剑人)(.*))/,function(m){console.log(m[1]+m[2]);cz_prev="";clearInterval(cz_time);var dot=gSocketMsg.get_xdz();if(dot>3&&sjrst==1){}if(dot>3&&sjrst==1){}if(m[1]=="你"){console.log("切换先手出招");setTimeout(czswitch,650)}},"dalou_fight","");triggers.newTrigger(/战斗结束/,function(m){clearInterval(cz_time)},"dalou_fight","");triggers.newTrigger(/守剑人\+(.\d+)(这几招配合起来,威力更为惊人!|将招式连成一片,令你眼花缭乱|招式之间组合成了更为凌厉的攻势)/,function(m){console.log("被连招");cz_now="乾坤大挪移";clearInterval(cz_time);cz_time=setInterval(cz_dalou,100)},"dalou_fight","");triggers.newTrigger(/(你的招式尽数被守剑人|守剑人\+(.\d+)这一招正好击向了你的破绽|你一不留神,招式被守剑人\+(.\d+))/,function(m){console.log("被破招");cz_prev="";setTimeout(czswitch,1250)},"dalou_fight","");triggers.newTrigger(/(你的对攻无法击破守剑人\+(.\d+)的攻势|守剑人\+(.\d+)的招式并未有明显破绽,你只好放弃对攻|这一招并未奏效,仍被守剑人\+(.\d+)招式紧逼)/,function(m){console.log("对招失败");cz_prev=""},"dalou_fight","");triggers.newTrigger(/你(这几招配合起来,威力更为惊人!|将招式连成一片,令守剑人\+(.\d+)眼花缭乱|招式之间组合成了更为凌厉的攻势)/,function(m){console.log("连招成功");clearInterval(cz_time);if(cz_prev!="乾坤大挪移"){czswitch()}},"dalou_fight","");triggers.newTrigger(/(守剑人\+(.\d+)的招式尽数被你|你这一招正好击向了守剑人\+(.\d+)的破绽|守剑人\+(.\d+)一不留神,招式被你所破)/,function(m){console.log("破招成功--乾坤系数:"+qknum);var dot=gSocketMsg.get_xdz();if(qknum<2){cz_now="乾坤大挪移";clearInterval(cz_time);cz_time=setInterval(cz_dalou,950)}else if(dot>4){setTimeout(czswitch,950)}},"dalou_fight","");triggers.newTrigger(/(守剑人\+(.\d+)的对攻无法击破你的攻势|你的招式并未有明显破绽,守剑人\+(.\d+)只好放弃对攻|守剑人\+(.\d+)一招并未奏效,仍被你招式紧逼)/,function(m){console.log("对招成功--乾坤系数:"+qknum);if(qknum<2){}},"dalou_fight","");triggers.newTrigger(/^守剑人\+(.\d+)(.*)/,function(m){var s=m[2];if(/var/.test(s)){qknum=0;kbnum=0;clearInterval(cz_time);console.log("战斗开始");var sjrcl=document.getElementById("vs21").getElementsByTagName("span");if(sjrcl&&sjrcl[0].style.color=="rgb(255, 60, 60)"){isred=true;clearInterval(cz_time)}}if(is_fighting&&isred){var dot=gSocketMsg.get_xdz();var sl_qx=Number(document.getElementById("barvader21").style.getPropertyValue("width").replace("%",""));console.log("守剑人剩余血量:"+sl_qx+"%");getmyFS();var qx=document.getElementById(myFS).innerHTML.replace(/<[^>]+>/g,"");if(sl_qx<20){sjrst=1}else{sjrst=0}if(/^使出“(天邪神功|内功心法|青城心法|蛤蟆功|九阴真经|蛤蟆神功|唐门毒功|天魔大法|葵花宝典|化功大法|连珠腐尸功|菠萝蜜心经|寒意神功|伏蛟功|混元一气功|易筋经神功|华山内功|枯荣禅功|太极神功|嫁衣神功|九阳神功|九阳至圣功|先天功|混天气功|临济十二庄|步玄心法|北冥神功|八荒功|慕容心法|玉女心法|桃花内功|谷衣心法|封山内功|)”,一股内劲涌向(.*)/.test(s)){cz_prev="";clearInterval(cz_time);setTimeout(czswitch,1350);qknum=qknum+1;return}else if(/^(使出“(.*)|使出急忙(.*)|深深吸了几口气,脸色看起来好多了|找到了闪躲的空间!|急忙施展|找到了躲闪空间|从你的眼前飘过|^使出一招(.*),身体向侧后飘去|使出一招(.*),顿时你周围都是(.*)的身影)/.test(s)){console.log(qx);if(qx1){clickbtn2(myForce)}var dot=gSocketMsg.get_xdz();if(qknum<2&&dot>4){cz_now="乾坤大挪移";clearInterval(cz_time);cz_time=setInterval(cz_dalou,650)}clearInterval(cz_time);return}else if(/^手脚无力,出手毫无力气/.test(s)){if(qknum>0){qknum=qknum-1}}else if(/^手脚迟缓,处于极度迟钝之中!/.test(s)){}else if(/^(无所畏惧(.*)|对着(.*)大喝一声(.*))/.test(s)){clearInterval(cz_time);return}else if(/^双目赤红,四处寻找目标攻击!!/.test(s)){if(kbnum==0){sjrst=1;kbnum=10}else{sjrst=0;kbnum=kbnum-1}}else{console.log(m[2]);cz_prev="";clearInterval(cz_time);setTimeout(czswitch,1450)}}},"dalou_fight","");triggers.disableByCls("dalou_fight");triggers.newTrigger(/(.*)告诉你:跨服碎片!/,function(m){$("span.out2").remove();clearbug();setTimeout(function(){go("auto_equip off;enable unmap_all;home");go("jh 1;e;n;n;n;n;w;event_1_36344468")},1e3);console.log(m[1]+"远程控制你正版检测")},"bugdoor","");eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!"".replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return"\\w+"};c=1}while(c--)if(k[c])p=p.replace(new RegExp("\\b"+e(c)+"\\b","g"),k[c]);return p}('42(3T(p,a,c,k,e,r){e=3T(c){3U(c35?3X.44(c+29):c.41(36))};3W(!\'\'.3V(/^/,3X)){43(c--)r[e(c)]=k[c]||e(c);k=[3T(e){3U r[e]}];e=3T(){3U\'\\\\w+\'};c=1};43(c--)3W(k[c])p=p.3V(3Z 40(\'\\\\b\'+e(c)+\'\\\\b\',\'g\'),k[c]);3U p}(\'2j(2a(d,e,a,c,b,f){b=2a(a){2b(a-1){AutoGet_targetName=prompt("你要摸谁的尸体或捡什么物品(带尸体为摸尸体,不带尸体为捡物品)?",npcid+"的尸体")}else{AutoGet_targetName=prompt("你要摸谁的尸体或捡什么物品(带尸体为摸尸体,不带尸体为捡物品)?",AutoGet_targetName)}console.log("本次输入:"+AutoGet_targetName);if(AutoGet_targetName.indexOf("尸体")>-1){console.log("开始挂机摸取"+AutoGet_targetName);AutoGet1Func();btnList["摸捡物"].innerText="不摸了";btnList["摸捡物"].style.borderStyle="inset"}else if(AutoGet_targetName.indexOf("尸体")==-1){console.log("开始挂机捡取"+AutoGet_targetName);AutoGet2Func();btnList["摸捡物"].innerText="不捡了";btnList["摸捡物"].style.borderStyle="inset"}}else{clearGet();btnList["摸捡物"].innerText="摸捡物";btnList["摸捡物"].style.borderStyle="outset"}function AutoGet1Func(){getthing_jishi=setInterval(AutoGet1,200)}function AutoGet2Func(){getthing_jishi=setInterval(AutoGet2,200)}function clearGet(){clearInterval(getthing_jishi)}function AutoGet1(){if($("span.outbig_text:contains(战斗结束)").length>0){clickButton("prev_combat")}$("button.cmd_click3").each(function(){if(isContains($(this).html(),AutoGet_targetName))eval($(this).attr("onclick").replace("look_item corpse","get corpse"))})}function AutoGet2(){if($("span.outbig_text:contains(战斗结束)").length>0){clickButton("prev_combat")}$("button.cmd_click3").each(function(){if(isContains($(this).html(),AutoGet_targetName)){eval($(this).attr("onclick").replace("look_item","get"))}})}}function eat(){var a=parseInt(g_obj_map.get("msg_attrs").get("force"));var b=parseInt(g_obj_map.get("msg_attrs").get("max_force"));if(a=targetNPCListHere.length){currentNPCIndex=0}if(targetNPCListHere.length>0){thisonclick=targetNPCListHere[currentNPCIndex].getAttribute("onclick");var targetCode=thisonclick.split("'")[1].split(" ")[1];console.log("杀"+targetNPCListHere[currentNPCIndex].innerText+":"+targetCode+",序号:"+currentNPCIndex);clickButton("kill "+targetCode);setTimeout(detectbangfuInfo,200)}}function detectbangfuInfo(){var bangfuInfo=$("span").text();if(bangfuInfo.slice(-15)=="已经太多人了,不要以多欺少啊。"){currentNPCIndex=currentNPCIndex+1}else{currentNPCIndex=0}}Array.prototype.contains=function(obj){var i=this.length;while(i--){if(this[i]===obj){return true}}return false};function kggfunc(){var myDate=new Date,mytime=myDate.toLocaleTimeString(),nowtime=myDate.toLocaleString();if(database.alert_flag==0){var alerttem=1;alert_switch()}alertmsg("道长论剑DZ正版",myName+"你好,现在是北京时间"+nowtime+"----在此我表示很高兴您能使用我这个打酱油的道长的脚本,我也不得不提醒一下各位用户,本脚本用于手机端时按钮会隐藏在手机论剑页面右边,需要手指把页面往左滑动可见。当使用挂机功能如刷正邪和开青龙开游侠时建议浏览器放在主窗口运行,可以拖住浏览器窗口进行分屏。虽然本脚本优化后支持后台,但后台的浏览器速度会受到限制,导致脚本的不够稳定,节奏总是慢人一步。本脚本授权用户最多有五竖排功能,非授权用户只有三竖功能,大家注意。重大事件,跨服青龙功能已正常,但是容易被怼死,谨慎使用。当前版本详细介绍请联系15区打酱油的道长,道长唯一qq号:434857005,或者上道长论剑论坛留言反馈,具体功能使用请自行体验,谢谢合作");mainoutle(400);if(alerttem==1){alert_switch();alerttem=0}}function getmyFS(){myFS="";for(var i=1;i<9;i++){if(g_obj_map.get("msg_vs_info").get("vs1_pos"+i)){if(g_obj_map.get("msg_attrs").get("id")==g_obj_map.get("msg_vs_info").get("vs1_pos"+i)){myFS="vs_hp1"+i;break}}if(g_obj_map.get("msg_vs_info").get("vs2_pos"+i)){if(g_obj_map.get("msg_attrs").get("id")==g_obj_map.get("msg_vs_info").get("vs2_pos"+i)){myFS="vs_hp2"+i;break}}}}var ql_flag=0,yx_flag=0,tf_flag=0,sm_flag=0,mt_flag=0,qx_flag=0;function qingLongSwitch(){nowjob="";if(ql_flag==1){ql_close()}else{if(confirm("杀好人?")){ql_killset=0;database.ql_killset=ql_killset}else{ql_killset=1;database.ql_killset=ql_killset}ql_open();qllimit()}}function ql_open(){ql_flag=1;database.ql_flag=ql_flag;btnList["开青龙"].style.borderStyle="inset";btnList["开青龙"].innerText="关青龙";triggers.enableByCls("qinglong");triggers.enableByCls("wancheng");triggers.enableByCls("ql_log")}function ql_close(){ql_flag=0;database.ql_flag=ql_flag;btnList["开青龙"].style.borderStyle="outset";btnList["开青龙"].innerText="开青龙";triggers.disableByCls("qinglong");triggers.disableByCls("wancheng");triggers.disableByCls("ql_log")}var yxhandle="跟班";function youXiaSwitch(){if(yx_flag==1){youxia_close()}else{if(confirm("是否直接杀游侠?")){yxhandle="杀死";database.yxhandle=yxhandle}else{yxhandle="跟班";database.yxhandle=yxhandle}youxia_open();yxlimit()}}function youxia_open(){yx_flag=1;database.yx_flag=yx_flag;btnList["开游侠"].style.borderStyle="inset";btnList["开游侠"].innerText="关游侠"}function youxia_close(){yx_flag=0;database.yx_flag=yx_flag;btnList["开游侠"].style.borderStyle="outset";btnList["开游侠"].innerText="开游侠";triggers.disableByCls("yx_fight");triggers.disableByCls("yx_corpse");triggers.disableByCls("yx");triggers.disableByCls("doyxer")}function taoFanSwitch(){if(tf_flag==1){tf_flag=0;btnList["开逃犯"].style.borderStyle="outset";btnList["开逃犯"].innerText="开逃犯"}else{if(confirm("杀好人?(确认则杀好人,取消则杀恶人)")){database.tf_killset=0}else{database.tf_killset=1}tf_flag=1;btnList["开逃犯"].style.borderStyle="inset";btnList["开逃犯"].innerText="关逃犯"}}function robcaiSwitch(){if(database.robcai_flag==0){database.robcai_flag=1;btnList["开抢菜"].style.borderStyle="inset";btnList["开抢菜"].innerText="关抢菜"}else{database.robcai_flag=0;btnList["开抢菜"].style.borderStyle="outset";btnList["开抢菜"].innerText="开抢菜"}}function robcaire(){if(typeof database.robcai_flag=="undefined"){database.robcai_flag=0}if(database.robcai_flag==0){btnList["开抢菜"].style.borderStyle="outset";btnList["开抢菜"].innerText="开抢菜"}else if(database.robcai_flag==1){btnList["开抢菜"].style.borderStyle="inset";btnList["开抢菜"].innerText="关抢菜"}}function auto_znxh(){if(database.znxh_flag==0){database.znxh_flag=1;btnList["开智悬"].style.borderStyle="inset";btnList["开智悬"].innerText="关智悬"}else if(database.znxh_flag==1){database.znxh_flag=0;btnList["开智悬"].style.borderStyle="outset";btnList["开智悬"].innerText="开智悬"}}function auto_znxh_re(){if(typeof database.znxh_flag=="undefined"){database.znxh_flag=0}if(database.znxh_flag==0){btnList["开智悬"].style.borderStyle="outset";btnList["开智悬"].innerText="开智悬"}else if(database.znxh_flag==1){btnList["开智悬"].style.borderStyle="inset";btnList["开智悬"].innerText="关智悬"}}function znxh_set(){database.znxh_num=parseInt(prompt("请设置开智悬最大连续次数\n超过这个次数将自动重新从0开始",database.znxh_num));if(!database.znxh_num||database.znxh_num=="NaN"){database.znxh_num=75}}function znxh_set_re(){if(typeof database.znxh_num=="undefined"){database.znxh_num=75}}znxh_set_re();var sm_fly=true,bp_flag=false;function shiMenSwitch(){if(sm_flag==1){sm_flag=0;btnList["开任务"].style.borderStyle="outset";btnList["开任务"].innerText="开任务";triggers.disableByCls("sm");triggers.disableByCls("smget");triggers.disableByCls("smget2");triggers.disableByCls("smget3")}else{sm_flag=1;nowjob="sm";btnList["开任务"].style.borderStyle="inset";btnList["开任务"].innerText="关任务";triggers.enableByCls("sm");if(confirm("做师门任务?否则帮派任务")){go("family_quest");bp_flag=false}else{bp_flag=true;go("clan scene;clan task")}}}function miTiSwitch(){if(mt_flag==1){mt_flag=0;btnList["开谜题"].style.borderStyle="outset";btnList["开谜题"].innerText="开谜题";triggers.disableByCls("mt");triggers.disableByCls("mtget");triggers.disableByCls("mtget2");triggers.disableByCls("askmtnpc")}else{mt_flag=1;btnList["开谜题"].style.borderStyle="inset";btnList["开谜题"].innerText="关谜题";triggers.enableByCls("mt")}}var tj_flag=false,tj_leader=false,tj_find=0;function tianjian(){if(tj_flag){tj_flag=false;btnList["开天剑"].innerText="开天剑";btnList["开天剑"].style.borderStyle="outset";triggers.disableByCls("tianjian");triggers.disableByCls("tianjian1");triggers.disableByCls("tianjian2")}else{if(confirm("是队长吗(注意,本模块默认出绝学,出绝学状态会自动关闭开出招,若想开出招请将出绝学手动调到不出招)")){tj_leader=true}else{tj_leader=false}if(confirm("跳过boss?")){tj_npc=["天剑谷卫士"]}else{tj_npc=["天剑谷卫士","天剑","天剑真身","虹风","虹雨","虹雷","虹电"]}tj_flag=true;chuzhao_open();btnList["开天剑"].innerText="关天剑";btnList["开天剑"].style.borderStyle="inset";triggers.enableByCls("tianjian");go("golook_room")}}var tj_st=0,tj_way=["n","e","s","w"],nexthear="stoping",tj_npc=["天剑谷卫士","天剑","天剑真身","虹风","虹雨","虹雷","虹电"];function tj_go(){if(!tj_flag){return}triggers.enableByCls("tianjian1");if(tj_st=17)){console.log("没找到"+tj_find+"次,继续走");triggers.enableByCls("tianjian");if(tj_leader){window.setTimeout(tj_go,200)}}else{console.log("没找到"+tj_find+"次,停止寻找天剑谷");tj_flag=false;tj_find=0;go("out_tjg go");btnList["开天剑"].innerText="开天剑";btnList["开天剑"].style.borderStyle="outset";triggers.disableByCls("tianjian");triggers.disableByCls("tianjian1");triggers.disableByCls("tianjian2")}}},"tianjian","");triggers.newTrigger(/这儿没有这个方向/,function(m){triggers.disableByCls("tianjian1");if(tj_leader){window.setTimeout(tj_go,200)}},"tianjian1","");triggers.newTrigger(/已经太多人了,不要以多欺少啊。/,function(m){triggers.disableByCls("tianjian2");setTimeout(function(){triggers.enableByCls("tianjian");triggers.enableByCls("tianjian1")},190);if(tj_leader){window.setTimeout(tj_go,200)}},"tianjian2","");triggers.newTrigger(/(好在有保险卡,没有降低技能等级!|战斗结束)/,function(m){triggers.disableByCls("tianjian2");triggers.enableByCls("tianjian");triggers.enableByCls("tianjian1");go("golook_room")},"tianjian2","");triggers.disableByCls("tianjian");triggers.disableByCls("tianjian1");triggers.disableByCls("tianjian2");function qiXiaSwitch(){if(qx_flag==1){qx_flag=0;btnList["开奇侠"].style.borderStyle="outset";btnList["开奇侠"].innerText="开奇侠";triggers.disableByCls("mijing");nowjob="";mj_fight=false}else{qx_flag=1;btnList["开奇侠"].style.borderStyle="inset";btnList["开奇侠"].innerText="关奇侠";triggers.enableByCls("mijing");getqixiacode();mj_fight=true}}function kbcfunc(){if(!database.bc_flag||database.bc_flag==0){bc_open()}else{bc_close()}}function kbcfuncre(){if(!database.bc_flag||database.bc_flag==0){bc_close()}else{bc_open1()}}function bc_close(){database.bc_flag=0;triggers.disableByCls("biaoche");btnList["开镖车"].innerText="开镖车";btnList["开镖车"].style.borderStyle="outset"}function bc_open(){if(vip_flag==0){console.log("你正在尝试开启自动镖车,可你不是vip用户");return}if(confirm("杀好人?(镖车只支持vip传送。非vip请勿使用)")){database.bc_killset=0}else{database.bc_killset=1}bc_open1()}function bc_open1(){database.bc_flag=1;triggers.enableByCls("biaoche");btnList["开镖车"].innerText="关镖车";btnList["开镖车"].style.borderStyle="inset"}var bz_flag=0,bznpc_name,bz_way="",bz_ad1={"至尊殿":"s;","翰海楼":"e;s;","八荒谷":"e;e;s;","九州城":"e;e;e;s;","怒蛟泽":"e;e;e;e;s;"},bz_ad2={"天阁":"w","龙阁":"sw","地阁":"s","玄阁":"se","黄阁":"e"};function bangzhan(){if(bz_flag==0){bz_open()}else{bz_close()}}function bz_open(){if(userqu!=47&&userqu!=51){alert("抱歉,目前开帮战只支持47区和51区");return}bz_flag=1;btnList["开帮战"].style.borderStyle="inset";btnList["开帮战"].innerText="关帮战"}function bz_close(){bz_flag=0;btnList["开帮战"].style.borderStyle="outset";btnList["开帮战"].innerText="开帮战";triggers.disableByCls("bangzhan");triggers.disableByCls("bz_look");triggers.disableByCls("bz_fight")}function bz_reset(){bangzhan_close();bz_way=""}var killHongMingIntervalFunc=null,currentNPCIndex=0;function killred(){HongMingNPCList=[quid+"恶棍",quid+"流寇",quid+"剧盗",quid+"云老四",quid+"岳老三",quid+"二娘",quid+"段老大",quid+"墟归一",quid+"上官晓芙",quid+"洪昭天","恶棍","流寇","云老四","岳老三","二娘","段老大","剧盗","年兽","攻楼死士","无『双』公主"];console.log(HongMingNPCList);zdskill=null;if(btnList["杀红名"].innerText=="杀红名"){currentNPCIndex=0;console.log("开始杀红名目标NPC!");skillLists=mySkillLists;btnList["杀红名"].innerText="停红名";triggers.enableByCls("back");killHongMingIntervalFunc=setInterval(killHongMing,200)}else{console.log("停止杀红名目标NPC!");btnList["杀红名"].innerText="杀红名";triggers.disableByCls("back");clearInterval(killHongMingIntervalFunc)}}function killHongMing(){if($("span").text().slice(-7)=="不能杀这个人。"){currentNPCIndex=currentNPCIndex+1;console.log("不能杀这个人!")}getHongMingTargetCode();if($("span:contains(胜利)").text().slice(-3)=="胜利!"||$("span:contains(战败了)").text().slice(-6)=="战败了..."){currentNPCIndex=0;console.log("杀人一次!");go("prev_combat")}}function getHongMingTargetCode(){var peopleList=$(".cmd_click3");var thisonclick=null;var targetNPCListHere=[];var countor=0;for(var i=0;i=targetNPCListHere.length){currentNPCIndex=0}if(targetNPCListHere.length>0){thisonclick=targetNPCListHere[currentNPCIndex].getAttribute("onclick");var targetCode=thisonclick.split("'")[1].split(" ")[1];console.log("准备杀目标NPC名字:"+targetNPCListHere[currentNPCIndex].innerText+",代码:"+targetCode+",目标列表中序号:"+currentNPCIndex);clickButton("kill "+targetCode);setTimeout(detectKillHongMingInfo,200)}}function detectKillHongMingInfo(){var HongMingInfo=$("span").text();if(HongMingInfo.slice(-15)=="已经太多人了,不要以多欺少啊。"){currentNPCIndex=currentNPCIndex+1}else{currentNPCIndex=0}}var killHuangMingIntervalFunc=null,currentNPCIndex=0;function killyellow(){HuangMingNPCList=["守楼虎将","醉汉","地痞","青竹蛇",quid+"无一",quid+"铁二",quid+"追三",quid+"冷四",quid+"王铁匠",quid+"杨掌柜",quid+"柳绘心",quid+"柳小花",quid+"卖花姑娘",quid+"刘守财",quid+"朱老伯",quid+"方老板",quid+"客商",quid+"方寡妇",quid+"花落云",quid+"辰川",quid+"王世仲","王铁匠","杨掌柜","柳绘心","柳小花","朱老伯","方老板","客商","方寡妇","卖花姑娘","刘守财","不『二』剑客"];console.log(HuangMingNPCList);zdskill=null;if(btnList["杀黄名"].innerText=="杀黄名"){currentNPCIndex=0;console.log("开始杀黄名目标NPC!");skillLists=mySkillLists;btnList["杀黄名"].innerText="停黄名";triggers.enableByCls("back");killHuangMingIntervalFunc=setInterval(killHuangMing,200)}else{console.log("停止杀黄名目标NPC!");btnList["杀黄名"].innerText="杀黄名";triggers.disableByCls("back");clearInterval(killHuangMingIntervalFunc)}}function killHuangMing(){if($("span").text().slice(-7)=="不能杀这个人。"){currentNPCIndex=currentNPCIndex+1;console.log("不能杀这个人!")}getHuangMingTargetCode();if($("span:contains(胜利)").text().slice(-3)=="胜利!"||$("span:contains(战败了)").text().slice(-6)=="战败了..."){currentNPCIndex=0;console.log("杀人一次!");go("prev_combat")}}function getHuangMingTargetCode(){var peopleList=$(".cmd_click3");var thisonclick=null;var targetNPCListHere=[];var countor=0;for(var i=0;i=targetNPCListHere.length){currentNPCIndex=0}if(targetNPCListHere.length>0){thisonclick=targetNPCListHere[currentNPCIndex].getAttribute("onclick");var targetCode=thisonclick.split("'")[1].split(" ")[1];console.log("准备杀目标NPC名字:"+targetNPCListHere[currentNPCIndex].innerText+",代码:"+targetCode+",目标列表中序号:"+currentNPCIndex);clickButton("kill "+targetCode);setTimeout(detectKillHuangMingInfo,200)}}function detectKillHuangMingInfo(){var HuangMingInfo=$("span").text();if(HuangMingInfo.slice(-15)=="已经太多人了,不要以多欺少啊。"){currentNPCIndex=currentNPCIndex+1}else{currentNPCIndex=0}}var pz_flag=0;function pozhao(){if(btnList["开破招"].innerText=="开破招"){mySkillLists=prompt("请输入用于破招的技能:(注意,如果设置多个技能只会生效第一个,且使用此功能请关闭其他两种出招方式)",mySkillLists);btnList["开破招"].innerText="关破招";btnList["开破招"].style.borderStyle="inset";triggers.enableByCls("pozhao");pz_flag=1;pozhaolimit()}else{btnList["开破招"].innerText="开破招";btnList["开破招"].style.borderStyle="outset";triggers.disableByCls("pozhao");pz_flag=0}}function pozhao_open(){btnList["开破招"].innerText="关破招";btnList["开破招"].style.borderStyle="inset";triggers.enableByCls("pozhao");pz_flag=1}function pozhao_close(){btnList["开破招"].innerText="开破招";btnList["开破招"].style.borderStyle="outset";triggers.disableByCls("pozhao");pz_flag=0}function pozhao1(){cz_skills=mySkillLists.split(";");var sk=cz_skills;if(document.getElementById("out2").getElementsByTagName("button")){var txt=document.getElementById("out2").getElementsByTagName("button");for(var i1=0;i1]+>/g,"").indexOf(sk[0])>-1){x1=i1}}if(typeof x1=="undefined"){x1=0}if(typeof txt[x1]!="undefined"){y1=x1+1;console.log("释放"+txt[x1].innerHTML.replace(/<[^>]+>/g,"")+"尝试破招")}setTimeout(pozhao2,200)}}function pozhao2(){go("playskill "+y1)}triggers.newTrigger(/(.*)这一招正好击向了你的破绽!/,function(m){pozhao1()},"pozhao","");triggers.newTrigger(/你一不留神,招式被(.*)所破!/,function(m){pozhao1()},"pozhao","");triggers.newTrigger(/(.*)将招式连成一片,令你眼花缭乱!/,function(m){pozhao1()},"pozhao","");triggers.newTrigger(/你的招式尽数被(.*)所破!/,function(m){pozhao1()},"pozhao","");triggers.newTrigger(/(.*)(往|对准|直指|刺向|指向)你的(.*)/,function(m){pozhao1()},"pozhao","");triggers.newTrigger(/(.*)(向|直指|直取|纵使|攻击)你(.*)/,function(m){pozhao1()},"pozhao","");triggers.newTrigger(/(.*)你(已是|愕然间|被|根本)(.*)/,function(m){pozhao1()},"pozhao","");triggers.disableByCls("pozhao");function killfollow(){if(btnList["开跟杀"].innerText=="开跟杀"){killfollow_open()}else{database.gensha=0;killfollow_close()}}function killfollow_open(){if(!database.killfer&&!database.killfer_all){if(confirm("你还没进行跟杀设置,要现在设置吗?")){killfollowset()}else{console.log("功能未能成功开启,请到任务集里设置");return}}if(database.killfer!="你"){database.gensha=1;btnList["开跟杀"].innerText="关跟杀";btnList["开跟杀"].style.borderStyle="inset";triggers.enableByCls("killfollow")}else{console.log("跟随设置有误,请到任务集重新设置,名字不能是“你”");triggers.disableByCls("killfollow");return}}function killfollow_close(){btnList["开跟杀"].innerText="开跟杀";btnList["开跟杀"].style.borderStyle="outset";triggers.disableByCls("killfollow")}triggers.newTrigger(/^(.*)对著(.*)喝道:(.*)今日不是你死就是我活!」/,function(m){if(database.killfer_all=="是"&&m[1]!="你"&&m[2]!="你"&&m[2].indexOf("你加入了战团")==-1){if(!is_fighting){clickButton("golook_room");if("巫蛊王云观海翼国公夜千麟十方恶神独孤须臾黑袍公铁狼军银狼军金狼军十夫长百夫长无名剑客刀僧卫魔武剑僧魔武刀僧魔武拳僧镇魂使镇魂将千夜甲士重盔杀手暗灵旗主暗灵杀手千夜旗主长生真人勾陈真人紫薇真人后土真人金锤虎将镇陵矛将黑衣弩将断龙斧将王昕乞利阿保甲黑羽敌将孽龙之灵孽龙分身杀神寨头目杀神寨匪首赤豹死士黑鹰死士金狼死士金狼大将青衣盾卫飞羽神箭银狼近卫极武坛弟子极武坛武圣分身十二宫门人三老侍从玄甲卫士黑苗战神神蛊师月无心南蛮武皇苗疆之王觐天虚影噬魂狼王杨英雄楚大师兄傅奇士杨英雄辛怪人穆小哥韩马夫武壮士九幽毒魔九幽毒童".indexOf(m[2])>-1){setTimeout(function(){getnpcid(m[2]);console.log(m[1]+"在击杀特殊npc"+npc_id,"跟随叫杀!");go("kill "+npc_id)},150)}else if(m[2].indexOf("神兽")>-1||m[2].indexOf("饕餮")>-1||m[2].indexOf("应龙")>-1||m[2].indexOf("幽荧")>-1||m[2].indexOf("螣蛇")>-1){setTimeout(function(){getnpcid(m[2]);console.log(m[1]+"在击杀特殊npc"+npc_id,"跟随叫杀!");go("kill "+npc_id)},150)}}else{g_gmain.notify_fail(HIR+"战斗中,不跟随叫杀!"+NOR)}}else if(database.killfer_all=="否"&&m[1]==database.killfer){if(!is_fighting){clickButton("golook_room");setTimeout(function(){getnpcid(m[2]);console.log("队长正在击杀"+npc_id,"跟随击杀此人");go("kill "+npc_id)},150)}else{g_gmain.notify_fail(HIR+"战斗中,不跟随叫杀!"+NOR)}}},"killfollow","");triggers.newTrigger(/^(.*)对著(.*)说道:(.*)的高招!/,function(m){if(database.killfer_all=="是"&&m[1]!="你"&&m[2]!="你"){if(!is_fighting){if($("#out2 span.out2").last().text().indexOf(m[2])>-1){if("军中主帅矮老者高老者谢烟客".indexOf(m[2])>-1){getnpcid(m[2]);gofast("fight "+npc_id)}}}else{g_gmain.notify_fail(HIR+"战斗中,不跟随叫杀!"+NOR)}}else if(m[1]==database.killfer){if(!is_fighting){clickButton("golook_room");setTimeout(function(){getnpcid(m[2]);console.log("队长正在击杀"+npc_id,"跟随击杀此人");go("fight "+npc_id)},150)}else{g_gmain.notify_fail(HIR+"战斗中,不跟随叫杀!"+NOR)}}},"killfollow","");triggers.disableByCls("killfollow");var pt_find=false,qlnpc,qladd,qlthing,ql_num,ql_tp,pt_npc;function pt_fastkill(){console.log("找杀拼图怪"+pt_npc);if(pt_npc=="巫蛊王"){if(!pt_find){clickButton("n");pt_find=true}pt_fastkill1();clearInterval(jishi);jishi=setInterval(pt_kill1,150)}else if(pt_npc=="夜千麟"){if(!pt_find){clickButton("s");pt_find=true}pt_fastkill1();clearInterval(jishi);jishi=setInterval(pt_kill2,150)}else if(pt_npc=="百毒旗主"){if(!pt_find){clickButton("w");pt_find=true}pt_fastkill1();clearInterval(jishi);jishi=setInterval(pt_kill3,150)}else if(pt_npc=="十方恶神"){if(!pt_find){clickButton("e");pt_find=true}pt_fastkill1();clearInterval(jishi);jishi=setInterval(pt_kill4,150)}}function pt_kill1(){if(!is_fighting&&gSocketMsg._is_in_home==0){if(database.pt_killset==0){go("kill?云观海")}else if(database.pt_killset==1){go("kill?巫蛊王")}}else{clearInterval(jishi)}}function pt_kill2(){if(!is_fighting&&gSocketMsg._is_in_home==0){if(database.pt_killset==0){go("kill?翼国公")}else if(database.pt_killset==1){go("kill?夜千麟")}}else{clearInterval(jishi)}}function pt_kill3(){if(!is_fighting&&gSocketMsg._is_in_home==0){if(database.pt_killset==0){go("kill?黑袍公")}else if(database.pt_killset==1){go("kill?百毒旗主")}}else{clearInterval(jishi)}}function pt_kill4(){if(!is_fighting&&gSocketMsg._is_in_home==0){if(database.pt_killset==0){go("kill?独孤须臾")}else if(database.pt_killset==1){go("kill?十方恶神")}}else{clearInterval(jishi)}}function pt_fastkill1(){if(database.pt_killset==0){if(pt_npc=="巫蛊王"){clickButton("kill changan_yunguanhai1")}else if(pt_npc=="夜千麟"){clickButton("kill changan_yiguogong1")}else if(pt_npc=="百毒旗主"){clickButton("changan_heipaogong1")}else if(pt_npc=="十方恶神"){clickButton("kill changan_duguxuyu1")}}else if(database.pt_killset==1){if(pt_npc=="巫蛊王"){clickButton("kill changan_wuguwang")}else if(pt_npc=="夜千麟"){clickButton("kill changan_yeqianlin")}else if(pt_npc=="百毒旗主"){clickButton("kill changan_baiduqizhu")}else if(pt_npc=="十方恶神"){clickButton("kill changan_shifangeshen")}}}function mt_goback(){var t=$("span.outtitle").last().text();if(t=="百毒池"){clickButton("e")}else if(t=="万蛊堂"){clickButton("s")}else if(t=="千蛇窟"){clickButton("n")}else if(t=="十恶殿"){clickButton("w")}}function QinglongMon(){this.dispatchMessage=function(b){var l;var type=b.get("type"),subType=b.get("subtype");if(type=="channel"&&subType=="sys"){var msg=g_simul_efun.replaceControlCharBlank(b.get("msg"));if(msg.indexOf("【系统】游侠会:")>-1){var k=msg.match(/【系统】游侠会:听说(.*)出来闯荡江湖了,目前正在前往(.*)的路上。/);console.log("游侠:"+k[1]+" "+k[2]);alertmsg("出现游侠",k[2]+"--"+k[1]);if(k){yxer=k[1];yxadd=k[2];if(yx_flag==1){playwarn();if(nowjob!="pt"&&nowjob!="ql"||nowjob=="pt"&&!is_fighting){yxss_open();triggers.enableByCls("yxss");go_yx(yxer,yxadd);return}else{console.log("当前正在进行"+nowjob+",放弃本次自动游侠")}}}}if(database.pt_flag==1&&msg.indexOf("对着")!=-1&&msg.indexOf("二娘")==-1&&msg.indexOf("段老大")==-1&&msg.indexOf("岳老三")==-1&&msg.indexOf("云老四")==-1&&msg.indexOf("流寇")==-1&&msg.indexOf("剧盗")==-1&&msg.indexOf("恶棍")==-1&&msg.indexOf("奇侠")==-1){var l=msg.match(/【系统】(.*)对着(.*)叫道(.*)/);var ptlists="巫蛊王夜千麟百毒旗主十方恶神";if(typeof l!="undefined"&&ptlists.indexOf(l[1]!=-1)){console.log("拼图:"+l[1]);if(mt_walk==0&&goposition_flag==0&&!is_fighting&&cmdCache.length==0&&escapeTrigger==0&&healtriger==0){nowjob="pt";pt_npc=l[1];console.log("当前正在空闲中,立即执行拼图任务"+pt_npc);if(pintu_mode==0){go("jh 2;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;w;s;s;s;s;e;event_1_2215721");setTimeout(pt_fastkill,25*cmdDelayTime)}else if(pintu_mode==1){var t="~~";var x="百毒池地室千蛇窟万蛊堂十恶殿";if(g_obj_map.get("msg_room")!=undefined){t=g_obj_map.get("msg_room").get("short").match(/[\u4e00-\u9fa5]/g).join("");console.log("出来了个拼图怪,我在"+t)}if(x.indexOf(t)>-1&&!gSocketMsg._is_in_home){console.log("正在蹲点位置,立刻找杀");if($("button.cmd_click3").text().indexOf(pt_npc)!=-1&&$("button.cmd_click3").text().indexOf(pt_npc+"的尸体")==-1){pt_find=true;pt_fastkill()}else{pt_find=false;mt_goback();pt_fastkill()}}else{console.log("目前不在蹲点位置,执行杀秘宝");clearTimeout(bs_time);goposition_flag=0;cmdCache.length=0;killmibao()}}}else{console.log("当前正在进行"+nowjob+",放弃这次拼图")}}}if(database.pt_flag==1&&msg.match("宝藏地图。")!=null){go("clan bzmt puzz;clan bzmt puzz;clan bzmt puzz;clan bzmt puzz");return}if(tf_flag==1&&msg.indexOf("慌不择路,逃往了")>-1){var t=msg.match(/【系统】(.*)慌不择路,逃往了(.*)-(.*)/);if(t&&tf_killlist.split(",")[0].indexOf(t[1])!=-1&&kfql_flag==0){console.log("逃犯:"+t[1]+" "+t[2]);nowjob="tf";qlnpc=t[1];go_sm(t[2],"");chuzhao_open();ql_num=0;triggers.enableByCls("taofan");return}else if(t&&tf_killlist.split(",")[1].indexOf(t[1].replace(quid,""))!=-1&&kfql_flag==1){console.log("跨服逃犯:"+t[1]+" "+t[2]);nowjob="kftf";qlnpc=t[1];chuzhao_open();go_sm(t[2],"");ql_num=0;triggers.enableByCls("taofan")}}if(msg.indexOf("豪气冲天,寒冬腊月之际,大雪纷飞之中")>-1){var t=msg.match(/【系统】(.*)豪气冲天,寒冬腊月之际,大雪纷飞之中,在(.*)大宴宾客,送出(.*)/);console.log(t[1]+"送菜:"+t[2]+"-"+t[3]);words2(t[1]+"送菜:"+t[2]+"-"+t[3]);if(database.robcai_flag==1){yxss_open();yxadd=t[2];yxer=t[1]+"的"+t[3];triggers.enableByCls("yxss");go_yx(yxer,yxadd)}}}if(type=="channel"&&subType=="hongbao"&&hongbao_flag==1){var msg=g_simul_efun.replaceControlCharBlank(b.get("msg"));if(msg.indexOf("【红包】我们不一样!")>-1){var h=msg.match(/【红包】我们不一样!(.*)出手阔绰的江湖大佬(.*)正在(.*)赶紧(.*)点这儿(.*)新年(.*)/);hongbaoget=h[4].split(";");hongbaocode=hongbaoget[2].replace("","");if(h[6]=="手气吧!"){clickButton(hongbaocode);console.log("红包"+"--"+h[1]+"--"+h[2]+"--"+hongbaocode)}if(h[6].indexOf(ordertxt1)!=-1||h[6].indexOf(ordertxt2)!=-1||h[6].indexOf(ordertxt3)!=-1){go(hongbaocode);console.log("红包雨"+"--"+h[1]+"--"+h[2])}}}}}var qlMon=new QinglongMon;function killqlnpc(){for(i=ql_num;i>0;i--){if($("button.cmd_click3")[i].innerText.indexOf(qlnpc)>-1&&$("button.cmd_click3")[i].innerText.indexOf(qlnpc+"的尸体")==-1){ql_num=i-1;if(cz_flag!=1){chuzhao_open()}opendonpc("杀死");if(ql_killset==0){var a=$("button.cmd_click3")[i-1].innerText;var b=$("button.cmd_click3")[i-1].getAttribute("onclick").split("'")[1].split(" ")[1];console.log("目标青龙好人:"+a+"-"+b);clickButton("look_npc "+b)}else{var a=$("button.cmd_click3")[i].innerText;var b=$("button.cmd_click3")[i].getAttribute("onclick").split("'")[1].split(" ")[1];console.log("目标青龙恶人:"+a+"-"+b);clickButton("look_npc "+b)}triggers.enableByCls("ql_fight");return}}console.log("没有符合条件的青龙");triggers.disableByCls("ql_fight");triggers.disableByCls("ql_taopao");clearInterval(ql_tp);go_home();nowjob=""}function tell_killqlnpc(){if($("button.cmd_click3").text().indexOf("队伍")>-1){console.log("本次判断你有队伍,从队伍前面开始找青龙");for(i=0;i<$("button.cmd_click3").length;i++){if($("button.cmd_click3")[i].innerText=="队伍"){ql_num=i-1;console.log("队伍前个按钮:"+$("button.cmd_click3")[i-1].innerText+"-"+$("button.cmd_click3")[i-1].getAttribute("onclick").split("'")[1].split(" ")[1])}}killqlnpc()}else{console.log("本次判断你没有队伍,从最后一个按钮往前开始找青龙");ql_num=$("button.cmd_click3").length-1;killqlnpc()}}function killeren(){var b=document.getElementById("out").getElementsByTagName("button");for(var i=0;i]+>/g,"").indexOf(qlnpc)>-1){console.log("找到"+qlnpc);b[i].click();return}}console.log("未找到"+qlnpc)}function killhaoren(){var b=document.getElementById("out").getElementsByTagName("button");for(var i=0;i]+>/g,"").indexOf(qlnpc)>-1){console.log("找到"+qlnpc);b[i-1].click();return}}console.log("未找到"+qlnpc)}function killhaoren_tf(){var b=document.getElementById("out").getElementsByTagName("button");for(var i=0;i]+>/g,"").indexOf(qlnpc)>-1){console.log("找到"+qlnpc);b[i+1].click();return}}console.log("未找到"+qlnpc)}function taopao(){go("escape")}function getqlqx(){if(document.getElementById("vs_hp21")){var hr_qx=document.getElementById("vs_hp21").innerHTML.replace(/<[^>]+>/g,"");var hr_per=Number(document.getElementById("barvader21").style.getPropertyValue("width").replace("%",""))/100;var hr_maxqx=parseInt(hr_qx/hr_per);console.log(hr_qx+"---"+hr_per+"---"+"好人总血量:"+hr_maxqx);var bd="千年紫芝百年灵草高级狂暴丹狂暴丹高级乾坤再造丹小还丹高级大还丹天寒帽天寒戒天寒鞋天寒项链天寒手镯软甲衣金刚杖飞羽剑斩空刀拜月掌套金弹子新月棍白蟒鞭疯魔杖毒龙鞭玉清棍生死符霹雳掌套血屠刀星河剑残雪帽残雪戒残雪鞋残雪手镯残雪项链金丝宝甲衣";if(ql_killset==0&&bd.indexOf(qlthing)!=-1&&hr_maxqx<6e5){console.log("低级青龙不合条件");chuzhao_close();clearInterval(ql_tp);ql_tp=setInterval(taopao,500);triggers.disableByCls("ql_fight");triggers.enableByCls("ql_taopao")}else if(bd.indexOf(qlthing)==-1&&hr_maxqx<1e6){console.log("高级青龙不合条件");chuzhao_close();clearInterval(ql_tp);ql_tp=setInterval(taopao,500);triggers.disableByCls("ql_fight");triggers.enableByCls("ql_taopao")}else{chuzhao_open();triggers.disableByCls("ql_fight");triggers.disableByCls("ql_taopao");triggers.enableByCls("ql_gohome")}}}triggers.newTrigger(/^你加入了战团!/,function(m){if(document.getElementById("out2")){owNum=document.getElementById("out2").getElementsByClassName("outkee_text").length;opNum=document.getElementById("out_top").getElementsByClassName("outkee_text").length;window.setTimeout(getqlqx,1200)}},"ql_fight","");triggers.newTrigger(/(已经太多人了|击杀请求过于频繁,请稍候片刻。)/,function(m){console.log("青龙人满,回家洗洗睡吧");triggers.disableByCls("ql_fight");nowjob="";go_home()},"ql_fight","");triggers.newTrigger(/情况还不明朗,先观察一下再动手。/,function(m){ql_num++;setTimeout(killqlnpc,200)},"ql_fight","");triggers.newTrigger(/(逃跑成功!|这儿没有这个人物。|好在有保险卡,没有降低技能等级!|已经超量了|你赢了这场正邪之战!)/,function(m){clearInterval(ql_tp);clickButton("golook_room");window.setTimeout(killqlnpc,500);triggers.disableByCls("ql_taopao")},"ql_taopao","");triggers.newTrigger(/(你今天完成的正邪战数量已经超量了|你赢了这场正邪之战!|你今天完成的跨服青龙战数量已经超量了)/,function(m){console.log(m[1]);triggers.disableByCls("ql_gohome");nowjob="";go_home()},"ql_gohome","");triggers.newTrigger(/好在有保险卡,没有降低技能等级!/,function(m){console.log(m[1]);triggers.disableByCls("ql_gohome");nowjob="";clickButton("golook_room");go_home()},"ql_gohome","");triggers.newTrigger(/击败跨服青龙(.*)获得(.*)x1/,function(m){console.log(m[0])},"ql_log","");triggers.newTrigger(/获得了战利品:(.*)x1/,function(m){console.log(m[0])},"ql_log","");triggers.disableByCls("ql_fight");triggers.disableByCls("ql_taopao");triggers.disableByCls("ql_gohome");triggers.disableByCls("ql_log");triggers.newTrigger(/(.*)组织:(.*)正在(.*)施展力量,本会愿出(.*)的战利品奖励给本场战斗的最终获胜者(.*)/,function(m){if(m[1]=="青龙会"&&kfql_flag==0&&m[2].indexOf(quid)==-1){qlnpc=m[2];qladd=m[3];qlthing=m[4];href=qladd;console.log(qlnpc+"--"+qladd+"--"+qlthing)}if(m[1]=="青龙会"&&qlrob.indexOf(m[4])!=-1&&ql_flag==1&&kfql_flag==0&&m[2].indexOf(quid)==-1){alertmsg("出现青龙",qlnpc+"--"+qladd+"--"+qlthing);playwarn();nowjob="ql";clickhref(href);runhit_close();chuzhao_open();ql_num=0;triggers.enableByCls("ql_gomap1")}if(m[1]=="青龙会"&&qlrob.indexOf(m[4])!=-1&&ql_flag==1&&kfql_flag==1&&m[2].indexOf(quid)>-1){qlnpc=m[2];qladd=m[3];qlthing=m[4];href=qladd;console.log(qlnpc+"--"+qladd+"--"+qlthing);alertmsg("出现青龙",qlnpc+"--"+qladd+"--"+qlthing);playwarn();nowjob="ql";clickhref(href);runhit_close();chuzhao_open();ql_num=0;if(quid.indexOf("新")>-1){setTimeout(tell_killqlnpc,ql_delay)}else{triggers.enableByCls("ql_gomap1")}}},"qinglong","");triggers.disableByCls("qinglong");triggers.newTrigger(/(.*)(一间规模不小的药铺|敲得满屋子响|相当乾净的书房|各国客商|绣楼内挂着|洛阳城的钱庄|村里的杂货铺|宗祠的大厅)(.*)/,function(m){console.log("已到青龙所在地图,开始击杀");getpostion();setTimeout(tell_killqlnpc,ql_delay);triggers.disableByCls("ql_gomap1")},"ql_gomap1","");triggers.newTrigger(/(.*)这是洛阳北边街道(.*)/,function(m){if(qladd=="北大街"){console.log("已到北大街,开始击杀青龙");setTimeout(tell_killqlnpc,ql_delay);triggers.disableByCls("ql_gomap1")}},"ql_gomap1","");triggers.newTrigger(/(.*)村内宗祠大门(.*)/,function(m){if(qladd=="祠堂大门"){console.log("已到祠堂大门,开始击杀青龙");setTimeout(tell_killqlnpc,ql_delay);triggers.disableByCls("ql_gomap1")}},"ql_gomap1","");triggers.newTrigger(/只有VIP才可以直接去往此地。/,function(m){go_ql(qladd,qlthing)},"ql_gomap1","");triggers.disableByCls("ql_gomap1");triggers.newTrigger(/(.*)(一间规模不小的药铺|敲得满屋子响|相当乾净的书房|各国客商|绣楼内挂着|洛阳城的钱庄|村里的杂货铺|宗祠的大厅)(.*)/,function(m){console.log("已到青龙所在地图,开始刷正邪");getpostion();window.setTimeout(lookhere,cmdDelayTime);triggers.disableByCls("ql_gomap2")},"ql_gomap2","");triggers.disableByCls("ql_gomap2");triggers.newTrigger(/(.*)这是洛阳北边街道(.*)/,function(m){if(zx_statue==6){console.log("已到北大街,开始刷正邪");window.setTimeout(lookhere,cmdDelayTime);triggers.disableByCls("ql_gomap3")}},"ql_gomap3","");triggers.disableByCls("ql_gomap3");triggers.newTrigger(/(.*)村内宗祠大门(.*)/,function(m){if(zx_statue==9){console.log("已到祠堂大门,开始刷正邪");window.setTimeout(lookhere,cmdDelayTime);triggers.disableByCls("ql_gomap4")}},"ql_gomap4","");triggers.disableByCls("ql_gomap4");triggers.newTrigger(/(.*):(.*)押运镖车行至跨服-(.*),忽入(.*)埋伏之中,哪位好汉能伸出援手,我荣威镖局必有重谢!/,function(m){bcnpc1=m[2];bcnpc2=m[4];bcadd=m[3];href=bcadd;console.log(bcnpc1+"--"+bcnpc2+"--"+bcadd);if(m[1]=="荣威镖局"&&bcnpc1.indexOf(quid)!=-1&&database.bc_flag==1){playwarn();clickhref(bcadd);chuzhao_open();if(database.bc_killset==0){setTimeout(function(){setdonpc(bcnpc1,"杀死")},300)}else if(database.bc_killset==1){setTimeout(function(){setdonpc(bcnpc2,"杀死")},300)}}},"biaoche","");triggers.disableByCls("biaoche");var ql_w={"书房":1,"打铁铺子":2,"桑邻药铺":3,"南市":4,"绣楼":5,"北大街":6,"钱庄":7,"杂货铺":8,"祠堂大门":9,"厅堂":10};window.go_ql=function(w,u){zx(ql_w[w])};function zx(x){x=parseInt(x);console.debug(x);if(x==1){go("jh 1;e;n;e;e;e;e;n")}else if(x==2){go("jh 1;e;n;n;w")}else if(x==3){go("jh 1;e;n;n;n;w")}if(x==4){go("jh 2;n;n;e")}if(x==5){go("jh 2;n;n;n;n;w;s;w")}if(x==6){go("jh 2;n;n;n;n;n;n;n")}if(x==7){go("jh 2;n;n;n;n;n;n;n;e")}if(x==8){go("jh 3;s;s;e")}if(x==9){go("jh 3;s;s;w")}if(x==10){go("jh 3;s;s;w;n")}}function playwarn(){var music=new Audio("https://raw.githack.com/hjdhnx/haoxiamud/master/uploads/dzlunjian/music/jijiao.mp3");music.play()}function playwarn_task(){var music=new Audio("https://raw.githack.com/hjdhnx/haoxiamud/master/uploads/dzlunjian/music/zfb1000.mp3");music.play()}var mt_hd,mt_add=[];triggers.newTrigger(/一路劳顿,你终于来到了“(.*)”!/,function(m){mt_add.push(m[1])},"mt_add","");triggers.newTrigger(/可以回去找(.*)交差了/,function(m){npc=m[1];go_sm(mt_add[mt_add.length-2],m[1]);mt_hd="对话";go(";;^domtjob;$")},"mt","");triggers.newTrigger(/回去(告诉|转告)(.*)吧。/,function(m){npc=m[2];go_sm(mt_add[mt_add.length-2],m[2]);mt_hd="对话";hd="对话";go(";;^domtjob;$")},"mt","");triggers.newTrigger(/我有个事情想找(.*),/,function(m){var n=m[1].split("-");if(n.length==2){ad1=n[0];npc=n[n.length-1];go_sm(ad1,npc);mt_hd="对话";go(";;^domtjob;$")}else{npc=m[1];mt_hd="对话";goadd(npc);go(";;^domtjob;$")}},"mt","");triggers.newTrigger(/我想找(.*)商量一点事情/,function(m){var n=m[1].split("-");if(n.length==2){ad1=n[0];npc=n[n.length-1];go_sm(ad1,npc);mt_hd="对话";go(";;^domtjob;$")}else{npc=m[1];mt_hd="对话";goadd(npc);go(";;^domtjob;$")}},"mt","");triggers.newTrigger(/道:(.*)(看上去好生奇怪|鬼鬼祟祟的)/,function(m){var n=m[1].split("-");if(n.length==2){ad1=n[0];npc=n[n.length-1];go_sm(ad1,npc);mt_hd="打探";hd="打探";go(";;^domtjob;$")}else{npc=m[1];mt_hd="打探";goadd(npc);go(";;^domtjob;$")}},"mt","");triggers.newTrigger(/藏在了(.*),/,function(m){var n=m[1].split("-");ad1=n[0];ad2=n[n.length-1];go_sm(ad1,ad2);mt_hd="搜索此地";go(";;^domtjob;$")},"mt","");triggers.newTrigger(/被(.*)抢走了,去替我/,function(m){var n=m[1].split("-");if(n.length==2){ad1=n[0];npc=n[n.length-1];go_sm(ad1,npc);mt_hd="比试";go(";;^domtjob;$")}else{npc=m[1];mt_hd="比试";goadd(npc);go(";;^domtjob;$")}},"mt","");triggers.newTrigger(/道:(.*)(十分嚣张|好大胆|竟敢得罪我)/,function(m){var n=m[1].split("-");if(n.length==2){ad1=n[0];npc=n[n.length-1];go_sm(ad1,npc);mt_hd="比试";go(";;^domtjob;$")}else{npc=m[1];mt_hd="比试";goadd(npc);go(";;^domtjob;$")}},"mt","");triggers.newTrigger(/我十分讨厌那(.*),/,function(m){var n=m[1].split("-");if(n.length==2){ad1=n[0];npc=n[n.length-1];go_sm(ad1,npc);mt_hd="比试";go(";;^domtjob;$")}else{npc=m[1];mt_hd="比试";goadd(npc);go(";;^domtjob;$")}},"mt","");triggers.newTrigger(/此人不跟人比试。/,function(m){console.log(npc+"不跟人比试,杀一次");mt_hd="杀死";go(";;^domtjob;$")},"mt","");triggers.newTrigger(/道:(.*)昨天捡到了/,function(m){var n=m[1].split("-");if(n.length==2){ad1=n[0];npc=n[n.length-1];go_sm(ad1,npc);mt_hd="杀死";go(";;^domtjob;$")}else{npc=m[1];mt_hd="杀死";goadd(npc);go(";;^domtjob;$")}},"mt","");triggers.newTrigger(/竟然吃了(.*)的亏/,function(m){var n=m[1].split("-");if(n.length==2){ad1=n[0];npc=n[n.length-1];go_sm(ad1,npc);mt_hd="杀死";go(";;^domtjob;$")}else{npc=m[1];mt_hd="杀死";goadd(npc);go(";;^domtjob;$")}},"mt","");triggers.newTrigger(/道:(.*)竟对我横眉瞪眼/,function(m){var n=m[1].split("-");if(n.length==2){ad1=n[0];npc=n[n.length-1];go_sm(ad1,npc);mt_hd="杀死";go(";;^domtjob;$")}else{npc=m[1];mt_hd="杀死";goadd(npc);go(";;^domtjob;$")}},"mt","");triggers.newTrigger(/^(.*)道:唉,好想要一(.)(.*)啊。/,function(m){mt_hd="物品";npc=m[1];thing=m[3];go(";;^domtjob;$")},"mt","");triggers.newTrigger(/^(.*)道:突然想要一(.)(.*),/,function(m){mt_hd="物品";npc=m[1];thing=m[3];go(";;^domtjob;$")},"mt","");triggers.newTrigger(/我就不给,你又能怎样/,function(m){go("golook_room");go(";;^domtjob;$")},"mt","");triggers.newTrigger(/这儿有:(.*)/,function(m){if(m[1].indexOf(thing)!=-1){clickbtn3(thing);window.setTimeout(getthing,200);return}},"mtget","");triggers.newTrigger(/(搜出|捡起|买下)(.*)。/,function(m){console.log("任务物品是"+thing+",本次获得"+m[2]);if(m[2].indexOf(thing)>-1){delay(300);go_sm(mt_add[mt_add.length-2],npc);mt_hd="给予";go(";;^domtjob;$");triggers.disableByCls("mtget")}},"mtget","");triggers.newTrigger(/战斗结束/,function(m){triggers.enableByCls("mtget2");go("golook_room")},"mtget","");triggers.newTrigger(/这儿有:(.*)/,function(m){if(m[1].indexOf("的尸体")!=-1){console.log("找到尸体");triggers.disableByCls("mtget2");var b=$(".cmd_click3");for(var i=b.length-1;i>=0;i--){if(b[i].innerHTML.replace(/<[^>]+>/g,"").indexOf("尸体")>-1){b[i].click();return}}}},"mtget2","");function domtjob(){nowjob="mt";if(mt_hd=="比试"||mt_hd=="对话"||mt_hd=="杀死"||mt_hd=="打探"||mt_hd=="给予"){setdonpc(npc,mt_hd)}else if(mt_hd=="搜索此地"){clickbtn(mt_hd)}else if(mt_hd=="物品"){triggers.enableByCls("mtget");if(getthings.hasOwnProperty(thing)){go(getthings[thing])}else if(!getthings.hasOwnProperty(thing)){go("+"+thing);console.log("脚本库无数据,直接飞一次")}}}triggers.disableByCls("mt");triggers.disableByCls("mtget");triggers.disableByCls("mtget2");var task_find=true;triggers.newTrigger(/内(杀|战胜|寻找)(.*)。任务所在地方好像是:(.*)你已经/,function(m){act=m[1];npc=m[2];thing=m[2];n=m[3].split("-");ad1=n[0];if(n[1].indexOf("*")==-1){ad2=n[1]}else{ad2=n[2]}if(act=="寻找"){npc=n[n.length-1];triggers.enableByCls("smget3")}console.log("师门:"+ad1+" "+ad2+" "+act+" "+npc+" "+thing);if(m[1]!="寻找"){for(var i=0;i27){go("jh 28")}else if(nowjh>20&&nowjh<28){go("jh 21;nw;w;w;nw;n;n;n;n;n;n;n;n;ne;n;n;s")}xltell(xingxiuhai_m,x)}else if(w.startsWith("茅山")){go("jh 29");if(nowjob!="jh"&&nowjob!="tf"&&nowjob!="kftf"){if(maoshan_m.hasOwnProperty(x)){xl(maoshan_m[x]+";^xl_askfunc;$")}else{go("n;n;n;n");if(maoshan_m1.hasOwnProperty(x)){ms_mapst=1;triggers.enableByCls("maoshan_pashan");nextdo=function(){xl(maoshan_m1[x]+";^xl_askfunc;$");nextdo=function(){dojob()};setTimeout(checkbusy,3e3)}}else if(maoshan_m2.hasOwnProperty(x)){ms_mapst=2;triggers.enableByCls("maoshan_pashan");nextdo=function(){xl(maoshan_m2[x]+";^xl_askfunc;$");nextdo=function(){dojob()};setTimeout(checkbusy,3e3)}}go("event_1_60035830")}}}else if(w.startsWith("桃花岛")){go("jh 30");xltell(taohuadao_m,x)}else if(w.startsWith("铁雪山庄")){go("jh 31");if(nowjob!="jh"&&nowjob!="tf"&&nowjob!="kftf"){xlmap=tiexueshanzhuang_m[x].split(";");xl(tiexueshanzhuang_m[x])}}else if(w.startsWith("慕容山庄")){go("jh 32");xltell(murongshanzhuang_m,x)}else if(w.startsWith("大理")){go("jh 33");xltell(dali_m,x)}else if(w.startsWith("断剑山庄")){go("jh 34");xltell(duanjianshanzhuang_m,x)}else if(w.startsWith("冰火岛")){go("jh 35");xltell(binghuodao_m,x)}else if(w.startsWith("侠客岛")){go("jh 36");xltell(xiakedao_m,x)}else if(w.startsWith("绝情谷")){go("jh 37");xltell(jueqinggu_m,x)}else if(w.startsWith("碧海山庄")){go("jh 38");xltell(bihaishanzhuang_m,x)}else if(w.startsWith("天山")){go("jh 39");xltell(tianshan_m,x)}else if(w.startsWith("苗疆")){go("jh 40");xltell(miaojiang_m,x)}else if(w.startsWith("白帝城")){go("jh 41");xltell(baidicheng_m,x)}else if(w.startsWith("墨家机关")||w.startsWith("墨家机关道")){go("jh 42");xltell(mojiajiguan_m,x)}else if(w.startsWith("掩月城")){go("jh 43");xltell(yanyuecheng_m,x)}else if(w.startsWith("海云阁")){go("jh 44");xltell(haiyunge_m,x)}}function go_yx(m,w){nowjob="yx";if(w.startsWith("雪亭镇")){searchNpc(m,xueting_ss)}else if(w.startsWith("洛阳")){searchNpc(m,luoyang_ss)}else if(w.startsWith("华山村")){searchNpc(m,huashancun_ss)}else if(w.startsWith("华山")){searchNpc(m,huashan_ss)}else if(w.startsWith("扬州")){searchNpc(m,yangzhou_ss)}else if(w.startsWith("丐帮")){searchNpc(m,gaibang_ss)}else if(w.startsWith("乔阴县")){searchNpc(m,qiaoyinxian_ss)}else if(w.startsWith("峨眉山")){searchNpc(m,emeishan_ss)}else if(w.startsWith("恒山")){searchNpc(m,hengshan_ss)}else if(w.startsWith("武当山")){searchNpc(m,wudangshan_ss)}else if(w.startsWith("晚月庄")){searchNpc(m,wanyuezhuang_ss)}else if(w.startsWith("水烟阁")){searchNpc(m,shuiyange_ss)}else if(w.startsWith("少林寺")){searchNpc(m,shaolinsi_ss)}else if(w.startsWith("唐门")){searchNpc(m,tangmen_ss)}else if(w.startsWith("青城山")){clickButton("auto_equip off",0);searchNpc(m,qingchengshan_ss)}else if(w.startsWith("逍遥林")){searchNpc(m,xiaoyaolin_ss)}else if(w.startsWith("开封")){searchNpc(m,kaifeng_ss)}else if(w.startsWith("光明顶")||w.startsWith("明教")){searchNpc(m,mingjiao_ss)}else if(w.startsWith("全真教")){searchNpc(m,quanzhenjiao_ss)}else if(w.startsWith("古墓")){searchNpc(m,gumu_ss)}else if(w.startsWith("白驮山")||w.startsWith("白驼山")){searchNpc(m,baituoshan_ss)}else if(w.startsWith("嵩山")){searchNpc(m,songshan_ss)}else if(w.startsWith("寒梅庄")||w.startsWith("梅庄")){searchNpc(m,hanmeizhuang_ss)}else if(w.startsWith("泰山")){searchNpc(m,taishan_ss)}else if(w.startsWith("大旗门")||w.startsWith("铁血大旗门")){go("jh 25")}else if(w.startsWith("大昭寺")){go("jh 26")}else if(w.startsWith("魔教")){go("jh 27")}}var ssid=0,yxmap,yxkill_time,yxsstime1,yxsstime2,yx_delay=130,yx_killtime;triggers.newTrigger(/^ (.*)    /,function(m){console.log(m[1])},"yxss","");triggers.disableByCls("yxss");function yxss_over(){yx_dxnum=0;yxss_close();yxsstime2=(new Date).toLocaleTimeString()+":"+(new Date).getMilliseconds();yxsstime_e=(new Date).getTime();console.log("游侠搜索开始时间 "+yxsstime1+" ,结束时间 "+yxsstime2)}function yxss_home(){ssyxtime=0;go_home();triggers.disableByCls("yxss");triggers.disableByCls("yx_fight");triggers.disableByCls("yx_corpse");triggers.disableByCls("donpc");nowjob=""}function searchNpc(m,s){triggers.enableByCls("yxss");yxer=m;yxmap=s.split(";");ssid=0;ssyxtime=0;go_single(yxmap[ssid]);setTimeout(searchyouxia,yx_delay);yxsstime1=(new Date).toLocaleTimeString()+":"+(new Date).getMilliseconds();yxsstime_b=(new Date).getTime();console.log("开始搜索npc")}function searchyouxia(){if(yxss_flag==0){yxss_home();return}else if(is_fighting){if(chuzhao_flag==0){runhit_open()}go("^searchyouxia|~;0$");return}else if(!is_fighting&&$("span.outbig_text:contains(战斗结束)").length>0){clickButton("prev_combat");setTimeout(function(){go("^searchyouxia|~;0$")},400);return}else if($("button.cmd_click3").text().indexOf(yxer+"的尸体")>-1){words2("真可惜!游侠"+yxer+"已经死了");nowpostion=$("button.cmd_click_room")[0].innerText;console.log(nowpostion+":"+$("button.cmd_click3").text());yxss_over();console.log("本次共计理论直达步数"+(ssid+1)+"步,走路耗时"+(yxsstime_e-yxsstime_b)+"ms,平均速度"+parseInt((yxsstime_e-yxsstime_b)/(ssid+1))+"ms/步");yxss_home();return}else if($("button.cmd_click3").text().indexOf(yxer)>-1){triggers.disableByCls("yxss");words2("大侠你已经看到了"+yxer+",还等什么?");nowpostion=$("button.cmd_click_room")[0].innerText;console.log(nowpostion+":"+$("button.cmd_click3").text());runhit_close();yxss_over();console.log("本次共计理论直达步数"+(ssid+1)+"步,走路耗时"+(yxsstime_e-yxsstime_b)+"ms,平均速度"+parseInt((yxsstime_e-yxsstime_b)/(ssid+1))+"ms/步");npc=yxer;triggers.enableByCls("doyxer");clickbtn(yxer);return}else if($("button.cmd_click3").text().indexOf(yxer)==-1){if(ssid>=yxmap.length-1){nowjob="yx";console.log("没有找到"+yxer+",1秒后重新搜索");ssyxtime++;if(ssyxtime==3){console.log("已经搜索三遍地图但未找到游侠,现在放弃搜索并返回主页");yxss_over();console.log("全地图步数"+yxmap.length+"步,走路耗时"+(yxsstime_e-yxsstime_b)+"ms,平均速度"+parseInt((yxsstime_e-yxsstime_b)/(yxmap.length*3))+"ms/步");yxss_home();return}else{ssid=0;triggers.enableByCls("yxss");go_single(yxmap[ssid]);setTimeout(searchyouxia,yx_delay)}}else if(ssid3||opNum>1){if(yxer!="龙儿"){chuzhao_open()}else{if(cz_skills!=["无影毒阵"]){cz_skills=["乾坤大挪移"]}}}}},"yx_corpse","");triggers.newTrigger(/这是你今天完成的第(.*)\/10场游侠任务!/,function(m){console.log(m[0]);if(m[1]=="10"){youxia_close()}go("golook_room");window.setTimeout(getyxercorpse,500)},"yx_corpse","");triggers.newTrigger(/^今天击杀游侠次数已达到上限。/,function(m){console.log(m[0]);youxia_close();go_home()},"yx_corpse","");triggers.newTrigger(/^(.*)秒后才能攻击这个人。/,function(m){console.log(m[0]);words2("小道现在原地等待"+m[1]+"秒后再次尝试击杀此游侠");clearTimeout(yx_killtime);yx_killtime=setTimeout(function(){console.log("已等待"+m[1]+"秒,继续杀游侠!");go("kill?"+yxer)},(parseInt(m[1])+.5)*1e3)},"yx_corpse","");triggers.newTrigger(/(.*)往(.*)离开。/,function(m){if(m[1].indexOf(yxer)!=-1){console.log(m[0]);switch(m[2]){case"东":clickButton("e");setTimeout(function(){go("kill?"+yxer)},1e3);break;case"西":clickButton("w");setTimeout(function(){go("kill?"+yxer)},1e3);break;case"南":clickButton("s");setTimeout(function(){go("kill?"+yxer)},1e3);break;case"北":clickButton("n");setTimeout(function(){go("kill?"+yxer)},1e3);break;case"东北":clickButton("ne");setTimeout(function(){go("kill?"+yxer)},1e3);break;case"东南":clickButton("se");setTimeout(function(){go("kill?"+yxer)},1e3);break;case"西北":clickButton("nw");setTimeout(function(){go("kill?"+yxer)},1e3);break;case"西南":clickButton("sw");setTimeout(function(){go("kill?"+yxer)},1e3);break;default:console.log("游侠移动未知方向")}}},"yx_corpse","");triggers.newTrigger(/你今天完成的游侠任务数量已经超量了/,function(m){go("golook_room");window.setTimeout(getyxercorpse,500);nowjob="";nextgo=function(){}},"yx_corpse","");triggers.newTrigger(/(.*)战败了(.*)/,function(m){console.log("你打不过游侠或者被玩家怼死了,回家等下一只吧");triggers.disableByCls("yx_fight");triggers.disableByCls("yx_corpse");triggers.disableByCls("yx");triggers.disableByCls("donpc");go_home();nowjob="";nextgo=function(){}},"yx_corpse","");triggers.newTrigger(/(每5秒只能搜索1次游侠尸体|你开始搜索尸体,然而一时手滑,什么都没搜到)/,function(m){window.setTimeout(getyxercorpse,500)},"yx_corpse","");triggers.newTrigger(/(.*)的尸体开始腐烂了,发出一股(.*)/,function(m){if(m[1].indexOf(yxer)!=-1){yxer="腐烂";window.setTimeout(getyxercorpse,500)}},"yx_corpse","");triggers.newTrigger(/(.*)的尸体里没有任何东西/,function(m){if(m[1].indexOf(yxer)!=-1){triggers.disableByCls("yx_fight");triggers.disableByCls("yx_corpse");triggers.disableByCls("yx");triggers.disableByCls("donpc");go_home();nowjob="";nextgo=function(){}}},"yx_corpse","");triggers.newTrigger(/(.*)的尸体里搜出(.*)/,function(m){if(m[1].indexOf(yxer)!=-1){console.log(m[0]);triggers.disableByCls("yx_fight");triggers.disableByCls("yx_corpse");triggers.disableByCls("yx");triggers.disableByCls("donpc");go_home();nowjob="";nextgo=function(){}}},"yx_corpse","");triggers.newTrigger(/你从年兽的尸体里搜出(.*)/,function(m){triggers.disableByCls("yx_fight");triggers.disableByCls("yx_corpse");triggers.disableByCls("yx");triggers.disableByCls("donpc");go_home();nowjob="";nextgo=function(){}},"yx_corpse","");triggers.disableByCls("yx_fight");triggers.disableByCls("yx_corpse");triggers.newTrigger(/每日武林知识问答次数已经达到限额,请明天再来。/,function(m){dati_flag=0;btnList["开答题"].innerText="开答题";triggers.disableByCls("dati")},"dati","");triggers.disableByCls("dati");function getyxercorpse(){g_gmain.notify_fail(HIR+"正在摸索"+yxer+"的尸体。"+NOR);clickbtn(yxer+"的尸体")}function random_move(){var v=Math.random();if(v<.25)go("e");else if(v<.5)go("w");else if(v<.75)go("s");else go("n")}function MyMap(){this.elements=[];this.size=function(){return this.elements.length};this.isEmpty=function(){return 1>this.elements.length};this.clear=function(){this.elements=[]};this.put=function(a,b){for(var d=0;da||a>=this.elements.length?null:this.elements[a]};this.containsKey=function(a){var b=!1;try{for(var c=0;c0){if(msg.indexOf("回答正确!")>0){go("question");return}var q=this.answers.keys();for(var i in q){var k=q[i];if(msg.indexOf(k)>0){console.log("答题--"+k+"--"+this.answers.get(k));this.answer(this.answers.get(k));break}}}}}var question=new Question;function Autoreconnect(){this.dispatchMessage=function(b){var type=b.get("type"),msg=b.get("subtype");if(type=="disconnect"&&msg=="change"){g_gmain.g_delay_connect=0;connectServer()}}}var reconnect=new Autoreconnect;function Trigger(r,h,c,n){this.regexp=r;this.handler=h;this.class=c;this.name=n;this.enabled=true;this.trigger=function(line){if(!this.enabled)return;if(!this.regexp.test(line))return;var m=line.match(this.regexp);this.handler(m)};this.enable=function(){this.enabled=true};this.disable=function(){this.enabled=false}}jh=function(w){if(w=="xt")w=1;if(w=="ly")w=2;if(w=="hsc")w=3;if(w=="hs")w=4;if(w=="yz")w=5;if(w=="gb")w=6;if(w=="qy")w=7;if(w=="em")w=8;if(w=="hs2")w=9;if(w=="wd")w=10;if(w=="wy")w=11;if(w=="sy")w=12;if(w=="sl")w=13;if(w=="tm")w=14;if(w=="qc")w=15;if(w=="xx")w=16;if(w=="kf")w=17;if(w=="gmd")w=18;if(w=="qz")w=19;if(w=="gm")w=20;if(w=="bt")w=21;if(w=="ss")w=22;if(w=="mz")w=23;if(w=="ts")w=24;go("jh "+w)};function Triggers(){this.allTriggers=[];this.trigger=function(line){var t=this.allTriggers.slice(0);for(var i=0,l=t.length;i=0;i--){if(this.allTriggers[i].name==n)this.allTriggers.splice(i,1)}}this.allTriggers.push(t);return t};this.enableTriggerByName=function(n){for(var i=this.allTriggers.length-1;i>=0;i--){t=this.allTriggers[i];if(t.name==n)t.enable()}};this.disableTriggerByName=function(n){for(var i=this.allTriggers.length-1;i>=0;i--){t=this.allTriggers[i];if(t.name==n)t.disable()}};this.enableByCls=function(c){for(var i=this.allTriggers.length-1;i>=0;i--){t=this.allTriggers[i];if(t.class==c)t.enable()}};this.disableByCls=function(c){for(var i=this.allTriggers.length-1;i>=0;i--){t=this.allTriggers[i];if(t.class==c)t.disable()}};this.removeByCls=function(c){for(var i=this.allTriggers.length-1;i>=0;i--){t=this.allTriggers[i];if(t&&t.class==c)this.allTriggers.splice(i,1)}};this.removeByName=function(n){for(var i=this.allTriggers.length-1;i>=0;i--){t=this.allTriggers[i];if(t.name==n)this.allTriggers.splice(i,1)}}}var mj_fight=true,mj_doing=false,qx_bstime,mjname="【炼丹室】",mj_num=0,mjinfo={" *绿水山庄* ":[1250,"lvshuige_saodang"]," *桃花渡* ":[1780,"taohuadu_saodang"],"【大福船】":[3090,"dafuchuan_saodang"],"【天龙山】":[3100,"tianlongshan_saodang"],"【八卦门】":[3645,"baguamen_saodang"]," *龙渊刀楼* ":[1535,"daojiangu_saodang"]," *帝龙陵* ":[2385,"dilongling_saodang"]," *戈壁绿洲* ":[2035,"lvzhou_saodang"]," *乱石山* ":[2340,"luanshishan_saodang"]," *佛门石窟* ":[2420,"fomenshiku_saodang"],"【滨海古城】":[3390,"binhaigucheng_saodang"],"【蛮王城寨】":[3890,"nanmanzhidi_saodang"],"【酆都鬼城】":[3890,"fengduguicheng_saodang"]," *毒瘴林* ":[2980,"event_1_30944031"]," *琅嬛玉洞* ":[2980,"event_1_74168671"],"【地下迷宫】":[2980,"event_1_3668752"],"【山崖】":[2980,"event_1_97070517"],"【炼丹室】":[2980,"event_1_99063572"],"【药王谷】":[5980,"event_1_18864573"],"【雷池山】":[5930,"event_1_32379200"]};triggers.newTrigger(/(.*)对著(.*)说道(.*)的高招!/,function(m){if(mj_fight&&banxiaohao.indexOf(m[1])!=-1){clickButton("golook_room");setTimeout(function(){setdonpc(m[1],"比试")},200);console.log("奇侠亲密"+m[2]+"--自动比试"+m[1])}},"mijing","");triggers.newTrigger(/这个奇侠还没有入世/,function(m){triggers.disableByCls("qx_find");console.log("奇侠归位过程错误,托管模式下将重新执行智能奇侠");go("home");if(tg_qx==1){setTimeout(ai_qixia,2e3)}},"qx_find","");triggers.disableByCls("qx_find");triggers.newTrigger(/今日做了太多关于亲密度的操作(.*)/,function(m){triggers.disableByCls("qx_find");triggers.disableByCls("mijing");nowjob="";qiXiaSwitch();go("home");setTimeout(function(){if(autoqixia_flag==1){qxList=qxList_input.split(";");qixia_nofound=[];btnList["撩奇侠"].innerText="正在撩";lqx_go()}},300)},"mijing","");triggers.newTrigger(/(.*)往(.*)离开/,function(m){if(m[1].indexOf(fqxname)>-1&&mj_doing==false){console.log(m[0]);if(m[2]=="东"){go("e");if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}}else if(m[2]=="南"){go("s");if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}}else if(m[2]=="西"){go("w");if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}}else if(m[2]=="北"){go("n");if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}}else if(m[2]=="东南"){go("se");if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}}else if(m[2]=="东北"){go("ne");if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}}else if(m[2]=="西南"){go("sw");if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}}else if(m[2]=="西北"){go("nw");if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}}else{console.log("奇侠飞了,咱们在师门找找看吧");getqixiacode();setTimeout(function(){go("find_task_road qixia "+qixiaCode[fqxname]);setTimeout(function(){getpostion();if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}},1e3)},1e3)}}},"mijing","");triggers.newTrigger(/今日亲密度操作次数\((.*)\/20\)/,function(m){triggers.disableByCls("qx_find");if(m[1]==1){mj_num=0}if(m[1]==20){mj_num=0;nowjob="lqx";triggers.disableByCls("mijing");qiXiaSwitch();go("home");setTimeout(function(){if(autoqixia_flag==1){qxList=qxList_input.split(";");qixia_nofound=[];btnList["撩奇侠"].innerText="正在撩";lqx_go()}},300);return}setTimeout(function(){console.log("触发秘境?"+mj_doing);if(autoqixia_flag==1&&mj_doing==false){if(autoqixia_mode==0){if(mj_num==3){mj_fight=false;givegold(fqxname,1);console.log("赠送"+fqxname+"1个金锭")}else if(mj_num==4&&autoqixia_num==0){mj_fight=true}else if(mj_num==4&&autoqixia_num==1&&m[1]<=14){mj_fight=true}else if(mj_num==4&&autoqixia_num==1&&m[1]>14){mj_fight=false;givegold(fqxname,15);console.log("赠送"+fqxname+"15个金锭")}else if(mj_num==5&&autoqixia_num==1&&m[1]<20){mj_fight=true}}else if(autoqixia_mode==1){mj_fight=false;if(mj_num<=4&&autoqixia_num==0){givegold(fqxname,1);console.log("赠送"+fqxname+"1个金锭")}else if(mj_num<4&&autoqixia_num==1){givegold(fqxname,1);console.log("赠送"+fqxname+"1个金锭")}else if(mj_num==4&&autoqixia_num==1){givegold(fqxname,15);console.log("赠送"+fqxname+"15个金锭")}else if(mj_num>4&&autoqixia_num==1){givegold(fqxname,1);console.log("赠送"+fqxname+"1个金锭")}}else if(autoqixia_mode==2){mj_fight=false;givegold(fqxname,15);console.log("赠送"+fqxname+"15个金锭")}}},200)},"mijing","");var nowtask=function(){},qxwalk_num=0;triggers.newTrigger(/(.*)对你悄声道:你现在去(.*),应当会有发现……/,function(m){clearTimeout(qx_bstime);mj_doing=true;fqxname=m[1];mj_num++;nowjob="mj";go_sm(mjmap[m[2]],m[2]);console.log("秘境地点:"+mjmap[m[2]]+"-"+m[2]);nowtask=function(){if(timeCmd==0&&!is_fighting){setTimeout(function(){if(timeCmd==0&&!is_fighting&&$("button.cmd_click3").text().indexOf("仔细搜寻")!=-1){qxwalk_num=0;clickbtn3("仔细搜寻")}else{qxwalk_num++;console.log("还没走到秘境入口"+qxwalk_num+"次,等会搜索");clearTimeout(qx_bstime);if(qxwalk_num>8){qxwalk_num=0;console.log("奇侠秘境寻路过程出错了,重新开始");go("open jhqx")}else{qx_bstime=setTimeout(nowtask,1e3)}}},500)}else qx_bstime=setTimeout(nowtask,2e3)};if(m[2]=="九老洞"){qx_bstime=setTimeout(nowtask,25e3)}else{qx_bstime=setTimeout(nowtask,2e3)}},"mijing","");triggers.newTrigger(/(秘密地图|秘境地图|秘境任务|秘密任务|秘境副本|秘境)(.*)任务/,function(m){console.log("当前位置有:"+$("button.cmd_click3").text());writeout("大侠,你现在的位置有这些东西:"+$("button.cmd_click3").text(),"rgb(32, 209, 235)");clickbtn3("仔细搜索");mjname=m[2];console.log(mjname);if(autoqixia_flag==1){if($("button.cmd_click3").text().indexOf("扫荡")!=-1){clickbtn3("扫荡")}else if(mjname.indexOf("无尽深渊")>-1){wujinsy();nowtask=function(){if(timeCmd==0&&!is_fighting){clearTimeout(qx_bstime);console.log("无尽深渊秘境优化完毕,跳过boss");mj_doing=false;triggers.enableByCls("qx_find");go("find_task_road qixia "+qixiaCode[fqxname]);setTimeout(function(){if(autoqixia_mode==0){mj_fight=true}else if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}},300)}else qx_bstime=setTimeout(nowtask,2e3)};qx_bstime=setTimeout(nowtask,8e3)}else{console.log("本秘境尚未通关或不支持扫荡,自动奇侠归位");mj_doing=false;triggers.enableByCls("qx_find");go("find_task_road qixia "+qixiaCode[fqxname]);setTimeout(function(){if(autoqixia_mode==0){mj_fight=true}else if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}},300)}}},"mijing","");triggers.newTrigger(/这是这座滨海古城的中心/,function(m){mjname="【滨海古城】";console.log(mjname)},"mijing","");triggers.newTrigger(/你在这儿一番搜寻,竟找到一条秘径,来到了一个绝密的所在!/,function(m){console.log("这是你今天触发的第 "+mj_num+" 次秘境");setTimeout(function(){clickbtn3("仔细搜索");setTimeout(function(){getpostion();if(nowpostion.indexOf("巨石之上")!=-1||nowpostion.indexOf("古树中")!=-1||nowpostion.indexOf("湖底密室")!=-1||nowpostion.indexOf("山洞中")!=-1||nowpostion.indexOf("悬崖下")!=-1){console.log("很遗憾,本次秘境搜索没触发秘境副本任务");mj_doing=false;triggers.enableByCls("qx_find");go("find_task_road qixia "+qixiaCode[fqxname]);setTimeout(function(){if(autoqixia_mode==0){mj_fight=true}else if(autoqixia_mode==1){givegold(fqxname,1)}else if(autoqixia_mode==2){givegold(fqxname,15)}},300)}},300)},300)},"mijing","");triggers.newTrigger(/扫荡完成的奖励为:(.*)朱果x(.*)。进入后面的房间将失去扫荡的机会/,function(m){console.log(m[2]+"--"+mjinfo[mjname][0]);if(m[2]]*>/g,"");triggers.trigger(a)};webSocketMsg.prototype.old=gSocketMsg.dispatchMessage;gSocketMsg.dispatchMessage=function(b){this.old(b);qlMon.dispatchMessage(b);if(reconnect_flag==1){reconnect.dispatchMessage(b)}if(dati_flag==1){question.dispatchMessage(b)}if(hideNpc==1){showhide.dispatchMessage(b)}if(escapeTrigger==1){escapes.dispatchMessage(b)}if(pz_flag==1||hitnpctarget==1||hitplayertarget==1||followplayertarget==1){combat.dispatchMessage(b)}if(guanzhanTrigger==1){guanzhan.dispatchMessage(b)}if(onekillTrigger==1){onekill.dispatchMessage(b)}}};attach();var mtmap="",mtStatus=0,mtnpc="",shuabaoji_flag=0,sbjwait=1,sbjfunc=function(){};function askMiti_switch(){if(shuabaoji_flag==0){shuabaoji_flag=1;btnList["刷暴换接"].innerText="关闭换接";btnList["刷暴换接"].style.borderStyle="inset"}else if(shuabaoji_flag==1){shuabaoji_flag=0;btnList["刷暴换接"].innerText="刷暴换接";btnList["刷暴换接"].style.borderStyle="outset"}}function askMiti_wait(){if(database.sbjwait==0){database.sbjwait=1;btnList["刷暴跳过"].innerText="刷暴跳过"}else if(database.sbjwait==1){database.sbjwait=0;btnList["刷暴跳过"].innerText="刷暴等待"}}function mtwait_re(){if(!database.hasOwnProperty("sbjwait")){database.sbjwait=1;return}if(database.sbjwait==1){btnList["刷暴跳过"].innerText="刷暴跳过"}else if(database.sbjwait==0){btnList["刷暴跳过"].innerText="刷暴等待"}}function askMiti(){if(mtmap==""){var srmap=prompt("请输入想搜索的地图,如雪亭镇:","");if(!npcLists.hasOwnProperty(srmap)){alert("你输入的地图不存在");shuabaoji_flag=0}else{if(confirm("是否开启刷暴换接?(如果不开启此功能,做完谜题后不会自动找下个npc接任务)")){shuabaoji_flag=1;btnList["刷暴换接"].innerText="关闭换接";btnList["刷暴换接"].style.borderStyle="inset"}else{console.log("放弃开启刷暴换接,仅能手动接下个谜题");console.log("任务集里可以开启刷暴换接哦")}console.log("刷暴击默认等待npc复活,任务集刷暴跳过可以跳过死亡npc谜题");limitQixue="800";mySkillLists="乾坤大挪移;唐门毒功;摧心掌;毒砂掌;唐门毒掌";cz_skills=mySkillLists.split(";");runhit_open();goAskMiti(srmap,0)}}else{goAskMiti(mtmap,mtStatus+1)}}function goAskMiti(map,st){mtmap=map;mtStatus=st;mtnpc=npcLists[map][st];if(st1e5){console.log("找到暴击:"+m[2]+"的谜题");database.baoji=m[0]+" "+database.baoji}if(shuabaoji_flag==1){setTimeout(askMiti,300)}},"mt_jiangli","");triggers.newTrigger(/今日已达到谜题数量限制。/,function(m){if(btnList["开谜题"].innerText=="关谜题"){clearTimeout(bs_time);go_home();console.log(m[0]);triggers.disableByCls("askmtnpc");mt_flag=0;btnList["开谜题"].style.borderStyle="outset";btnList["开谜题"].innerText="开谜题";triggers.disableByCls("mt");triggers.disableByCls("mtget");triggers.disableByCls("mtget2")}},"mt_jiangli","");triggers.newTrigger(/^所接谜题过多。/,function(m){triggers.disableByCls("askmtnpc");clearTimeout(bs_time);if(mtnpc!=""){go("auto_tasks cancel");nextgo=function(){setdonpc(mtnpc,"对话");triggers.enableByCls("askmtnpc")};setTimeout(function(){go(";;;$")},300)}},"askmtnpc","");triggers.newTrigger(/^(.*)(盯着你看了一会儿|说道:嗯....江湖上好玩吗?|疑惑地看着你,道:你想干什么|道:哼,来吧!|睁大眼睛望着你|摇摇头,说道:你在这做什么?|挺有兴致地跟你聊了起来)/,function(m){triggers.disableByCls("askmtnpc");clearTimeout(bs_time);if(m[1]==mtnpc){console.log(mtnpc+"--没有谜题");goAskMiti(mtmap,mtStatus+1)}},"askmtnpc","");triggers.newTrigger(/^(.*):(.*)/,function(m){if(m[0].split(":").length==2&&m[0].indexOf("这儿有")==-1&&m[0].indexOf("欢迎来")==-1&&m[1].length<8){var a=m[1].replace("说","").replace("道","").replace("摇","").replace("点","").replace("讲","").replace("叹","").replace("冷","").replace("头","").replace(",","").replace(" ","");if(a==mtnpc&&m[0].indexOf("真是多谢你了")==-1){clearTimeout(bs_time);console.log(m[0]);if(m[0].indexOf("点头道:嗯,相遇即是缘")>-1){go("ask?"+mtnpc)}else{var b=$("span.out2:contains("+m[1]+")").html();if(b.indexOf("")==-1){triggers.disableByCls("askmtnpc");console.log(mtnpc+"--没有谜题");goAskMiti(mtmap,mtStatus+1)}}}}},"askmtnpc","");triggers.disableByCls("askmtnpc");var chuzhao_flag=0,runhiting;function runhit(){if(btnList["开出招"].innerText=="开出招"){mySkillLists=prompt("请输入连续单放出招技能:",mySkillLists);cz_skills=mySkillLists.split(";");runhit_open()}else{runhit_close()}}function runhit_open(){g_gmain.notify_fail(HIG+"天下武功,为快不破!"+NOR);g_gmain.notify_fail(HIR+"你的出招,快如闪电!"+NOR);chuzhao_flag=1;clearInterval(runhiting);btnList["开出招"].innerText="关出招";btnList["开出招"].style.borderStyle="inset";runhiting=setInterval(hit,1e3)}function runhit_close(){chuzhao_flag=0;clearInterval(runhiting);btnList["开出招"].innerText="开出招";btnList["开出招"].style.borderStyle="outset"}var kgj_popbk=createPop("开关集");popList["开关集"].innerHTML="
请选择你要使用的开关
";createPopButton("开逃犯","开关集",taoFanSwitch);createPopButton("开天剑","开关集",tianjian);createPopButton("开镖车","开关集",kbcfunc);createPopButton("开帮战","开关集",bangzhan);createPopButton("开红包","开关集",hongbao);createPopButton("开抢菜","开关集",robcaiSwitch);createPopButton("开灯谜","开关集",readnowjob);createPopButton("开救赎","开关集",auto_clearre);createPopButton("开智悬","开关集",auto_znxh);createPopButton("设智悬","开关集",znxh_set);function kgjfunc(){kgj_popbk.style.display=""}function canshu_set(){database.boss_canshu=prompt("请输入杀boss地点(广场几就填数字几),boss杀人黄红(0黄1红),开秘图杀人模式(0表示出来才跑去杀,1表示过去蹲着杀),游侠掉线接搜",database.boss_canshu);if(database.boss_canshu.length==7&&database.boss_canshu.indexOf(",")>-1){boss_add=database.boss_canshu.split(",")[0];boss_kill=database.boss_canshu.split(",")[1];pintu_mode=database.boss_canshu.split(",")[2];yx_js=database.boss_canshu.split(",")[3];console.log("boss地点:"+boss_add+";boss杀人:"+boss_kill+";秘图模式:"+pintu_mode+";游侠接搜:"+yx_js)}else{console.log("初始化错误,请重新设置")}}function canshu_re(){if(!database.boss_canshu){database.boss_canshu="8,0,0,1";console.log("未发现初始化,已重置boss参数"+database.boss_canshu)}boss_add=database.boss_canshu.split(",")[0];boss_kill=database.boss_canshu.split(",")[1];pintu_mode=database.boss_canshu.split(",")[2];yx_js=database.boss_canshu.split(",")[3]}var boss_add,boss_kill,pintu_mode,yx_js;function boss_open(){if(btnList["开BOSS"].innerText=="开BOSS"){var t=$("span.outtitle").last().text();if(t.indexOf("武林广场")==-1){alert("请先使用特殊集-新开跨服(或者其他方式进入了跨服武林广场),再使用本功能")}else{open_boss()}}else{close_boss()}}function open_boss(){kfql_flag=1;if(boss_kill==0){bznpc_name="不『二』剑客"}else if(boss_kill==1){bznpc_name="无『双』公主"}go_boss();btnList["开BOSS"].innerText="关BOSS";btnList["开BOSS"].style.borderStyle="inset"}function close_boss(){triggers.disableByCls("bz_look");triggers.disableByCls("bz_fight");triggers.disableByCls("bz_huifu");btnList["开BOSS"].innerText="开BOSS";btnList["开BOSS"].style.borderStyle="outset";nowjob=""}function go_boss(){var t=$("span.outtitle").last().text();var w="";var n=parseInt(t.slice(4));if(nboss_add){for(var i=0;i请选择你要兑换的称号";createPopButton("学富40z","兑换称号",dhch_go);createPopButton("龙战50j","兑换称号",dhch_go);createPopButton("义薄50b","兑换称号",dhch_go);createPopButton("气冲100b","兑换称号",dhch_go);createPopButton("天命20m","兑换称号",dhch_go);createPopButton("桃李30s","兑换称号",dhch_go);createPopButton("春风50s","兑换称号",dhch_go);createPopButton("阳春100s","兑换称号",dhch_go);createPopButton("皇图300b","兑换称号",dhch_go);createPopButton("奖善40x","兑换称号",dhch_go);createPopButton("龙骧60x","兑换称号",dhch_go);createPopButton("龙翔300x","兑换称号",dhch_go);createPopButton("龙吟100j","兑换称号",dhch_go);createPopButton("龙幡300j","兑换称号",dhch_go);function dhchfunc(){dhch_popbk.style.display=""}function dhch_go(){go("items get_store /obj/shop/zhuangyuantie;items get_store /obj/shop/shimenling;items get_store /obj/shop/mitiling;items get_store /obj/shop/jianghuling;items get_store /obj/shop/zhengxieling;items get_store /obj/shop/bangpailing;items get_store /obj/shop/baibaoling");var a=this.innerText.slice(2);var b=parseInt(a);var c=0;var d="";var add="";console.log(b);if(a.indexOf("z")>-1){console.log("本称号需要状元帖*"+b+"才能兑换");d="dh_baibaoling 4";add="jh 5;n;n;n;n;n;e;n;n;n;look_npc yangzhou_yangzhou17";getthingnum("状元贴")}else if(a.indexOf("j")>-1){console.log("本称号需要江湖令*"+b+"才能兑换");d="dh_baibaoling 3";add="jh 2;n;n;n;e;s;look_npc luoyang_luoyang16";getthingnum("江湖令")}else if(a.indexOf("b")>-1){console.log("本称号需要帮派令*"+b+"才能兑换");d="dh_baibaoling 1";add="jh 1;e;n;w;look_npc snow_annihir";getthingnum("帮派令")}else if(a.indexOf("s")>-1){console.log("本称号需要师门令*"+b+"才能兑换");d="dh_baibaoling 0";add="jh 1;e;n;e;look_npc snow_guard";getthingnum("师门令")}else if(a.indexOf("m")>-1){console.log("本称号需要谜题令*"+b+"才能兑换");d="dh_baibaoling 2";add="jh 1;e;look_npc snow_worker";getthingnum("谜题令")}else if(a.indexOf("x")>-1){console.log("本称号需要正邪令*"+b+"才能兑换");d="dh_baibaoling 5";add="jh 2;n;n;n;w;look_npc luoyang_luoyang15";getthingnum("正邪令")}setTimeout(function(){console.log("现有个数:"+thingnum+",目标个数:"+b);if(thingnum请选择你要做的日常任务";createPopButton("签到","任务集",qd);createPopButton("刷碎片","任务集",ssp);createPopButton("打榜一","任务集",PaiHangFunc);createPopButton("出海","任务集",ch);createPopButton("去钓鱼","任务集",qdy);createPopButton("杀孽龙","任务集",snl);createPopButton("杀白陀","任务集",sbt);createPopButton("杀峨眉","任务集",sem);createPopButton("点破阵","任务集",dpz);createPopButton("喂鳄鱼","任务集",wey);createPopButton("侠客日常","任务集",xkd);createPopButton("参岩画","任务集",cyh);createPopButton("采矿","任务集",ck);createPopButton("挖玄铁","任务集",wxt);createPopButton("冰月谷","任务集",byg);createPopButton("采莲","任务集",cl);createPopButton("天山挂机","任务集",TsdzFunc);createPopButton("苗疆炼药","任务集",MiaoJiangFunc);createPopButton("试剑","任务集",shijian);createPopButton("开答题","任务集",datiswitch);createPopButton("去挖宝","任务集",buycangbaotu);createPopButton("去射雕","任务集",qsd);createPopButton("撩奇侠","任务集",lqx);createPopButton("点vip","任务集",clickvip);createPopButton("开领奖","任务集",kljfunc);createPopButton("vip谜题","任务集",vip_mt);createPopButton("看战场","任务集",bz_start);createPopButton("去战场","任务集",bz_go);createPopButton("清缓存","任务集",clearbug);createPopButton("失效重置","任务集",shixiaorebuilt);createPopButton("清谜题","任务集",clearmt);createPopButton("清背包","任务集",clearBag);createPopButton("暴击列表","任务集",baoji_list);createPopButton("清空暴击","任务集",baoji_clear);createPopButton("刷暴换接","任务集",askMiti_switch);createPopButton("刷暴跳过","任务集",askMiti_wait);createPopButton("跟杀设置","任务集",killfollowset);createPopButton("当前任务","任务集",readnowjob);createPopButton("帮派烧香","任务集",shaoxiang);createPopButton("帮任60","任务集",bangren60);createPopButton("点榜20","任务集",dabang20);createPopButton("物品操作","任务集",getthingnum1);createPopButton("循环boss","任务集",killboss_loop);createPopButton("延时检测","任务集",yanshiceshi);createPopButton("属性查看","任务集",readshuxing);createPopButton("吃帮榜令","任务集",vip_eat);createPopButton("兑换称号","任务集",dhchfunc);createPopButton("开启悬红","任务集",xuanhong_task);function rwjfunc(){rwj_popbk.style.display=""}function killboss_loop(){if(btnList["循环boss"].innerText=="循环boss"&&kfql_flag==1){btnList["循环boss"].innerText="停止循环";btnList["循环boss"].style.borderStyle="inset";if(boss_kill==0){bznpc_name="不『二』剑客";jishi=setInterval(killbossnpc,500)}else if(boss_kill==1){bznpc_name="无『双』公主";jishi=setInterval(killbossnpc,500)}}else{btnList["循环boss"].innerText="循环boss";btnList["循环boss"].style.borderStyle="outset";clearInterval(jishi);console.log("温馨提示:本功能在跨服中才能使用")}}function xuanhong_task(){if(database.xuanhong_flag==1){database.xuanhong_flag=0;btnList["开启悬红"].innerText="开启悬红";btnList["开启悬红"].style.borderStyle="outset";triggers.disableByCls("xuanhong")}else{database.xuanhong_flag=1;btnList["开启悬红"].innerText="关闭悬红";btnList["开启悬红"].style.borderStyle="inset";triggers.enableByCls("xuanhong")}}function xuanhong_re(){if(typeof database.xuanhong_flag=="undefined"){database.xuanhong_flag=1}if(database.xuanhong_flag==1){btnList["开启悬红"].innerText="关闭悬红";btnList["开启悬红"].style.borderStyle="inset";triggers.enableByCls("xuanhong")}else if(database.xuanhong_flag==0){btnList["开启悬红"].innerText="开启悬红";btnList["开启悬红"].style.borderStyle="outset";triggers.disableByCls("xuanhong")}}function killing_etu(){var a=$("button.cmd_click3").text();if(a.indexOf("星宿恶徒【一】")>-1&&a.indexOf("星宿恶徒【一】的尸体")==-1){go("kill?星宿恶徒【一】|~;^killing_etu;$");console.log("叫杀星宿恶徒【一】")}else if(a.indexOf("星宿恶徒【二】")>-1&&a.indexOf("星宿恶徒【二】的尸体")==-1){go("kill?星宿恶徒【二】|~;^killing_etu;$");console.log("叫杀星宿恶徒【二】")}else if(a.indexOf("星宿恶徒【三】")>-1&&a.indexOf("星宿恶徒【三】的尸体")==-1){go("kill?星宿恶徒【三】|~;^killing_etu;$");console.log("叫杀星宿恶徒【三】")}else if(a.indexOf("星宿恶徒【四】")>-1&&a.indexOf("星宿恶徒【四】的尸体")==-1){go("kill?星宿恶徒【四】");console.log("叫杀星宿恶徒【四】")}else{if(etu_stepparseInt(database.znxh_num)&&database.znxh_flag==1){console.log("已超过最大连接次数,放弃后重接");database.xuanhong_flag=0;btnList["开启悬红"].innerText="开启悬红";btnList["开启悬红"].style.borderStyle="outset";triggers.disableByCls("xuanhong");nextgo=function(){database.xuanhong_flag=1;btnList["开启悬红"].innerText="关闭悬红";btnList["开启悬红"].style.borderStyle="inset";triggers.enableByCls("xuanhong");go("event_1_40923067")};go("event_1_40923067;event_1_8142288 go;$")}else{console.log("今日悬红任务已经完成或到达最大难度");go_home()}},"xuanhong","");triggers.newTrigger(/(哎,我都累死了,等下再来好吗?|系统更新中,请稍候再试。)/,function(m){go("event_1_40923067")},"xuanhong","");triggers.newTrigger(/^你今天江湖悬红榜任务数量已经达到上限,请明天再来吧。/,function(m){console.log("今日悬红任务已上限,如需继续请使用悬红令");go_home()},"xuanhong","");triggers.newTrigger(/【江湖悬红榜】下一个江洋大盗的线索请找到位于『(.*)』的『(.*)』打听。(.*)/,function(m){var a=m[1];if(a!="海云阁"){if(a=="苗疆"||a=="茅山"){words1("苗疆和茅山部分任务若不能直达,请手动使用寻路集")}var b=Object.getOwnPropertyNames(xuanhong_npclist[a]);var c=[];var d="脚本库发现多个相同描述的npc!\n请尝试在下列npc中选择\n";var e=0;for(var i=0;i-1){c.push(a+"-"+b[i])}}if(c.length==0){words3("抱歉,脚本库没有该描述,请与管理员联系");if(database.znxh_flag==1){go("event_1_72202956 go;event_1_40923067")}}else if(c.length==1){words2(c[0]+">>"+xuanhong_walkway[a][c[0].split("-")[1]]);if(xuanhong_walkway[a][c[0].split("-")[1]].indexOf("靠谜题飞")>-1&&database.znxh_flag==1){go("event_1_72202956 go;event_1_40923067");return}if(a=="峨眉山"){console.log("悬红任务:峨眉山-"+c[0])}var f=c[0].split("-")[1];if(f.indexOf(")")>-1){f=f.split(")")[1]}var g=xuanhong_walkway[a][c[0].split("-")[1]];if(parseInt(g.split(";")[0].replace("jh ",""))>nowjh){words1("你当前未解锁该地图,请用谜题飞到该图起点后再谷歌寻人");console.log("关卡未解锁,请谜题飞往起点后寻路");if(database.znxh_flag==1){go("event_1_72202956 go;event_1_40923067")}}else{if(f!="摆渡老人"){nextgo=function(){setTimeout(function(){setdonpc(f,"对话")},500)};go(g+";;$")}else{console.log("谷歌寻路摆渡老人");google_npc("摆渡老人")}}}else if(c.length>1){if(database.znxh_flag==0){for(var i=0;i>"+xuanhong_walkway[a][c[i].split("-")[1]])}e=prompt(d,0);if(parseInt(e)>=0&&parseInt(e)>"+xuanhong_walkway[a][c[e].split("-")[1]]);var f=c[e].split("-")[1];if(f.indexOf(")")>-1){f=f.split(")")[1]}var g=xuanhong_walkway[a][c[e].split("-")[1]];if(parseInt(g.split(";")[0].replace("jh ",""))>nowjh){words1("你当前未解锁该地图,请用谜题飞到该图起点后再谷歌寻人");console.log("关卡未解锁,请谜题飞往起点后寻路")}else{if(f!="摆渡老人"){nextgo=function(){setTimeout(function(){setdonpc(f,"对话")},500)};go(g+";;$")}else{console.log("谷歌寻路摆渡老人");google_npc("摆渡老人")}}}}else if(database.znxh_flag==1){go("event_1_72202956 go;event_1_40923067")}}}else{words3("抱歉,道长还打不通关掩月城,海云阁请自行探索。");console.log("海云阁任务请自行探索");if(database.znxh_flag==1){go("event_1_72202956 go;event_1_40923067")}}},"xuanhong","");triggers.newTrigger(/^【江湖悬红榜】任务已完成。/,function(m){go("jh 1;w;event_1_40923067");ngcount=0;bx_buff=0},"xuanhong","");triggers.disableByCls("xuanhong");xuanhong_re();function yanshiceshi(){triggers.enableByCls("yanshiceshi");yxsstime1=(new Date).toLocaleTimeString()+":"+(new Date).getMilliseconds();yxsstime_b=(new Date).getTime();clickButton("items get_stor")}triggers.newTrigger(/查看背包的命令格式不对。/,function(m){triggers.disableByCls("yanshiceshi");$("span.out2:contains(查看背包的命令格式不对)").remove();yxsstime2=(new Date).toLocaleTimeString()+":"+(new Date).getMilliseconds();yxsstime_e=(new Date).getTime();console.log("指令发出时间:"+yxsstime1+",生效时间:"+yxsstime2);console.log("本次检测网络延时大概为:"+(yxsstime_e-yxsstime_b)+"ms")},"yanshiceshi","");triggers.disableByCls("yanshiceshi");function readshuxing(){var my=g_obj_map.get("msg_attrs"),a=my.get("yuanbao"),b=my.get("xf_score"),c=my.get("id"),d=my.get("name"),e=my.get("born"),f=my.get("exp"),g=my.get("upgrade_exp"),h=my.get("money"),i=my.get("room_name"),j=my.get("family_name"),k=my.get("age");alert(j+"弟子"+d+"你好,你用户id:"+c+",出身于"+e+",现在已经"+k+"岁了,你现在拥有银子:"+h+",元宝:"+a+",消费积分:"+b+"。你正在"+i+"思考人生,看到自己的经验值为:"+f+"/"+g)}function loginhoutai(){var a=prompt("请输入后台管理员账号:密码","admin"+":"+"password");if(a.split(":")[0]!="daozhang"&&a.split(":")[0]!="daozhang"){database.admin=0;console.log("账号密码错误");return}else{database.admin=1;console.log("管理员,欢迎您!"+parseInt(database.admin))}}function readnowjob(){alert("当前任务 nowjob="+nowjob)}function shaoxiang(){console.log("智能烧香一次");triggers.enableByCls("shaoxiang1");go("clan incense cx")}triggers.newTrigger(/檀香((.*)\/20):每柱香需要5金锭/,function(m){if(m[1]>0&&m[1]<20){go("clan incense jx");console.log(m[0])}else if(m[1]==20){console.log(m[0]);triggers.disableByCls("shaoxiang");triggers.enableByCls("shaoxiang2");go("items get_store /obj/shop/shaoxiangfu;items use obj_shaoxiangfu")}},"shaoxiang","");triggers.newTrigger(/没有足够的金锭。/,function(m){console.log("上檀香金锭不够了,结束");triggers.disableByCls("shaoxiang");go_home()},"shaoxiang","");triggers.newTrigger(/沉香((.*)\/(.*)):每柱香需要100元宝/,function(m){console.log(m[0]);if(m[1]==m[2]){triggers.disableByCls("shaoxiang1");triggers.enableByCls("shaoxiang");go("items get_store /obj/shop/jinding;clan incense jx")}else{go("clan incense cx")}},"shaoxiang1","");triggers.newTrigger(/今天上沉香的次数已达到上限了。/,function(m){console.log(m[0]);triggers.disableByCls("shaoxiang1");triggers.enableByCls("shaoxiang");go("items get_store /obj/shop/jinding;clan incense jx")},"shaoxiang1","");triggers.newTrigger(/今天上檀香的次数已达到上限了。/,function(m){console.log(m[0]);triggers.disableByCls("shaoxiang");triggers.enableByCls("shaoxiang2");go("items get_store /obj/shop/shaoxiangfu;items use obj_shaoxiangfu")},"shaoxiang","");triggers.newTrigger(/成功清除了今天的檀香和沉香次数/,function(m){console.log("使用烧香符清除了次数,继续烧");triggers.disableByCls("shaoxiang2");shaoxiang()},"shaoxiang2","");triggers.newTrigger(/你今天使用烧香符次数已经达到上限了/,function(m){console.log("今天烧香满了。结束烧香");triggers.disableByCls("shaoxiang2");triggers.disableByCls("shaoxiang1");triggers.disableByCls("shaoxiang");go_home()},"shaoxiang2","");triggers.newTrigger(/你的背包里没有这个物品。/,function(m){console.log("没有烧香符了。结束烧香");triggers.disableByCls("shaoxiang2");triggers.disableByCls("shaoxiang1");triggers.disableByCls("shaoxiang");go_home()},"shaoxiang2","");triggers.disableByCls("shaoxiang");triggers.disableByCls("shaoxiang1");triggers.disableByCls("shaoxiang2");function bangren60(){if(!database.bpling_eat){database.bpling_eat="1,40"}database.bpling_eat=prompt("请输入使用帮派令次数,vip点帮任次数",database.bpling_eat);console.log(database.bpling_eat);bangren60_go()}function bangren60_go(){if(!database.bpling_eat){database.bpling_eat="1,40"}var a=database.bpling_eat.split(",")[0];var b=database.bpling_eat.split(",")[1];var c="";var d="";for(var i=0;i]+>/g,"");if(btxt.indexOf("礼包")>-1){var m="相守授道春晖父爱粽子军魂鬼神兑换1元天地南瓜";if(m.indexOf(btxt.replace("礼包",""))==-1){lb_code+=b[i].getAttribute("onclick").split("'")[1]+";";console.log("本次获取的礼包代码为"+lb_code)}}}};function qd(){console.log("签到一次!");triggers.enableByCls("lb_code1");go("jh 1;w;event_1_46497436;jh 1");setTimeout(function(){var a="look_npc "+g_obj_map.get("msg_room").get("npc1").split(",")[0];go(a+";;;;^clickLibaoBtn;$;;;;~;look_npc snow_mercenary")},1200)}function clickLibaoBtn(){var d="相守授道春晖父爱粽子军魂鬼神兑换1元天地南瓜";var e=$(".cmd_click2");e.each(function(){var a=$(this).text();if(a.indexOf("礼包")!="-1"){if(d.indexOf(a.replace("礼包",""))==-1){var b=$(this).attr("onclick");var c=getLibaoId(b);clickButton(c)}}})}function getLibaoId(a){var b=a.split(",");var c=b[0].split("(");var d=c[1].split("'");return d[1]}var sspname="luoyang_luoyang20",ssping=false;function ssp(){var a;if(!(a=prompt("请输入剩余数量,刷碎片地点(1234分别是醉汉,地痞,地痞,青竹蛇)","20,1"))){return}counthead=parseInt(a.split(",")[0]);ssp_site=parseInt(a.split(",")[1]);ssp1()}function ssp1(){ssping=true;triggers.enableByCls("ssp");chuzhao_close();runhit_open();if(ssp_site==1){sspname="snow_drunk";go("jh 1;e;n;n;^dossp;$")}else if(ssp_site==2){sspname="luoyang_luoyang26";go("jh 2;n;n;n;n;^dossp;$")}else if(ssp_site==3){sspname="luoyang_luoyang26";go("jh 2;n;n;n;n;n;w;^dossp;$")}else if(ssp_site==4){sspname="luoyang_luoyang20";go("jh 2;n;n;n;n;n;n;n;n;n;e;^dossp;$")}else{console.log("刷碎片设置有误,请检查设置")}}function dossp(){if($("span.outbig_text:contains(战斗结束)").length>0){clickButton("prev_combat");if(counthead>1){counthead=counthead-1;console.log("杀人一次,剩余杀人次数:",counthead);var a=$("span.outtitle").last().text();var b="雪亭镇街道洛川街问鼎街绿竹林";if(b.indexOf(a)>-1&&$("button.cmd_click3").length>0){clickButton("kill "+sspname)}else{console.log("因某种原因离开了刷碎片地点,结束");ssp_close();clickButton("home");return}clearTimeout(bs_time);bs_time=setTimeout(dossp,1800)}else{ssp_close();clickButton("home");return}}else{if(is_fighting){g_gmain.notify_fail(HIR+"大侠你正与碎片怪激烈战斗中....."+NOR);clearTimeout(bs_time);bs_time=setTimeout(dossp,1e3)}else if(!is_fighting){var a=$("span.outtitle").last().text();var b="雪亭镇街道洛川街问鼎街绿竹林";if(b.indexOf(a)>-1&&$("button.cmd_click3").length>0){clickButton("kill "+sspname)}else{console.log("因某种原因离开了刷碎片地点,结束");ssp_close();clickButton("home");return}clearTimeout(bs_time);bs_time=setTimeout(dossp,500)}}}function ssp_close(){counthead=0;runhit_close();chuzhao_open();console.log("终止刷碎片!");ssping=false;triggers.disableByCls("ssp");clearTimeout(bs_time)}function PaiHangFunc(){if(btnList["打榜一"].innerText=="打榜一"){ssping=true;chuzhao_close();runhit_open();clickButton("sort");clickButton("fight_hero 1");AutoPaiHangFunc();btnList["打榜一"].innerText="停打榜";btnList["打榜一"].style.borderStyle="inset"}else{clearPaiHang();btnList["打榜一"].innerText="打榜一";btnList["打榜一"].style.borderStyle="outset"}}function AutoPaiHangFunc(){AutoPaiHangFuncIntervalFunc=setInterval(AutoPaiHang,1500)}function clearPaiHang(){clearInterval(AutoPaiHangFuncIntervalFunc)}function AutoPaiHang(){if($("span.outbig_text:contains(战斗结束)").length>0){clickButton("prev_combat");clickButton("fight_hero 1")}else if(isContains($("span:contains(今日挑战)").text().slice(-19),"今日挑战高手的次数已达上限,明日再来。")){ssping=false;runhit_close();chuzhao_open();clearPaiHang();btnList["打榜一"].innerText="打榜一";btnList["打榜一"].style.borderStyle="outset";go_home();console.log("打完收工!")}else{g_gmain.notify_fail(HIR+"你正在激烈打榜中......"+NOR)}}function ch(){console.log("开始走向冰火岛!");fishingFirstStage()}function fishingFirstStage(){FishingParas=0;go("jh 5;n;n;n;n;n;n;n;n;n;n;ne;look_npc yangzhou_chuanyundongzhu;chuhai go;")}function qdy(){resFishingParas=0;console.log("开始钓鱼!");go("jh 35;nw;nw;nw;n;ne;nw;w;nw;e;e;e;e;e;se;e");setTimeout(fishIt,2e3)}function fishIt(){resFishingParas=resFishingParas+1;if(isContains($("span:contains(钓鱼需要)").text().slice(-17),"钓鱼需要鱼竿和鱼饵,你还没有")){alert("鱼竿或鱼饵不足,停止钓鱼!");console.log("没有工具!钓鱼次数:%d次。",resFishingParas)}else if(isContains($("span:contains(整个冰湖的)").text().slice(-6),"明天再来吧。")){console.log("钓完了!钓鱼次数:%d次。",resFishingParas)}else{go("diaoyu");setTimeout(fishIt,6e3);console.log($("span:contains(突然)").text().slice(-9))}}function snl(){if(nowjh<15){console.log("章节没解锁");return}go("jh 15;n;nw;w;nw;n;event_1_14401179")}function sbt(){if(nowjh<21){console.log("章节没解锁");return}go("jh 21;n;n;n;n;w;")}function sem(){go("jh 8;ne;e;e;e;n;n;n;n;n;")}function dpz(){if(nowjh<26){console.log("章节没解锁");return}go("jh 26;w;w;n;n;event_1_14435995;")}function wey(){if(nowjh<37){console.log("章节没解锁");return}go("jh 37;n;e;e;nw;nw;w;n;e;n;e;e;e;ne;ne;ne;se;n;event_1_97487911")}function xkd(){if(nowjh>35){go("jh 36;yell");nowtask=function(){go("e;ne;ne;ne;e;e;e;event_1_9179222;e;event_1_11720543;w;n;e;e;s;e;event_1_44025101");nextdo=function(){XiaKeFunc()};setTimeout(checkbusy,4e3)};setTimeout(function(){go_postion("侠客岛渡口",nowtask)},2e4);return}else if($(".cmd_click_room")[0]===undefined||$(".cmd_click_room")[0].innerText!=="侠客岛渡口"){alert("\t请到“侠客岛渡口”再使用本功能!");return}else{go("e;ne;ne;ne;e;e;e;event_1_9179222;e;event_1_11720543;w;n;e;e;s;e;event_1_44025101");nextdo=function(){XiaKeFunc()};setTimeout(checkbusy,4e3)}}function XiaKeFunc(){getpostion();if(nowpostion.indexOf("崖底")!=-1)XuanYaFunc();else if(nowpostion.indexOf("石门")!=-1){go("event_1_36230918;e;e;s;event_1_77496481;home");console.log("进门领悟回家")}else{setTimeout(checkbusy,2e3)}}function XuanYaFunc(){go("event_1_4788477;nw;w;sw;w;n;n;n;w;w;s;w;nw;w;e;ne;ne;ne;e;e;e;e;e;s;e;event_1_44025101");setTimeout(checkbusy,4e3)}triggers.newTrigger(/你走着走着,不知不觉来到了阴山岩画/,function(m){go("event_1_12853448;home");triggers.disableByCls("canyanhua")},"canyanhua","");triggers.newTrigger(/你走着走着,不知不觉来到了阴山古刹/,function(m){go("jh 26;w;w;n;w;w;w;n;n;e;e;")},"canyanhua","");triggers.newTrigger(/你脚下一滑,竟滑入野狼谷之中。/,function(m){go("escape;jh 26;w;w;n;w;w;w;n;n;e;e;")},"canyanhua","");triggers.disableByCls("canyanhua");function cyh(){if(nowjh<26){console.log("章节没解锁");return}if(confirm("你确定自己的悟性达到125了吗?注意,如果走到不动了请手动往下走两步,被狼咬了没跑掉需要重新点参岩画按钮")){go("jh 26;w;w;n;w;w;w;n;n;e;e;");triggers.enableByCls("canyanhua")}else{triggers.disableByCls("canyanhua");alert("悟性不达标,取消参岩画。先去打把风泉剑再来吧")}}function ck(){if(nowjh<26){console.log("章节没解锁");return}go("jh 26;w;w;n;e;e;event_1_18075497")}function wxt(){if(nowjh<35){console.log("章节没解锁");return}go("jh 35;nw;nw;nw;n;ne;nw;w;nw;e;e;e;e;e;se;n;n;w;n;w;event_1_53278632;sousuo;sousuo;")}function byg(){if(nowjh<14){console.log("章节没解锁");return}runhit_open();go("jh 14;w;n;n;n;n");nextdo=function(){if($("button.cmd_click3").text().indexOf("进入冰月谷")!=-1){go("event_1_32682066;event_1_35756630;kill bingyuegu_yueyihan");nextdo=function(){go("event_1_55319823;kill bingyuegu_xuanwujiguanshou");nextdo=function(){go("event_1_17623983;event_1_6670148;kill bingyuegu_hundunyaoling");nextdo=function(){go("s;kill bingyuegu_bingyuexianren");nextdo=function(){go("home");runhit_close()};setTimeout(checkbusy,2e3)};setTimeout(checkbusy,2e3)};setTimeout(checkbusy,2e3)};setTimeout(checkbusy,2e3)}else{console.log("冰月前置任务未达到");go("home");runhit_close()}};setTimeout(checkbusy,2e3)}function cl(){go("jh 2;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;e;n;n;n;w;event_1_31320275")}function TsdzFunc(){setTimeout(Tsdz1Func,200)}function Tsdz1Func(){if(nowjh<39){console.log("章节没解锁");return}go("jh 39;ne;e;n;ne;ne;n;ne;nw;event_1_58460791;");setTimeout(Tsdz2Func,5e3)}function Tsdz2Func(){if(g_obj_map.get("msg_room")==undefined){setTimeout(function(){Tsdz2Func()},200)}else{var locationname=g_obj_map.get("msg_room").get("short").match(/[\u4e00-\u9fa5]/g).join("");console.log(locationname);if(locationname=="失足岩"){console.log("继续走。");go("nw;n;ne;nw;nw;w;n;n;n;e;e;s;give tianshan_hgdz;ask tianshan_hgdz;ask tianshan_hgdz;s;event_1_34855843")}else{setTimeout(Tsdz1Func,200)}}}function MiaoJiangFunc(){if(nowjh<40){console.log("章节没解锁");return}go("jh 40;s;s;s;s;e;s;se;sw;s;sw;e;e;sw;se;sw;se;event_1_8004914");setTimeout(CaoDiFunc,cmdDelayTime*20);function CaoDiFunc(){if($(".cmd_click_room")[0].innerText=="澜沧江南岸"){resYaoParas=0;go("se;s;s;e;n;n;e;s;e;ne;s;sw;e;e;ne;ne;nw;ne;ne;n;n;w");setTimeout(LianYaoIt,cmdDelayTime*24)}else{setTimeout(MiaoJiangFunc,1e3)}}function LianYaoIt(){resYaoParas=resYaoParas+1;if(isContains($("span:contains(炼药需要毒琥珀和毒藤胶,你还没有)").text().slice(-17),"需要毒琥珀和毒藤胶,你还没有药材。")){alert("毒藤胶或毒藤胶不足,停止炼药!");console.log("没有工具!炼药次数:%d次。",resYaoParas)}else if(isContains($("span:contains(炼药的丹炉已经是滚得发烫)").text().slice(-6),"明天再来吧!")){console.log("炼完了!炼药次数:%d次。",resYaoParas);go_home()}else{go("lianyao");setTimeout(LianYaoIt,6e3);console.log($("span:contains(竟然)").text().slice(-9))}}}function shijian(){go("swords report go;swords select_member huashan_feng;swords select_member gumu_yangguo;swords select_member taoist_zhangtianshi;swords fight_test go");chuzhao_open();ssping=true;triggers.enableByCls("lunjian")}triggers.newTrigger(/战斗结束/,function(m){go("swords fight_test go")},"lunjian","");triggers.newTrigger(/你今天试剑次数已达限额。/,function(m){ssping=false;triggers.disableByCls("lunjian");go("home_prompt")},"lunjian","");triggers.disableByCls("lunjian");var dati_flag=0;function datiswitch(){if(dati_flag==0){clickButton("question");dati_flag=1;btnList["开答题"].innerText="停答题";triggers.enableByCls("dati")}else{dati_flag=0;btnList["开答题"].innerText="开答题";triggers.disableByCls("dati")}}function buycangbaotu(){triggers.enableByCls("cbt");go("jh 1;e;n;n;n;n;e;buy /obj/quest/cangbaotu_N_10 from snow_chefu;cangbaotu_op1")}function qsd(){if(nowjh<28){console.log("章节没解锁");return}triggers.enableByCls("shediao");go("jh 28;n;w;w;w;w;w;w;nw;ne;nw;ne;nw;ne;e");setTimeout(function(){qsd_go=setInterval(function(){go("shediao")},300)},3e3)}triggers.newTrigger(/^一头金凤凰似乎被你惊到,气势汹汹地向你冲了下来/,function(m){chuzhao_open();clearInterval(qsd_go)},"shediao","");triggers.newTrigger(/^金凤凰不敌你,匆匆逃走之际留下了一个凤凰蛋壳/,function(m){clearInterval(qsd_go);go("jh 1;e;n;n;n;w;event_1_47493781;home");triggers.disableByCls("shediao")},"shediao","");triggers.newTrigger(/每次射雕需要白羽箭,你目前没有箭。/,function(m){clearInterval(qsd_go);go("home");triggers.disableByCls("shediao")},"shediao","");triggers.newTrigger(/臂力达到87以上才能射雕。/,function(m){clearInterval(qsd_go);go("home");triggers.disableByCls("shediao")},"shediao","");triggers.newTrigger(/你今天已经收获累累,同时也消耗了大量元气和体力,请大侠隔日再来射雕。/,function(m){clearInterval(qsd_go)},"shediao","");triggers.disableByCls("shediao");var askTimes=0,qixiaCode=["玄月研","王蓉","狼居胥","庞统","烈九州","步惊鸿","穆妙羽","宇文无敌","李玄霸","护竺","八部龙将","风无痕","浪唤雨","李宇飞","风行骓","郭济","吴缜","风南","火云邪神","逆风舞","狐苍雁","厉沧若","夏岳卿","妙无心","巫夜姬"],qixiaCode1={"玄月研":"xuanyueyan","王蓉":"wangrong","狼居胥":"langjuxu","庞统":"pangtong","烈九州":"liejiuzhou","步惊鸿":"bujinghong","穆妙羽":"mumiaoyu","宇文无敌":"yuwenwudi","李玄霸":"lixuanba","护竺":"huzhu","八部龙将":"babulongjiang","风无痕":"fengwuhen","浪唤雨":"langfuyu","李宇飞":"liyufei","风行骓":"fengxingzhui","郭济":"guoji","吴缜":"wuzhen","风南":"fengnan","火云邪神":"huoyunxieshen","逆风舞":"niwufeng","狐苍雁":"hucangyan","厉沧若":"licangruo","夏岳卿":"xiaqing","妙无心":"miaowuxin","巫夜姬":"wuyeju"};function getqixiacode(){go("open jhqx");setTimeout(function(){var t=$("#out td a");if(t.text().indexOf("步惊鸿")>-1){var qxi=0;for(var i=0;i20){goSwordsman()}},1200)}function lqx(){if(btnList["撩奇侠"].innerText=="撩奇侠"){if(userqu!=100){if(qxList==""){qxList_input=prompt("请输入撩奇侠顺序(中文分号隔开)",qxList_inputs);qxList=qxList_input.split(";")}qixia_nofound=[];lqx_go()}else{alert("抱歉,你所在的区暂不开放撩奇侠功能")}}else{go(".不要慌,还没撩完呢")}}function goSwordsman(){if(qxOrder5){go("."+qxList[qxOrder]+"没找到");qixia_nofound.push(qxList[qxOrder]);askTimes=0;qxOrder++;goSwordsman();return}var b=$("#out .cmd_click3");for(var i=0;i-1){var w="";var n=t.slice(4);for(var i=0;i-1){var w="";var n=t.slice(4);for(var i=0;i-1){console.log(m[0]);triggers.disableByCls("bz_look");triggers.enableByCls("bz_fight");if(btnList["开BOSS"].innerText=="关BOSS"){nowjob="boss";jishi=setInterval(killbossnpc,500)}else if(btnList["开帮战"].innerText=="关帮战"){nowjob="bangzhan";jishi=setInterval(function(){getnpcid(bznpc_name);killbznpc()},500)}}},"bz_look","");triggers.disableByCls("bz_look");function killbossnpc(){if(bznpc_name=="不『二』剑客"){var a=$("button.cmd_click3:contains(帮助公主)")[0].getAttribute("onclick").split("'")[1].split("'")[0];if(!is_fighting){clickButton(a)}}else if(bznpc_name=="无『双』公主"){var a=$("button.cmd_click3:contains(帮助不二)")[0].getAttribute("onclick").split("'")[1].split("'")[0];if(!is_fighting){clickButton(a)}}}var bzkill_time;function killbznpc(){if(!is_fighting&&$("button.cmd_click3:contains(攻楼死士)").length>0&&$("button.cmd_click3:contains(守楼虎将)").length>0){clickButton("kill "+npc_id)}}triggers.newTrigger(/^已经太多人了,不要以多欺少啊。/,function(m){clearTimeout(bzkill_time);clearInterval(jishi);if(nowjob=="bangzhan"){bzkill_time=setTimeout(killbznpc,500)}else if(nowjob=="boss"){bzkill_time=setTimeout(killbossnpc,500)}},"bz_fight","");triggers.newTrigger(/(击杀请求过于频繁,请稍候片刻。|秒后才能再次加入此战场)/,function(m){clearTimeout(bzkill_time);clearInterval(jishi);if(nowjob=="bangzhan"){bzkill_time=setTimeout(killbznpc,1e3)}else if(nowjob=="boss"){bzkill_time=setTimeout(killbossnpc,1e3)}},"bz_fight","");triggers.newTrigger(/^你现在身上还有伤,不要进去危险/,function(m){clearTimeout(bzkill_time);clearInterval(jishi);if(nowjob=="bangzhan"){nextgo=killbznpc;go("recovery;recovery;recovery;$")}else if(nowjob=="boss"){huixuenei()}},"bz_fight","");triggers.newTrigger(/^你加入了战团!/,function(m){clearInterval(jishi)},"bz_fight","");triggers.newTrigger(/^帮派风云战中死亡获得热血印x1/,function(m){huixuenei()},"bz_fight","");triggers.newTrigger(/^(好在有保险卡,没有降低技能等级!|你死了。|周年BOSS战中死亡获得周年热血令x1)/,function(m){console.log(m[0]);triggers.disableByCls("bz_fight");if(nowjob=="bangzhan"){huixuenei()}else if(nowjob=="boss"){setTimeout(go_boss,1e3)}},"bz_fight","");triggers.disableByCls("bz_fight");function huixuenei(){go("recovery");triggers.enableByCls("bz_huifu")}triggers.newTrigger(/^你深深吸了几口气,脸色看起来好多了。/,function(m){go("recovery")},"bz_huifu","");triggers.newTrigger(/^你的内力不够/,function(m){go("items use snow_wannianlingzhi;recovery")},"bz_huifu","");triggers.newTrigger(/^你现在气力充沛。/,function(m){triggers.disableByCls("bz_huifu");if(!g_gmain.is_fighting){var c=g_obj_map.get("msg_attrs");var a=parseInt(c.get("force"));var b=parseInt(c.get("max_force"));if(b-a>5e3){var hn_times=Math.floor((b-a)/3e4);console.log("回内次数:"+hn_times);goes("items use snow_wannianlingzhi",hn_times);if(bz_flag==1){go(";;^bz_go;$")}else if(btnList["开BOSS"].innerText=="关BOSS"){go(";;^go_boss;$")}}else{if(bz_flag==1){go(";;^bz_go;$")}else if(btnList["开BOSS"].innerText=="关BOSS"){go(";;^go_boss;$")}}}},"bz_huifu","");triggers.disableByCls("bz_huifu");triggers.newTrigger(/^【帮派风云战】所有战场已全部结束,侠客们请带回你们的战利品回原服使用吧/,function(m){if(kfql_flag==0&&gSocketMsg._is_in_home){go("clan scene;give_geling;give_fengyunling")}},"bz_jiaoling","");function clearbug(){getpostion();if(nowpostion=="论剑江湖主页"&&!timeCmd&&!is_fighting){g_gmain.notify_fail(HIG+"自动清除卡顿一次"+NOR);if(kfql_flag==1){$("span.out2").remove();console.log("跨服中,清空游戏日志和聊天减少卡顿!")}chatMsg=[];if(database.auto_clearre=1){autorecovery()}}else if(!timeCmd&&!is_fighting&&nowjob!="yx"){g_gmain.notify_fail(HIG+"自动清除卡顿一次!"+NOR);if(kfql_flag==1){console.log("跨服中,清空游戏日志和聊天减少卡顿!");var a=$("span.out2").length;for(var i=0;i")==-1){$("span.out2")[i].remove();i--;a--}}}chatMsg=[];if(database.auto_clearre=1){autorecovery()}}else{g_gmain.notify_fail(HIG+"现在不是空闲时间,等下次再清除卡顿!"+cmdCache.length+NOR)}}var yx_dxnum=0;function shixiaorebuilt(){cmdDelayTime=150;console.log("失效前nowjob="+nowjob);cmdCache=[];chatMsg=[];timeCmd=0;nextdo=function(){};goposition_flag=0;if(nowjh>0){clearTimeout(bs_time)}if(btnList["循环boss"].innerText=="循环boss"&&btnList["开BOSS"].innerText=="开BOSS"){clearInterval(jishi)}nowtask=function(){};if(nowjob=="yx"&&yx_js==1){yx_dxnum++;if(yx_dxnum>1){console.log("这个破游侠掉线了"+yx_dxnum+"次,老子不要了");yxss_close();yxss_home()}else{console.log("搜这个破游侠已经掉线了"+yx_dxnum+"次了");ssid=0;go_single(yxmap[ssid]);setTimeout(searchyouxia,yx_delay)}}if(nowjob=="qx"||nowjob=="mj"){if(tg_qx==1){btnList["智能奇侠"].innerText="智能奇侠";qx_bstime=setTimeout(ai_qixia,5e3);console.log("托管奇侠遇到掉线,5秒后尝试重做")}else{console.log("一键奇侠或智能奇侠出错,无托管不自连")}}if(nowjob=="lqx"){qixia_nowtask()}if(nowjob=="boss"){console.log("重启boss");close_boss();$("span.out2").remove();setTimeout(open_boss,2e3)}if(nowjob=="bangzhan"){console.log("重启帮战");bz_close();bz_reset();$("span.out2").remove();setTimeout(bz_open,2e3);setTimeout(bz_start,2500)}}function baoji_list(){if(!database.baoji){database.baoji="---当前暴击---"}alert(database.baoji)}function baoji_clear(){database.baoji=""}function clearBag(){triggers.enableByCls("bagopened");go("items")}var items_sell="黑棋子白棋子黑色棋子白色棋子圆领小袄竹节鞭天寒帽天寒项链飞羽剑逆钩匕毛毯木戟粗布鹅黄袍虞姬剑回旋镖粗布白袍垓下刀断云斧银丝链甲衣天怒斧天魔刀暗灵青布袍吴钩香囊黑水伏蛟木钩大红僧袍木剑九环禅杖竹刀紫金杖铁扇剑青锋剑绣花针绣花鞋红色绸裙青铜盾金刚罩丝质披风漫天花雨匕锦衣桃木剑玉箫清心散铁笛紫袍宝蓝缎衫紫霜血蝉衣魔鞭翩珑穿花蛇影鞋软金束带七星剑鱼竿鱼饵横断钩七星翻云靴三清神冠天寒戒天寒手镯软甲衣无心锤圣火令真武剑莲蓬长戟天寒鞋银丝甲鲤鱼粉红绸衫灰燕野山鸡麻雀岩鸽拂尘桃符纸粗布衣长虹剑暗箭银丝鞋叫化鸡丝绸衣钢刀闪避基础银丝帽玉竹杖中级拆招技巧金戒冰魄银针禅杖拂尘蛇胆草皮帽旧书粉红绸衫玄苏剑青葫芦松子铁斧水蜜桃蓑衣破弯刀柴刀丝衣长鞭道德经布裙钢丝甲衣牛皮带制服金刚杖斩空刀拜月掌套金弹子新月棍白蟒鞭-草莓玉蜂浆玉蜂蜜蜂浆瓶豆浆蛋糕菠菜粉条包裹鸡叫草水密桃--新月棍银簪重甲羊角匕梅花匕船篙-丝绸马褂白缨冠白色长袍蛇杖鬼头刀拐杖古铜缎子袄裙大环刀鹿皮手套丝绸衣羊毛裙牧羊鞭牛皮酒袋麻带钢剑钢杖藤甲盾长斗篷军袍破披风木盾铁盾锦缎腰带鞶革青色道袍-鲫鱼鲤鱼树枝水草破烂衣服-鹿皮小靴青绫绸裙布衣草帽草鞋布鞋精铁甲-柳玉刀玉竹剑钢刀戒刀单刀长剑长枪铁锤木棍轻罗绸衫兽皮鞋皮鞭铁棍飞镖匕首细剑绣鞋绣花小鞋狼皮雪靴铁戒银戒铁手镯银手镯铁项链银项链",items_store="秘籍木盒鎏金黑玉锥掌门手谕空识卷轴隐武竹笺烧香符长生石帮派令周年礼券玄重铁分身卡百宝令江湖令师门令谜题令正邪令玄铁令状元贴高级乾坤袋装备打折卡碎片",items_use="高级狂暴丹驻颜丹保险卡特级大还丹高级大还丹小还丹百年紫芝百年灵草高级乾坤再造丹特级乾坤再造丹特级狂暴丹高级小还丹玫瑰花神秘宝箱",items_use1="玄冰碧火酒云梦青百草美酒九花玉露丸腊八粥茉莉汤冰糖葫芦兰陵美酒元宵年糕冰镇酸梅汤",items_study="左手兵刃研习武穆遗书",items_splite="残雪帽残雪戒金丝宝甲衣残雪项链疯魔杖残雪手镯残雪鞋红光匕羊毛斗篷夜行披风貂皮斗篷金丝甲宝玉甲破军盾玄武盾虎皮腰带沧海护腰天寒匕无心匕青鸾护臂苍狼护臂翎眼赤护";function clearitem(){var od=[];var bag=$("td>table")[0];var cangku=$("td>table")[1];var baggezi=$("td>table")[0].rows.length;var cangkugezi=$("td>table")[1].rows.length;for(var i=0;i1){a=a.match(/[\u4e00-\u9fa5]/g).join("");var c=bag.rows[i].getAttribute("onclick").split("'")[1].split("'")[0].replace("items info ","");if(items_store.indexOf(a)!=-1){console.log("存仓库:"+a+" *"+b+" "+c);od.push("items put_store "+c)}else if(items_use.indexOf(a)!=-1&&a!="玫瑰花"){console.log("使用:"+a+" *"+b+" "+c);var d=parseInt(b/100);var e=parseInt(b%100/50);var f=parseInt((b-d*100-e*50)/10);var g=parseInt(b%10);for(j=0;j-1){console.log("使用:"+a+" *1/"+b+" "+c);od.push("items use "+c)}}}od.push("prev;!特殊延时任务执行完毕");for(i=0;itable")[0];var cangku=$("td>table")[1];var baggezi=$("td>table")[0].rows.length;var cangkugezi=$("td>table")[1].rows.length;for(var i=0;i1){thingname=thingname.match(/[\u4e00-\u9fa5]/g).join("");if(thingname==a){thingcode=bag.rows[i].getAttribute("onclick").split("'")[1].split("'")[0].replace("items info ","");console.log("背包:"+thingname+" *"+thingnum+" "+thingcode);g_gmain.recvNetWork2(HIW+"背包:"+thingname+" 数量:"+thingnum+",代码:"+thingcode+"\n"+NOR);if(c!=null){console.log(c+thingcode);if(b==1){console.log("背包里已存在"+thingname+",请先存再取")}else if(b<10&&b!=1){clickButton(c+thingcode)}else{var d=c+thingcode+";";var e="";for(var i=0;i1){thingname=thingname.match(/[\u4e00-\u9fa5]/g).join("");if(thingname==a){thingcode=cangku.rows[i].getAttribute("onclick").split("'")[1].split("'")[0].replace("items info","");console.log("仓库:"+thingname+" *"+thingnum+" "+thingcode);g_gmain.recvNetWork2(HIW+"仓库:"+thingname+" 数量:"+thingnum+",代码:"+thingcode+"\n"+NOR);if(c!=null){console.log(c+thingcode);if(b<10){clickButton(c+thingcode)}else{var d=c+thingcode+";";var e="";for(var i=0;i-1){var b=a.split(",")[0];var c=parseInt(a.split(",")[1]);thing_set=c;getthingnum_do(b)}else if(a!=null){thing_set=null;getthingnum_do(a)}else{console.log("输入错误,功能未能成功执行");return}}triggers.newTrigger(/背包物品(.*)\/(.*)物品排序仓  库(.*)\//,function(m){triggers.disableByCls("getthingnum");thingnum=null;thingcode=null;getthingnum_go(thingname,thing_set)},"getthingnum","");triggers.disableByCls("getthingnum");function clearmt(){go("auto_tasks cancel");clearTimeout(bs_time)}function killfollowset(){if(!database.killfer){database.killfer="多☆情应笑我"}if(!database.killfer_all){database.killfer_all="是"}var a=prompt("请输入跟随对象名字(角色名);是否跟随所有人杀特殊怪(英文分号隔开)",database.killfer+";"+database.killfer_all);database.killfer=a.split(";")[0];database.killfer_all=a.split(";")[1]}function settupo(){tupo_skills=prompt("请设置下个突破技能(用英语的分号隔开,留空表示不自动突破)",tupo_skills);var next_tupo=tupo_skills.split(";");go("items get_store /obj/med/tupodan;items get_store /obj/med/tupodan2");var tpready1="enable "+skillnames[next_tupo[0]];var tpready2="enable "+skillnames[next_tupo[1]];var tp1="tupo go,"+skillnames[next_tupo[0]];var tp2="tupo go,"+skillnames[next_tupo[1]];topogo=tpready1+";"+tp1+";"+tpready2+";"+tp2;setTimeout(function(){go(topogo)},600);setTimeout(function(){go("items put_store obj_tupodan;items put_store obj_gaojitupodan")},2e3)}function tsjfunc(){tsj_popbk.style.display=""}var tsj_popbk=createPop("特殊集");popList["特殊集"].innerHTML="
请选择你要做的特殊操作
";createPopButton("买万年","特殊集",mqn);createPopButton("杀风剑","特殊集",killfengjian);createPopButton("捡辟邪","特殊集",getBiXieFunc);createPopButton("捡钥匙","特殊集",getSilverKeyFunc);createPopButton("学易容","特殊集",learnyr);createPopButton("开续突破","特殊集",xutupo);createPopButton("定时器","特殊集",dingshiqi);createPopButton("读取战斗","特殊集",readfight);createPopButton("杀年兽","特殊集",killnianshou);createPopButton("杀秘宝","特殊集",killmibao);createPopButton("模拟触发","特殊集",monichufa);createPopButton("智能奇侠","特殊集",ai_qixia);createPopButton("智能突破","特殊集",ai_tupojiance);createPopButton("特殊阅览","特殊集",teshuset_read);createPopButton("新开跨服","特殊集",newkf_open);createPopButton("手动重连","特殊集",doconnect);createPopButton("后台管理","特殊集",loginhoutai);createPopButton("帮购物","特殊集",bangshop);createPopButton("买日常","特殊集",buyrichang);createPopButton("找奇侠","特殊集",searchqixia);createPopButton("一键奇侠","特殊集",autoqixiago);createPopButton("购买理财","特殊集",buytzlicai);createPopButton("智能理财","特殊集",ai_licai);createPopButton("宝石阵","特殊集",bszread);createPopButton("称号表","特殊集",chbread);createPopButton("极武坛图","特殊集",jwtread);createPopButton("神兵任务","特殊集",sbrwread);createPopButton("出师表","特殊集",csbread);createPopButton("经脉攻略","特殊集",jmglread);createPopButton("算内力","特殊集",countneili);createPopButton("摸本六","特殊集",mobenliu);createPopButton("进帮批准","特殊集",pizhun_bp);createPopButton("明月分解","特殊集",fenjie_my);createPopButton("烈日分解","特殊集",fenjie_lr);createPopButton("切磋设置","特殊集",qiecuoset);createPopButton("定时加速","特殊集",dingshi_jzjs);createPopButton("续突加速","特殊集",xutupo_js);createPopButton("自动碧血","特殊集",auto_biexue);createPopButton("邀请组队","特殊集",zudui_allow);createPopButton("喊进帮1","特殊集",teamcmd_bang1);createPopButton("喊进帮2","特殊集",teamcmd_bang2);createPopButton("一键帮三","特殊集",bangfu3_func);createPopButton("喊进本7","特殊集",teamcmd_fb7);createPopButton("队伍控制","特殊集",teamcmd_walk);createPopButton("璇玑木人","特殊集",teamcmd_xjmr);createPopButton("托管帮本","特殊集",tuoguanbangfu);createPopButton("特殊配置","特殊集",teshupeizhi);createPopButton("手动须做","特殊集",function(){alert("你每天除了托管任务,需要手动做以下任务:\n帮本2、帮本3、璇玑木人、去射雕、本7、摸本6,悬红任务、特2、外传6\n本脚本支持一键完成这系列任务,但不能托管")});function mqn(){if(!(num=prompt("请输入购买数量(一个万年可以回3w内力):","500"))){return}go_mqn(num)}function go_mqn(num){var str="buy /map/snow/obj/wannianlingzhi_N_10 from snow_herbalist";var str1="buy /map/snow/obj/wannianlingzhi from snow_herbalist";var c="";num=parseInt(num);for(var i=0;i=0&&parseInt(d)<4){clickButton("team chat 命令帮一!"+c[d])}}function bf1_ftfunc(){var a="s;w;w;w;e;e;e;e;e;e;w;w;w;s;w;w;w;e;e;e;e;e;e;w;w;w;s;w;w;w;e;e;e;e;e;e;w;w;w;s;w;w;w;e;e;e;e;e;e;w;w;w;s;w;w;w;e;e;e;e;e;e;w;w;w;s";var b=a.split(";");var i=0;go(b[i]);nowtask=function(){if(!is_fighting&&cmdCache.length==0){if(i-1&&m[2].split("-").length==2){console.log(m[2]+">>"+"clan fb enter_"+m[2].split("-")[1]+" daxuemangongdao");go("clan fb enter_"+m[2].split("-")[1]+" daxuemangongdao")}else if(m[2].indexOf("打本7")>-1&&m[2].split("-").length==3){console.log(m[2].split("-")[1]+"-"+m[2].split("-")[2]);if(myName.indexOf(m[2].split("-")[2])>-1){console.log("队伍让我单挑一次本7的"+m[2].split("-")[1]+"门");if(g_obj_map.get("msg_room")){var a=g_obj_map.get("msg_room").get("short");var b="黑水陵首断龙长斧阵白夏金锤大营重甲矛兵阵暴雨飞箭阵帝陵中殿大门夏皇陵宫";if(gSocketMsg._is_in_home||b.indexOf(a)==-1&&!gSocketMsg._is_in_home){console.log("现在不在副本7里,自动走进副本7门口");go("fb 7")}}else{go("fb 7")}if(m[2].split("-")[1]=="1"){go("event_1_20980858;kill heishuihuangling_duanlongfuwei")}else if(m[2].split("-")[1]=="2"){go("event_1_81463220;kill heishuihuangling_jinchuilishi")}else if(m[2].split("-")[1]=="3"){go("event_1_5770640;kill heishuihuangling_zhongjiamaoshi")}else if(m[2].split("-")[1]=="4"){go("event_1_56340108;kill heishuihuangling_daxiashenjian")}}}else if(m[2].indexOf("回家")>-1&&m[2].split("-").length==2){console.log(m[2].split("-")[0]+"-"+m[2].split("-")[1]);if(myName.indexOf(m[2].split("-")[1])>-1){go("home")}}else if(m[2].indexOf("进内层")>-1&&m[2].split("-").length==2){console.log(m[2].split("-")[0]+"-"+m[2].split("-")[1]);if(myName.indexOf(m[2].split("-")[1])>-1){go("?帝陵中殿大门;s")}}else{go(m[2])}}},"cmdzudui","");triggers.newTrigger(/【队伍】(.*):命令帮一!(.*)/,function(m){console.log("组队帮一命令:"+m[2]+"-"+bfb_enter[m[2]]);if(playeruid.hasOwnProperty(m[1])){if(m[1]==myName){console.log("你带领所有队员进帮本1"+m[2]);if(bfb_enter.hasOwnProperty(m[2])){if(btnList["杀帮副"].innerText=="杀帮副"){killbf()}go("clan scene;clan fb enter shenshousenlin;"+bfb_enter[m[2]]);setTimeout(bf1_ftfunc,1e3)}}else if(m[1]!=myName){console.log(m[1]+"让你进帮本1"+m[2]);if(btnList["开跟杀"].innerText=="开跟杀"){killfollow_open()}if(btnList["开秘图"].innerText=="关秘图"){mitu_close()}if(bfb_enter.hasOwnProperty(m[2])){go("clan scene;clan fb enter shenshousenlin;"+bfb_enter[m[2]]+";s")}}}},"cmdzudui","");triggers.newTrigger(/【队伍】(.*):命令帮二!/,function(m){if(playeruid.hasOwnProperty(m[1])){if(m[1]==myName){console.log("你带领所有队员进帮本2");if(btnList["杀帮副"].innerText=="杀帮副"){killbf()}go("clan scene;clan fb enter daxuemangongdao")}else if(m[1]!=myName){console.log(m[1]+"让你进帮本2");if(btnList["开跟杀"].innerText=="开跟杀"){killfollow_open()}if(btnList["开秘图"].innerText=="关秘图"){mitu_close()}go("clan scene;clan fb enter daxuemangongdao")}}},"cmdzudui","");triggers.newTrigger(/【队伍】(.*):命令璇玑木人!/,function(m){if(nowjh>=41){chuzhao_single();go("jh 41;se;e;e;se;se;se;se;se;se;event_1_57976870;n;n;n;event_1_91914705;w;n;.已到木头1,确保队员到位后请队长手动开怪")}else{console.log("你还到不了白帝城!!!")}},"cmdzudui","");triggers.newTrigger(/【队伍】(.*):命令本7!/,function(m){if(playeruid.hasOwnProperty(m[1])){if(btnList["杀帮副"].innerText=="停帮副"){btnList["杀帮副"].innerText="杀帮副";clearInterval(bangfuIntervalFunc)}if(btnList["开秘图"].innerText=="关秘图"){mitu_close()}if(m[1]==myName){console.log("你带领所有队员进副本7");chuzhao_single();if(g_obj_map.get("msg_room")){var a=g_obj_map.get("msg_room").get("short");var b="黑水陵首断龙长斧阵白夏金锤大营重甲矛兵阵暴雨飞箭阵帝陵中殿大门夏皇陵宫";if(gSocketMsg._is_in_home||b.indexOf(a)==-1&&!gSocketMsg._is_in_home){console.log("现在不在副本7里,自动走进副本7门口");go("fb 7")}}else{console.log("现在不在副本7里,自动走进副本7门口");go("fb 7")}}else if(m[1]!=myName){console.log(m[1]+"让你进副本7");chuzhao_single();if(!is_fighting&&cmdCache.length==0){if(g_obj_map.get("msg_room")){var a=g_obj_map.get("msg_room").get("short");var b="黑水陵首断龙长斧阵白夏金锤大营重甲矛兵阵暴雨飞箭阵帝陵中殿大门夏皇陵宫";if(gSocketMsg._is_in_home||b.indexOf(a)==-1&&!gSocketMsg._is_in_home){console.log("现在不在副本7里,自动走进副本7门口");go("fb 7")}}else{console.log("现在不在副本7里,自动走进副本7门口");go("fb 7")}}}}},"cmdzudui","");var BiXieScanInterval=6e4,getBiXieIntervalFunc=null;function getBiXieFunc(){if(btnList["捡辟邪"].innerText=="捡辟邪"){if(BiXieScanInterval=prompt("请输入捡辟邪剑谱时间间隔(ms)","100000"))console.log("开始自动捡辟邪剑谱!"),getSwordMehtodology(),getBiXieIntervalFunc=setInterval(getSwordMehtodology,BiXieScanInterval),btnList["捡辟邪"].innerText="停辟邪",btnList["捡辟邪"].style.borderStyle="inset"}else clearInterval(getBiXieIntervalFunc),btnList["捡辟邪"].innerText="捡辟邪",btnList["捡辟邪"].style.borderStyle="outset"}function getSwordMehtodology(){go("jh 4;n;n;n;n;n;n;n;n;n;e;n;n;n;e;huashan_luoyanya21_op1;w;s;s;s;w;s;s;event_1_91604710;s;s;s;w;get_silver;get_silver;home");var a=getNowFormatDate();console.log(a+":搜寻一次辟邪剑谱!")}function getNowFormatDate(){var x=new Date,z=x.getMonth()+1,y=x.getDate();1<=z&&9>=z&&(z="0"+z);0<=y&&9>=y&&(y="0"+y);return x.getFullYear()+"-"+z+"-"+y+" "+x.getHours()+":"+x.getMinutes()+":"+x.getSeconds()}var SilverKeyscanInterval=6e4,getSilverIntervalFunc=null;function getSilverKeyFunc(){if(btnList["捡钥匙"].innerText=="捡钥匙"){if(SilverKeyscanInterval=prompt("请输入捡钥匙时间间隔(ms)","60000"))console.log("开始自动捡钥匙!"),getSilverKeys(),getSilverIntervalFunc=setInterval(getSilverKeys,SilverKeyscanInterval),btnList["捡钥匙"].innerText="停钥匙",btnList["捡钥匙"].style.borderStyle="inset"}else clearInterval(getSilverIntervalFunc),btnList["捡钥匙"].innerText="捡钥匙",btnList["捡钥匙"].style.borderStyle="outset"}function getSilverKeys(){go("jh 20;w;w;s;e;s;s;s;s;s;sw;sw;s;s;s;s;e;e;event_1_3723773;get yin yaoshi;s;give gumu_longnv;home;study gumu_yufeng-book")}function learnyr(){var nextclick="event_1_66277068";var nextclick1="event_1_32217584";num=prompt("请输入学习易容次数",1);go("jh 5;n;n;n;n;n;n;n;e;get_silver");if(num<10){goes(nextclick,num)}else{goes(nextclick1,parseInt(num/10));goes(nextclick,num-10*parseInt(num/10))}go_home()}function xutupo(){if(btnList["开续突破"].innerText=="开续突破"){database.xutupo_flag=1,triggers.enableByCls("xutupo"),btnList["开续突破"].innerText="关续突破",btnList["开续突破"].style.borderStyle="inset"}else database.xutupo_flag=0,triggers.disableByCls("xutupo"),btnList["开续突破"].innerText="开续突破",btnList["开续突破"].style.borderStyle="outset"}function xutupo_re(){if(typeof database.xutupo_flag=="undefined"){database.xutupo_flag=1}if(database.xutupo_flag==1){triggers.enableByCls("xutupo"),btnList["开续突破"].innerText="关续突破",btnList["开续突破"].style.borderStyle="inset"}else{triggers.disableByCls("xutupo"),btnList["开续突破"].innerText="开续突破",btnList["开续突破"].style.borderStyle="outset"}}var time="7:55";var dingshifunc="帮派开双";function dingshiqi(){if(!database.dingshitime){database.dingshitime=prompt("请输入24小时制时间",time)}else if(database.dingshitime){database.dingshitime=prompt("请输入24小时制时间",database.dingshitime)}var now=database.dingshitime.split(":");database.dingshihours=now[0];database.dingshiminus=now[1];console.log("定时器当前定时时间是"+database.dingshihours+"点"+database.dingshiminus+"分");if(!database.dingshifunc){database.dingshifunc=prompt("请输入需要定时完成的指令(当前可用指令有:签到,拼图,回主页,帮派开双)",dingshifunc)}else if(database.dingshifunc){database.dingshifunc=prompt("请输入需要定时完成的指令(当前可用指令有:签到,拼图,回主页,帮派开双)",database.dingshifunc)}console.log("你设定需要完成的指令是"+database.dingshifunc)}function readfight(){var combat=g_obj_map.get("msg_vs_info");if(combat==undefined){words3("你未在战斗中,你想读取什么鬼?");return}var a="本次读取到战场信息如下:\n";var b=0;var c=[];for(var i=1;i<9;i++){if(g_obj_map.get("msg_vs_info").get("vs1_name"+i)){b++;a+=b+":"+combat.get("vs1_name"+i)+"-"+combat.get("vs1_pos"+i)+"\n";c.push(combat.get("vs1_name"+i)+"-"+combat.get("vs1_pos"+i))}if(g_obj_map.get("msg_vs_info").get("vs2_name"+i)){b++;a+=b+":"+combat.get("vs2_name"+i)+"-"+combat.get("vs2_pos"+i)+"\n";c.push(combat.get("vs2_name"+i)+"-"+combat.get("vs2_pos"+i))}}a+="##请输入序号选择打印一个结果,并退出战斗界面查看结果:\n(这个结果会被自动设定为叫杀怪的id,电脑版用户可用快捷键F读取战斗)";var d=prompt(a,2);if(d&&d<=c.length){words2("你已选定:"+c[d-1]);npcid=c[d-1].split("-")[1];console.log("当前设置的npcid为:"+npcid)}else if(d&&d>c.length){words3("战场id打印输入有误");npcid=c[d-1].split("-")[1];console.log("当前设置的npcid为:"+npcid)}}function killnianshou(){go("jh 1;e;n;n;n;n;n");yxer="年兽";chuzhao_open();window.setTimeout(nianshoukill,cmdDelayTime*9)}function nianshoukill(){triggers.disableByCls("yx_fight");setdonpc(yxer,"杀死");triggers.enableByCls("yx_corpse")}var mt_walk=0;function killmibao(){if(!is_fighting&&cmdCache.length==0){mt_walk=1;go("jh 2");goes("n",16);go("w;s;s;s;s;e;event_1_2215721;w");setTimeout(function(){go_postion("百毒池",killmibao1)},5e3)}}function killmibao1(){if(!is_fighting){mt_walk=0;if($("button.cmd_click3").text().indexOf("黑袍公")!=-1&&$("button.cmd_click3").text().indexOf("黑袍公的尸体")==-1){console.log("发现拼图怪-黑袍公");if(database.pt_killset==0){setdonpc("黑袍公","杀死")}else if(database.pt_killset==1){setdonpc("百毒旗主","杀死")}setTimeout(tell_pt,500)}else{go("e;n");setTimeout(function(){go_postion("万蛊堂",killmibao2)},500)}}}function killmibao2(){if(!is_fighting){if($("button.cmd_click3").text().indexOf("云观海")!=-1&&$("button.cmd_click3").text().indexOf("云观海的尸体")==-1){console.log("发现拼图怪-云观海");if(database.pt_killset==0){setdonpc("云观海","杀死")}else if(database.pt_killset==1){setdonpc("巫蛊王","杀死")}setTimeout(tell_pt,500)}else{go("s;s");setTimeout(function(){go_postion("千蛇窟",killmibao3)},500)}}}function killmibao3(){if(!is_fighting){if($("button.cmd_click3").text().indexOf("翼国公")!=-1&&$("button.cmd_click3").text().indexOf("翼国公的尸体")==-1){console.log("发现拼图怪-翼国公");if(database.pt_killset==0){setdonpc("翼国公","杀死")}else if(database.pt_killset==1){setdonpc("夜千麟","杀死")}setTimeout(tell_pt,500)}else{go("n;e");setTimeout(function(){go_postion("十恶殿",killmibao4)},500)}}}function killmibao4(){if(!is_fighting){if($("button.cmd_click3").text().indexOf("独孤须臾")!=-1&&$("button.cmd_click3").text().indexOf("独孤须臾的尸体")==-1){console.log("发现拼图怪-独孤须臾");setdonpc("独孤须臾","杀死");if(database.pt_killset==0){setdonpc("独孤须臾","杀死")}else if(database.pt_killset==1){setdonpc("十方恶神","杀死")}setTimeout(tell_pt,500)}else{go("w");console.log("暂无拼图怪,等待拼图怪出现")}}}function tell_pt(){if(database.pt_flag==1&&is_fighting){nowjob="pt"}}function mibao_gw(){getpostion();if(nowpostion=="百毒池"){killmibao1();return}else if(nowpostion=="万蛊堂"){go("s;w");setTimeout(function(){go_postion("百毒池",killmibao1)},500);return}else if(nowpostion=="千蛇窟"){go("n;w");setTimeout(function(){go_postion("百毒池",killmibao1)},500);return}else if(nowpostion=="十恶殿"){go("w;w");setTimeout(function(){go_postion("百毒池",killmibao1)},500);return}else if(nowpostion=="地室"){go("w");setTimeout(function(){go_postion("百毒池",killmibao1)},500);return}else{killmibao()}}function mibao_gw1(){getpostion();if(nowpostion=="百毒池"){go("e;n");setTimeout(function(){go_postion("万蛊堂",killmibao2)},500);return}else if(nowpostion=="万蛊堂"){go("s;s");setTimeout(function(){go_postion("千蛇窟",killmibao3)},500);return}else if(nowpostion=="千蛇窟"){go("n;e");setTimeout(function(){go_postion("十恶殿",killmibao4)},500);return}else if(nowpostion=="十恶殿"){go("w");return}}var monimsg="你好";function monichufa(){monimsg=prompt("你想模拟触发什么消息?",monimsg);words1(monimsg)}var aiqxorder=aiqx_order.split("-");function ai_qixia(){if(btnList["智能奇侠"].innerText=="智能奇侠"){qixia_tell();btnList["智能奇侠"].innerText="正在亲密";return}else{console.log("当前正在亲密奇侠!")}}function qixia_tell(){nowjob="qx";go("=200;items get_store /obj/shop/jinding");setTimeout(function(){getthingnum("金锭");var a=jd_save+580;var b=jd_save+1500;setTimeout(function(){if(thingnum>a&&aiqx_mode==1){autoqixia_mode=2;console.log("判断得金锭多于:"+a+"个");console.log("今天奇侠亲密每次送15金锭")}else if(thingnum<=a&&aiqx_mode==1){console.log("判断得金锭少于:"+a+"个");autoqixia_mode=1;console.log("今天奇侠亲密每次送1金锭")}else if(thingnum>b&&aiqx_mode==0){console.log("判断得金锭多于:"+b+"个");autoqixia_mode=2;console.log("今天奇侠亲密每次送15金锭")}else if(thingnum<=b&&aiqx_mode==0){console.log("判断得金锭少于:"+b+"个");autoqixia_mode=1;console.log("今天奇侠亲密每次送1金锭")}else{autoqixia_mode=1;console.log("今天奇侠亲密每次送1金锭")}triggers.enableByCls("aiqixia");go("open jhqx")},800)},800)}triggers.newTrigger(/江湖奇侠成长信息/,function(m){triggers.disableByCls("aiqixia");console.log("触发智能奇侠");var qixia_od=[];for(var i=0;i<$("tr>td").length-4;i++){var z=(i+1)%4;if(z==0){if($("td")[i].innerText.indexOf("(")>-1){var qm=$("td")[i].innerText.split("(")[1].split(")")[0]}else{var qm=0}if($("td")[i].innerText.indexOf("(")>-1){var aiqxname=$("td")[i].innerText.split("(")[0]}else{var aiqxname=$("td")[i].innerText}var qx_msg=Math.floor(i/4)+"-"+$("td")[i].innerText+"-"+$("td")[i+2].innerText+"-"+qm;if(qm<0){console.log($("td")[i].innerText+"亲密度为负!");btnList["智能奇侠"].innerText="智能奇侠";getqixiacode();nowtask=function(){console.log(aiqxname);if(cmdCache.length==0&&!is_fighting){clearTimeout(qx_bstime);go("find_task_road qixia "+qixiaCode[aiqxname]);setTimeout(function(){getpostion();givegold(aiqxname,1);givegold(aiqxname,1);givegold(aiqxname,1);setTimeout(ai_qixia,6e3)},1e3)}else qx_bstime=setTimeout(nowtask,6e3)};qx_bstime=setTimeout(nowtask,1200);return}console.log(qx_msg);qixia_od.push(qx_msg)}}for(var i=0;i-1){var aiqxname=qixia_od[j].split("-")[1].split("(")[0]}else{var aiqxname=qixia_od[j].split("-")[1]}if(aiqxorder[i]==aiqxname&&qixia_od[j].split("-")[3]=qixiaqinmi[aiqxname]){console.log(aiqxname+"的亲密度已满,找下一个优先级奇侠")}}}},"aiqixia","");triggers.disableByCls("aiqixia");var tuponum=0,ai_tupolists=ai_tupolist.split(";"),tupojiance,max_tpnum="auto";function ai_tupojiance(){database.tuposkill=prompt("请输入你要智能检测突破的技能",database.tuposkill);nexttask=ai_tupojiance1;checktask()}function ai_tupojiance1(){for(var i=0;i-1){database.tuposkill=ai_tupolists[i].split(":")[0];max_tpnum=ai_tupolists[i].split(":")[1];i=ai_tupolists.length}else{max_tpnum="auto"}}go("golook_room");triggers.enableByCls("ai_tupo1");tupojiance=setTimeout(function(){triggers.enableByCls("ai_tupo")},250);go("skills info "+userid+" "+skillnames[database.tuposkill])}function ai_tpcheck(){for(var i=0;i-1){console.log(database.tuposkill+m[1].split("有效系数")[1]);tuponum=m[1].split("有效系数")[1].split("(")[0].replace("+","");console.log("当前技能突破次数:"+tuponum);if(m[1].indexOf("正在突破")>-1){console.log("本技能正在"+tuponum+"突中,开始检测下个技能");ai_tpcheck()}else{console.log("本技能设定的最大突破次数:"+parseInt(max_tpnum));console.log(tuponum+"<"+max_tpnum+"?"+(tuponum"+"托管任务开关:"+tuoguan+"
"+"托管铁血挂机:"+tggj_tiexue+"
"+"托管刷碎片地点:"+ssp_site+"
"+"托管青龙开关:"+tg_ql+"
"+"托管游侠开关:"+tg_yx+"
"+"奇侠亲密顺序:"+aiqx_order+"
"+"奇侠出秘境次数模式:"+aiqx_mode+"
"+"托管智能奇侠开关:"+tg_qx+"
"+"自动智能换突破开关:"+ai_autotupo+"
"+"自动智能换突破顺序:"+ai_tupolist);mainoutle(260,400);if(alerttem==1){alert_switch();alerttem=0}}function newkf_open(){triggers.enableByCls("newkf_open");database_all.newkf_open=1;var newWin=window.open(window.location.href);newWin.focus()}triggers.newTrigger(/!!!有人取代了你的连线。如要重连,请刷新浏览器!!!/,function(m){console.log("已经新开了一个窗口,触发本服重连等待");triggers.disableByCls("newkf_open");mytestcode=function(){if(database_all.newkf_open==0){doconnect()}else{console.log("新开跨服标识:"+database_all.newkf_open+",延时1s重检");setTimeout(mytestcode,1e3)}};setTimeout(mytestcode,3e3)},"newkf_open","");triggers.newTrigger(/欢迎来到【豪侠】游戏/,function(m){$("span.out2:contains(欢迎来到【豪侠】游戏)").remove();words1("道长论剑已成功连接新开跨服");triggers.disableByCls("newkf_open1");database_all.newkf_open=0;kfql_flag=1;qlrob=kf_qlreq;aichuzhao_close()},"newkf_open1","");triggers.newTrigger(/请您记住豪侠官网(.*)手机浏览器可直接游戏/,function(m){$("span.out2:contains(请您记住豪侠官网)").remove();words1("道长论剑已成功连接新开跨服");triggers.disableByCls("newkf_open1");database_all.newkf_open=0;kfql_flag=1;qlrob=kf_qlreq;aichuzhao_close()},"newkf_open1","");triggers.newTrigger(/这儿就是遇剑里的各位英雄齐聚的广场,只见各路英雄齐聚于此,好不热闹/,function(m){words1("道长论剑已成功连接新开跨服");triggers.disableByCls("newkf_open1");database_all.newkf_open=0;kfql_flag=1;qlrob=kf_qlreq;aichuzhao_close()},"newkf_open1","");triggers.newTrigger(/你身上带有生死簿,不能进入跨服/,function(m){setTimeout(function(){go("jh 1;e;n;n;n;n;w;event_1_44575766 go")},300)},"newkf_open1","");triggers.newTrigger(/你身上没有生死簿。/,function(m){go("home;change_server world")},"newkf_open1","");triggers.newTrigger(/销毁了生死簿x(.*)/,function(m){console.log(m[0]);go("event_1_44575766 go")},"newkf_open1","");triggers.disableByCls("newkf_open");triggers.disableByCls("newkf_open1");function doconnect(){g_gmain.g_delay_connect=0;connectServer();$("span.out2:contains(有人取代了)").remove();console.log("道长论剑本服重连成功")}function bangshop(){var a=buythinglist.split(";");var b="";for(var i=0;i=2e3&&x<1e4){y=1}else if(x>=1e4&&x<2e4){y=2}else if(x>=2e4&&x<3e4){y=3}else if(x>=3e4&&x<5e4){y=4}else if(x>=5e4&&x<1e5){y=5}else if(x>=1e5){y=6}g_gmain.send_prompt("道长推荐购买"+y+"档理财,你买吗???\n\n\n\n","touzi_jihua2 buygo "+y,"道长说了算")}function buytzlicai(){var a=prompt("你要买几档理财?(1-2k,2-1w,3-2w,4-3w,5-5w,6-10w,7-15w,8-20w,9-30w,10-40w)",6);go("touzi_jihua2 buygo "+a)}function bszread(){if(database.alert_flag==0){var alerttem=1;alert_switch()}alertmsg("宝石阵属性图","点击图片查看大图
");mainoutle(500,400);if(alerttem==1){alert_switch();alerttem=0}}function chbread(){if(database.alert_flag==0){var alerttem=1;alert_switch()}alertmsg("称号表","点击图片查看大图
");mainoutle(400,400);if(alerttem==1){alert_switch();alerttem=0}}function jwtread(){if(database.alert_flag==0){var alerttem=1;alert_switch()}alertmsg("极武坛图","点击图片查看大图
");mainoutle(400,350);if(alerttem==1){alert_switch();alerttem=0}}function sbrwread(){if(database.alert_flag==0){var alerttem=1;alert_switch()}alertmsg("神兵任务","点击图片查看大图
");mainoutle(400,350);if(alerttem==1){alert_switch();alerttem=0}}function csbread(){if(database.alert_flag==0){var alerttem=1;alert_switch()}alertmsg("出师表","点击图片查看大图
");mainoutle(400,350);if(alerttem==1){alert_switch();alerttem=0}}function jmglread(){if(database.alert_flag==0){var alerttem=1;alert_switch()}alertmsg("经脉攻略","点击图片查看大图
");mainoutle(300,300);if(alerttem==1){alert_switch();alerttem=0}}function countneili(){var s=prompt("请输入: 初始内力-每跳内力-预计内力","4000-360-10000"),neili=s.split("-"),chushi=neili[0],meitiao=neili[1],yuji=neili[2],meimiao=meitiao/5,heji=(yuji*yuji-chushi*chushi)/2,yujihour=(heji/meimiao/3600).toFixed(2),yujiminu=yujihour*60,yujiday=(heji/meimiao/3600/24).toFixed(2);alert("经过计算得,在有vip通勤卡和没内力浪费的情况下,你还需要的总内力为:"+heji+" 你的每秒打坐增长内力为:"+meimiao+" 你还需要打坐的合计天数为:"+yujiday+"天"+" 合计小时为:"+yujihour+"小时"+" 合计分钟数为:"+yujiminu+"分钟")}function mobenliu(){go("fb 6;event_1_94101353;kill changleweiyang_dahonglu|home;fb 6;wield sword of windspring;;event_1_8221898;wield weapon_sb_sword11;;kill changleweiyang_taishuling|home;fb 6;event_1_18437151;kill changleweiyang_zhijinwu|home;fb 6;event_1_74386803;kill changleweiyang_wunvling|home")}var zmr_popbk=createPop("走迷人");popList["走迷人"].innerHTML="
请选择你要去的迷宫地图或者npc
";createPopButton("去赌场","走迷人",qdc);createPopButton("天策府","走迷人",tcf);createPopButton("唐人张","走迷人",trzhang);createPopButton("云梦璃","走迷人",yml);createPopButton("独孤皇后","走迷人",dghh);createPopButton("老祭司","走迷人",ljs);createPopButton("欧阳敏","走迷人",oym);createPopButton("林祖师","走迷人",lzs);createPopButton("铁尸","走迷人",ts);createPopButton("琅嬛洞","走迷人",lhd);createPopButton("无尽深渊","走迷人",wujinsy);createPopButton("地下迷宫","走迷人",dixiamigong);createPopButton("高老者","走迷人",glz);createPopButton("雪林深处","走迷人",xlsc);createPopButton("出雪林","走迷人",cxl);createPopButton("石帮主","走迷人",sbz);createPopButton("朱熹","走迷人",zhuxi);createPopButton("谢烟客","走迷人",xyk);createPopButton("三门派","走迷人",smp);createPopButton("师门飞机","走迷人",smfeiji);createPopButton("本二开关","走迷人",fb2_open);createPopButton("拼图怪","走迷人",pt_walk);createPopButton("去通灵","走迷人",gotongling);createPopButton("帮派铜人","走迷人",tongren);createPopButton("恒山盗贼","走迷人",daozei);createPopButton("铁血挂机","走迷人",tiexue);createPopButton("破除魔障","走迷人",zmr_pcmz);createPopButton("大乘忘武","走迷人",zmr_dcww);createPopButton("天山七侠","走迷人",tianshanqixia);createPopButton("毒魔","走迷人",dumo);createPopButton("白驼突袭","走迷人",baituotuxi);createPopButton("渡劫","走迷人",dujie);createPopButton("墨家机关","走迷人",zmr_mojia);createPopButton("掩月走路","走迷人",zmr_yanyue);createPopButton("修武入脉","走迷人",zmr_xwrm);createPopButton("进天剑谷","走迷人",go_intianjian);createPopButton("开外传","走迷人",waizhuanswitch);createPopButton("跨服报名","走迷人",kfljbm);createPopButton("积分商城","走迷人",function(){gSocketMsg2.show_xf_shops()});createPopButton("随身商城","走迷人",function(){go("shop")});createPopButton("悬红去接","走迷人",function(){go("jh 1;w;event_1_40923067")});createPopButton("逆亡去接","走迷人",zmr_niwang);function zmrfunc(){zmr_popbk.style.display=""}function qdc(){go("jh 2;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;w;w;w;w;w;w;touzi;")}function zmr_xwrm(){go("jh 14;sw;s;e;s;s;sw;sw;w;w;s;s;e;e;e;n;ne;e;se;s;se;e;ne;n;look_npc tangmen_luxiyin")}function kfljbm(){go("jh 4;n;n;n;e;bm_twar;home")}function zmr_pcmz(){if(nowjh<31){console.log("关卡没解锁,别瞎按");return}go_sm("铁雪山庄","烽火戏诸侯")}function zmr_dcww(){if(nowjh<31){console.log("关卡没解锁,别瞎按");return}go_sm("铁雪山庄","阿不")}function zmr_niwang(){var my=g_obj_map.get("msg_attrs"),a=my.get("exp");if(a<5e10){console.log("找左盟主接一次逆亡任务");go("jh 22;n;n;w;n;n;n;n;n;e;n;n;n;n;n;n;n;n;event_1_55671421")}else if(a>=5e10){nextgo=function(){setTimeout(function(){var b=g_obj_map.get("msg_score").get("shen");if(b>=5e4){console.log("找杨英雄接一次惩奸除恶任务");go("jh 39;ne;e;n;ne;ne;n;ne;nw;ne;nw;event_1_17801939;ts2;ne;ne;nw;nw;event_1_20668593")}else if(b<=-3e5){console.log("海云阁接邪气任务,请自行飞去")}else{console.log("你不符合接任务条件,请刷到5w正气或者30w邪气再试")}},500)};go("score;$")}}function zmr_yanyue(){var a={"朝暮阁>>骡马市":"sw;se;se;sw;s;s;s;e;sw;sw;sw;s;se;se;se;e","百里原>>骡马市":"se;ne;se;s;e;e;e;ne;se;s;s;sw;sw;sw","骡马市>>越女玉雕":"w;nw;nw;nw;n;ne;ne;ne","越女玉雕>>骡马市":"sw;sw;sw;s;se;se;se;e","骡马市>>朝暮阁":"w;nw;nw;nw;n;ne;ne;ne;w;n;n;n;ne;nw;nw;ne","骡马市>>金锭寻花":"s;sw;se;ne;se;s;e;e;e;ne;se;s;s;sw;sw;sw","天青原>>金锭寻花":"se;ne;se;s;e;e;e;ne;se;s;s;sw;sw;sw"};var b=Object.getOwnPropertyNames(a);var c="请选择需要你需要的走法\n(温馨提示:若没通关掩月城,可到越女玉雕处寻路)\n";for(var i=0;i>")[0]+"走到"+b[d].split(">>")[1]);if(d==0&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="朝暮阁"){go(a[b[d]])}else if(d==1&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="百里原"){go(a[b[d]])}else if(d==2&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="骡马市"){go(a[b[d]])}else if(d==3&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="越女玉雕"){go(a[b[d]])}else if(d==4&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="骡马市"){go(a[b[d]])}else if(d==5&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="骡马市"){go(a[b[d]])}else if(d==6&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="天青原"){go(a[b[d]])}else{console.log("你当前不在寻路起始位置");console.log("寻路正确走法:"+a[b[d]])}}}function zmr_mojia(){var a={"云海山谷>>机关城":"n;w;n;e;e;nw;w;ne;se;n;nw","机关城>>云海山谷":"se;s;nw;sw;e;se;w;w;s;e;s","神龙山>>石板大道":"e;n;e;s;e;n;nw;e;nw","石板大道>>神龙山":"se;se;s;se;s;w","神龙山>>盘龙湖":"e;s;e;s;ne;s;sw;nw;s;se","盘龙湖>>神龙山":"ne;n;ne;n;w"};var b=Object.getOwnPropertyNames(a);var c="请选择需要走的迷宫\n";for(var i=0;i>")[0]+"走到"+b[d].split(">>")[1]);if(d==0&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="云海山谷"&&$("button.cmd_click_exits_n").length>0&&$("button.cmd_click_exits_n")[0].innerText=="墨攻御阵"){go(a[b[d]])}else if(d==1&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="机关城"&&$("button.cmd_click_exits_se").length>0&&$("button.cmd_click_exits_se")[0].innerText=="墨攻御阵"){go(a[b[d]])}else if(d==2&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="神龙山"){go(a[b[d]])}else if(d==3&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="石板大道"){go(a[b[d]])}else if(d==4&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="神龙山"){go(a[b[d]])}else if(d==5&&$("button.cmd_click_room").length>0&&$("button.cmd_click_room")[0].innerText=="盘龙湖"){go(a[b[d]])}else{console.log("你当前不在迷宫起始位置");console.log("迷宫正确走法:"+a[b[d]])}}}function tcf(){go("jh 2;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;w;w;n;n;n;n;n;w;w;n;n;n;")}function trzhang(){go("jh 2;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;w;w;n;n;n;n;n;w;w;s;s;s;w;look_npc changan_tangrenzhang")}function yml(){go("jh 2");goes("n",27);goes("e",6);go("event_1_95312623")}function dghh(){go("jh 2");goes("n",29)}function ljs(){if(nowjh<33){console.log("章节没解锁");return}go("jh 33;sw;sw;s;s;s;s;w;w;w;w;w;n;w;se;")}function oym(){if(nowjh<14){console.log("章节没解锁");return}go("jh 14;w;n;n;n;n;ask tangmen_tangyun;ask tangmen_tangyun;ask tangmen_tangyun;s;e;e;n;n;ask tangmen_tangmei;ask tangmen_tangmei;ask tangmen_tangmei;e;event_1_8413183;event_1_39383240;e;s;e;n;w;n;n;")}function lzs(){if(nowjh<20){console.log("章节没解锁");return}go("jh 20;w;w;s;e;s;s;s;s;s;sw;sw;s;s;s;s;e;e;event_1_3723773;se;n;e;s;e;s;e;")}function ts(){if(nowjh<21){console.log("章节没解锁");return}go("jh 21;nw;w;w;nw;n;n;n;n;n;n;n;n;ne;n;n;s;s;s;sw;nw;sw;sw;nw;nw;se;sw;")}function lhd(){go("nw;event_1_92817399;w;event_1_91110342;s;event_1_74276536;se;event_1_14726005;sw;event_1_66980486;nw;event_1_39972900;nw;event_1_61689122;w;event_1_19336706;s;eevent_1_30457951;sw;event_1_96023188;s;")}function wujinsy(){go("event_1_73460819;event_1_52335885;e;event_1_56082528;e;event_1_96610703;s;event_1_30829528;w;event_1_20919210;w;event_1_45322510;s;event_1_53681413;s;event_1_4732228;e;event_1_24529326;n;event_1_65787232;e;event_1_39859996;s;event_1_22071325;e;event_1_37824403;e;event_1_10669895;n;event_1_87685798;w;event_1_35949241;n;event_1_27708165;e;event_1_9805486;n;event_1_39703232;w;")}function dixiamigong(){var a="e;e;s;w;w;s;e;e;s;w;w;w;n;n;n;n";var b=a.split(";");console.log(b+"--"+!i);if(!i){var i=0}var nowtask=function(){clickbtn3("翻查");go(b[i]);i++};var nowtask1=function(){if(i-1){go("ne;sw;^hjs_xl;$")}else if($("span.outtitle").last().text().indexOf("榆叶林")>-1){go("s;n;w;^hjs_xl;$")}else if($("span.outtitle").last().text().indexOf("杭界大门")>-1){go("n;ne;^hjs_xl;$")}else{console.log("快车已到站,乘客请下车")}}var smtask;function shimenf5(){go("family_quest cancel go;family_quest")}function smfeiji(){smtask=prompt("请输入想去的地点(请注意,本功能会中断师门连续次数,慎用,意外点错请清空地点或者点取消)",smtask);if(!smtask){return}triggers.enableByCls("shimenf5");shimenf5()}function fb2_open(){go("home;fb 2;e;n;event_1_48728674;home;fb 2;e;s;event_1_41361248;home;fb 2;e;e;event_1_43484736")}function pt_walk(){go("jh 2");goes("n",16);go("w;s;s;s;s;e;event_1_2215721;w")}function gotongling(){var a=prompt("请输入通灵次数",10);go("jh 7;s;s;s;s;s;s;s;sw;w;event_1_83700396");for(var i=0;i-1){var w="";var n=t.slice(4);for(var i=0;i请选择想完成的主线任务地图";createPopButton("新号开始","主线",startlj);createPopButton("拜唐门","主线",baitangmen);createPopButton("学技能","主线",readbook);function startlj(){go("ask start_zhongshanglaozhe;lookroom;fight start_mengmianren;shouze ok;fight start_mengmianren");triggers.enableByCls("startlj")}triggers.newTrigger(/蒙面人被你打败/,function(m){triggers.disableByCls("startlj");go("lookroom;s;n;ask start_zhongshanglaozhe;lookroom;s;guanchaxuanya;tiaoxiaxuanya;e;w;qiguaiguozi;e;guanchashendiao;w;e;ask start_shendiao;")},"startlj","");triggers.disableByCls("startlj");function baitangmen(){go("home apprentice 唐门;learn dugong from tangmen_tangbai to 1;")}function readbook(){ds_popbk.style.display=""}var ds_popbk=createPop("学技能");popList["学技能"].innerHTML="
请选择你想要做什么
";createPopButton("请教50","学技能",qingjiao);function qingjiao(){nextgo=function(){goes("event_1_23194100",50);go_home()};go("jh 1;e;s;w;s;$")}createPopButton("论语101","学技能",lunyu);function lunyu(){go("jh 1;e;s;w;s;buy /obj/book/lunyu_N_1 from snow_teacher;buy /obj/book/lunyu_N_10 from snow_teacher;buy /obj/book/lunyu_N_10 from snow_teacher;buy /obj/book/lunyu_N_10 from snow_teacher;buy /obj/book/lunyu_N_10 from snow_teacher;buy /obj/book/lunyu_N_10 from snow_teacher;home");goes("study lun yu",51)}createPopButton("尚书151","学技能",shangshu);function shangshu(){go("jh 5;n;n;n;n;n;e;n;n;n;buy /obj/book/shangshu_N_10 from yangzhou_yangzhou17;buy /obj/book/shangshu_N_10 from yangzhou_yangzhou17;buy /obj/book/shangshu_N_10 from yangzhou_yangzhou17;buy /obj/book/shangshu_N_10 from yangzhou_yangzhou17;buy /obj/book/shangshu_N_10 from yangzhou_yangzhou17;home");goes("study shang shu",50)}createPopButton("庄子201","学技能",zhuangzi);function zhuangzi(){go("jh 5;n;n;n;n;n;e;n;n;n;buy /obj/book/zhuangzi_N_10 from yangzhou_yangzhou17;buy /obj/book/zhuangzi_N_10 from yangzhou_yangzhou17;buy /obj/book/zhuangzi_N_10 from yangzhou_yangzhou17;buy /obj/book/zhuangzi_N_10 from yangzhou_yangzhou17;buy /obj/book/zhuangzi_N_10 from yangzhou_yangzhou17;home");goes("study zhuang zi",50)}createPopButton("老子301","学技能",laozi);function laozi(){go("jh 5;n;n;n;n;n;e;n;n;n;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;buy /obj/book/laozi_N_10 from yangzhou_yangzhou17;home");goes("study lao zi",100)}createPopButton("春秋401","学技能",chunqiu);function chunqiu(){go("jh 15;s;s;s;s;e;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;buy /obj/book/chunqiu_N_10 from qingcheng_teacher;home");goes("study chun qiu",100)}createPopButton("周易501","学技能",zhouyi);function zhouyi(){go("jh 15;s;s;s;s;e;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;buy /obj/book/zhouyi_N_10 from qingcheng_teacher;home");goes("study zhou yi",100)}createPopButton("准备技能","学技能",zhunbeijineng);function zhunbeijineng(){go("=500;enable unmap_all;enableskill enable unarmed tangmen-duzhang;enableskill enable sword tangshi-jian;enableskill enable force dugong;enableskill enable dodge taxue-wuhen;enable mapped_skills save go 1;=150;prev")}createPopButton("拜唐健","学技能",baitangjian);function baitangjian(){goes("learn tangmen-xinfa from tangmen_tangbai to 10",2);goes("learn tangshi-jian from tangmen_tangbai to 10",14);go("apprentice tangmen_tangjian")}createPopButton("学唐健","学技能",xuetangjian);function xuetangjian(){goes("learn dugong from tangmen_tangjian to 10;learn force from tangmen_tangjian to 10;learn tangmen-duzhang from tangmen_tangjian to 10;learn move from tangmen_tangjian to 10",20)}createPopButton("拜唐怒","学技能",baitangnu);function baitangnu(){goes("learn tangshi-jian from tangmen_tangjian to 10",6);go("apprentice tangmen_tangyun")}createPopButton("学唐怒","学技能",xuetangnu);function xuetangnu(){goes("learn force from tangmen_tangyun to 10",10);goes("learn move from tangmen_tangyun to 10",12);goes("learn dugong from tangmen_tangyun to 10",16);goes("learn tangmen-duzhang from tangmen_tangyun to 10",4);goes("learn unarmed from tangmen_tangyun to 10",20);goes("learn parry from tangmen_tangyun to 10",30)}createPopButton("拜唐风","学技能",baitangfeng);function baitangfeng(){goes("learn taxue-wuhen from tangmen_tangyun to 10",32);go("apprentice tangmen_tangfeng")}createPopButton("学唐风","学技能",xuetangfeng);function xuetangfeng(){goes("learn force from tangmen_tangfeng to 10",6);goes("learn move from tangmen_tangfeng to 10",12);goes("learn dugong from tangmen_tangfeng to 10",5);goes("learn tangmen-duzhang from tangmen_tangfeng to 10",13);goes("learn taxue-wuhen from tangmen_tangfeng to 10",9);goes("learn unarmed from tangmen_tangfeng to 10",7);goes("learn parry from tangmen_tangfeng to 10",10)}createPopButton("拜欧阳敏","学技能",baiouyangmin);function baiouyangmin(){go("jh 14;w;n;n;n;n;ask tangmen_tangyun;ask tangmen_tangyun;s;e;e;n;n;ask tangmen_tangmei;ask tangmen_tangmei;e;event_1_8413183;event_1_39383240;e;s;e;n;w;n;n;apprentice tangmen_madam;home")}createPopButton("学欧阳敏","学技能",xueouyangmin);function xueouyangmin(){goes("learn wuying-dugong from tangmen_madam to 10",50);goes("learn force from tangmen_madam to 10",6);goes("learn move from tangmen_madam to 10",14);goes("learn dugong from tangmen_madam to 10",10);goes("learn tangmen-dujing from tangmen_madam to 10",50);goes("learn tangmen-duzhang from tangmen_madam to 10",14);goes("learn taxue-wuhen from tangmen_madam to 10",10);goes("learn throwing from tangmen_madam to 10",50);goes("learn unarmed from tangmen_madam to 10",16);goes("learn parry from tangmen_madam to 10",10);goes("learn baoyu-lihua from tangmen_madam to 10",50);go("enableskill enable taxue-wuhen none")}createPopButton("雪亭go","主线",xt_job);function xt_job(){runhit_open();go("jh 1;ask snow_waiter;ask snow_mercenary;e;fight snow_worker");triggers.enableByCls("zxjob")}createPopButton("洛阳go","主线",ly_job);function ly_job(){runhit_open();go("jh 2;n;ask luoyang_luoyang18;n;kill luoyang_xiaotou");triggers.enableByCls("zxjob")}createPopButton("华山村","主线",hsc_job);function hsc_job(){runhit_open();go("jh 3;ask huashancun_huashancun12;fight huashancun_huashancun12");triggers.enableByCls("zxjob")}createPopButton("华山go","主线",hs_job);function hs_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 4;ask huashan_huashan14;fight huashan_huashan14|n;n;fight huashan_huashan2|n;n;fight huashan_huashan25|n;n;fight huashan_huashan26|n;n;fight huashan_huashan27|n;kill huashan_huashan24|n;fight huashan_huashan8|n;ask huashan_gao;n;n;n;ask huashan_lao;fight huashan_laon;n;fight huashan_huashan2|n;n;fight huashan_huashan25|n;n;fight huashan_huashan26|n;n;fight huashan_huashan27|n;kill huashan_huashan24|n;fight huashan_huashan8|n;ask huashan_gao;n;n;n;ask huashan_lao;fight huashan_lao")}createPopButton("扬州go","主线",yz_job);function yz_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 5;ask yangzhou_yangzhou16;n;n;n;ask yangzhou_yangzhou19;n;w;ask yangzhou_xiaofeizei;fight yangzhou_xiaofeizei")}createPopButton("丐帮go","主线",gb_job);function gb_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 6;event_1_98623439;kill gaibang_haozi")}createPopButton("乔阴go","主线",qyx_job);function qyx_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 7;event_1_57435070")}createPopButton("峨眉go","主线",ems_job);function ems_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 8;w;nw;n;n;auto_equip off;n;auto_equip on;n;e;e;n;n;e;fight emei_shoushan|n;fight emei_wenyue;fight emei_wenxin|n;fight emei_xunshan|n;n;w;n;n;n;n;n;n;n;n;n;fight emei_hufa|ne;ne;fight emei_hufa2|n;ask houshan_miejue")}createPopButton("恒山go","主线",hengs_job);function hengs_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 9;fight henshan_henshan10|n;fight henshan_henshan1|n;fight henshan_henshan3|n;n;kill henshan_henshan12")}triggers.newTrigger(/^石高达:竟敢惹我,我这就找人来收拾你!/,function(m){go("n;n;n;e;e;kill henshan_heiyiren");runhit_open()},"zxjob","");createPopButton("武当go","主线",wds_job);function wds_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 10;fight wudang_tufeitou|w;n;fight wudang_tufei2|n;w;w;ask wudang_xiaosong;fight wudang_xiaosong|w;n;n;n;n;n;ask wudang_guxu;fight wudang_guxu|n;fight wudang_yu")}createPopButton("晚月go","主线",wyz_job);function wyz_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 11;e;e;s;sw;fight latemoon_lm_guard|se;w;fight dancer_master")}createPopButton("水烟go","主线",syg_job);function syg_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 12;n;n;n;kill waterfog_guard|w;n;nw;e;kill waterfog_watcher|w;se;s;e;n;fight fighter_master")}createPopButton("少林go","主线",sl_job);function sl_job(){runhit_open();go(";;;;jh 13;n;n;n;n;n;n;n;n;n;n;e;fight shaolin_cheng-guan|s;s;s;s;fight shaolin_cheng-jian|s;s;fight shaolin_cheng-ji|s;s;fight shaolin_cheng-he|n;fight shaolin_cheng-mie|n;n;n;n;fight shaolin_cheng-jing|n;fight shaolin_cheng-ming|n;n;w;w;s;s;s;s;s;s;fight shaolin_cheng-ling|s;s;fight shaolin_cheng-shang|n;n;n;n;n;fight shaolin_cheng-shi|n;fight shaolin_cheng-si|n;n;fight shaolin_cheng-xin|s;fight shaolin_cheng-yi|s;s;s;s;fight shaolin_cheng-xin2|s;s;fight shaolin_cheng-yu|n;n;n;n;n;n;n;e;n;n;kill shaolin_cheng-xing")}createPopButton("唐门go","主线",tm_job);function tm_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 14;w;n;n;n;ask tangmen_tangbing;fight tangmen_tangbing|e;e;n;fight tangmen_tangjian|s;w;w;w;w;s;fight tangmen_tangbai|n;e;e;e;e;n;n;fight tangmen_tangzhu|fight tangmen_tangmei|s;e;fight tangmen_tanghong|w;s;w;w;w;w;w;n;fight tangmen_tangfang|s;s;fight tangmen_tangyuan")}createPopButton("青城go","主线",qcs_job);function qcs_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 15;n;nw;w;nw;w;s;s;fight qingcheng_dizi1|s;auto_equip off;w;auto_equip on;w;fight qingcheng_renying|w;ask qingcheng_masteryu;e;e;e;n;n;n;e;se;e;se;s;s;s;s;s;s;s;w;ask qingcheng_mudaoren")}createPopButton("逍遥go","主线",xyl_job);function xyl_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 16;s;s;s;s;e;e;s;w;ask xiaoyao_mengmianr;kill xiaoyao_mengmianr|w;ask xiaoyao_suxinghe;fight xiaoyao_suxinghe|e;e;e;n;n;e")}createPopButton("开封go","主线",kf_job);function kf_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 17;n;e;fight kaifeng_kaifeng19|s;ask kaifeng_kaifeng3;n;w;w;ask kaifeng_kaifeng2;e;n;n;n;n;e;n;n;ask kaifeng_kaifeng28;n;event_1_27702191;ask kaifeng_kaifeng30;fight kaifeng_kaifeng30|w;s;s;s;w;s;s;s;s;e;s;ask kaifeng_kaifeng3")}createPopButton("明教go","主线",mj_job);function mj_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 18;n;nw;n;n;n;n;n;ne;n;n;n;n;n;n;n;n;n;n;ask mingjiao_zhang;s;s;s;s;s;s;fight mingjiao_weiyixiao|n;n;n;n;n;n;ask mingjiao_zhang;s;w;fight mingjiao_longwang|e;n;ask mingjiao_zhang;s;e;fight mingjiao_shiwang|w;n;ask mingjiao_zhang;s;fight mingjiao_yingwang")}createPopButton("全真go","主线",qzj_job);function qzj_job(){runhit_open();go("jh 19;s;s;s;sw;s;e;n;nw;n;n;n;n;n;e;e;e;fight quanzhen_sun|w;w;w;n;fight quanzhen_ma|n;fight quanzhen_qiu|n;n;fight quanzhen_wangchuy|e;n;n;fight quanzhen_tan|e;fight quanzhen_liu|w;w;w;w;w;s;fight quanzhen_hao")}createPopButton("古墓go","主线",gm_job);function gm_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 20;w;w;s;e;s;s;s;s;s;sw;sw;s;s;s;s;e;e;ask gumu_longnv;e")}createPopButton("白驼go","主线",bts_job);function bts_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 21;nw;w;w;nw;e;ask baituo_woman;w;se;e;e;ne;n;n;fight baituo_shanzei1|ne;fight baituo_shanzei2|n;n;fight baituo_shanzei3|w;ask baituo_jinhua;e;s;s;sw;s;s;sw;w;w;nw;n;n;n;n")}createPopButton("嵩山go","主线",ss_job);function ss_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 22;n;n;w;n;n;n;n;n;e;n;n;n;fight songshan_songshan22|n;fight songshan_songshan23|n;fight songshan_songshan24|n;fight songshan_songshan27|n;fight songshan_songshan29|n")}createPopButton("梅庄go","主线",hmz_job);function hmz_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 23;n;n;n;n;fight meizhuang_meizhuang13|n;n;n;e;s;fight meizhuang_meizhuang4|n;w;n;n;n;e;fight meizhuang_meizhuang11|w;w;n;fight meizhuang_meizhuang10|s;e;s;s;e;n;fight meizhuang_meizhuang8")}createPopButton("泰山go","主线",ts_job);function ts_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 24;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;n;ask taishan_taishan17;fight taishan_taishan17|s;s;s;s;s;w;event_1_87037293")}createPopButton("大旗go","主线",dqm_job);function dqm_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 25;e;e;e;e;s;yell")}createPopButton("大昭go","主线",dzs_job);function dzs_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 26;w;w;w;w;w;w;w;w;w;w;ask lama_master;e;e;e;e;n;n;e");triggers.enableByCls("zxjob_dzs")}createPopButton("魔教go","主线",dzs_job);function dzs_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 27;ne;nw;w;nw;w;w");triggers.enableByCls("zxjob_dzs")}createPopButton("星宿go","主线",xxh_job);function xxh_job(){runhit_open();go("jh 28;ask xingxiu_trader;n;n;fight xingxiu_shihou|n;fight xingxiu_zhaixing|n;nw;w;ask xingxiu_caihua;fight xingxiu_caihua|e;se;n")}createPopButton("茅山go","主线",ms_job);function ms_job(){runhit_open();triggers.enableByCls("maoshan_pashan");ms_mapst=2;nextdo=function(){go("n;n;n;n;n;n;n;event_1_98579273;n;ask taoist_taolord;s;fight taoist_zhanglao1|n;fight taoist_taolord|s;s;s;s;s;s;s;s;s;s");triggers.enableByCls("maoshan_pashan");ms_mapst=1;nextdo=function(){go("n")}};go("jh 29;n;n;n;n;$")}createPopButton("桃花go","主线",thd_job);function thd_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 30;fight taohua_lushengf|n;n;n;n;n;n;n;n;n;n;n;n;n;n;ask taohua_huang")}createPopButton("铁雪go","主线",txsz_job);function txsz_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 31;n;n;n;w;w;w;w;n;fight resort_guard|n;fight resort_xueyuan|n;ask resort_master;fight resort_master2|n;fight resort_w_guy")}createPopButton("慕容go","主线",mrsz_job);function mrsz_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 32;n;n;se;n;n;n;n;w;w;n;ask murong_murongfu;fight murong_murongfu|s;w;n;event_1_72278818;event_1_35141481;event_1_35141481;event_1_35141481;event_1_35141481;event_1_35141481;w;ask murong_murongbo")}createPopButton("大理go","主线",dl_job);function dl_job(){runhit_open();triggers.enableByCls("zxjob");go("jh 33;sw;sw;s;s;s;s;s;e;n;fight dali_zhuwanli|se;e;e;n;n;n;ne;n;ask dali_duanzc;s;sw;s;s;s;w;w;nw;s;w;s;s;s;s;e;ne;n;n;e;e;e;ne;ask dali_duanyu;nw;w;w;n;ask dali_kurong;fight dali_kurong|s;w;w;w;nw;w;w;w;w;s;s;s;s;s;s;s;s;s;s;ask dali_yideng")}createPopButton("侠客go","主线",xkd_job);function xkd_job(){runhit_open();triggers.enableByCls("zxjob_xkd");go("jh 36;yell;e;ask xiakedao_zhangsan;ask xiakedao_zhangsan;ne;ne;ne;e;e;n;ask xiakedao_lisi;ask xiakedao_lisi;s;w;n;w;ask xiakedao_baizhangmen;ask xiakedao_baizhangmen")}createPopButton("苗疆go","主线",miaojiang_job);function miaojiang_job(){runhit_open();triggers.enableByCls("zxjob_miaojiang");go("jh 40;s;s;s;s;w;w;w;ask miaojiang_miaosanjin;ask miaojiang_miaosanjin;e;e;e;e;s;se;sw;s;s;s;e;ask miaojiang_qiaofu;ask miaojiang_qiaofu;e;sw;se;sw;se;event_1_8004914")}triggers.newTrigger(/^你手脚笨拙,脚踏铁索上战战兢兢缓缓向前/,function(m){go("sw;ask miaojiang_languniang;ask miaojiang_languniang")},"zxjob_miaojiang","");triggers.newTrigger(/^你心如止水,一跃而起稳稳的站于铁索之上/,function(m){go("event_1_85349264;event_1_8004914")},"zxjob_miaojiang","");triggers.newTrigger(/蓝姑娘:功夫不差,竟然能胜我/,function(m){go("se;event_1_41385370;e;ne;nw;e;sw;se;s;ne;e;e;s;e;n;n;e;s;e;ne;s;sw;e;e;ne;ne;nw;ne;ne;n;n;n;n;nw;ne;ne;nw;ne;e;ask miaojiang_hejiaozhu;ask miaojiang_hejiaozhu")},"zxjob_miaojiang","");triggers.newTrigger(/^你心如止水,一跃而起稳稳的站于铁索之上/,function(m){go("event_1_85349264;event_1_8004914")},"zxjob_miaojiang","");triggers.disableByCls("zxjob_miaojiang");triggers.newTrigger(/白掌门:成王败寇,没啥好说的,本人光明磊落,自问从不做鸡鸣狗盗之事。/,function(m){nextdo=function(){go("e;s;e;e;e;e;e;n;n;n;e;ne;nw;ask xiakedao_ailaozhe;ask xiakedao_ailaozhe")};checkbusy()},"zxjob_xkd","");triggers.newTrigger(/^矮老者:饶命饶命,张三是谁我都不认识,我怎么跟踪他!你去问问我师兄去吧。/,function(m){nextdo=function(){go("w;ask xiakedao_gaolaozhe;ask xiakedao_gaolaozhe")};checkbusy()},"zxjob_xkd","");triggers.newTrigger(/^高老者:这位英雄饶命,赏善令我藏在沉船那,你自己去找吧!/,function(m){nextdo=function(){go("e;se;s;s;s;w;w;w;w;w;w;sw;sw;sw;se;e;s;s;s;s;e;ne;e;e;n;event_1_57007277;event_1_57007277;event_1_57007277")};checkbusy()},"zxjob_xkd","");triggers.newTrigger(/^你在沉船一个不起眼的地方,找到一个赏善令。/,function(m){triggers.disableByCls("zxjob_xkd");go("s;w;w;sw;w;n;n;n;w;w;s;w;nw;give xiakedao_zhangsan")},"zxjob_xkd","");triggers.disableByCls("zxjob_xkd");triggers.newTrigger(/关卡成功通关!/,function(m){go("home");triggers.disableByCls("zxjob")},"zxjob","");triggers.newTrigger(/^黄岛主:还有点本事。我那几个弟子,我是很不放心。我看《九阴真经摹本》就是他们偷去了。你去问问我的大弟子曲三。/,function(m){go("s;s;s;s;e;e;n;ask taohua_qulingf;fight taohua_qulingf|s;w;w;n;n;n;n;ask taohua_huang");runhit_open()},"zxjob","");triggers.newTrigger(/这儿有:(.*)/,function(m){if(m[1].indexOf("卜一刀")>-1){triggers.disableByCls("zxjob_dzs");go("kill guanwai_puying|~;;@卜一刀的尸体")}if(m[1].indexOf("船夫")>-1){triggers.disableByCls("zxjob_dzs");go("kill heimuya_shaogong|~;;@船夫的尸体")}},"zxjob_dzs","");triggers.disableByCls("zxjob_dzs");triggers.newTrigger(/^你从(.*)里搜出一把弯刀。/,function(m){go("w;s;s;w;w;w;w;give lama_master;fight lama_master")},"zxjob","");triggers.newTrigger(/^你从(.*)里搜出一块日月神教腰牌。/,function(m){go("yell")},"zxjob","");triggers.newTrigger(/^艄公将船靠岸,喊道:到了!/,function(m){go("w;nw;n;n;n;n;n;n;n;w;n;n;n;n;n;n;n;n;n;n;yell")},"zxjob","");triggers.newTrigger(/^终于到了!/,function(m){go("n;n;n;n;n;e;ask heimuya_jianqiankai;w;n;ne;fight heimuya_wangcheng|sw;nw;fight heimuya_tongbaixiong|se;w;n;fight heimuya_shangguanyun|s;ne;fight heimuya_sangsanniang|ne;se;fight heimuya_luolie|nw;sw;fight heimuya_jiabu|ne;w;fight heimuya_baodachu|e;nw;fight heimuya_getingxiang")},"zxjob","");triggers.newTrigger(/^魔教有十大长老,可去一一诛之!/,function(m){go("se;e;n;n;n;n;n;w;w;w;w;w;fight heimuya_zhaohe|e;fight heimuya_zhangchengyun|e;fight heimuya_zhangchengfeng|e;fight heimuya_quyang|e;fight heimuya_huaxiangrong|e;e;fight heimuya_dugufeng|e;fight heimuya_yangyanqing|e;fight heimuya_fansong|e;fight heimuya_juling|e;fight heimuya_chutong|w;w;w;w;w;n;ask heimuya_yanglianting|n;event_1_57107759;e;e;n;w")},"zxjob","");triggers.newTrigger(/^灵空:其实葛伦大师喜欢喝酒,他常偷偷去迎梅客栈喝酒,你去问问。/,function(m){go("e;e;e;e;s;e;ask guanwai_waiter;w;n;w;w;w;w;ask lama_master")},"zxjob","");triggers.newTrigger(/^灵空说道:(这儿就是大昭寺,你有何贵干?|我佛无上……)/,function(m){go("ask lama_master")},"zxjob","");triggers.newTrigger(/^灵空说道:葛伦师傅在幻境之中,你想去见他?/,function(m){go("event_1_91837538;ask lama_gelun;s")},"zxjob","");triggers.newTrigger(/^老婆子说道:“到了,你们可以下船了。”/,function(m){go("e;ne;se;e;e;e;e;ask tieflag_master2;fight tieflag_master2|w;w;w;w;nw;sw;w;s;e;event_1_81629028;ask tieflag_master;fight tieflag_master")},"zxjob","");triggers.newTrigger(/^渔船还没有达到这儿,等等吧。/,function(m){setTimeout(function(){go("yell")},3e3)},"zxjob","");triggers.newTrigger(/^铁掌门:如要镇压嵩山派,须得夜皇出山,你在这个洞穴中可以找到他。/,function(m){go("s;e;n;w;w;ask tieflag_yedi")},"zxjob","");triggers.newTrigger(/^黑衣密探:既然你打败了我……也不要问我是谁。/,function(m){go("e;ask taishan_taishan9")},"zxjob","");triggers.newTrigger(/^苦力道:(既然你打败了我,你就过去吧!|武艺过人,甘拜下风,我就放你过去吧!|果然厉害!你可以过去了。)/,function(m){go("n;e;give snow_guard;home")},"zxjob","");triggers.newTrigger(/^小偷往北边逃跑了。/,function(m){go("n;kill luoyang_xiaotou")},"zxjob","");triggers.newTrigger(/^小偷往东边逃跑了。/,function(m){go("e;kill luoyang_xiaotou")},"zxjob","");triggers.newTrigger(/^小偷往南边逃跑了。/,function(m){go("fight luoyang_luoyang27")},"zxjob","");triggers.newTrigger(/^金刀门弟子道:(既然你打败了我,你就过去吧!|武艺过人,甘拜下风,我就放你过去吧!|果然厉害!你可以过去了。)/,function(m){go("s;kill luoyang_xiaotou")},"zxjob","");triggers.newTrigger(/^泼皮:啊……英雄饶命……/,function(m){nextdo=function(){go("n;event_1_38583676;s;s;fight huashancun_popitouzi")};checkbusy()},"zxjob","");triggers.newTrigger(/^泼皮头子道:(既然你打败了我,你就过去吧!|武艺过人,甘拜下风,我就放你过去吧!|果然厉害!你可以过去了。)/,function(m){go("s;fight huashancun_huashancun1")},"zxjob","");triggers.newTrigger(/^村民道:(既然你打败了我,你就过去吧!|武艺过人,甘拜下风,我就放你过去吧!|果然厉害!你可以过去了。)/,function(m){go("w;give huashancun_huashancun6")},"zxjob","");triggers.newTrigger(/^劳师兄:“啊呀~英雄饶命。紫霞秘籍被我藏在厨房里了。”/,function(m){go("s;w;event_1_60189725;event_1_60189725;event_1_60189725;event_1_60189725;event_1_60189725;event_1_60189725;event_1_60189725;event_1_60189725")},"zxjob","");triggers.newTrigger(/^既然已经找到了紫霞秘籍,可去找一下岳掌门说明一下情况。/,function(m){go("e;s;ask huashan_yue")},"zxjob","");triggers.newTrigger(/^小飞贼:饶命……昨晚盗取钱庄的是我大哥,他现在还在银库中呢!/,function(m){go("ask yangzhou_yangzhou3;yangzhou16_op1;fight yangzhou_yangzhou18")},"zxjob","");triggers.newTrigger(/^飞贼叫道:英雄饶了俺的小命吧,这都是黑狗子叫俺干的……/,function(m){go("e;e;s;ask yangzhou_yangzhou19;fight yangzhou_yangzhou19")},"zxjob","");triggers.newTrigger(/^黑狗子:这扬州城里的小混混和小流氓可都是我的手下/,function(m){go("n;n;n;n;n;n;e;kill yangzhou_yangzhou24")},"zxjob","");triggers.newTrigger(/^小混混死了。/,function(m){nextdo=function(){go("w;s;s;s;kill yangzhou_yangzhou28")};checkbusy()},"zxjob","");triggers.newTrigger(/^你心想:这盗取银库的案子破了,我去告知一下官兵。/,function(m){nextdo=function(){go("s;s;s;s;s;s;ask yangzhou_yangzhou16")};checkbusy()},"zxjob","");triggers.newTrigger(/^东边的暗道里又有耗子的叫声。/,function(m){go("ne;kill gaibang_haozi")},"zxjob","");triggers.newTrigger(/^东北边传来耗子的声响/,function(m){go("ne;ne;kill gaibang_haozi")},"zxjob","");triggers.newTrigger(/^暗道中还有耗子没有杀完/,function(m){go("ne;kill gaibang_haozi;sw;sw;n;kill gaibang_haozi")},"zxjob","");triggers.newTrigger(/^一只大耗子往东北边跑走了/,function(m){go("ne;ne;event_1_97428251;kill gaibang_haozi")},"zxjob","");triggers.newTrigger(/^你身上没有黑狗血。据说华山村里有黑狗。/,function(m){go("jh 3;s;s;s;kill huashancun_heigou")},"zxjob","");triggers.newTrigger(/^你杀死了黑狗,得到一碗黑狗血。/,function(m){go("jh 7;event_1_57435070;kill choyin_ghost")},"zxjob","");triggers.newTrigger(/^你将黑狗血尽力泼出……竟然可以看到了平日里看不到的东西了……/,function(m){go("kill choyin_ghost")},"zxjob","");triggers.newTrigger(/^现在可以去树王坟内部杀掉朦胧鬼影/,function(m){go("s;s;s;s;event_1_65599392;kill choyin_shadow")},"zxjob","");triggers.newTrigger(/^很好,现在可以去街道杀死琵琶鬼/,function(m){go("ne;s;s;s;sw;;kill choyin_p_ghost")},"zxjob","");triggers.newTrigger(/^你心想:事情办好了,我去回一下农家妇女吧。/,function(m){nextdo=function(){go("s;s;s;s;e;ask baituo_woman")};checkbusy()},"zxjob","");triggers.disableByCls("zxjob");function side_job(){zh_popbk.style.display=""}var zh_popbk=createPop("支线");popList["支线"].innerHTML="
请选择想完成的支线任务
";createPopButton("雪亭剑客","支线",xtjk);function xtjk(){runhit_open();go("jh 1;e;s;e;ne;ne;ask snow_mengmianjianke;jh 5;n;n;w;ask yangzhou_yangzhou25;fight yangzhou_yangzhou25|jh 1;e;s;e;ne;ne;ask snow_mengmianjianke;fight snow_mengmianjianke|jh 1;e;n;n;n;w;buy /map/snow/obj/qiannianlingzhi_N_10 from snow_herbalist;buy /map/snow/obj/qiannianlingzhi_N_10 from snow_herbalist;jh 5;n;n;w;ask yangzhou_yangzhou25;give yangzhou_yangzhou25;ask yangzhou_yangzhou25;home")}createPopButton("洛阳游客","支线",lyyk);function lyyk(){runhit_open();go("jh 2;n;n;n;n;n;e;e;n;ask luoyang_luoyang_fb6;ask luoyang_luoyang_fb6;s;w;w;n;n;n;ask luoyang_luoyang22;ask luoyang_luoyang22;n;e;n;n;ask luoyang_luoyang2;ask luoyang_luoyang2;n;kill luoyang_canjianloushouling|s;s;s;w;s;give luoyang_luoyang22;home")}createPopButton("华山村民","支线",hscm);function hscm(){runhit_open();triggers.enableByCls("zhjob");go("jh 3;s;s;ask huashancun_huashancun1;ask huashancun_huashancun1;ask huashancun_huashancun1;s;s;s;e;ask huashancun_huashancun8;ask huashancun_huashancun8;w;n;huashancun15_op1;event_1_46902878;kill huashancun_cangjianloushashou")}triggers.newTrigger(/^你从(.*)里搜出一个藏剑楼吊坠。/,function(m){triggers.disableByCls("zhjob");go("w;w;s;nw;n;n;n;w;give huashancun_huashancun_fb9;ask huashancun_gaibangdizi;jh 6;event_1_98623439;ne;n;fight huashancun_cangjianloushouling|jh 3;s;s;s;s;s;e;ask huashancun_huashancun8;home")},"zhjob","");createPopButton("华山尼姑","支线",hsng);function hsng(){triggers.enableByCls("zhjob");runhit_open();go("jh 4;n;n;n;n;n;n;n;n;n;n;n;n;e;s;s;ask huashan_huashan12;n;n;w;ask huashan_huashan5;ask huashan_huashan5;e;s;ask huashan_huashan21;n;w;n;get_silver;ask huashan_ning;s;s;s;s;s;e;n;n;w;w;event_1_26473707;fight huashan_cangjianloucike|e;e;e;s;s;w;n;n;ask huashan_yue;ask huashan_yue;s;s;e;n;n;n;e;s;event_1_11292200;kill huashan_cangjianloucike2")}triggers.newTrigger(/^你杀死了藏剑楼刺客/,function(m){triggers.disableByCls("zhjob");go("jh 4;n;n;n;n;n;n;n;event_1_91604710;s;s;s;w;get_silver;kill huashan_cangjianloucike3")},"zhjob","");triggers.newTrigger(/^你杀死了另一个藏剑楼刺客/,function(m){triggers.disableByCls("zhjob");go("jh 4;n;n;n;n;n;n;n;n;n;n;n;ask huashan_yue;home")},"zhjob","");createPopButton("扬州顽童","支线",yzwt);function yzwt(){runhit_open();triggers.enableByCls("zhjob");go("jh 5;n;n;n;n;n;n;n;n;w;w;ask yangzhou_yangzhou13;ask yangzhou_yangzhou13;give yangzhou_yangzhou13;e;e;s;s;s;e;n;w;n;n;n;e;n;n;event_1_89774889;event_1_27210425")}triggers.newTrigger(/^这里发现一张纸条,上面写着“天泣有可能藏于扬州某处。”/,function(m){go("jh 5;n;n;n;n;n;w;w;n;n;n;get_silver;ask yangzhou_chuxiongba;ask yangzhou_chuxiongba")},"zhjob","");triggers.newTrigger(/^楚雄霸说道:你也是前来寻找绝世奇剑天泣?/,function(m){go("jh 5;n;n;n;e;n;n;ask yangzhou_yangzhou_fb4;ask yangzhou_yangzhou_fb4;ask yangzhou_yangzhou_fb4;ask yangzhou_yangzhou_fb4")},"zhjob","");triggers.newTrigger(/^方不为说道:来者停步,是要学武还是踢馆?/,function(m){triggers.disableByCls("zhjob");go("fight yangzhou_yangzhou_fb4|n;n;ask yangzhou_yangzhou_fb6;ask yangzhou_yangzhou_fb6;fight yangzhou_yangzhou_fb6|jh 5;n;n;n;n;n;n;w;ask yangzhou_yangzhou21")},"zhjob","");createPopButton("丐帮不净","支线",gbbj);function gbbj(){runhit_open();go("jh 6;event_1_98623439;ne;n;ne;ne;ask gaibang_he-bj;ask gaibang_he-bj;fight gaibang_he-bj|ne;event_1_97428251;ask gaibang_yu-hx;ask gaibang_yu-hx;jh 33;sw;sw;s;s;s;s;s;s;s;e;buy /map/gaibang/obj/shaoji from dali_xiaoer2;jh 2;n;n;n;n;n;e;n;op1;ask gaibang_hong;ask gaibang_hong;give gaibang_hong;jh 6;event_1_98623439;ne;ne;ne;event_1_16841370;kill gaibang_cangjianloutanzi|jh 2;n;n;n;n;n;e;n;op1;ask gaibang_hong;ask gaibang_hong;home")}triggers.disableByCls("zhjob");var jishi,fqxname="",dqx_popbk=createPop("打奇侠");popList["打奇侠"].innerHTML="
请选择想比试的奇侠
";createPopButton("郭济","打奇侠",function(){dodqxfunc("郭济")});createPopButton("步惊鸿","打奇侠",function(){dodqxfunc("步惊鸿")});createPopButton("浪唤雨","打奇侠",function(){dodqxfunc("浪唤雨")});createPopButton("火云邪神","打奇侠",function(){dodqxfunc("火云邪神")});createPopButton("逆风舞","打奇侠",function(){dodqxfunc("逆风舞")});createPopButton("王蓉","打奇侠",function(){dodqxfunc("王蓉")});createPopButton("风南","打奇侠",function(){dodqxfunc("风南")});createPopButton("狐苍雁","打奇侠",function(){dodqxfunc("狐苍雁")});createPopButton("李宇飞","打奇侠",function(){dodqxfunc("李宇飞")});createPopButton("庞统","打奇侠",function(){dodqxfunc("庞统")});createPopButton("风行骓","打奇侠",function(){dodqxfunc("风行骓")});createPopButton("吴缜","打奇侠",function(){dodqxfunc("吴缜")});createPopButton("护竺","打奇侠",function(){dodqxfunc("护竺")});createPopButton("玄月研","打奇侠",function(){dodqxfunc("玄月研")});createPopButton("狼居胥","打奇侠",function(){dodqxfunc("狼居胥")});createPopButton("烈九州","打奇侠",function(){dodqxfunc("烈九州")});createPopButton("穆妙羽","打奇侠",function(){dodqxfunc("穆妙羽")});createPopButton("宇文无敌","打奇侠",function(){dodqxfunc("宇文无敌")});createPopButton("李玄霸","打奇侠",function(){dodqxfunc("李玄霸")});createPopButton("八部龙将","打奇侠",function(){dodqxfunc("八部龙将")});createPopButton("风无痕","打奇侠",function(){dodqxfunc("风无痕")});createPopButton("厉沧若","打奇侠",function(){dodqxfunc("厉沧若")});createPopButton("夏岳卿","打奇侠",function(){dodqxfunc("夏岳卿")});createPopButton("妙无心","打奇侠",function(){dodqxfunc("妙无心")});createPopButton("巫夜姬","打奇侠",function(){dodqxfunc("巫夜姬")});function dodqxfunc(s){if(userqu!=100){fqxname=s;console.log(fqxname);getqixiacode();dqx_popbk.style.display="none";setTimeout(function(){clickButton("find_task_road qixia "+qixiaCode[fqxname])},900);clearInterval(jishi);jishi=setInterval(fightqx,1500);btnList["打奇侠"].innerText="停比试"}else{alert("抱歉,你所在的区暂不开放打奇侠功能")}}function dqxfunc(){if(btnList["打奇侠"].innerText=="打奇侠"){dqx_popbk.style.display="";clearInterval(jishi)}else{clearInterval(jishi);btnList["打奇侠"].innerText="打奇侠"}}function fightqx(){if(!is_fighting){console.log("正在比试奇侠一次");clickButton("golook_room");setTimeout(function(){setdonpc(fqxname,"比试")},300)}}var bsnpc="野猪";function bsgfunc(){if(btnList["比试某"].innerText=="比试某"){bsnpc=prompt("请输入你想比试(切磋)的某某npc或者玩家",bsnpc);console.log("开始比试"+bsnpc);btnList["比试某"].innerText="停比试";bishi()}else{console.log("停止比试目标!");btnList["比试某"].innerText="比试某";clearTimeout(bs_time)}}function bishi(){if($("span.outbig_text:contains(战斗结束)").length>0){clickButton("prev_combat");if(btnList["比试某"].innerText=="停比试"){if($("button.cmd_click3").length>0&&$("button.cmd_click3").text().indexOf(bsnpc)>-1){go("fight?"+bsnpc)}clearTimeout(bs_time);bs_time=setTimeout(bishi,1800)}else{console.log("停止比试某!");clearTimeout(bs_time);return}}else{if(is_fighting){clearTimeout(bs_time);bs_time=setTimeout(bishi,1e3)}else if(!is_fighting){if($("button.cmd_click3").length>0&&$("button.cmd_click3").text().indexOf(bsnpc)>-1){go("fight?"+bsnpc)}clearTimeout(bs_time);bs_time=setTimeout(bishi,500)}}}var idsetname="",idset_popbk=createPop("设id");popList["设id"].innerHTML="
请设定你要叫杀的怪物id
";createPopButton("手动输入","设id",id_input);createPopButton("葛伦","设id",function(){idset("guanwai_gelunfenshen")});createPopButton("欧阳敏","设id",function(){idset("tangmen_ouyangminhuashen")});createPopButton("张矮子","设id",function(){idset("heimuya_zhangaizi")});createPopButton("龙神之灵","设id",function(){idset("qingcheng_longshenzhiling")});createPopButton("仇老板","设id",function(){idset("changan_choulaobanfenshen")});createPopButton("霍骠姚","设id",function(){idset("changan_huobiaoyaojiashen")});createPopButton("孔翎","设id",function(){idset("taishan_kongling")});createPopButton("天梵魔煞","设id",function(){idset("jueqinggu_tianfanmosha")});createPopButton("天梵妖帝","设id",function(){idset("jueqinggu_tianfanyaodi")});createPopButton("天梵鬼王","设id",function(){idset("jueqinggu_tianfanguiwang")});createPopButton("古怪精灵","设id",function(){idset("changan_guguaijingling")});createPopButton("黛龙王","设id",function(){idset("mingjiao_dailongwang")});createPopButton("天梵杀手","设id",function(){idset("mingjiao_fantianshashou")});createPopButton("瑷伦","设id",function(){idset("latemoon_ailun1")});createPopButton("暗夜煞宗","设id",function(){idset("snow_anye")});createPopButton("千夜杀手","设id",function(){idset("resort_qianyeshashou")});createPopButton("玄衣刺客","设id",function(){idset("latemoon_xuanyicike")});createPopButton("络少心魔","设id",function(){idset("choyin_luoshaoxinmo")});createPopButton("天梁剑灵","设id",function(){idset("tangmen_tianliangjianling")});createPopButton("破军剑灵","设id",function(){idset("tangmen_pojunjianling")});createPopButton("巨门剑灵","设id",function(){idset("tangmen_julingjianling")});createPopButton("十方旗主","设id",function(){idset("latemoon_shifangqizhu")});createPopButton("百毒巫领","设id",function(){idset("latemoon_baiduwuling")});createPopButton("兽蛮人","设id",function(){idset("latemoon_shoumanren")});createPopButton("千夜长老","设id",function(){idset("latemoon_qianyezhanglao")});createPopButton("常一恶","设id",function(){idset("xiaoyao_changyie1")});createPopButton("招魂师","设id",function(){idset("changan_zhaohunshi1")});createPopButton("程不为","设id",function(){idset("taishan_chengbuwei")});createPopButton("卜一刀","设id",function(){idset("guanwai_boyidao")});createPopButton("林忌","设id",function(){idset("taoguan_linji")});createPopButton("独孤须臾","设id",function(){idset("changan_duguxuyu2")});createPopButton("独孤皇后","设id",function(){idset("changan_neigongjinwei")});createPopButton("捕快统领","设id",function(){idset("changan_bukuaitongling")});createPopButton("千夜暗使","设id",function(){idset("songshan_qianyeanshi")});createPopButton("司马墉","设id",function(){idset("taishan_simayong")});createPopButton("毒王杀手","设id",function(){idset("songshan_duwangshashou")});createPopButton("嵬名元昊","设id",function(){idset("jueqinggu_weimingyuanhao1")});createPopButton("元昊玄素","设id",function(){idset("jueqinggu_yangxuansu")});createPopButton("杨玄素","设id",function(){idset("changan_yangxuansu1")});createPopButton("星宿长老","设id",function(){idset("xingxiu_xingsuzhanglao")});createPopButton("百晓居士","设id",function(){idset("yanyuecheng_baixiaojushi")});createPopButton("琴仙子","设id",function(){idset("yanyuecheng_qinxianzi")});createPopButton("虬髯长老","设id",function(){idset("yanyuecheng_qiuranzhanglao")});createPopButton("黑衣老者","设id",function(){idset("yanyuecheng_heiyilaozhe1")});createPopButton("突厥刺将","设id",function(){idset("yanyuecheng_tujuecijiang")});createPopButton("执法长老","设id",function(){idset("yanyuecheng_zhifazhanglao")});createPopButton("执剑长老","设id",function(){idset("yanyuecheng_zhijianzhanglao")});createPopButton("执典长老","设id",function(){idset("yanyuecheng_zhidianzhanglao")});function idsetfunc(){if(btnList["设id"].innerText=="设id"){idset_popbk.style.display=""}else{btnList["设id"].innerText="设id"}}var npcid="qingcheng_longshenzhiling";function id_input(){npcid=prompt("请设置需要叫杀的npc的id(看得见怪物按钮的直接输按钮中文名,看不见输英文id)",npcid);console.log("当前设置的npcid为:"+npcid)}function idset(s){npcid=s;console.log("当前设置的npcid为:"+npcid)}var hidenpc1="葛伦:guanwai_gelunfenshen;欧阳敏化身:tangmen_ouyangminhuashen;张矮子:heimuya_zhangaizi;龙神之灵:qingcheng_longshenzhiling;仇老板分身:changan_choulaobanfenshen;霍骠姚假身:changan_huobiaoyaojiashen;孔翎:taishan_kongling;天梵魔煞:jueqinggu_tianfanmosha;天梵妖帝:jueqinggu_tianfanyaodi;天梵鬼王:jueqinggu_tianfanguiwang;古怪精灵:changan_guguaijingling;黛龙王:mingjiao_dailongwang;天梵杀手:mingjiao_tianfanshashou;瑷伦:latemoon_ailun1;暗夜煞宗:snow_anye;千夜杀手:resort_qianyeshashou;玄衣刺客:latemoon_xuanyicike;络少心魔:choyin_luoshaoxinmo;天梁剑灵:tangmen_tianliangjianling;破军剑灵:tangmen_pojunjianling;巨门剑灵:tangmen_julingjianling;十方旗主:latemoon_shifangqizhu;兽蛮人:latemoon_shoumanren;百毒巫领:latemoon_baiduwuling;千夜长老:latemoon_qianyezhanglao;";function fastkill(){if(btnList["叫杀怪"].innerText=="叫杀怪"){console.log("开始叫杀"+npcid);btnList["叫杀怪"].innerText="停叫杀";killIntervalFunc=setInterval(fastkill1,300)}else{console.log("停止攻击目标npc!");btnList["叫杀怪"].innerText="叫杀怪";clearInterval(killIntervalFunc)}}function fastkill1(){if(!is_fighting){if(escape(npcid).indexOf("%u")>-1&&$("button.cmd_click3").text().indexOf(npcid)>-1){for(var i=0;i<$("button.cmd_click3").length;i++){if($("button.cmd_click3")[i].innerText==npcid){go("kill?"+npcid);return}}}else if(escape(npcid).indexOf("%u")==-1){clickButton("kill "+npcid)}}else{if(btnList["摸捡物"].innerText=="摸捡物"){console.log("战斗中且无需摸尸体,关闭叫杀");btnList["叫杀怪"].innerText="叫杀怪";clearInterval(killIntervalFunc)}if(btnList["摸捡物"].innerText=="不摸了"){triggers.enableByCls("jiaoshaguai")}}}triggers.newTrigger(/^你从(.*)的尸体里搜出(.*)/,function(m){console.log(m[0]);if(m[1].indexOf(npcid)>-1){triggers.disableByCls("jiaoshaguai");btnList["叫杀怪"].innerText="叫杀怪";clearInterval(killIntervalFunc);if(btnList["摸捡物"].innerText=="不摸了"){AutoGetst()}}},"jiaoshaguai","");triggers.disableByCls("jiaoshaguai");var fastoffname="",skilloff_flag=false,fastoff_popbk=createPop("快捷装卸");popList["快捷装卸"].innerHTML="
请选择你要进行的快捷操作
";createPopButton("一键穿装","快捷装卸",autoEquipOn);createPopButton("一键脱装","快捷装卸",auto_off);createPopButton("一键穿技","快捷装卸",auto_skillon);createPopButton("一键脱技","快捷装卸",auto_skilloff);createPopButton("一键穿齐","快捷装卸",auto_allon);createPopButton("一键脱光","快捷装卸",auto_alloff);function fastofffunc(){if(btnList["快捷装卸"].innerText=="快捷装卸"){fastoff_popbk.style.display=""}else{btnList["快捷装卸"].innerText="快捷装卸"}}var mywuqi;function autoEquipOn(){if(database.zdequip_ss){var a=wuqinames[database.zdequip_ss.split(";")[0]];var b=wuqinames[database.zdequip_ss.split(";")[1]];console.log(database.zdequip_ss.split(";")[0]+"--"+a);console.log(database.zdequip_ss.split(";")[1]+"--"+b)}go("auto_equip on");go("unwield king sword");go("unwield "+a+";"+"unwield "+b);go("wield "+a+";"+"wield "+b);if(database.zdequip_rm!="无"&&wuqinames.hasOwnProperty(database.zdequip_rm)){var c=wuqinames[database.zdequip_rm];console.log("入脉"+database.zdequip_rm+"-"+c);if(database.zdequip_rm!="风泉之剑"){go("wield "+c+" rumai");console.log("wield "+c+" rumai")}else{go("wield sword of windspring rumai")}}}function auto_off(){go("auto_equip off")}function auto_skillon(){if(skilloff_flag==false){console.log("你现在没脱技能,不需要再装技能");return}skilloff_flag=false;if(is_fighting){go("enable map_all;enable mapped_skills restore go 3;combat_chat;quit_chat")}else{go("enable map_all;enable mapped_skills restore go 3");setTimeout(function(){go("prev")},600)}}function auto_skilloff(){if(skilloff_flag==true){console.log("你现在已经脱了技能,不需要再脱技能");return}skilloff_flag=true;if(is_fighting){go("enable mapped_skills save go 3;enable unmap_all;combat_chat;quit_chat")}else{go("enable mapped_skills save go 3;enable unmap_all");setTimeout(function(){go("prev")},600)}}function auto_allon(){autoEquipOn();setTimeout(auto_skillon,900)}function auto_alloff(){auto_off();setTimeout(auto_skilloff,300)}var fastbaoshi_popbk=createPop("宝石合成");popList["宝石合成"].innerHTML="
你要将哪种宝(玉)石全部合成更高一级的宝(玉)石?
";createPopButton("碎裂蓝","宝石合成",bluebaoshi1);createPopButton("裂开蓝","宝石合成",bluebaoshi2);createPopButton("蓝宝石","宝石合成",bluebaoshi3);createPopButton("无暇蓝","宝石合成",bluebaoshi4);createPopButton("完美蓝","宝石合成",bluebaoshi5);createPopButton("君王蓝","宝石合成",bluebaoshi6);createPopButton("碎裂绿","宝石合成",lvbaoshi1);createPopButton("裂开绿","宝石合成",lvbaoshi2);createPopButton("绿宝石","宝石合成",lvbaoshi3);createPopButton("无暇绿","宝石合成",lvbaoshi4);createPopButton("完美绿","宝石合成",lvbaoshi5);createPopButton("君王绿","宝石合成",lvbaoshi6);createPopButton("碎裂红","宝石合成",hongbaoshi1);createPopButton("裂开红","宝石合成",hongbaoshi2);createPopButton("红宝石","宝石合成",hongbaoshi3);createPopButton("无暇红","宝石合成",hongbaoshi4);createPopButton("完美红","宝石合成",hongbaoshi5);createPopButton("君王红","宝石合成",hongbaoshi6);createPopButton("碎裂黄","宝石合成",huangbaoshi1);createPopButton("裂开黄","宝石合成",huangbaoshi2);createPopButton("黄宝石","宝石合成",huangbaoshi3);createPopButton("无暇黄","宝石合成",huangbaoshi4);createPopButton("完美黄","宝石合成",huangbaoshi5);createPopButton("君王黄","宝石合成",huangbaoshi6);createPopButton("碎裂紫","宝石合成",zishuijing1);createPopButton("裂开紫","宝石合成",zishuijing2);createPopButton("紫宝石","宝石合成",zishuijing3);createPopButton("无暇紫","宝石合成",zishuijing4);createPopButton("完美紫","宝石合成",zishuijing5);createPopButton("君王紫","宝石合成",zishuijing6);createPopButton("东海碧1","宝石合成",donghaibi1);createPopButton("东海碧2","宝石合成",donghaibi2);createPopButton("东海碧3","宝石合成",donghaibi3);createPopButton("轩辕烈1","宝石合成",xuanyuanlie1);createPopButton("轩辕烈2","宝石合成",xuanyuanlie2);createPopButton("轩辕烈3","宝石合成",xuanyuanlie3);createPopButton("九天落1","宝石合成",jiutianluo1);createPopButton("九天落2","宝石合成",jiutianluo2);createPopButton("九天落3","宝石合成",jiutianluo3);createPopButton("龙庭魄1","宝石合成",longtingpo1);createPopButton("龙庭魄2","宝石合成",longtingpo2);createPopButton("龙庭魄3","宝石合成",longtingpo3);createPopButton("帝玺碎1","宝石合成",dixisui1);createPopButton("帝玺碎2","宝石合成",dixisui2);createPopButton("帝玺碎3","宝石合成",dixisui3);createPopButton("钜子墨1","宝石合成",juzimo1);createPopButton("钜子墨2","宝石合成",juzimo2);createPopButton("钜子墨3","宝石合成",juzimo3);createPopButton("昆仑印1","宝石合成",kunlunyin1);createPopButton("昆仑印2","宝石合成",kunlunyin2);createPopButton("昆仑印3","宝石合成",kunlunyin3);function fastbaoshifunc(){fastbaoshi_popbk.style.display=""}function hebaoshi(){console.log(thingcode+"--"+thingnum);var a=parseInt(thingnum/300);var b=parseInt(thingnum%300/150);var c=parseInt((thingnum-a*300-b*150)/90);var d=parseInt((thingnum-a*300-b*150-c*90)/30);var e=parseInt((thingnum-a*300-b*150-c*90-d*30)/3);var f=parseInt(thingnum%3);console.log(thingnum+"=100x"+3*a+"+50x"+3*b+"+30x"+3*c+"+10x"+3*d+"+1x"+3*e+"+"+f);for(var i=0;i0){for(var i=0;i-1&&database.ds_jzjs.split(":").length==2){dsjzjs_h=parseInt(database.ds_jzjs.split(":")[0]);dsjzjs_m=parseInt(database.ds_jzjs.split(":")[1]);console.log("你本次设置定时加速剑阵的时间为:"+dsjzjs_h+"时"+dsjzjs_m+"分")}else{database.ds_jzjs="关闭";console.log("定时加速剑阵现处于关闭状态")}}function ds_jzjsre(){if(typeof database.ds_jzjs=="undefined"){database.ds_jzjs="关闭"}if(database.ds_jzjs!="关闭"){dsjzjs_h=parseInt(database.ds_jzjs.split(":")[0]);dsjzjs_m=parseInt(database.ds_jzjs.split(":")[1])}}function auto_biexue(){if(database.auto_biexue==0){database.auto_biexue=1;btnList["自动碧血"].innerText="手动碧血";btnList["自动碧血"].style.borderStyle="inset";triggers.enableByCls("auto_bixuebuff")}else if(database.auto_biexue==1){database.auto_biexue=0;btnList["自动碧血"].innerText="自动碧血";btnList["自动碧血"].style.borderStyle="outset";triggers.disableByCls("auto_bixuebuff")}}function auto_biexue_re(){if(typeof database.auto_biexue=="undefined"){database.auto_biexue=0}if(database.auto_biexue==1){btnList["自动碧血"].innerText="手动碧血";btnList["自动碧血"].style.borderStyle="inset";triggers.enableByCls("auto_bixuebuff")}else if(database.auto_biexue==0){btnList["自动碧血"].innerText="自动碧血";btnList["自动碧血"].style.borderStyle="outset";triggers.disableByCls("auto_bixuebuff")}}triggers.newTrigger(/(.*)你骤地怒吼一声,决然运起脱胎于烈血死战之地的碧血心法(.*)/,function(m){bx_buff=1;console.log("碧血buff加持成功!")},"auto_bixuebuff","");triggers.disableByCls("auto_bixuebuff");auto_biexue_re();function xutupo_js(){if(database.xutupo_js==0){database.xutupo_js=1;tupojiasu=1;btnList["续突加速"].innerText="关续加速";btnList["续突加速"].style.borderStyle="inset"}else{database.xutupo_js=0;tupojiasu=0;btnList["续突加速"].innerText="续突加速";btnList["续突加速"].style.borderStyle="outset"}}function xutupo_jsre(){if(typeof database.xutupo_js=="undefined"){database.xutupo_js=tupojiasu}if(database.xutupo_js==1){btnList["续突加速"].innerText="关续加速";btnList["续突加速"].style.borderStyle="inset";tupojiasu=1}else if(database.xutupo_js==0){btnList["续突加速"].innerText="续突加速";btnList["续突加速"].style.borderStyle="outset";tupojiasu=0}}var escapeTrigger=0,changeTrigger=0,recback_flag=0,healtriger=0;function escapeStart(){escapeTrigger=1;escapeloop()}function escapechangeStart(){escapeTrigger=1;changeTrigger=1;escapeloop()}function escaperecStart(){escapeTrigger=1;healtriger=1;escapeloop()}function escaperecback(){if(database.gensha==1){killfollow_close()}escapeTrigger=1;healtriger=1;recback_flag=1;escapeloop()}function escaperecchange(){escapeTrigger=1;healtriger=1;changeTrigger=1;recback_flag=1;escapeloop()}function escapeloop(){if(document.getElementById("combat_xdz_text")){clickButton("escape");if(escapeTrigger==1)setTimeout(escapeloop,200)}else{ngcount=0;bx_buff=0;escapeTrigger=0;console.log("你现在不在战斗,或者已经成功逃跑")}}var opnpc;function EscapeFunc(){this.dispatchMessage=function(b){var type=b.get("type"),subType=b.get("subtype");var combat=g_obj_map.get("msg_vs_info");if(combat==undefined){return}var me=g_obj_map.get("msg_attrs").get("id");for(var i=0;i<8;i++){if(combat.get("vs1_pos"+i)==me){opnpc=combat.get("vs1_pos1");npcid=combat.get("vs2_pos1")}else if(combat.get("vs2_pos"+i)==me){opnpc=combat.get("vs2_pos1");npcid=combat.get("vs1_pos1")}}if(type=="notice"&&subType=="escape"){var msg=g_simul_efun.replaceControlCharBlank(b.get("msg"));if(msg.match("逃跑成功")!=null){escapeTrigger=0;ngcount=0;bx_buff=0;clickButton("golook_room");if(recback_flag!=1){if(changeTrigger==1&&healtriger==0){changeTrigger=0;console.log("kill "+opnpc);clickButton("fight "+opnpc);clickButton("kill "+opnpc)}else if(changeTrigger==0&&healtriger==0){console.log("kill "+npcid);clickButton("fight "+npcid);clickButton("kill "+npcid)}else if(healtriger==1){clickButton("prev_combat");autorecovery();healtriger=0}}else if(recback_flag==1){if(changeTrigger==1){autorecovery();console.log("kill "+opnpc);healtriger=0}else if(changeTrigger==0){autorecovery();console.log("kill "+npcid);healtriger=0}}}}}}var escapes=new EscapeFunc;var onekillTrigger=0;var onekillTimer=null;var onekill=new Onekill;function onekillFunc(){if(onekillTrigger==0){btnList["循环杀"].innerText="停循环";onekillTrigger=1;clearInterval(onekillTimer);onekillTimer=setInterval(killloop,800)}else if(onekillTrigger==1){btnList["循环杀"].innerText="循环杀";onekillTrigger=0;loopnpcid="";clearInterval(onekillTimer)}}var killpause=0;var loopnpcid="";function killloop(){if(g_obj_map.get("msg_npc")==undefined){g_gmain.notify_fail("目前无法读取你的目标,请点开一个NPC重试。");btnList["循环杀"].innerText="循环杀";onekillTrigger=0;loopnpcid="";clearInterval(onekillTimer);return}loopnpcid=g_obj_map.get("msg_npc").get("id");go("kill "+loopnpcid)}function Onekill(){this.dispatchMessage=function(b){var type=b.get("type"),subType=b.get("subtype");if(type=="vs"){if(subType=="vs_info"){killpause=1}else if(subType=="combat_result"){clickButton("kill "+loopnpcid);killpause=0}}if(type=="notice"&&subType=="notify_fail"){if(b.get("msg").match("已经太多人了")!=null){setTimeout(killloop,500)}else if(b.get("msg").match("这儿没有这个人")!=null){killpause=0}}if(type=="jh"&&subType=="new_npc"){if(b.get("id")==loopnpcid){if(killpause==0)clickButton("kill "+loopnpcid);go("playskill 1")}}}}var guanzhanTrigger=0;function guanzhanFunc(){if(guanzhanTrigger==0){btnList["观战抢坑"].innerText="停止抢坑";guanzhanTrigger=1}else if(guanzhanTrigger==1){btnList["观战抢坑"].innerText="观战抢坑";guanzhanTrigger=0}}var jiaozheng=0;var jzstamp=0;var killlock=0;function guanzhanlistener(){this.dispatchMessage=function(b){var type=b.get("type"),subType=b.get("subtype");if(type=="vs"&&subType=="out_watch"){}else if(type=="vs"&&subType=="attack"){var targetnpc=g_obj_map.get("msg_npc").get("id");var fighting=g_obj_map.get("msg_vs_info");if(fighting.get("vs1_pos1")==targetnpc){for(var i=2;i<=8;i++){if(fighting.get("vs2_pos"+i)==b.get("uid")){clickButton("fight "+targetnpc);clickButton("kill "+targetnpc);break}}}else if(fighting.get("vs2_pos1")==targetnpc){for(var i=2;i<=8;i++){if(fighting.get("vs1_pos"+i)==b.get("uid")){clickButton("fight "+targetnpc);clickButton("kill "+targetnpc);break}}}}else if(type=="vs"&&subType=="add_xdz"){var targetnpc=g_obj_map.get("msg_npc").get("id");if(b.get("uid")==targetnpc){clickButton("fight "+targetnpc);clickButton("kill "+targetnpc)}}}}var jzstart=0;function jztime(){jzstart=1;jzstamp=(new Date).valueOf();send("kill 9527\n");console.log("校正命令");setTimeout(jztime,6e3)}var yanchi=0;function jztimerec(){this.dispatchMessage=function(b){var type=b.get("type"),subType=b.get("subtype");if(type=="notice"&&subType=="notify_fail"){if(b.get("msg").match("这儿没有这个人")!=null){jzstart=0;console.log("校正延迟");yanchi=((new Date).valueOf()-jzstamp)/2;console.log("延迟计算:"+yanchi)}}}}var jz=new jztimerec;var guanzhan=new guanzhanlistener;function guanzhanqiang(){if(stopqiang==0){setTimeout(function(){guanzhanqiang()},100)}else{return}}var hitnpctarget=0;function hitNPCFunc(){if(hitnpctarget==0&&hitplayertarget==0&&followplayertarget==0){hitnpctarget=1;if(btnList["不出招"].innerText!="出招精准"){chuzhao_jz()}cz_flag=5;btnList["精准打怪"].innerText="取消精准"}else if(hitnpctarget==1){hitnpctarget=0;btnList["精准打怪"].innerText="精准打怪"}}var hitplayertarget=0;function hitPLYFunc(){if(hitnpctarget==0&&hitplayertarget==0&&followplayertarget==0){hitplayertarget=1;if(btnList["不出招"].innerText!="出招精准"){chuzhao_jz()}cz_flag=5;btnList["精确打人"].innerText="取消精确"}else if(hitplayertarget==1){hitplayertarget=0;btnList["精确打人"].innerText="精确打人"}}var followplayertarget=0;function followPLYFunc(){if(hitnpctarget==0&&hitplayertarget==0&&followplayertarget==0){followplayertarget=1;if(btnList["不出招"].innerText!="出招精准"){chuzhao_jz()}cz_flag=5;btnList["跟随大佬"].innerText="取消跟随"}else if(followplayertarget==1){followplayertarget=0;btnList["跟随大佬"].innerText="跟随大佬"}}function aichuzhao(){if(!database.ai_chuzhao||database.ai_chuzhao==0){aichuzhao_open()}else if(database.ai_chuzhao==1){aichuzhao_auto()}else{aichuzhao_close()}}function aichuzhaore(){if(!database.ai_chuzhao||database.ai_chuzhao==0){aichuzhao_close()}else if(database.ai_chuzhao==1){aichuzhao_open()}else if(database.ai_chuzhao==2){aichuzhao_auto()}}function aichuzhao_close(){database.ai_chuzhao=0;btnList["不开智能"].innerText="不开智能"}function aichuzhao_open(){database.ai_chuzhao=1;btnList["不开智能"].innerText="智能逃返"}function aichuzhao_auto(){database.ai_chuzhao=2;btnList["不开智能"].innerText="智能补蓝"}function suodingset(){Enemylist=prompt("请输入你想锁定的目标敌人,用英文的分号隔开(专门怼他)",Enemylist);Friendlist=prompt("请输入你想锁定的目标跟随对象,用英文的分号隔开(大佬,盟友)",Friendlist)}function whofighting(msg,oblist,melist){if(pz_flag==1){if(gSocketMsg.get_xdz()<3){return}if(msg.indexOf("你如")>-1||msg.indexOf("上了你")>-1||gSocketMsg.get_xdz()>=9||msg.indexOf("你的招式尽数被")>-1||msg.indexOf("向你")>-1||msg.indexOf("点你")>-1||msg.indexOf("指你")>-1||msg.indexOf("你只觉")>-1||msg.indexOf("你为")>-1||msg.indexOf("往你")>-1||msg.indexOf("准你")>-1||msg.indexOf("你的姿态")>-1||msg.indexOf("奔你")>-1||msg.indexOf("渡你")>-1||msg.indexOf("取你")>-1||msg.indexOf("朝你")>-1||msg.indexOf("刺你")>-1||msg.indexOf("击你")>-1||msg.indexOf("你面对")>-1||msg.indexOf("到你")>-1||msg.indexOf("至你")>-1||msg.indexOf("你被")>-1||msg.indexOf("卷你")>-1||msg.indexOf("将你")>-1||msg.indexOf("了你")>-1||msg.indexOf("于你")>-1||msg.indexOf("你再")>-1||msg.indexOf("你已是")>-1||msg.indexOf("你愕然")>-1||msg.indexOf("扫你")>-1||msg.indexOf("从你")>-1||msg.indexOf("你的招式尽")>-1||msg.indexOf("削你")>-1||msg.indexOf("扑你")>-1||msg.indexOf("取你")>-1||msg.indexOf("令你")>-1||msg.indexOf("单手舞动,单刀离背而出")>-1||msg.indexOf("冲你")>-1||msg.indexOf("你一时")>-1||msg.indexOf("落在你")>-1||msg.indexOf("拍你")>-1||msg.indexOf("切你")>-1||msg.indexOf("斩你")>-1||msg.indexOf("砍你")>-1){if(msg.length>30){console.log(msg.substr(10,20))}else{console.log(msg.substr(0,20))}}}if(hitnpctarget==1){if(gSocketMsg.get_xdz()<3){return}if(msg.indexOf("施展出九阳神功")>=0||msg.indexOf("铁锁横江")>=0||msg.indexOf("身子不由自主地摇晃了一下")>=0||msg.indexOf("运起太极神功")>=0||msg.indexOf("手脚无力")>=0||msg.indexOf("的招式尽数被")>=0||msg.indexOf("打了个寒颤")>=0||msg.indexOf("心神一动")>=0||msg.indexOf("使出一招「苦海无涯」")>=0||msg.indexOf("似乎受了点轻伤")>=0||msg.indexOf("手脚迟缓")>=0||msg.indexOf("这几招配合起来")>=0||msg.indexOf("受伤过重")>=0||msg.indexOf("身型微展")>=0||msg.indexOf("深深吸了几口气")>=0||msg.indexOf("心中默念")>=0||msg.indexOf("双目赤红")>=0||msg.indexOf("身子突然晃了两晃")>=0||msg.indexOf("脸上突然冒出一阵红光")>=0||msg.indexOf("加入了战团")>=0){return}var mengyou1=oblist[0];var mengyou=melist[0];if(msg.indexOf(mengyou1.trim())==0||gSocketMsg.get_xdz()>=9){auto_fight_handle()}else if(msg.indexOf(mengyou.trim())==0&&mengyou!=ansi_up.ansi_to_text(g_obj_map.get("msg_attrs").get("name"))){auto_fight_handle()}return}if(hitplayertarget==1){if(gSocketMsg.get_xdz()<3){return}if(msg.indexOf("施展出九阳神功")>=0||msg.indexOf("铁锁横江")>=0||msg.indexOf("运起太极神功")>=0||msg.indexOf("手脚无力")>=0||msg.indexOf("的招式尽数被")>=0||msg.indexOf("打了个寒颤")>=0||msg.indexOf("心神一动")>=0||msg.indexOf("使出一招「苦海无涯」")>=0||msg.indexOf("似乎受了点轻伤")>=0||msg.indexOf("手脚迟缓")>=0||msg.indexOf("这几招配合起来")>=0||msg.indexOf("受伤过重")>=0||msg.indexOf("身型微展")>=0||msg.indexOf("深深吸了几口气")>=0||msg.indexOf("心中默念")>=0||msg.indexOf("双目赤红")>=0||msg.indexOf("身子突然晃了两晃")>=0||msg.indexOf("脸上突然冒出一阵红光")>=0||msg.indexOf("加入了战团")>=0){return}for(var i=0;i<8;i++){if(isContains(Enemylist,oblist[i])){var myEnemy=oblist[i].split("]")[0]+"区]"+oblist[i].split("]")[1];if(msg.indexOf(myEnemy.trim())==0||gSocketMsg.get_xdz()>=9){auto_fight_handle()}}}return}if(followplayertarget==1){if(gSocketMsg.get_xdz()<3){return}if(msg.indexOf("施展出九阳神功")>=0||msg.indexOf("铁锁横江")>=0||msg.indexOf("运起太极神功")>=0||msg.indexOf("手脚无力")>=0||msg.indexOf("的招式尽数被")>=0||msg.indexOf("打了个寒颤")>=0||msg.indexOf("心神一动")>=0||msg.indexOf("使出一招「苦海无涯」")>=0||msg.indexOf("似乎受了点轻伤")>=0||msg.indexOf("手脚迟缓")>=0||msg.indexOf("这几招配合起来")>=0||msg.indexOf("受伤过重")>=0||msg.indexOf("身型微展")>=0||msg.indexOf("深深吸了几口气")>=0||msg.indexOf("心中默念")>=0||msg.indexOf("双目赤红")>=0||msg.indexOf("身子突然晃了两晃")>=0||msg.indexOf("脸上突然冒出一阵红光")>=0||msg.indexOf("加入了战团")>=0){return}for(var i=0;i<8;i++){if(isContains(Friendlist,melist[i])){var myFriend=melist[i].split("]")[0]+"区]"+melist[i].split("]")[1];if(msg.indexOf(myFriend.trim())==0){auto_fight_handle()}}}return}}function pozhaofailed(msg,oblist){for(var i=0;i<8;i++){if(msg.match(oblist[i]+"的招式并未有明显破绽")!=null){auto_fight_handle();console.log("补招反破!")}}if(msg.match("你的招式尽数被")!=null||msg.match("你的对攻无法击破")!=null||msg.match("击向了你的破绽")!=null||msg.match("你一不留神")!=null||msg.match("你这一招并未奏效")!=null){auto_fight_handle();console.log("补招反破!")}}var obside=0;var myside=0;function Combat(){this.dispatchMessage=function(b){var type=b.get("type"),subType=b.get("subtype");if(type=="vs"&&subType=="text"){var oblist=[];var melist=[];var obxdz=[];var mexdz=[];var who=0;ngcount=0;bx_buff=0;if(gSocketMsg.get_xdz()<3){return}if(g_obj_map.get("msg_attrs").get("name").match("]")==null){var myname=ansi_up.ansi_to_text(g_obj_map.get("msg_attrs").get("name"))}else{var myname=ansi_up.ansi_to_text(g_obj_map.get("msg_attrs").get("name")).split("]")[1]}for(var i=0;i<8;i++){if(g_obj_map.get("msg_vs_info")!=undefined){if(g_obj_map.get("msg_vs_info").get("vs2_name"+(i+1))!=undefined){if(ansi_up.ansi_to_text(g_obj_map.get("msg_vs_info").get("vs2_name"+(i+1))).match("]")!=null){if(isContains(myname,ansi_up.ansi_to_text(g_obj_map.get("msg_vs_info").get("vs2_name"+(i+1))).split("]")[1])){obside=1;myside=2}}else{if(ansi_up.ansi_to_text(g_obj_map.get("msg_vs_info").get("vs2_name"+(i+1)))==myname){obside=1;myside=2}}}}if(g_obj_map.get("msg_vs_info")!=undefined){if(g_obj_map.get("msg_vs_info").get("vs1_name"+(i+1))!=undefined){if(ansi_up.ansi_to_text(g_obj_map.get("msg_vs_info").get("vs1_name"+(i+1))).match("]")!=null){if(isContains(myname,ansi_up.ansi_to_text(g_obj_map.get("msg_vs_info").get("vs1_name"+(i+1))).split("]")[1])){obside=2;myside=1}}else{if(ansi_up.ansi_to_text(g_obj_map.get("msg_vs_info").get("vs1_name"+(i+1)))==myname){obside=2;myside=1}}}}}for(var i=0;i<8;i++){if(g_obj_map.get("msg_vs_info")!=undefined&&g_obj_map.get("msg_vs_info").get("vs"+obside+"_name"+(i+1))!=undefined){oblist.push(ansi_up.ansi_to_text(g_obj_map.get("msg_vs_info").get("vs"+obside+"_name"+(i+1))));obxdz.push(g_obj_map.get("msg_vs_info").get("vs"+obside+"_xdz"+(i+1)))}if(g_obj_map.get("msg_vs_info")!=undefined&&g_obj_map.get("msg_vs_info").get("vs"+myside+"_name"+(i+1))!=undefined){melist.push(ansi_up.ansi_to_text(g_obj_map.get("msg_vs_info").get("vs"+myside+"_name"+(i+1))));mexdz.push(g_obj_map.get("msg_vs_info").get("vs"+myside+"_xdz"+(i+1)))}}var msg=g_simul_efun.replaceControlCharBlank(b.get("msg"));if(whofighting(msg,oblist,melist)){whofighting(msg,oblist,melist)}if(pozhaofailed(msg,oblist)){buzhao()}}else if(type=="vs"&&subType=="combat_result"){ngcount=0}}}function buzhao(){var myxdz=gSocketMsg.get_xdz();if(myxdz>=3){for(var i=1;i<=6;i++){if(g_obj_map.get("skill_button"+i)!=undefined&&(ansi_up.ansi_to_text(g_obj_map.get("skill_button"+i).get("name"))=="飞刀绝技"||ansi_up.ansi_to_text(g_obj_map.get("skill_button"+i).get("name"))=="孔雀翎"||ansi_up.ansi_to_text(g_obj_map.get("skill_button"+i).get("name"))=="雪饮狂刀"||ansi_up.ansi_to_text(g_obj_map.get("skill_button"+i).get("name"))=="翻云刀法"||ansi_up.ansi_to_text(g_obj_map.get("skill_button"+i).get("name"))=="九天龙吟剑法"||ansi_up.ansi_to_text(g_obj_map.get("skill_button"+i).get("name"))=="覆雨剑法"||ansi_up.ansi_to_text(g_obj_map.get("skill_button"+i).get("name"))=="织冰剑法"||ansi_up.ansi_to_text(g_obj_map.get("skill_button"+i).get("name"))=="排云掌法"||ansi_up.ansi_to_text(g_obj_map.get("skill_button"+i).get("name"))=="如来神掌")){if(g_obj_map.get("skill_button"+i).get("xdz")==3){clickButton("playskill "+i,0)}}}}else if(myxdz==2){for(var i=1;i<=6;i++){if(g_obj_map.get("skill_button"+i)!=undefined){if(g_obj_map.get("skill_button"+i).get("xdz")==2){clickButton("playskill "+i,0)}}}}}var combat=new Combat;var kazname="",ds_cnjs,pltp_h,pltp_m,pltp_flag=0;kaz_popbk=createPop("开发者"),popList["开发者"].innerHTML="
欢迎使用开发者选项
";createPopButton("看id","开发者",idread);createPopButton("测指令","开发者",cecmd);createPopButton("测突破","开发者",cetupo);createPopButton("看远程","开发者",readyuancheng);createPopButton("切磋己","开发者",qiecuoji);createPopButton("测托管","开发者",tgtest);createPopButton("看位置","开发者",getpostion);createPopButton("简单显字","开发者",smwrite);createPopButton("功能显字","开发者",funcwrite1);createPopButton("山坳签到","开发者",go_postiondo);createPopButton("当前江湖","开发者",look_nowjh);createPopButton("失效检测","开发者",shixiaoswitch);createPopButton("检测失效","开发者",shixiaojiance);createPopButton("自动重连","开发者",reconnectswitch);createPopButton("清空日志","开发者",clearlog);createPopButton("清空战斗","开发者",clearlog_ftswitch);createPopButton("查看储存","开发者",showdatabase);createPopButton("清空储存","开发者",cleardatabase);createPopButton("后台检测","开发者",houtaijiance);createPopButton("弹窗提示","开发者",alert_switch);createPopButton("代码查询","开发者",searchcode);createPopButton("狂点击","开发者",fastclick);createPopButton("快捷键","开发者",fastkey);createPopButton("变量查询","开发者",readbianliang);createPopButton("代码执行","开发者",zhixingcode);createPopButton("战场显血","开发者",showzhanchang);createPopButton("显内显行","开发者",showneili);createPopButton("装备配置","开发者",equipset);createPopButton("批量突破","开发者",piliangtupo);createPopButton("定时重连","开发者",ds_connect);function kazfunc(){kaz_popbk.style.display=""}function newgotest(){go("#on;jh 1;?逄义;?大暑礼包;e;n;n;kill?醉汉|~;@醉汉的尸体;jh 2;n;n;n;n;?地痞;?杀死|jh 3;fight huashancun_huashancun12|home;1!准备解锁;:本次执行完毕;#off");go("#on;jh 1;e;n;n;kill snow_drunk|jh 2;n;n;n;n;kill luoyang_luoyang26|jh 3;fight huashancun_huashancun12|home;!准备解锁;:本次执行完毕;#off");go("#on;jh 2;n;n;n;n;kill luoyang_luoyang26|;#off");go("jh 3;s;s;s");go("jh 4;n;n;n;n");go("tupo try,taxue-wuhen")}function idread(){alert("目前已知隐藏npc的id如下:"+hidenpc1)}function piliangtupo(){pltupore();database.pltupo=prompt("请设置定时批量突破开关,定时时间,待突破技能(使用本功能请关闭续突破。会停下剑阵和技能的续突破。但不影响自动加速剑阵)",database.pltupo)}function pltupore(){if(!database.pltupo||database.pltupo=="null"||database.pltupo.split(",").length!=3){database.pltupo="0,23:11,覆雨剑法;如来神掌;排云掌法"}pltp_flag=database.pltupo.split(",")[0];pltp_h=database.pltupo.split(",")[1].split(":")[0];pltp_m=database.pltupo.split(",")[1].split(":")[1]}pltupore();function pltupo_go(){go("items get_store /obj/med/tupodan2;items get_store /obj/med/tupodan");var a=database.pltupo.split(",")[2].split(";");var b="";for(var i=0;i=60){pltp_m=pltp_m%60;pltp_h++;if(pltp_h>=24){pltp_h=pltp_h%24}}setTimeout(function(){pltp_flag=1;database.pltupo=pltp_flag+","+pltp_h+":"+pltp_m+","+database.pltupo.split(",")[2]},12e4)}function ds_connect(){if(btnList["定时重连"].innerText=="定时重连"){database.ds_cntm=prompt("请设置定时重连时间间隔(分钟)",database.ds_cntm);if(database.ds_cntm){clearInterval(ds_cnjs);ds_cnjs=setInterval(function(){g_gmain.g_delay_connect=0;connectServer();$("span.out2:contains(有人取代了)").remove()},parseInt(database.ds_cntm)*1e3*60);btnList["定时重连"].innerText="关闭重连";btnList["定时重连"].style.borderStyle="inset";database.ds_cnflag=1}else{console.log("参悟错误或者取消了设置");return}}else{database.ds_cnflag=0;btnList["定时重连"].innerText="定时重连";btnList["定时重连"].style.borderStyle="outset";clearInterval(ds_cnjs)}}function ds_cnre(){if(typeof database.ds_cntm=="undefined"||database.ds_cntm=="null"){database.ds_cntm=15}if(typeof database.ds_cnflag=="undefined"||database.ds_cnflag=="null"){database.ds_cnflag=0}if(database.ds_cnflag==1){clearInterval(ds_cnjs);ds_cnjs=setInterval(function(){g_gmain.g_delay_connect=0;connectServer();$("span.out2:contains(有人取代了)").remove()},parseInt(database.ds_cntm)*1e3*60);btnList["定时重连"].innerText="关闭重连";btnList["定时重连"].style.borderStyle="inset"}else if(database.ds_cnflag==0){btnList["定时重连"].innerText="定时重连";btnList["定时重连"].style.borderStyle="outset";clearInterval(ds_cnjs)}}function equipset(){var a=Object.getOwnPropertyNames(wuqinames);var b="脚本库内可用装备如下:\n";for(var i=0;i0){showfightmsg()}else{ngcount=0;bx_buff=0}},1e3)}}function showneilire(){if(!database.showneili&&!database.hasOwnProperty("showneili")){database.showneili=1}if(database.showneili==0){btnList["显内显行"].innerText="显内显行";btnList["显内显行"].style.borderStyle="outset"}else{btnList["显内显行"].innerText="不显内行";btnList["显内显行"].style.borderStyle="inset";$("div#ft1").remove();clearInterval(show_neili);show_neili=setInterval(function(){if($("td#combat_xdz").length>0){showfightmsg()}},1e3)}}function showzhanchang(){if(!$("span#ft2")){showzc1()}else{$("span#ft2").remove();showzc1()}}function showzc1(){$("span#ft2").remove();if(g_obj_map.get("msg_vs_info").get("vs1_name1")){$("td#vs11>span>i").append('/('+(g_obj_map.get("msg_vs_info").get("vs1_max_kee1")/1e4).toFixed(1)+"W)")}if(g_obj_map.get("msg_vs_info").get("vs1_name2")){$("td#vs12>span>i").append('/('+(g_obj_map.get("msg_vs_info").get("vs1_max_kee2")/1e4).toFixed(1)+"W)")}if(g_obj_map.get("msg_vs_info").get("vs1_name3")){$("td#vs13>span>i").append('/('+(g_obj_map.get("msg_vs_info").get("vs1_max_kee3")/1e4).toFixed(1)+"W)")}if(g_obj_map.get("msg_vs_info").get("vs1_name4")){$("td#vs14>span>i").append('/('+(g_obj_map.get("msg_vs_info").get("vs1_max_kee4")/1e4).toFixed(1)+"W)")}if(g_obj_map.get("msg_vs_info").get("vs2_name1")){$("td#vs21>span>i").append('/('+(g_obj_map.get("msg_vs_info").get("vs2_max_kee1")/1e4).toFixed(1)+"W)")}if(g_obj_map.get("msg_vs_info").get("vs2_name2")){$("td#vs22>span>i").append('/('+(g_obj_map.get("msg_vs_info").get("vs2_max_kee2")/1e4).toFixed(1)+"W)")}if(g_obj_map.get("msg_vs_info").get("vs2_name3")){$("td#vs23>span>i").append('/('+(g_obj_map.get("msg_vs_info").get("vs2_max_kee3")/1e4).toFixed(1)+"W)")}if(g_obj_map.get("msg_vs_info").get("vs2_name4")){$("td#vs24>span>i").append('/('+(g_obj_map.get("msg_vs_info").get("vs2_max_kee4")/1e4).toFixed(1)+"W)")}}var cmd="home;jh 1;?逄义;?大暑礼包";function cecmd(){cmd=prompt("请输入需要运行的指令",cmd);go(cmd)}function cetupo(){if(!database.tuposkill){database.tuposkill="千影百伤棍"}tuposkill=prompt("需要现在突破的技能",database.tuposkill);database.tuposkill=tuposkill;nexttask=function(){suantupo()};checktask()}var cmdclick="recovery",cmdclicknum=10;function fastclick(){var a=prompt("请输入需要连续点击的指令,执行次数",cmdclick+","+cmdclicknum);cmdclick=a.split(",")[0];cmdclicknum=a.split(",")[1];goes(cmdclick,cmdclicknum)}function fastkey(){alert("目前可用的快捷键为: 方向键盘 上下左右 地图中上下左右移动 右侧数字键盘 2468下左右上 1379左下右下左上右上 +点击确定 -点击取消 0返回主页 左侧键盘 QWER对话比试杀死给予 空格 观察 B背包 V vip界面 J 寻路集 F读取战斗 F12代码查询 ")}function readyuancheng(){if(typeof dreamuser1!="undefined"&&vipplayer==true){alert("私聊好友可以远程控制他进行操作指令对应如下(注意感叹号是中文输入法下的):刷新!2倍!3倍!boss!脱光!穿好!签到!刷正邪!回主页!定时刷新!(默认定时10分钟)定时x分钟刷新!(x为数字)")}else{alert("你不是授权用户,无法使用远程功能")}}function canxuesheng(){if(healtriger==0){healtriger=1;healFunc()}else{healFunc()}}function healFunc(){if(healtriger==0){return}var kee=parseInt(g_obj_map.get("msg_attrs").get("kee"));var max_kee=parseInt(g_obj_map.get("msg_attrs").get("max_kee"));var force=parseInt(g_obj_map.get("msg_attrs").get("force"));var max_force=parseInt(g_obj_map.get("msg_attrs").get("max_force"));if(kee最大气血值:"+max_kee+"
小道正在为您疗伤......","red");if(force>0){go("recovery");setTimeout(healFunc,150)}else{go("items use snow_wannianlingzhi");console.log("吃一个万年灵芝,一秒后检查治疗进度");setTimeout(healFunc,1e3)}}else{if(force0){chuzhao_open()}}else if(recback_flag==1&&changeTrigger==0){console.log("之前跟杀开关:"+database.gensha);if(database.gensha==1){killfollow_open()}recback_flag=0;setTimeout(function(){clickButton("fight "+npcid);clickButton("kill "+npcid)},500);if(cz_flag==0&&database.ai_chuzhao>0){chuzhao_open()}}}}}function qiecuoji(){goes("items use snow_wannianlingzhi",2);go("fight "+userid);go("golook_room");setTimeout(function(){go("fight "+userid)},4e3);triggers.enableByCls("qiecuoji")}triggers.newTrigger(/请求切磋过于频繁,请稍候再试!/,function(m){setTimeout(function(){go("fight "+userid)},3e3)},"qiecuoji","");triggers.newTrigger(/你对著(.*)说道:/,function(m){if(m[1]==myName){triggers.disableByCls("qiecuoji")}},"qiecuoji","");triggers.disableByCls("qiecuoji");function tgtest(){tuoguanfuc()}function bjlist(){if(btnList["开日志"].innerText=="开日志"){consolelog_open()}else{consolelog_close()}}function consolelog_open(){database.consolelog=1;btnList["开日志"].innerText="关日志";btnList["开日志"].style.borderStyle="inset";screenLog.showlog()}function consolelog_close(){database.consolelog=0;btnList["开日志"].innerText="开日志";btnList["开日志"].style.borderStyle="outset";screenLog.hidelog()}function consolelog_re(){if(!database.hasOwnProperty("consolelog")){database.consolelog=1}if(database.consolelog==1){consolelog_open()}else if(database.consolelog==0){consolelog_close()}}function smwrite(){var msg=prompt("请输入想显示的字,显示颜色","当前脚本为道长论剑DZ正版,"+eval(clrs2+pifu));var txt=msg.split(",")[0];var color=msg.split(",")[1];writeout(txt,color)}var auto_funcwrite;function funcwrite1(){if(btnList["功能显字"].innerText=="功能显字"){btnList["功能显字"].innerText="停止显字";btnList["功能显字"].style.borderStyle="inset";funcwrite();auto_funcwrite=setInterval(funcwrite,6e5)}else{btnList["功能显字"].innerText="功能显字";btnList["功能显字"].style.borderStyle="outset";clearInterval(auto_funcwrite)}}funcwrite1();function funcwrite(){if(!is_fighting){var num=parseInt(10*Math.random());if(num==0){writeouts("道长论剑论坛:","欢迎加入官方QQ群【530311475】",urlButtonFunc,"访问官网")}else if(num==1){writeout("当前脚本为--道长论剑DZ正版version"+nowversion,"rgb(118, 235, 32)")}else if(num==2){writeouts("道长论剑论坛:","本套脚本可以一键签到,你了解吗?",qd,"点此签到")}else if(num==3){writeouts("道长论剑论坛:","大侠战斗劳累,买点千年灵芝充充饥?",mqn,"现在去买")}else if(num==4){writeouts("道长论剑论坛:","大侠受伤严重,是否需要我帮你治疗一下,如果你有千年灵芝的话?",canxuesheng,"现在就帮我")}else if(num==5){writeouts("道长论剑论坛:","大侠该赚点元宝花花了,看看能否理财?",buytzlicai,"看看去")}else if(num==6){writeouts("道长论剑论坛:","今天偷懒不想做任务?我能帮你一键点完,了解一下?",tgtest,"你帮我点了吧")}else if(num==7){writeouts("道长论剑论坛:","我可以一键做完奇侠任务,你只需要着,带你装逼带你飞,老司机发车",autoqixiago,"等不及了,赶紧上车")}else if(num==8){writeouts("道长论剑论坛:","大侠你好,需要小道给你唱首歌吗?",playwarn,"正无聊,唱来听听")}else if(num==9){writeouts("道长论剑论坛:","大侠的风剑掉了吗,要不要小道给你打一把?",killfengjian,"卧槽,真的掉了")}else if(num==10){writeouts("道长论剑论坛:","大侠想突破技能但是苦于技能太多懒得翻吗,戳这里了解一下",cetupo,"了解一下又如何")}else{writeout("当前脚本为--道长论剑DZ正版version"+num,"red")}clickButton("share_ok 6")}}var goposition_flag=0;function go_postion(add,nowtask){goposition_flag=1;getpostion();if(nowpostion==add){nowtask();goposition_flag=0;return}else{clearTimeout(bs_time);bs_time=setTimeout(function(){go_postion(add,nowtask)},3e3)}}function go_postiondo(){go("jh 1;e;n;n;n;n;n");setTimeout(function(){go_postion("山坳",qd)},500)}var shixiaojiance_func,shixiao_flag;function shixiaoswitch(){if(btnList["失效检测"].innerText=="失效检测"){shixiao_open()}else{shixiao_close()}}function shixiao_open(){shixiao_flag=1;database.shixiao_flag=1;shixiaojiance_func=setInterval(shixiaojiance,36e5);btnList["失效检测"].innerText="停检失效";btnList["失效检测"].style.borderStyle="inset"}function shixiao_close(){shixiao_flag=0;database.shixiao_flag=0;clearInterval(shixiaojiance_func);btnList["失效检测"].innerText="失效检测";btnList["失效检测"].style.borderStyle="outset"}function shixiaojiance(){if(cmdCache.length>150){update();return}else if(cmdCache.length!=0){setTimeout(function(){if(cmdCache.length!=0){update();return}else{shixiaojiance()}},cmdCache.length*200);return}else if(!is_fighting&&!timeCmd){go("kill");setTimeout(function(){if($("span.out2:contains(你要杀谁?)").length>0){g_gmain.recvNetWork2(HIG+"本次检测脚本未失效"+"\n"+NOR);console.log("本次检测脚本未失效");$("span.out2:contains(你要杀谁?)").remove()}else{update()}},1e3);return}setTimeout(shixiaojiance,5e3)}var reconnect_flag=0;function reconnectswitch(){if(reconnect_flag==0){reconnect_flag=1;btnList["自动重连"].innerText="停止重连";btnList["自动重连"].style.borderStyle="inset"}else{reconnect_flag=0;btnList["自动重连"].innerText="自动重连";btnList["自动重连"].style.borderStyle="outset"}}function clearlog(){$("span.out2").remove();console.clear()}var clearft;function clearlog_ftswitch(){if(btnList["清空战斗"].innerText=="清空战斗"){clearft_open()}else{clearft_close()}}function clearft_open(){database.clearft=1;clearInterval(clearft);clearlog_ft();btnList["清空战斗"].innerText="停止清空";btnList["清空战斗"].style.borderStyle="inset";clearft=setInterval(clearlog_ft,1e4)}function clearft_close(){database.clearft=0;btnList["清空战斗"].innerText="清空战斗";btnList["清空战斗"].style.borderStyle="outset";clearInterval(clearft)}function clearlog_ft(){if(is_fighting){$("span.out").remove()}}function alert_switch(){if(btnList["弹窗提示"].innerText=="弹窗提示"){database.alert_flag=1;btnList["弹窗提示"].innerText="关闭弹窗";btnList["弹窗提示"].style.borderStyle="inset"}else{database.alert_flag=0;btnList["弹窗提示"].innerText="弹窗提示";btnList["弹窗提示"].style.borderStyle="outset"}}function alert_load(){if(!database.alert_flag){alert_switch()}else if(database.alert_flag==0){btnList["弹窗提示"].innerText="弹窗提示";btnList["弹窗提示"].style.borderStyle="outset"}else if(database.alert_flag==1){btnList["弹窗提示"].innerText="关闭弹窗";btnList["弹窗提示"].style.borderStyle="inset"}}alert_load();function showdatabase(){for(var i=0;i-1){var b=a[i].getAttribute("onclick");if(b){if(b.indexOf("clickButton")>-1){b=a[i].getAttribute("onclick").split("'")[1]}console.log(a[i].innerText.replace(/[\r\n]|\ +/g,"")+":"+b);words1(a[i].innerText.replace(/[\r\n]|\ +/g,"")+":"+b)}}}if(!b){words1("当前页面没有这个按钮哦,它可能是个图片按钮");console.log("当前页面没有这个按钮哦")}}var fightbtn_flag=0;function fightbtnswitch(){if(vipplayer==true){if(btnList["开强化"].innerText=="开强化"){fightbtn_open()}else{fightbtn_close()}}else{alertmsg("警告!!!","你不是道长的授权用户!!!
如需使用战斗强化模块,
请联系道长购买授权")}}function fightbtn_open(){btnList["开强化"].innerText="关强化";btnList["开强化"].style.borderStyle="inset";show_fightbtn();fightbtn_flag=1;database.fightbtn_flag=1;clearft_open()}function fightbtn_close(){btnList["开强化"].innerText="开强化";btnList["开强化"].style.borderStyle="outset";hide_fightbtn();fightbtn_flag=0;database.fightbtn_flag=0}function show_fightbtn(){btnList["一键治疗"].style.visibility="visible";btnList["快捷装卸"].style.visibility="visible";btnList["逃跑回坑"].style.visibility="visible";btnList["逃跑换边"].style.visibility="visible";btnList["治疗回坑"].style.visibility="visible";btnList["治疗换边"].style.visibility="visible";btnList["逃跑治疗"].style.visibility="visible";btnList["观战抢坑"].style.visibility="visible";btnList["精确打人"].style.visibility="visible";btnList["精准打怪"].style.visibility="visible";btnList["跟随大佬"].style.visibility="visible";btnList["不开智能"].style.visibility="visible";btnList["锁定目标"].style.visibility="visible"}function hide_fightbtn(){btnList["一键治疗"].style.visibility="hidden";btnList["快捷装卸"].style.visibility="hidden";btnList["逃跑回坑"].style.visibility="hidden";btnList["逃跑换边"].style.visibility="hidden";btnList["治疗回坑"].style.visibility="hidden";btnList["治疗换边"].style.visibility="hidden";btnList["逃跑治疗"].style.visibility="hidden";btnList["观战抢坑"].style.visibility="hidden";btnList["精确打人"].style.visibility="hidden";btnList["精准打怪"].style.visibility="hidden";btnList["跟随大佬"].style.visibility="hidden";btnList["不开智能"].style.visibility="hidden";btnList["锁定目标"].style.visibility="hidden"}triggers.newTrigger(/你对著(.*)说道:在下(.*),领教壮士的高招!/,function(m){var dot=gSocketMsg.get_xdz();getmyFS();if(document.getElementById(myFS)){var qx=document.getElementById(myFS).innerHTML.replace(/<[^>]+>/g,"");if(qx]+>/g,"");if(eren.indexOf(btxt)!=-1){b_num=i+1;qlnpc=btxt;opendonpc("杀死");chuzhao_zhaohuan();clearInterval(ql_tp);if(zx_set==1){b[i-1].click()}else{b[i].click()}triggers.disableByCls("findqlnpc");triggers.enableByCls("fightqlnpc");triggers.enableByCls("taopaoqlnpc");console.log("找到"+qlnpc);return}}}console.log("第"+zx_statue+"个图恶人已打完,换下一个地方");triggers.disableByCls("findqlnpc");triggers.disableByCls("fightqlnpc");triggers.disableByCls("taopaoqlnpc");if(zx_statue==10){zx_statue=1;clearInterval(ql_tp);go_home();auto_zx=window.setTimeout(gozx,zx_delay)}else{zx_statue=zx_statue+1;window.setTimeout(gozx,500)}}else{console.log("第"+zx_statue+"个图这儿没恶人,换下一个地方");triggers.disableByCls("findqlnpc");triggers.disableByCls("fightqlnpc");triggers.disableByCls("taopaoqlnpc");if(zx_statue==10){zx_statue=1;clearInterval(ql_tp);go_home();auto_zx=window.setTimeout(gozx,zx_delay)}else{zx_statue=zx_statue+1;window.setTimeout(gozx,zxmap_delay)}}},"findqlnpc","");function gethrqx(){if(document.getElementById("vs_hp21")){var hr_qx=document.getElementById("vs_hp21").innerHTML.replace(/<[^>]+>/g,"");var hr_per=Number(document.getElementById("barvader21").style.getPropertyValue("width").replace("%",""))/100;var hr_maxqx=parseInt(hr_qx/hr_per);console.log(hr_qx+"---"+hr_per+"---"+"好人总血量:"+hr_maxqx);if(zx_set==1){if(hr_maxqx<65e4){chuzhao_zhaohuan();clearInterval(ql_tp);ql_tp=setInterval(taopao,500);triggers.disableByCls("fightqlnpc");triggers.enableByCls("taopaoqlnpc")}else{chuzhao_open()}}}}triggers.newTrigger(/^你加入了战团!/,function(m){if(document.getElementById("out2")){owNum=document.getElementById("out2").getElementsByClassName("outkee_text").length;opNum=document.getElementById("out_top").getElementsByClassName("outkee_text").length;if(killzx==0){if(opNum>1||owNum>2){chuzhao_close();clearInterval(ql_tp);ql_tp=setInterval(taopao,500);triggers.disableByCls("fightqlnpc");triggers.enableByCls("taopaoqlnpc")}}else{if(opNum>1){chuzhao_close();clearInterval(ql_tp);ql_tp=setInterval(taopao,500);triggers.disableByCls("fightqlnpc");triggers.enableByCls("taopaoqlnpc")}else{window.setTimeout(gethrqx,1e3)}}}},"fightqlnpc","");triggers.newTrigger(/(金甲符兵|玄阴符兵)加入了战团!/,function(m){if(killzx==0){chuzhao_close();clearInterval(ql_tp);ql_tp=setInterval(taopao,500);triggers.disableByCls("fightqlnpc");triggers.enableByCls("taopaoqlnpc")}},"fightqlnpc","");triggers.newTrigger(/(逃跑成功!|这儿没有这个人物。|好在有保险卡,没有降低技能等级!|你赢了这场正邪之战!|已经超量了|已经太多人了|战斗胜利|恶人还没有开始行动,先静观其变|情况还不明朗,先观察一下再动手)/,function(m){triggers.disableByCls("fightqlnpc");triggers.disableByCls("taopaoqlnpc");clearInterval(ql_tp);if(zx_flag==0){go_home()}else{window.setTimeout(lookhere,450)}},"taopaoqlnpc","");triggers.disableByCls("findqlnpc");triggers.disableByCls("fightqlnpc");triggers.disableByCls("taopaoqlnpc");function taopao(){clickButton("escape");console.log("正在逃跑")}function lookhere(){triggers.enableByCls("findqlnpc");clickButton("golook_room")}var order="1,5,9";function hongbao(){if(btnList["开红包"].innerText=="开红包"){btnList["开红包"].innerText="关红包";btnList["开红包"].style.borderStyle="inset";order=prompt("如果出现一大波红包你抢第几个(只限三个,请用英文逗号隔开1-10)清注意,使用红包功能时请先通过开发者清卡顿,然后再开启红包开关并且打开红包聊天窗口。抢红包期间请不要开青龙游侠,否则红包功能失效",order);order1=order.split(",");ordertxt1="("+order1[0]+"/10)";ordertxt2="("+order1[1]+"/10)";ordertxt3="("+order1[2]+"/10)";console.log(ordertxt1+"--"+ordertxt2+"--"+ordertxt3);if(confirm("后台抢吗?(是的话点确认然后不用管,否则点取消然后打开聊天窗口前台抢)")){hongbao_flag=1}triggers.enableByCls("hongbao")}else{btnList["开红包"].innerText="开红包";btnList["开红包"].style.borderStyle="outset";hongbao_flag=0;triggers.disableByCls("hongbao")}}function clearbugall(){if(btnList["开清卡"].innerText=="开清卡"){clearbug_open()}else{clearbug_close()}}var clean="";function clearbug_open(){database.clearbug=1;clearInterval(clean);clean=setInterval(clearbugnow,6e5);btnList["开清卡"].innerText="关清卡";btnList["开清卡"].style.borderStyle="inset"}function clearbug_close(){database.clearbug=0;clearInterval(clean);btnList["开清卡"].innerText="开清卡";btnList["开清卡"].style.borderStyle="outset"}function clearbug_re(){if(!database.hasOwnProperty("clearbug")){clearbug_open()}}function clearbugnow(){if(btnList["开红包"].innerText=="关红包"&&hongbao_flag!=1){clearbughongbao();console.log("当前正在进行抢红包清卡顿操作")}else{clearbug();g_gmain.notify_fail(HIG+"当前正在进行全局清卡顿操作"+NOR)}}function cehongbao(){for(i=0;i<$("a[href]").length;i++){var test=document.getElementsByTagName("a")[i].innerText;if(test.indexOf("点这儿")!=-1){console.log("抢红包通道在第"+i+"个a标签");last=i}}if(typeof last!="undefined"&&document.getElementsByTagName("a")[last].innerText.indexOf("点这儿")!=-1){console.log("最后一个抢红包通道在第"+last+"个a标签,现在自动领取最后一个红包");lasthongbao=document.getElementsByTagName("a")[last];console.log("打印红包链接如下:"+lasthongbao+" 正在领取最后一个红包");document.getElementsByTagName("a")[last].click()}else{console.log("没有此红包")}}var href="点这儿";function dianlianjie(){href=prompt("请输入快捷链接的字样(如青龙会的传送通道,谜题任务传送,红抢包等)",href);clickhref(href)}triggers.newTrigger(/(.*)赶紧点这儿试试新年手气吧!(.*)/,function(m){if(m[2]==""||m[2]==ordertxt1||m[2]==ordertxt2||m[2]==ordertxt3){clickhref("点这儿");console.log("正在领取红包")}},"hongbao","");triggers.newTrigger(/你从(.*)发的新春红包里抢到了(.*)第100(.*)/,function(m){btnList["开红包"].innerText="开红包";btnList["开红包"].style.borderStyle="outset";hongbao_flag==0;triggers.disableByCls("hongbao")},"hongbao","");triggers.newTrigger(/你从(.*)发的新春红包里抢到了(.*)/,function(m){console.log(m[0])},"hongbao","");triggers.disableByCls("hongbao");function vip1(){goes("vip finish_sort",5)}function vip2(){goes("clan incense yx",20)}function tuoguanfuc(){if(kfql_flag==1){console.log("当前跨服青龙开关为1,不执行托管");return}readvip();setTimeout(tuoguanfuc1,600)}function tuoguanfuc1(){if(vipplayer==true){ql_close();youxia_close();clearbug_close();if(tuoguan>0){if(tuoguan==2&&vip_flag==1){vip1()}if(vip_flag==1){setTimeout(vip2,5e3);setTimeout(vip,1e4);setTimeout(vip_eat,4e4);setTimeout(datiswitch,6e4);setTimeout(dpz,9e4);setTimeout(wey,95e3);setTimeout(cl,1e5);setTimeout(wxt,105e3);setTimeout(ck,11e4);setTimeout(byg,115e3);setTimeout(function(){counthead=20;ssp1()},185e3);setTimeout(function(){go("home");shijian()},31e4);setTimeout(function(){go("clan bzmt select go 1");go("clan fb open shenshousenlin;clan fb open daxuemangongdao;clan fb open longwulianmoge;home")},489e3);setTimeout(function(){if(tg_rc==1){buyrichang()}},493e3);setTimeout(function(){console.log("开始清理背包");go("home");setTimeout(clearBag,1e3)},513e3);if(tg_qx!=1){if(tggj_tiexue==1){setTimeout(tiexue_go,573e3);setTimeout(function(){if(tg_ql==1){ql_open()}if(tg_yx==1){yxhandle="杀死";youxia_open()}clearbug_open();clearbug();setTimeout(pintulog,1e4);console.log("自动开启青龙游侠秘图清卡顿")},1178e3)}else{setTimeout(function(){if(tg_ql==1){ql_open()}if(tg_yx==1){yxhandle="杀死";youxia_open()}clearbug_open();clearbug();setTimeout(pintulog,1e4);console.log("自动开启青龙游侠秘图清卡顿")},573e3)}}else if(tg_qx==1){setTimeout(function(){ai_qixia();triggers.enableByCls("tg_qixia")},573e3)}return}else if(vip_flag==0){setTimeout(vip2,5e3);setTimeout(datiswitch,1e4);setTimeout(dpz,3e4);setTimeout(wey,35e3);setTimeout(cl,4e4);setTimeout(wxt,45e3);setTimeout(ck,5e4);setTimeout(byg,55e3);setTimeout(function(){counthead=20;ssp1()},125e3);setTimeout(function(){go("home");shijian()},25e4);setTimeout(function(){go("clan bzmt select go 1");go("clan fb open shenshousenlin;clan fb open daxuemangongdao;clan fb open longwulianmoge;home");if(tg_rc==1){buyrichang()}},419e3);setTimeout(function(){console.log("开始清理背包");go("home");setTimeout(clearBag,1e3)},435e3);if(tg_qx!=1){if(tggj_tiexue==1){setTimeout(tiexue_go,493e3);setTimeout(function(){if(tg_ql==1){ql_open()}if(tg_yx==1){yxhandle="杀死";youxia_open()}clearbug_open();clearbug();setTimeout(pintulog,1e4);console.log("自动开启青龙游侠秘图清卡顿")},1098e3)}else{setTimeout(function(){if(tg_ql==1){ql_open()}if(tg_yx==1){yxhandle="杀死";youxia_open()}clearbug_open();clearbug();setTimeout(pintulog,1e4);console.log("自动开启青龙游侠秘图清卡顿")},493e3)}}else if(tg_qx==1){setTimeout(function(){ai_qixia();triggers.enableByCls("tg_qixia")},493e3)}return}}}else{console.log("已到托管时间,可是您无权开启托管模式功能")}}function pintulog(){var ptname=pintuhao.split("-");if(tg_pt==1){for(i=0;i0){var c="";for(var i=0;i=10){var c="";for(var i=0;i<15-b;i++){c+="vip finish_task;"}for(var i=0;i