北大侠客行MUD论坛

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

今天学习了一下~~唉,断断续续的!

[复制链接]
 楼主| 发表于 2011-11-16 13:24:50 | 显示全部楼层
在北侠论坛发表了一篇名为『Re:被鬼谷子(guigumaster) pk投诉』的大作!
听说    jizong    在北侠论坛发表了一篇名为『Re:今天学习了一下~~唉,断断续续的!』的大作!

【闲聊】多来咪(Doremi): 啥门派的?
天九连线进入这个世界。
【闲聊】南宫秀芸(Vanz): 来比武场
店小二笑咪咪地说道:这位老道长,进来喝杯茶,歇歇腿吧。
【谣言】某人: 听说渡绒得到一件九日之盾啦。
幻血连线进入这个世界。
店小二用脖子上的毛巾抹了抹手,说道:这位道兄,请进请进。
【谣言】某人: 听说有人正在找寻帮手去鄱阳湖寻找沉在湖底的财宝!
【闲聊】瞄人子(Lookbb): 星宿的
西门吹水王从大车上下来了。
店小二用脖子上的毛巾抹了抹手,说道:这位小兄弟,请进请进。
西门吹水王往西离开。
【谣言】某人: 听说V随性如我在百晓生任务中获得一颗火☆玄冰!
【闲聊】南宫秀芸(Vanz): 来比武场吧
天一身穿青色道袍走了过来。
天一往西离开。
天九往西离开。
【闲聊】瞄人子(Lookbb): 给我以下吧
【谣言】某人: 瞄人子被铁人杀死了。
你丢下一双麻鞋。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
你丢下一件青色道袍。
因为这样东西并不值钱,所以人们并不会注意到它的存在。
                                                                        
               ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐               
               │ │ │此│相│寒│落│秋│秋│ │ │               
               │ │ │时│思│鸦│叶│月│风│ │ │               
               │ │ │此│相│栖│聚│明│清│ │ │               
               │ │ │夜│见│复│还│  │  │ │ │               
               │ │ │难│知│惊│散│ │ │ │ │               
               │ │ │为│何│  │  │ │ │ │ │               
               │ │ │情│日│ │ │ │ │ │ │               
               └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘               
                                                                        

北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
 楼主| 发表于 2011-11-18 16:13:46 | 显示全部楼层
这个,我就不知道了
我是自己做的客户端抓的信息~~~
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
发表于 2011-11-22 18:22:27 | 显示全部楼层
请问下,zmud和mush分别怎样抓取像11楼这种未经处理的原始信息?(tintin++里是#config convert on)
istillsun 发表于 2011-11-18 07:38 AM

mush没用过。
但zmud中你选定的文字自动复制后已包含以上信息,但你要粘贴到适当的软件中才能看到。:)
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
 楼主| 发表于 2011-11-22 18:41:53 | 显示全部楼层
有谁知道,MUD的颜色转换代码啊?

我想给这些,转换成MUD里边的文字颜色、字体之类的
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
发表于 2011-11-22 19:24:56 | 显示全部楼层
有谁知道,MUD的颜色转换代码啊?

我想给这些,转换成MUD里边的文字颜色、字体之类的
jizong 发表于 2011-11-22 10:41 AM


请看任意lib中/include/ansi.h
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
 楼主| 发表于 2011-11-22 19:26:44 | 显示全部楼层
感谢楼上的哈!嘿嘿嘿
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
 楼主| 发表于 2011-11-22 19:27:29 | 显示全部楼层
//        File        :  /include/ansi.h
//        Creator        :  Gothic@TMI-2  
//
//        The standard set of ANSI codes for mudlib use.

#define ESC        ""
#define CSI        ESC + "["
#define BEL        ESC + "[s"
                /*  Foreground Colors  */

#define BLK ESC+"[30m"          /* Black    */
#define RED ESC+"[31m"          /* Red      */
#define GRN ESC+"[32m"          /* Green    */
#define YEL ESC+"[33m"          /* Yellow   */
#define BLU ESC+"[34m"          /* Blue     */
#define MAG ESC+"[35m"          /* Magenta  */
#define CYN ESC+"[36m"          /* Cyan     */
#define WHT ESC+"[37m"          /* White    */

                /*   Hi Intensity Foreground Colors   */

#define HIR ESC+"[1;31m"        /* Red      */
#define HIG ESC+"[1;32m"        /* Green    */
#define HIY ESC+"[1;33m"        /* Yellow   */
#define HIB ESC+"[1;34m"        /* Blue     */
#define HIM ESC+"[1;35m"        /* Magenta  */
#define HIC ESC+"[1;36m"        /* Cyan     */
#define HIW ESC+"[1;37m"        /* White    */

                /* High Intensity Background Colors  */

#define HBRED ESC+"[41;1m"       /* Red      */
#define HBGRN ESC+"[42;1m"       /* Green    */
#define HBYEL ESC+"[43;1m"       /* Yellow   */
#define HBBLU ESC+"[44;1m"       /* Blue     */
#define HBMAG ESC+"[45;1m"       /* Magenta  */
#define HBCYN ESC+"[46;1m"       /* Cyan     */
#define HBWHT ESC+"[47;1m"       /* White    */

                /*  Background Colors  */

#define BBLK ESC+"[40m"          /* Black    */
#define BRED ESC+"[41m"          /* Red      */
#define BGRN ESC+"[42m"          /* Green    */
#define BYEL ESC+"[43m"          /* Yellow   */
#define BBLU ESC+"[44m"          /* Blue     */
#define BMAG ESC+"[45m"          /* Magenta  */
#define BCYN ESC+"[46m"          /* Cyan     */
// #define BWHT ESC+"[47m"          /* White    */

#define NOR ESC+"[2;37;0m"      /* Puts everything back to normal */

/*  Additional ansi Esc codes added to ansi.h by Gothic  april 23,1993 */
/* Note, these are Esc codes for VT100 terminals, and emmulators */
/*       and they may not all work within the mud               */

#define BOLD ESC+"[1m"          /* Turn on bold mode */
#define CLR ESC+"[2J"           /* Clear the screen  */
#define HOME ESC+"[H"           /* Send cursor to home position */
#define REF CLR+HOME            /* Clear screen and home cursor */
#define BIGTOP ESC+"#3"         /* Dbl height characters, top half */
#define BIGBOT ESC+"#4"         /* Dbl height characters, bottem half */
#define SAVEC ESC+"[s"           /* Save cursor position */
#define REST ESC+"[u"            /* Restore cursor to saved position */
//#define REVINDEX ESC+"M"        /* Scroll screen in opposite direction */
#define SINGW ESC+"#5"          /* Normal, single-width characters */
#define DBL ESC+"#6"            /* Creates double-width characters */
#define FRTOP ESC+"[2;25r"      /* Freeze top line */
#define FRBOT ESC+"[1;24r"      /* Freeze bottom line */
#define UNFR ESC+"[r"           /* Unfreeze top and bottom lines */
#define BLINK ESC+"[5m"         /* Initialize blink mode */
#define U ESC+"[4m"             /* Initialize underscore mode */
#define REV ESC+"[7m"           /* Turns reverse video mode on */
#define HIREV ESC+"[1,7m"       /* Hi intensity reverse video  */
#define SETDISPLAY(x,y)  (ESC+"["+x+";"+y+"f")        /*设定光标位置*/
#define DELLINE        ESC+"[K"               /*删除光标所在的行*/
#define SAVEC ESC+"[s"           /* Save cursor position */
#define REST ESC+"[u"            /* Restore cursor to saved position */



发出来,发出来!
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
发表于 2011-11-22 19:46:07 | 显示全部楼层
我曾经也搞过,不过是专门弄了个转换为vbb论坛代码的,这样可以在vbb论坛上使用[mud]标签来帖mud游戏的内容。
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
发表于 2011-11-22 19:48:24 | 显示全部楼层
鸡总要作甚?
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
发表于 2011-11-22 21:12:01 | 显示全部楼层
鸡总要作甚?
npckill 发表于 2011-11-22 11:48 AM

客户端吧。
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-27 12:39 PM , Processed in 0.011379 second(s), 13 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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