mud 板


LINE

看板 mud  RSS
※ 引述《curist (好问题..)》之铭言: : 前文恕删 : 如果不是非 LP啊 Merc之类不可的话,mud codebase还满多的, : google一下就可以找到不少。 : 最近找了一下,应该会选 NakedMud来玩吧, : (网址:http://homepages.uc.edu/~hollisgf/nakedmud.html ) : 它是基於纯 c写的 socketmud的延伸,跟LP、merc之类的差别在於, : socketmud跟 NakedMud很精简... 举凡属性、种族、物品等,通通没有... :D : 它帮你写好的只有低阶的连线处理、mccp、基本档案处理、彩色字…等。 : 那为什麽要选 NakedMud呢... 原因也满简单的, : 因为该作者把 python加上去了... 原本麻烦的中文处理也就不是问题。 : 再加上写 python很有趣、作者网站上说明文件完整; : 原始码数量少,真的要看要改也不是不行...。 : ubuntu下要装的话,建议sudo apt-get install scons, : 然後在 src目录下面下 scons即可。 感谢推荐 XD 不过真的是快要崩溃了 连naked mud也不给人跑阿...Python我确定有装就是了 现在唯一一个跑得起来的lima lib是没有说明文件 找到说明文件的lib都不能跑 对了,还有上面提到的coffeemud 不过coffeemud不支援中文 我已经不知道该怎麽办了...:( gasbomb@Purin:~/nakedmudv3.8.1/src$ scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o socket.o -c -Wall -g -ggdb -O2 -I/usr/include/python2.6 socket.c In file included from socket.c:25: scripts/scripts.h:25:20: error: Python.h: No such file or directory scripts/scripts.h:26:26: error: structmember.h: No such file or directory In file included from socket.c:25: scripts/scripts.h:73: error: expected declaration specifiers or '...' before 'PyObject' scripts/scripts.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:143: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:144: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:150: error: expected ')' before '*' token scripts/scripts.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:162: error: expected ')' before '*' token scripts/scripts.h:167: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/scripts.h:184: error: expected declaration specifiers or '...' before 'PyObject' scripts/scripts.h:189: error: expected declaration specifiers or '...' before 'PyObject' scripts/scripts.h:195: error: expected declaration specifiers or '...' before 'PyObject' In file included from socket.c:26: scripts/pyplugs.h:32: error: expected ')' before '*' token scripts/pyplugs.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token scripts/pyplugs.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token socket.c: In function 'deleteInputHandler': socket.c:113: warning: implicit declaration of function 'Py_XDECREF' socket.c:113: error: 'PyObject' undeclared (first use in this function) socket.c:113: error: (Each undeclared identifier is reported only once socket.c:113: error: for each function it appears in.) socket.c:113: error: expected expression before ')' token socket.c:114: error: expected expression before ')' token socket.c: In function 'copyover_recover': socket.c:757: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result socket.c: In function 'input_handler': socket.c:871: error: 'PyObject' undeclared (first use in this function) socket.c:871: error: 'arglist' undeclared (first use in this function) socket.c:871: warning: implicit declaration of function 'Py_BuildValue' socket.c:871: warning: implicit declaration of function 'socketGetPyFormBorrowed' socket.c:873: error: 'retval' undeclared (first use in this function) socket.c:873: warning: implicit declaration of function 'PyEval_CallObject' socket.c: In function 'socketPushPyInputHandler': socket.c:1137: warning: implicit declaration of function 'Py_XINCREF' socket.c:1137: error: 'PyObject' undeclared (first use in this function) socket.c:1137: error: expected expression before ')' token socket.c:1138: error: expected expression before ')' token socket.c: In function 'socketShowPrompt': socket.c:1194: error: 'PyObject' undeclared (first use in this function) socket.c:1194: error: 'arglist' undeclared (first use in this function) socket.c:1195: error: 'retval' undeclared (first use in this function) scons: *** [socket.o] Error 1 scons: building terminated because of errors. gasbomb@Purin:~/nakedmudv3.8.1/src$ -- ╔═ ═╦╦═════╦═════╗ ◤◤◤ ╠╣飞鸟ももこ╠═╗ ║ ║╚═════╝ ╚═╦═╣ ║╔══════╗╔═╩═╣ █◤ ╠╣Momoko Asuka╠╝ ║ ◣◢◣◢╩╩══════╩════╝ --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.224.9.129
1F:推 curist:试试看sudo apt-get install python2.6-dev 11/18 16:21
2F:→ gasbomb:喔喔喔compile好了!!感谢 <(_ _)> 11/18 16:26
3F:推 wolfbear:可能是 Python 版本的问题 QQ 所以照一楼说得补完 2.6 11/19 12:19
4F:→ jazon:看到Python.h: No such file or directory应该就是没装好 11/20 07:05
5F:推 frid:http://nakedmud.org/guide:compiling 11/20 22:06
6F:→ frid:有些地方要改一下..改完就好了 11/20 22:06







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:BabyMother站内搜寻

TOP