guoxx_
V2EX  ›  问与答

大型游戏服务器的运行模式

  •  
  •   guoxx_ · Jan 13, 2012 · 4783 views
    This topic created in 5262 days ago, the information mentioned may be changed or developed.
    有同学mmorpg类游戏的工作方式么?类似魔兽世界那样。

    直觉有两种做法
    1 一个叫做world的程序,while(1){ do something; }的方式刷新整个世界的内容,类似单机程序一样,另外一个叫做router的程序负责和world, client通信,发送数据.
    2 类似普通http服务器一样,接请求,做事,返回请求。

    有这方面经验的同学给解释下?
    6 replies    1970-01-01 08:00:00 +08:00
    GordianZ
        1
    GordianZ  
       Jan 13, 2012
    horace
        2
    horace  
       Jan 13, 2012
    EVE服务器架构粗略介绍:
    http://eve/wiki/Server_Architecture_Introduction(Support)
    guoxx_
        3
    guoxx_  
    OP
       Jan 13, 2012
    @horace 链接贴错了? 貌似打不开阿
    Hyperion
        4
    Hyperion  
       Jan 13, 2012
    有一个开源的Ragnarok模拟器, 叫eAthena.
    http://code.google.com/p/eathena-project/

    还有一个Wow的模拟器, 芒果. 地址不知...

    -_- 这些东西被天朝人用来开那个, 大伙懂得.
    funcman
        5
    funcman  
       Jan 13, 2012
    MMO只使用请求/响应模式是不够的,有很多服务端向客户端推的东西。

    一部分逻辑,用事件的方式,还有一部分要服务端定时处理(帧)。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   917 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 21:40 · PVG 05:40 · LAX 14:40 · JFK 17:40
    ♥ Do have faith in what you're doing.