北大侠客行MUD论坛

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

朝廷守门用北京地图

[复制链接]
发表于 2011-7-30 22:16:31 | 显示全部楼层 |阅读模式
这个是偷懒版,但能自动遍历,中文支持,白天守门用
用法:
  1. #map run 朝阳门
复制代码



北大侠客行MUD,中国最好的MUD

[ 本帖最后由 redcoat 于 2011-7-30 10:35 PM 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
 楼主| 发表于 2011-7-30 22:18:21 | 显示全部楼层
忘说了,这个是tintin++专用
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
发表于 2011-7-30 22:44:22 | 显示全部楼层
R {   38} {0} {} {38} { } {} {} {}
E {   37} {w} {w} {8} {0}
E {   39} {s} {s} {4} {0}

红衣,里面的8、4是什么意思,能给解释下吗
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
 楼主| 发表于 2011-7-30 22:54:27 | 显示全部楼层
原帖由 labaz 于 2011-7-30 10:44 PM 发表
R {   38} {0} {} {38} { } {} {} {}
E {   37} {w} {w} {8} {0}
E {   39} {s} {s} {4} {0}

红衣,里面的8、4是什么意思,能给解释下吗


tintin++自动生成的代码,用来记录房间的信息
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
 楼主| 发表于 2011-7-30 23:00:41 | 显示全部楼层
这个是官方解释:
The first argument is a direction, the second argument is the reversed direction. The reverse direction of north is south, etc.
The third argument is a spatial coordinate. In general, each cardinal direction should have a unique value which is a power of two (e.g. 1, 2, 4, 8, 16, 32, 64, etc). The exception is for compound directions, whose value should be the sum of the values for each component direction. For example, if the third value for 'n' is 1, and 'e' is 2, then you would want 'ne' to have a value of 3 (1 + 2). This value is required for the #map functionality to work.
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-13 08:07 PM , Processed in 0.013520 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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