Mudos
共 4 篇文章
MudOS的起源(转)
这是一篇post,由mudos最初创作者发表,简述了mudos名称的由来,以及区别于其他lpmud driver的不同之处。原文参见http://www.graphcomp.com/info/mud/mudos/History_MudOS.html (just so you know ahead of time, this is wayfarer@portals|tmi|overdrive, so this post will obviously be a bit biased towards MudOS. I'll do my best to be objective here thoug…
2014-03-19 21:30 · Mudos · C · Socket
LPMUD的起源(转)
还有什么比LPMUD的鼻祖Lars Pensj的一段自述更能表现LPMUD的起源? 原文参见http://genesis.cs.chalmers.se/history_frame.html I played some Abermud (to wizardhood once), and a little tinymud. I liked the idea of a multi-user anonymous game very much, but found that Abermud was too difficult to extend while Tinymud had too little…
2014-03-19 21:28 · Mudos
mudos解释器中lpc数组-=操作的代码分析
void main() { mixed a = [1]; a += [2]; a += ["hello"]; a += [[1,2]]; a -= [2]; a -= ["hello"]; a -= [[1,2]]; debug_message("%O",a); } 这段lpc代码会输出什么呢? 我们先从字节码分析吧。 …… 002c: short_string "hello" 002e: aggregate 1 0031: local_lvalue LV0 0033: -= 0034: pop 0035: push number 1, number 2 0039: aggregate 2 …
mudos解释器中lpc数组==操作的代码分析
void main() { debug_message("%O","hello" == "hello"); debug_message("%O",[1,2]==[1,2]); } 这段lpc代码会输出什么呢? 我们先从字节码分析吧。 STRINGS: 0: a.c 1: %O 2: hello 0000: push string 1, string 2, string 2 0005: == 0006: debug_message 2 [color=red]0009: push string 1, number 1, number 2 000e: aggregate 2 0011: push …