北大侠客行MUD论坛

 找回密码
 注册
搜索
热搜: 新手 wiki 升级
查看: 5315|回复: 7

新手请教ZMUD7.21的map问题

[复制链接]
发表于 2013-3-10 08:59:17 | 显示全部楼层 |阅读模式
本人初入北大侠客行,在使用zmud时遇到一些困惑,问题是:在使用#walk和#slow命令时是否都是使用的自定义的方向呢?对方向的重新定义会不会影响地图功能的运行呢?主要运镖时要gan che。。。而运完镖要e、n。。。,想运完镖切换方向定义,不知道会不会影响地图

北大侠客行MUD,中国最好的MUD
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2013-3-10 14:13:20 | 显示全部楼层
那么用map生成的路径用的是自定义方向吗?其实我就是推车的时候能用地图推车,回来的时候还用地图回来,怎么弄啊?我看论坛上的高手好多都是用list定义推车路径,好麻烦啊
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2013-3-10 14:13:24 | 显示全部楼层
那么用map生成的路径用的是自定义方向吗?其实我就是推车的时候能用地图推车,回来的时候还用地图回来,怎么弄啊?我看论坛上的高手好多都是用list定义推车路径,好麻烦啊
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2013-3-10 14:40:21 | 显示全部楼层
搞清楚了,刚才实验了下,用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
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2013-3-10 14:40:28 | 显示全部楼层
本帖最后由 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
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2013-3-14 10:33:44 | 显示全部楼层
那么用map生成的路径用的是自定义方向吗?其实我就是推车的时候能用地图推车,回来的时候还用地图回来,怎么 ...
telakazj 发表于 2013-3-10 06:13 AM



    大多数人的护镖机器人都是用list变量来设定路径的,其实用zmud的path设定路径也是可以的,只要每一步将path路径的一步取出,转换成常规方向命令即可。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2013-3-14 12:02:18 | 显示全部楼层
是啊 我也发现了,做了3天机器人,发现zmud的#slow特别是配合地图后经常出现莫名其妙的错误,百撕不得骑姐,后来改用了%pathexpand转化为list,走路顺多了
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2013-3-14 12:04:26 | 显示全部楼层
哎,为了做个护镖机器人,不断测试,半路改机器人,护镖失败,慕容赚的200G只剩下40多了,升级都升不了
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-24 07:12 PM , Processed in 0.011310 second(s), 14 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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