redcoat 发表于 2011-7-30 22:16:31

朝廷守门用北京地图

这个是偷懒版,但能自动遍历,中文支持,白天守门用
用法:#map run 朝阳门


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

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

redcoat 发表于 2011-7-30 22:18:21

忘说了,这个是tintin++专用

labaz 发表于 2011-7-30 22:44:22

R {   38} {0} {} {38} { } {} {} {}
E {   37} {w} {w} {8} {0}
E {   39} {s} {s} {4} {0}

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

redcoat 发表于 2011-7-30 22:54:27

原帖由 labaz 于 2011-7-30 10:44 PM 发表 http://pkuxkx.com/forum/images/common/back.gif
R {   38} {0} {} {38} { } {} {} {}
E {   37} {w} {w} {8} {0}
E {   39} {s} {s} {4} {0}

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

tintin++自动生成的代码,用来记录房间的信息

redcoat 发表于 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.http://tintin.sourceforge.net/manual/spacer.gifThe 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.
页: [1]
查看完整版本: 朝廷守门用北京地图