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