北大侠客行MUD论坛

 找回密码
 注册
搜索
热搜: 新手 wiki 升级
楼主: zgbl

462自动护镖机器人设想

[复制链接]
发表于 2009-2-8 20:14:42 | 显示全部楼层
原帖由 maper 于 2009-2-8 08:09 AM 发表
渡口yell不通会有提示的,可以做个trigger处理一下。
slow walking相关的命令有#sl #step #ok #stop,其中#ok很重要,是表示当前这一步行走成功,可以建立一个这样的触发#trigger {这里*的出口是} {#ok},其他的再自 ...

用#trigger {这里*的出口是}来触发#OK,并不是好办法,因为#sl一般都是用来历遍,而一个房间的描述是这样的。
房间名称
出口
NPC。

可以看到,如果用出口来触发#OK,那么会导致即便找到了NPC,也会多走一步,某些情况下,后退一步是行不通的,比如迷宫。
另外set brief 1是看不到出口的,如果用其他模式,则网速不佳时走路速度明显下降。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2009-2-8 21:44:06 | 显示全部楼层
不要研究自动的东西了,自从jason搞了图片识别我就知道自动的东西over了。。。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2009-2-8 22:26:29 | 显示全部楼层
恩,不写后面的了,越写越复杂,就用这个乱入了,勉强能用。。。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2009-2-9 20:28:22 | 显示全部楼层

靠,比wiki复杂了N倍

把渡船的作了,不过乱入还是用笨办法,不能保证绝对有效
  1. #ALIAS shuijiao {do 3 n;w;push men;s;skills;sleep}
  2. #ALIAS shuijiaob {open door;n;e;do 3 s}
  3. #ALIAS baituo {n;w;do 2 ask qian about 白驼山;give qian 1 gold}
  4. #ALIAS baituob {ask zhang about 扬州;e;s}
  5. #ALIAS beijingb {s;s;s;s;sw;n;enter hole;s;sw;sw;s;s;up;out}
  6. #ALIAS dali {enter shudong;say 天堂有路你不走呀;d;8;se;s;sw;sw;s;w;do 6 s}
  7. #ALIAS dalib {do 6 n;ne;ne;ne;n;ne;ne;ne;se;e;e;ne;do 9 n}
  8. #ALIAS dalun {do 9 s;sw;w;w;#wa 500;nw;w;w;do 4 nw;#wa 500;w;do 3 n;do 3 w;#wa 500;nw;ne;w;nw;wu;wd;wu;nu;ne;se;eu;nw;knock gate;#wa 2000;nu}
  9. #ALIAS dalunb {pull gate;#wa 500;sd;se;wd;nw;sw;sd;ed;eu;ed;se;e;sw;#wa 500;se;do 3 e;do 3 s;e;do 4 se;#wa 500;e;e;se;e;e;ne;#wa 500;do 9 n}
  10. #ALIAS dugu {do 6 e;se;s;do 2 e;nd;ask chou diao about 独孤求败;nu;ask yu fu about 过河;se;catch fish;nw;give fish to yu fu;swim;pick sword}
  11. #ALIAS dugub {swim;do 2 sd;su;do 2 w;n;nw;do 6 w}
  12. #ALIAS emei {unwield all;do 9 s;#wa 150;sw;do 2 w;nw;w;w;nw;w;w;#wa 1000;nw;n;do 2 nu;n;e;eu;do 2 nu;eu;#wa 1000;n;do 3 nu;wu;nu;do 2 n;wield sword;wield dao}
  13. #ALIAS emeib {do 2 s;sd;ed;do 3 sd;s;#wa 500;wd;do 2 sd;wd;w;s;do 2 sd;s;#wa 500;se;e;se;do 2 e;se;do 2 e;ne;do 9 n}
  14. #ALIAS gumu {do 5 n;nw;#wa 1000;do 6 n;#wa 1000;do 2 nw;w;do 2 nw;#wa 1000;n;nw;do 2 nu;n;nu;#wa 1000;do 2 n;#wa 1200;do 5 n;#wa 1000;do 6 n;#wa 1000;nd;wd;ed;ask yang about 进墓}
  15. #ALIAS gumub {ask sun about 出墓;do 3 s;wu;eu;su;#wa 1000;do 6 s;open door;do 6 s;#wa 1000;do 2 s;sd;s;do 2 sd;#wa 1000;se;s;do 2 se;e;#wa 1000;do 2 se;#wa 1000;do 6 s;se;#wa 1000;do 5 s}
  16. #ALIAS guiyun {do 6 e;se;n;se;n;w;n;do 5 e;do 5 e;do 2 nu}
  17. #ALIAS guiyunb {sd;sd;do 5 w;do 5 w;s;e;s;nw;s;nw;do 6 w}
  18. #ALIAS huashan {unwield all;do 5 n;nw;do 6 n;#wa 1000;do 5 e;#wa 1000;se;su;eu;su;eu;do 2 su;#wa 1000;sd;su;do 2 s;wield sword;wield dao}
  19. #ALIAS huashanb {do 2 n;nd;nu;do 2 nd;#wa 1000;wd;nd;wd;nd;nw;do 3 w;#wa 1000;do 2 w;do 6 s;se;#wa 1000;do 5 s}
  20. #ALIAS huashancun {do 5 n;nw;do 6 n}
  21. #ALIAS huashancunb {do 6 s;se;do 5 s}
  22. #ALIAS jiaxing {do 6 e;se;s;e;e}
  23. #ALIAS jiaxingb {w;w;n;nw;do 6 w}
  24. #ALIAS lingjiu {enter shudong;say 天堂有路你不走呀;d;4;do 3 w;do 2 nw;nu;do 2 n;do 2 nu}
  25. #ALIAS lingjiub {do 2 sd;s;s;sd;se;tianshanb}
  26. #ALIAS lvliu {do 6 w;nu;nd;do 2 w;nw;w;nw;do 2 wu;nw;#wa 1000;do 7 w;do 3 n;do 3 w;sw;w;se}
  27. #ALIAS lvliub {nw;e;ne;do 4 e;s;do 3 s;#wa 1000;do 4 e;e;se;do 2 ed;se;e;se;do 2 e;#wa 1000;su;sd;do 6 e}
  28. #ALIAS lingzhou {enter shudong;say 天堂有路你不走呀;d;4;do 3 w;do 2 nw;nu;n;do 5 w}
  29. #ALIAS lingzhoub {#5 e;s;sd;se;e;se;#wa 1000;e;e;se;e;se;e;su;sd;#wa 1000;#6 e}
  30. #ALIAS beijing {unwield all;enter shudong;say 天堂有路你不走呀;d;3;ne;ne;u;sw;e;sd;e;e;ne;ne;ne;do 6 n;wield sword;wield blade}
  31. #ALIAS luoyang {enter shudong;say 天堂有路你不走呀;d;1;n;nw;nw;nw;n;nw;#wa 500;u;e;e;s;sw;nw;do 4 w;#wa 500;wu;wd;do 3 w}
  32. #ALIAS luoyangb {do 3 e;eu;ed;do 4 e;#wa 500;se;ne;n;w;w;enter dong;#wa 500;se;s;se;se;se;s;s;u;out}
  33. #ALIAS mingjiao {enter shudong;say 天堂有路你不走呀;d;6;w;w;nw;w;nw;up;s;w;nw;do 4 nu}
  34. #ALIAS mingjiaob {do 2 s;sd;s;do 2 w;e;s;n;do 2 sd;#wa 1000;do 3  sd;se;s;se;do 4 e;s;#wa 1000;do 3 s;do 4 e;#wa 1000;e;se;do 2 ed;se;e;se;do 10 e;#wa 1000;su;sd;do 6 e}
  35. #ALIAS murong {do 6 e;se;#wa 1000;s;e;do 4 n;n;nw;do 5 w;s;ask girl about 拜庄;enter boat}
  36. #ALIAS murongb {n;do 5 e;se;do 5 s;w;n;nw;do 6 w}
  37. #ALIAS pingxiwang {do 9 s;#wa 1000;sw;w;w;nw;do 3 sw;#wa 1000;do 5 n;ask tou about 自立为王}
  38. #ALIAS pingxiwangb {drop ling;do 10 s;#wa 200;n;do 3 ne;se;e;e;ne;#wa 200;do 9 n}
  39. #ALIAS quanzhen {do 5 n;nw;#wa 1000;do 6 n;#wa 1000;do 2 nw;w;do 2 nw;#wa 1000;n;nw;do 2 nu;n;nu;#wa 1000;do 2 n}
  40. #ALIAS quanzhenb {do 2 s;sd;s;do 2 sd;#wa 1000;se;s;do 2 se;e;#wa 1000;do 2 se;#wa 1000;do 6 s;se;#wa 1000;do 5 s}
  41. #ALIAS quanzhou {do 6 e;se;s;e;do 5 s}
  42. #ALIAS quanzhoub {do 5 n;w;n;nw;do 6 w}
  43. #ALIAS riyue {do 5 w;do 2 n;ne;do 2 nu}
  44. #ALIAS riyueb {do 2 sd;sw;do 2 s;do 5 e}
  45. #ALIAS shashoubang {do 6 w;wu;nu;wu;do 5 e}
  46. #ALIAS shashoubangb {do 5 w;ed;sd;ed;do 6 e}
  47. #ALIAS shaolin {unwield all;enter shudong;say 天堂有路你不走呀;d;3;#wa 1000;do 2 ne;u;sw;#wa 1000;e;sd;e;do 2 nu;wu;do 3 nu;e;eu;do 3 nu;n;#wa 1000;knock gate;do 2 n;nu;do 3 n;nu;n;n;n;nu;u;wield sword;wield dao}
  48. #ALIAS shaolinb {sd;do 4 s;sd;do 3 s;sd;s;open gate;#wa 1000;do 2 s;do 3 sd;wd;w;#wa 500;do 3 sd;ed;sd;sd;e;ne;ne;n;enter hole;s;sw;sw;s;s;up;out}
  49. #ALIAS shenlong {enter shudong;say 天堂有路你不走呀;d;3;ne;ne;u;sw;e;sd;e;e;ne;ne;ne;se;ask chuan fu about 出海;#wa 1000;enter boat;#wa 30000;n;do 10 e;do 2 e;#wa 1000;w;nu;nu;eu;n;nu;n;n;nu;eu;n;do 3 nu;wu;nu}
  50. #ALIAS shenlongb {sd;ed;do 3 sd;s;wd;sd;s;s;sd;s;wd;sd;sd;do 9 w;s;ask chuan fu about 出海;#wa 1000;enter boat;#wa 30000;nw;beijingb}
  51. #ALIAS suzhou {e;e;e;e;e;e;se;s;e;n;n;n;n}
  52. #ALIAS suzhoub {s;s;s;s;w;n;nw;w;w;w;w;w;w}
  53. #ALIAS taihu {do 6 e;se;n;se;n;w;n;do 5 e}
  54. #ALIAS taihub {do 5 w;s;e;s;nw;s;nw;do 6 w}
  55. #ALIAS taishan {unwield all;e;e;e;e;e;e;#wa 1000;ne;n;n;nu;nu;nu;#wa 1000;eu;nu;nu;nu;nu;nu;#wa 1000;nu;nu;wield sword;wield dao}
  56. #ALIAS taishanb {sd;sd;sd;sd;sd;#wa 1000;sd;sd;wd;sd;sd;#wa 1000;sd;s;s;sw;#wa 1000;do 5 w;w}
  57. #ALIAS taohua {do 6 e;se;s;e;e;nd;e;e;e;e;n;enter;enter boat}
  58. #ALIAS taohuab {out;s;w;w;w;w;su;w;w;n;nw;do 6 w}
  59. #ALIAS tianlong {do 4 s;#wa 1000;do 5 s;#wa 1000;sw;w;w;nw;do 5 sw;#wa 1000;wu;nu;n}
  60. #ALIAS tianlongb {s;sd;ed;#wa 1000;do 4 ne;se;#wa 1000;do 2 e;ne;#wa 1000;do 5 n;#wa 1000;do 4 n}
  61. #ALIAS tianshan {enter shudong;say 天堂有路你不走呀;d;4;do 3 w;do 3 nw;ask alamuhan about 马}
  62. #ALIAS tianshanb {do 3 se;e;se;e;se;#wa 1000;e;e;su;sd;#wa 1000;do 6 e}
  63. #ALIAS tufei {do 5 s;#wa 1000;do 4 s;#wa 1000;sw;w;w;nw;w;su}
  64. #ALIAS tufeib {nd;e;se;e;e;#wa 1000;ne;do 4 n;#wa 1000;do 5 n}
  65. #ALIAS wudang {do 5 s;do 4 s;sw;w;w;nw;#wa 1000;do 3 w;wu;do 3 nu;w;do 2 nu;#wa 1000;do 2 eu;do 2 nu;n}
  66. #ALIAS wudangb {ask song about 下山;s;do 2 sd;#wa 1000;do 2 wd;do 2 sd;e;#wa 1000;do 3 sd;ed;do 3 e;#wa 1000;se;do 2 e;ne;#wa 1000;do 5 n;#wa 1000;do 4 n}
  67. #ALIAS xiangyang {enter shudong;say 天堂有路你不走呀;d;3;do 2 ne;u;#wa 1000;sw;e;sd;e;e;#wa 1000;do 5 n;#wa 1000;ask shou jiang about 投军;do 4 n}
  68. #ALIAS xiangyangb {drop yao pai;drop bian tiao;#wa 1000;do 9 s;#wa 1000;do 2 ne;n;enter hole;s;sw;sw;s;s;up;out}
  69. #ALIAS xingxiu {enter shudong;say 天堂有路你不走呀;d;4;w;w;w;nw;wu;n;n;nu}
  70. #ALIAS xingxiub {sd;s;s;ed;se;e;se;#wa 1000;e;e;su;sd;e;e;e;#wa 1000;e;e;e}
  71. #ALIAS yashan {do 6 e;se;s;e;e;se;ne;e;ne;ne;do 7 e}
  72. #ALIAS yashanb {do 7 w;sw;sw;w;sw;nw;w;w;n;nw;do 6 w}
  73. #ALIAS yuewang {do 6 e;se;s;e;e;s;w;s;e;n;e}
  74. #ALIAS yuewangb {w;s;w;n;e;n;w;w;n;nw;do 6 w}
  75. #ALIAS mantuo {w;n;w;s;s;e;e;w;w}
  76. #ALIAS mantuob {e;s;n;w;n;n;e;s;e}
  77. #ALIAS yinggu {#5 s;#wa 1000;#4 s;#wa 1000;se;e;sw;sw;s;#wa 1000;e;n;w;s;s;w}
  78. #ALIAS yinggub {out;ne;w;nw;#wa 1000;#5 n;#wa 1000;#4 n}
  79. #ALIAS chahualin {w;n;w;s;s;e;e;w;w}
  80. #ALIAS chahualinb {e;s;n;w;n;n;e;s;e}
  81. #ALIAS jingli {exert regenerate;exert recover;chufa;hp;#math tuna @maxjingli/3+1;tuna @tuna;#t+ tuna;#t- dz}
  82. #ALIAS neili {exert regenerate;exert recover;chufa;hp;#math dz @maxneili/2+1;dazuo @dz;#t- tuna;#t+ dz}
  83. #ALIAS mr {s;s;w;ask murong about job;ask murong about fail;e;n;n}
  84. #ALIAS gaibang {#4 e;n;e;n;w;n;e;n;w;n}
  85. #ALIAS gaibangb {s;s;#4 w}
  86. #ALIAS zanpu {do 9 s;sw;w;w;#wa 1000;nw;w;w;nw;nw;nw;nw;w;n;n;n}
  87. #ALIAS zanpub {s;s;s;e;se;se;se;se;e;e;se;e;e;ne;#wa 1000;do 9 n}
  88. #ALIAS dushu {@book 4;exert regenerate}
  89. #ALIAS xuexi {xue zhang sanfeng for @skill 10;exert regenerate;tell zgbl go on}
  90. #ALIAS lianxi {#wa 100;practice @skill 1;exert recover;whisper zgbl go on}
  91. #ALIAS pubu {out;e;do 6 s;se;e;ne;ne}
  92. #ALIAS pubub {sw;sw;w;nw;do 6 n;w;enter zgbl}
  93. #ALIAS zsf {w;sw;s;se;e;ne;n;nw;sw;s;e;open door;n}
  94. #ALIAS taopao {halt;quit}
  95. #ALIAS lou {enter;#6 u;out}
  96. #ALIAS sm {ask zhang about cancelquest;ask zhang about quest}
  97. #ALIAS corpse {get silver from corpse;get letter from corpse;get gold from corpse;get armor from corpse}
  98. #ALIAS wuliang {#5 s;#wa 1000;#4 s;#wa 1000;sw;w;w;nw;#4 sw;#wa 1000;nw;#3 nu;climb}
  99. #ALIAS wuliang1 {climb yafeng;do 10 s;push stone;s;e;e;e;ed;ed;push men;e}
  100. #ALIAS wuliang2 {s;out;guo qiao}
  101. #ALIAS fail {ask murong about fail;ask murong about job}
  102. #ALIAS xiongdanwan {ask lie hu about 医生;s;do 6 w;s;w;ask cheng about 救人;e;n;do 6 e;n;give cheng xiong dan;#wa 2000;give cheng ling zhi;#wa 2000;give cheng she xiang;#wa 2000;give cheng hu gu;#wa 2000;give cheng xuan bing}
  103. #ALIAS zong {perform dodge.zong}
  104. #ALIAS sichou {do 6 w;nu;nd}
  105. #ALIAS sichoub {su;sd;do 6 e}
  106. #ALIAS sanfeng {w;sw;s;se;e;ne;n;nw;sw;s;e;open door;n}
  107. #ALIAS xf {n;w;u;ask xiao about job;ask xiao about fail;d;e;s;luoyangb}
  108. #ALIAS chan {perform sword.chan}
  109. #ALIAS lian {perform sword.lian}
  110. #ALIAS zhen {perform cuff.zhen}
  111. #ALIAS gc {gan che to %1}
  112. #ALIAS ge {gan che to east}
  113. #ALIAS genter {gan che to enter}
  114. #ALIAS geu {gan che to eastup}
  115. #ALIAS gn {gan che to north}
  116. #ALIAS gne {gan che to northeast}
  117. #ALIAS gnu {gan che to northup}
  118. #ALIAS gnw {gan che to northwest}
  119. #ALIAS gout {gan che to out}
  120. #ALIAS gs {gan che to south}
  121. #ALIAS gse {gan che to southeast}
  122. #ALIAS gsu {gan che to southup}
  123. #ALIAS gsw {gan che to southwest}
  124. #ALIAS gw {gan che to west}
  125. #ALIAS gwu {gan che to westup}
  126. #ALIAS ged {gan che to eastdown}
  127. #ALIAS gnd {gan che to northdown}
  128. #ALIAS gwd {gan che to westdown}
  129. #ALIAS gsd {gan che to southdown}
  130. #ALIAS ww {wield starsword;wield dakan dao}
  131. #ALIAS hubiao {do 2 w;do 2 s;ask lin about 奖励;ask lin about fail;save;backup;hp;#wa 1000;ask lin about 护镖;#math number 0;#math time 0;#t- hubiao_place3;#t- hubiao_place2;#t- hubiao_place4}
  132. #ALIAS wb {unwield dakan dao;unwield starsword}
  133. #ALIAS gd {gan che to down}
  134. #ALIAS gu {gan che to up}
  135. #FUNC pot {81455}
  136. #FUNC exp {1329367}
  137. #FUNC neili {3465}
  138. #FUNC jingli {1253}
  139. #FUNC maxneili {2529}
  140. #FUNC maxjingli {1603}
  141. #FUNC tuna {512}
  142. #FUNC dz {1027}
  143. #FUNC book {read tianlong}
  144. #FUNC num {1}
  145. #FUNC zone {北京全聚德吴六奇}
  146. #FUNC npc {伙计名叫郑景七到雅座附近}
  147. #FUNC skill {parry}
  148. #FUNC exit {north 和 south}
  149. #FUNC force {}
  150. #FUNC say {}
  151. #FUNC number {0}
  152. #FUNC user {mengmian shashou}
  153. #FUNC femote {}
  154. #FUNC hubiao_flag {0}
  155. #FUNC go_num {22}
  156. #FUNC huoji {郑景七到雅座}
  157. #FUNC address {北京全聚德吴六奇}
  158. #FUNC person {诸葛不亮}
  159. #FUNC place {""}
  160. #FUNC yourname {诸葛不亮}
  161. #FUNC yourpfm {sword.chan robber}
  162. #FUNC yourfirstpfm {sword.chan robber}
  163. #FUNC time {0}
  164. #FUNC now_num {2}
  165. #FUNC now {'汉水南岸'}
  166. #TRIGGER {【%s精力%s】%s(%d)%s/%s(%d)(*)} {jingli=%1;maxjingli=%2} {} 519
  167. #TRIGGER {【%s经验%s】%s(%d)%s} {exp=%1} {} 519
  168. #TRIGGER {【%s潜能%s】%s(%d)%s} {pot=%1} {} 519
  169. #TRIGGER {你的「(*)」进步了} {skills;#mess %1升级了!} {} 519
  170. #TRIGGER {你的杀气增加了} {#wa 2000;g letter from corpse;g gold from corpse;g silver from corpse;g armor from corpse} {} 519
  171. #TRIGGER {门卫两眼一瞪,说道:这位道长你是来找麻烦的吧} {killall} {} 519
  172. #TRIGGER {明教掌旗使 颜垣} {kill yan} {} 519
  173. #TRIGGER {星宿派邪士「星宿派三师兄」天狼子} {kill tianlang zi} {} 519
  174. #TRIGGER {看起来*想杀死你} {exert powerup;#wa 2000;chan} {} 519
  175. #TRIGGER {你气喘嘘嘘,看起来状况并不太好} {exert recover} {} 519
  176. #TRIGGER {你似乎十分疲惫,看来需要好好休息了} {exert recover} {} 519
  177. #TRIGGER {峨嵋派第五代弟子 文心师太} {killall} {} 519
  178. #TRIGGER {峨嵋派第六代弟子 守山弟子} {killall} {} 519
  179. #TRIGGER {星宿派邪士「星宿派八师兄」出尘子} {kill chuchen zi} {} 519
  180. #TRIGGER {星宿派邪士「星宿派大师兄」摘星子} {kill zhaixing zi} {} 519
  181. #TRIGGER {星宿派邪士「星宿派二师兄」狮吼子} {kill shihou zi} {} 519
  182. #TRIGGER {日月神教风雷堂堂主 童百熊} {kill tong} {} 519
  183. #TRIGGER {你刚在三分钟内睡过一觉} {#wa 5000;halt;sleep} {} 519
  184. #TRIGGER {江百胜伸手拦住你} {kill jiang} {} 519
  185. #TRIGGER {陆大有喝道} {kill lu} {} 519
  186. #TRIGGER {诸葛不亮(*)告诉你} {#gag} {} 519
  187. #TRIGGER {【%s内力%s】%s(%d)%s/%s(%d)(*)} {neili=%1;maxneili=%2} {} 519
  188. #TRIGGER {瀑流就像一席倒挂的白帘,气势如虹} {chat 日那什么生紫烟,遥看瀑布挂什么川。飞流直下三千尺,疑是潜能加一千。哈哈......} {} 519
  189. #TRIGGER {看着这壮丽的瀑流,你不禁感叹} {chat 日那什么生紫烟,遥看瀑布挂什么川。飞流直下三千尺,疑是潜能加一千。哈哈......} {} 519
  190. #TRIGGER {蝙蝠血甲} {get jia} {} 519
  191. #TRIGGER {皮背心} {g beixin} {} 519
  192. #TRIGGER {游侠宝剑} {g paladin sword} {} 519
  193. #TRIGGER {掌柜的唱道:*当*钱} {drop coin} {} 519
  194. #TRIGGER {你这一路精深剑法竟这样被*名传天下} {jifa sword taiji-jian} {} 519
  195. #TRIGGER {基本内功%s(*)%s-%s(*)%s232/} {#t- xue;#mess 指定技能已经达到制定等级;quit} {} 519
  196. #TRIGGER {北大侠客行已经执行} {id;passowrd;y;hp;skills;#t- hubiao_place;#t- hubiao_place2;#t- hubiao_place3} {connect} 519
  197. #TRIGGER {你完全没料到对方竟能误打误撞找到自己的破绽} {perform sword.chan} {} 519
  198. #TRIGGER {自己怎么和自己说悄悄话} {#gag} {} 519
  199. #TRIGGER {闲聊} {#cap chat} {} 519
  200. #TRIGGER {谣言} {#cap rumor} {} 519
  201. #TRIGGER {文钱} {drop coin} {} 519
  202. #TRIGGER {*告诉*} {#cap talk} {} 519
  203. #TRIGGER {*回答*} {#cap talk} {} 519
  204. #TRIGGER {永安门 -} {ask wu jiang about 进城;wb} {} 519
  205. #TRIGGER {~林震南说道:「(%x)把这批红货送到(%x)那里,他已经派了个伙计名叫(%x)附近接你,把镖车送到他那里} {person=%1;#if @person=~@yourname {#t+ hubiao;#ts 3;address=%2;huoji=%3;go_num=0;gn;set brief 2;#t+ hubiao_place} } {hubiao_ex} 519
  206. #TRIGGER {林震南说道:「你上次运镖太辛苦了,下去休息休息吧。」} {ding lin;#wa 5000;ask lin about 护镖} {hubiao_ex} 519
  207. #TRIGGER {你累了个半死,终于把镖运到了地头。} {#ts 255;address=done;huoji=done;#t- hubiao;#mes 镖送到了,回去吧!} {hubiao_ex} 519
  208. #TRIGGER {你嘻嘻地笑了起来。} {#t- hubiao;#ts 255;#mes 到地方了,手动找吧!} {hubiao_ex} 519
  209. #TRIGGER {你的眼前一黑} {#t- hubiao;#ts 255;#mes 晕菜了!} {hubiao_ex} 519
  210. #TRIGGER {~你赶着镖车} {#add go_num 1;l} {hubiao} 518
  211. #TRIGGER {劫匪趁你不注意,推着镖车就跑,你赶紧追了上去。} {#t- hubiao_place;#t- hubiao;#mess 方向乱入;#timer off;#timer on;#ts 1;#math now_num 1;#t- hubiao_place;#t+ hubiao_place2} {hubiao_ex} 519
  212. #TRIGGER {你点了点头:好吧!} {#ts 3;#t+ hubiao} {hubiao_ex} 519
  213. #TRIGGER {你上一个动作还没有完成,不能施用内功。} {#wa 200;yun recover} {fight} 519
  214. #TRIGGER {劫匪突然从暗处跳了出来,阴笑道:“红货和人命都留下来吧!。”} {#tiemr off;exert powerup;#wa 500;#if (@number=0) {kill robber;perform @yourfirstpfm} {hit robber;perform @yourfirstpfm}} {hubiao_fight} 519
  215. #TRIGGER {官兵拦住你说道:站住,把*留下再说!} {wb;gn;ww} {hubiao_mov} 519
  216. #TRIGGER {忽然一阵刺骨的奇寒袭来,你中的星宿掌毒发作了!} {do 2 exert heal;eat dan} {hubiao_fight} 519
  217. #TRIGGER {劫匪仓皇之际扔下了一些物品。} {#t- hubiao;#timer off;l} {hubiao_get} 519
  218. #TRIGGER {*拦住你说道:想进城先得过我这关吧} {wb;gn;ww} {hubiao_mov} 519
  219. #TRIGGER {劫匪怒道:嘴里不干不净地嘟囔什么!看招!} {hit robber;#wa 100;perform @yourpfm} {hubiao_fight} 519
  220. #TRIGGER {劫匪伸手一拦道:“想跑?没那么容易} {perform @yourpfm} {hubiao_fight} 519
  221. #TRIGGER {结果,劫匪睁开眼睛时,发现手中兵器不翼而飞!} {#wa 1000;get zhang;get yuzhu zhang} {hubiao_fight} 519
  222. #TRIGGER {结果你被他一击命中,他的剧毒散至你的全身!} {eat yao;yun recover} {hubiao_fight} 519
  223. #TRIGGER {这个方向过不去。} {yell boat} {hubiao_mov} 519
  224. #TRIGGER {一只渡船缓缓地驶了过来,艄公将一块踏脚板搭上堤岸,以便乘客} {genter;#t+ hubiao_place4} {hubiao_mov} 519
  225. #TRIGGER {一叶扁舟缓缓地驶了过来,艄公将一块踏脚板搭上堤岸,以便乘客} {genter;#t+ hubiao_place4} {hubiao_mov} 519
  226. #TRIGGER {守门武将说道:这天好冷啊,兄弟们得弄点东西暖暖身子才好} {give wu 20 silver} {hubiao_mov} 519
  227. #TRIGGER {守门武将说道:既然*有要事在身,那就请进吧。} {wb;gn;ww} {hubiao_mov} 519
  228. #TRIGGER {艄公说“到啦,上岸吧”,随即把一块踏脚板搭上堤岸。} {gout} {hubiao_mov} 519
  229. #TRIGGER {您想进带着*进城呐?先问问*大人吧!} {wb;gn;ww} {hubiao_mov} 519
  230. #TRIGGER {突然你打了个寒战} {do 2 exert heal;eat dan} {hubiao_fight} 519
  231. #TRIGGER {你累了个半死,终于把镖运到了地头} {#timer off;#t+ pp1;hp} {hubiao} 518
  232. #TRIGGER {你完全没料到对方竟能误打误撞找到自己的破绽,只得收回了[缠字诀]} {#wa 1000;perform @yourfirstpfm} {hubiao_fight} 519
  233. #TRIGGER {你捡起} {#t+ hubiao;#timer on} {hubiao_get} 519
  234. #TRIGGER {从劫匪身上掉了出来(*)} {look;#mess 掉了%1;#t- hubiao;#timer off} {hubiao_get} 519
  235. #TRIGGER {金叶} {g leaf} {} 519
  236. #TRIGGER {正阳门外大街 - } {ask wu jiang about 进城;ask wu jiang about 出城} {} 519
  237. #TRIGGER {你手腕灵动运剑成圈,顷刻只见圆转剑意不绝} {#timer off} {hubiao_fight} 519
  238. #TRIGGER {你告诉诸葛不亮:北京宝源钱庄钱庄伙计} {#case @go_num {gn} {ge} {ge} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {genter} {l} {gn} {gn} {gn} {gne} {gne} {gne} {gn} {gn} {gn} {gn} {gn} {gn} {gw} {gw} {gw} {gw} {gn} {gn} {gn} {xixi}} {hubiao} 518
  239. #TRIGGER {你告诉诸葛不亮:太和居二楼宋老板} {#case @go_num {gn} {ge} {ge} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gsw} {gw} {gw} {gnw} {gsw} {gsw} {gsw} {gs} {gsw} {gsw} {gsw} {gs} {gs} {gs} {gs} {gs} {gs} {ge} {xixi}} {hubiao} 518
  240. #TRIGGER {你告诉诸葛不亮:招财大车店李招财} {#case @go_num {gn} {ge} {ge} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gsw} {gw} {gw} {gnw} {gw} {gw} {gnw} {gnw} {gnw} {gnw} {gw} {gn} {xixi}} {hubiao} 518
  241. #TRIGGER {你告诉诸葛不亮:扬州钱庄钱眼开} {#case @go_num {gn} {ge} {ge} {gn} {gw} {xixi}} {hubiao} 518
  242. #TRIGGER {你告诉诸葛不亮:牙山小荒地黄毛鬼} {#case @go_num {gn} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {gse} {gs} {ge} {ge} {gse} {gne} {ge} {gne} {gne} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {gs} {gs} {xixi}} {hubiao} 518
  243. #TRIGGER {你告诉诸葛不亮:岳王墓墓前广场包打听} {#case @go_num {gn} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {gse} {gs} {ge} {gs} {gs} {ge} {gn} {ge} {gne} {gn} {xixi}} {hubiao} 518
  244. #TRIGGER {你告诉诸葛不亮:武当三清殿宋远桥} {#case @go_num {gn} {ge} {ge} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gsw} {gw} {gw} {gnw} {gw} {gw} {gw} {gwu} {gnu} {gnu} {gnu} {gw} {gnu} {gnu} {geu} {geu} {gnu} {gnu} {gn} {xixi};} {hubiao} 518
  245. #TRIGGER {你告诉诸葛不亮} {#gag} {} 519
  246. #TRIGGER {你告诉诸葛不亮:襄阳当铺史春秋} {#case @go_num {gn} {ge} {ge} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {genter} {l} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {ask jiang about 投军;gn} {gn} {gn} {gn} {gw} {gw} {xixi}} {hubiao} 518
  247. #TRIGGER {诸葛不亮*告诉你} {#gag} {} 519
  248. #TRIGGER {你告诉诸葛不亮:泉州当铺王福贵} {#case @go_num {gn} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {gse} {gs} {ge} {gs} {gs} {gs} {gs} {gs} {ge} {xixi}} {hubiao} 518
  249. #TRIGGER {你告诉诸葛不亮:全真玄虚堂马钰} {#case @go_num {gn} {ge} {ge} {gn} {gn} {gn} {gn} {gn} {gnw} {gn} {gn} {gn} {gn} {gn} {gn} {gnw} {gnw} {gw} {gnw} {gnw} {gn} {gnw} {gnu} {gnu} {gn} {gnu} {gn} {gn} {xixi};} {hubiao} 518
  250. #TRIGGER {你告诉诸葛不亮:泉州陆家庄大厅陆立鼎} {#case @go_num {gn} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {gse} {gs} {ge} {gs} {gsw} {gsw} {gs} {genter} {genter} {xixi}} {hubiao} 518
  251. #TRIGGER {你告诉诸葛不亮:嘉兴钱庄包方圆} {#case @go_num {gn} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {gse} {gs} {ge} {ge} {xixi}} {hubiao} 518
  252. #TRIGGER {你告诉诸葛不亮:苏州聚宝斋孙剥皮} {#case @go_num {gn} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {gse} {gs} {ge} {gn} {gn} {gn} {gn} {xixi}} {hubiao} 518
  253. #TRIGGER {你告诉诸葛不亮:桃源驿站裘千仞} {#case @go_num {gn} {ge} {ge} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gs} {gse} {xixi}} {hubiao} 518
  254. #TRIGGER {你告诉诸葛不亮:杀手帮当铺独孤梦} {#case @go_num {gn} {gw} {gw} {gw} {gw} {gwu} {gnu} {gwu} {ge} {ge} {xixi}} {hubiao} 518
  255. #TRIGGER {你告诉诸葛不亮:北京全聚德吴六奇} {#case @go_num {gn} {ge} {ge} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {genter} {l} {gn} {gn} {gn} {gne} {gne} {gne} {gn} {gn} {gn} {gn} {gw} {xixi}} {hubiao} 518
  256. #TRIGGER {你告诉诸葛不亮:北京武胜镖局王武通} {#case @go_num {gn} {ge} {ge} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {genter} {l} {gn} {gn} {gn} {gne} {gne} {gne} {gn} {gn} {gn} {gn} {ge} {ge} {gn} {gn} {gn} {xixi}} {hubiao} 518
  257. #TRIGGER {你告诉诸葛不亮:归云庄太湖街商人} {#case @go_num {gn} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {ge} {gse} {gn} {gse} {gn} {gw} {gn} {ge} {ge} {ge} {ge} {ge} {xixi}} {hubiao} 518
  258. #TRIGGER {你告诉诸葛不亮:华山别院封不平} {#case @go_num {gn} {ge} {ge} {gn} {gn} {gn} {gn} {gn} {gnw} {gn} {gn} {gn} {gn} {gn} {gn} {ge} {ge} {ge} {ge} {ge} {gse} {gsu} {geu} {gsu} {geu} { gnu} {xixi}} {hubiao} 518
  259. #TRIGGER {你告诉诸葛不亮:洛阳四海钱庄胡雪源} {#case @go_num {gn} {ge} {ge} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gn} {gnw} {gw} {gnw} {gnw} {gn} {gnw} {gw} {gnw} {gn} {gnw} {genter} {l} {gn} {gn} {gnw} {gw} {gw} {gw} {gw} {gwu} {gwd} {gw} {gw} {gw} {gw} {xixi}} {hubiao} 518
  260. #TRIGGER {你告诉诸葛不亮:华山玉泉院李铁嘴} {#case @go_num {gn} {ge} {ge} {gn} {gn} {gn} {gn} {gn} {gnw} {gn} {gn} {gn} {gn} {gn} {gn} {ge} {ge} {ge} {ge} {ge} {xixi}} {hubiao} 518
  261. #TRIGGER {你告诉诸葛不亮:灵州酒馆西夏名商} {#case @go_num {gn} {gw} {gw} {gw} {gw} {gnu} {gnd} {gw} {gw} {gnw} {gw} {gnw} {gnw} {gnu} {gn} {gw} {gw} {gw} {gw} {gw} {gs} {xixi}} {hubiao} 518
  262. #TRIGGER {林震南说道:「诸葛不亮把这批红货送到(*)那里,他已经派了个(*)接你*} {zone=%1;npc=%2;hp;#t- pp1;#timer on;#math number 0} {hubiao} 518
  263. #TRIGGER {你告诉诸葛不亮} {#case @now_num {l north} {l south} {l west} {l east} {l northwest} {l southwest} {l northeast} {l southeast} {l enter} {l out} {l up} {l down} {l northup} {l northdown} {l southup} {l southdown} {l westup} {l westdown} {l eastup} {l eastdown} } {hubiao_place2} 518
  264. #TRIGGER {你告诉诸葛不亮:go on} {#case @now_num {gn} {gs} {gw} {ge} {gnw} {gsw} {gne} {gse} {genter} {gout} {gu} {gd} {gnu} {gnd} {gsu} {gsd} {gwu} {gwd} {geu} {ged};tell zgbl go on} {hubiao_place3} 518
  265. #TRIGGER {^(*) -} {now='%1'} {hubiao_place} 519
  266. #TRIGGER {^(*) -} {#if ('%1'=@now) {#t- hubiao_place2;#t+ hubiao_place3;t+ hubiao;#t+ hubiao_place;tell zgbl go on} {#add now_num 1}} {hubiao_place2} 518
  267. #TRIGGER {劫匪个起纵遁入暗里不见了} {#add number 1;#timer on} {hubiao_fight} 519
  268. #TRIGGER {你要看什么} {#add now_num 1} {hubiao_place2} 518
  269. #TRIGGER {这个方向过不去} {#add go_num 1} {hubiao_place4} 518
  270. #TRIGGER {~你赶着镖车} {#math go_num @go_num-2;#t+ hubiao;#t+ hubiao_place;#ts 3;#t- hubiao_place3;#t+ hubiao_place4} {hubiao_place3} 518
  271. #TRIGGER {~你赶着镖车} {#t- hubo_place4} {hubiao_place4} 518
  272. #TRIGGER {^只听得江面上隐隐传来:“别急嘛} {#t- hubiao_place4} {hubiao_place4} 519
  273. #KEY KEY1 {southwest}
  274. #KEY KEY2 {south}
  275. #KEY KEY3 {southeast}
  276. #KEY KEY4 {west}
  277. #KEY KEY5 {look}
  278. #KEY KEY6 {east}
  279. #KEY KEY7 {northwest}
  280. #KEY KEY8 {north}
  281. #KEY KEY9 {northeast}
  282. #KEY F1 {exert recover}
  283. #KEY F2 {exert regenerate}
  284. #KEY F3 {exert powerup}
  285. #KEY F4 {exert taiji}
  286. #KEY F5 {perform dodge.zong}
  287. #KEY F6 {perform cuff.zhen}
  288. #KEY F7 {perform sword.chan}
  289. #KEY DIV {exert heal}
  290. #KEY MULT {exert inspire}
  291. #KEY F8 {perform sword.lian}
  292. #BUTTON 1 {开始护镖} {#t+ hubiao_ex;#t+ hubiao_fight;#t+ hubiao_get;#t+ hubiao_mov;hubiao} {} {#t- hubiao;#timer off} {} {hubiao_flag} {} {} {} {} {} {} {} {} {} {} {}
  293. #BUTTON 2 {退了一步} {#add go_num -1;#t+ hubiao;#timer on} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {}
  294. #BUTTON 3 {进了一步} {#add go_num 1;#t+ hubiao;#timer on} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {}
  295. #BUTTON 4 {停止走} {#t- hubiao} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {}
  296. #BUTTON 5 {继续走} {#t+ hubiao;#timer on} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {}
  297. #BUTTON 6 {领装备} {d;drop cloth;drop shoes;drop xue;drop boots;drop pao;drop ma xie;out;draw blade;draw armor;draw head;draw cloth;draw surcoat;draw boots;wear all;wield starsword;wield blade;#wa 5000;enter;u} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {}
复制代码

[ 本帖最后由 zgbl 于 2009-2-12 03:27 PM 编辑 ]
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2009-2-9 20:36:20 | 显示全部楼层

果然有问题

北京遇到次乱入不能解决,走紫禁城了
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2009-5-9 07:27:07 | 显示全部楼层
原帖由 zgbl 于 2009-2-7 09:46 PM 发表
以wiki里面的为蓝本,可能有办法编写全自动护镖,就是太麻烦,最大问题是方向乱入。战斗的只要保证基本full,带够要,稍微细化下触发应该可以保证安全,我写写我的想法,大家看看可行不

方向乱入时,分两种状态
...


这个机器人我基本上搞定了,几个主要的模块也写完了。。周末完善完善,跑跑看能跑多久。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2009-5-9 08:43:49 | 显示全部楼层
这种自动机器人只要发出来,应该立即面临的就是铡刀了。。。囧
大铡刀会砍啥呢
俺用zmud推车的时候用的劫匪移动自动返回部分
只取了房间描述第一行,解决问题很有限,不过思路一直用到现在
出口信息
#TRIGGER {^    这里????的出口是 (*)。} {v_room_entry=%replace( %1, " 和 ", " ");v_room_entry=%replace( @v_room_entry, "、", " ");v_room_entry=%trim( @v_room_entry)}
名称
#REGEX {^(.*)[ ]-[ ]} {v_room_name=%1}
取描述第一行
#REGEX {^[ ]{4}(.*)} {#if (%line2==%concat( @v_room_name, " - ")) {v_room_desp=%1}}
#TRIGGER {你告诉@char_name:***** search back (*) *****} {#if (@v_room_name==@v_last_room_name and %right( @v_room_desp, 4)==%right( @v_last_room_desp, 4) and @v_room_entry==@v_last_room_entry) {v_back_dir=%1};#show %ansi( 37, 0) Name: @v_last_room_name, Entry: @v_last_room_entry, Desp: @v_last_room_desp}

[ 本帖最后由 duno 于 2009-5-9 09:12 AM 编辑 ]
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2009-5-9 10:28:42 | 显示全部楼层
我的思路是:一个dummy 引路, 等乱入了,就看各个出口,找到dummy 在的出口,推车过去。 当然如果被劫匪推走两步就不好办了。 
在到伙计附近,做一个小型的遍历,保证一定能包括伙计在内。 找到伙计后,还是继续走完路,遍历结束在一个固定地点,方便回到扬州。 
回到扬州,查看状态,该治病就治病,该double 内力就double neili..然后要下一个镖。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2009-5-9 10:34:04 | 显示全部楼层
当然还有一些细节问题,如拦路npc,都要考虑到,可以用乱入同样的方法走到正路上。 走正路都是引路dummy 的是,自己管推车杀劫匪。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2009-5-9 10:42:46 | 显示全部楼层
dummy 引路idea 会加强系统负担。。。 小亮你自己做出来用用吧。 不好推广。 
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|北大侠客行MUD ( 京ICP备16065414号-1 )

GMT+8, 2024-11-29 06:00 AM , Processed in 0.012199 second(s), 12 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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