新手请教ZMUD7.21的map问题
本人初入北大侠客行,在使用zmud时遇到一些困惑,问题是:在使用#walk和#slow命令时是否都是使用的自定义的方向呢?对方向的重新定义会不会影响地图功能的运行呢?主要运镖时要gan che。。。而运完镖要e、n。。。,想运完镖切换方向定义,不知道会不会影响地图北大侠客行MUD,中国最好的MUD 那么用map生成的路径用的是自定义方向吗?其实我就是推车的时候能用地图推车,回来的时候还用地图回来,怎么弄啊?我看论坛上的高手好多都是用list定义推车路径,好麻烦啊 那么用map生成的路径用的是自定义方向吗?其实我就是推车的时候能用地图推车,回来的时候还用地图回来,怎么弄啊?我看论坛上的高手好多都是用list定义推车路径,好麻烦啊 搞清楚了,刚才实验了下,用map行走时用的也是自定义方向,自定义方向修改会影响map行走,到处direction后发现是这个样子的:
#CLASS 0
#DIR ew {east} e
#DIR we {west} w
#DIR ud {up} u
#DIR du {down} d
#DIR pb {northeast} ne
#DIR ns {north} n
#DIR zx {eastup} eastup
#DIR qm {northwest} nw
#DIR mq {southeast} se
#DIR xz {westdown} westdown
#DIR cv {eastdown} eastdown
#DIR vc {westup} westup
#DIR hj {northup} northup
#DIR jh {southdown} southdown
#DIR kl {northdown} northdown
#DIR lk {southup} southup
#DIR sn {south} s
#DIR bp {southwest} sw
#DIR rt {enter} other
#DIR tr {out} other
推完镖要走回来时改下成这样就好了
#CLASS 0
#DIR ew {gan che to east} e
#DIR we {gan che to west} w
#DIR ud {gan che to up} u
#DIR du {gan che to down} d
#DIR pb {gan che to northeast} ne
#DIR ns {gan che to north} n
#DIR zx {gan che to eastup} eastup
#DIR qm {gan che to northwest} nw
#DIR mq {gan che to southeast} se
#DIR xz {gan che to westdown} westdown
#DIR cv {gan che to eastdown} eastdown
#DIR vc {gan che to westup} westup
#DIR hj {gan che to northup} northup
#DIR jh {gan che to southdown} southdown
#DIR kl {gan che to northdown} northdown
#DIR lk {gan che to southup} southup
#DIR sn {gan che to south} s
#DIR bp {gan che to southwest} sw
#DIR rt {gan che to enter} other
#DIR tr {gan che to out} other 本帖最后由 telakazj 于 2013-3-10 06:41 AM 编辑
搞清楚了,刚才实验了下,用map行走时用的也是自定义方向,自定义方向修改会影响map行走,到处direction后发现是这个样子的:
#CLASS 0
#DIR ew {gan che to east} e
#DIR we {gan che to west} w
#DIR ud {gan che to up} u
#DIR du {gan che to down} d
#DIR pb {gan che to northeast} ne
#DIR ns {gan che to north} n
#DIR zx {gan che to eastup} eastup
#DIR qm {gan che to northwest} nw
#DIR mq {gan che to southeast} se
#DIR xz {gan che to westdown} westdown
#DIR cv {gan che to eastdown} eastdown
#DIR vc {gan che to westup} westup
#DIR hj {gan che to northup} northup
#DIR jh {gan che to southdown} southdown
#DIR kl {gan che to northdown} northdown
#DIR lk {gan che to southup} southup
#DIR sn {gan che to south} s
#DIR bp {gan che to southwest} sw
#DIR rt {gan che to enter} other
#DIR tr {gan che to out} other
推完镖要走回来时改下成这样就好了
#CLASS 0
#DIR ew {east} e
#DIR we {west} w
#DIR ud {up} u
#DIR du {down} d
#DIR pb {northeast} ne
#DIR ns {north} n
#DIR zx {eastup} eastup
#DIR qm {northwest} nw
#DIR mq {southeast} se
#DIR xz {westdown} westdown
#DIR cv {eastdown} eastdown
#DIR vc {westup} westup
#DIR hj {northup} northup
#DIR jh {southdown} southdown
#DIR kl {northdown} northdown
#DIR lk {southup} southup
#DIR sn {south} s
#DIR bp {southwest} sw
#DIR rt {enter} other
#DIR tr {out} other 那么用map生成的路径用的是自定义方向吗?其实我就是推车的时候能用地图推车,回来的时候还用地图回来,怎么 ...
telakazj 发表于 2013-3-10 06:13 AM http://pkuxkx.com/forum/images/common/back.gif
大多数人的护镖机器人都是用list变量来设定路径的,其实用zmud的path设定路径也是可以的,只要每一步将path路径的一步取出,转换成常规方向命令即可。 是啊 我也发现了,做了3天机器人,发现zmud的#slow特别是配合地图后经常出现莫名其妙的错误,百撕不得骑姐,后来改用了%pathexpand转化为list,走路顺多了 哎,为了做个护镖机器人,不断测试,半路改机器人,护镖失败,慕容赚的200G只剩下40多了,升级都升不了
页:
[1]