guoxx_
V2EX  ›  问与答

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

  •  
  •   guoxx_ · Jan 13, 2012 · 5165 views
    This topic created in 5439 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
    horace
    horace
    Jan 13, 2012
    2
    EVE服务器架构粗略介绍:
    http://eve/wiki/Server_Architecture_Introduction(Support)
    guoxx_
    guoxx_
    OP
    Jan 13, 2012
    3
    @horace 链接贴错了? 貌似打不开阿
    Hyperion
    Hyperion
    Jan 13, 2012
    4
    有一个开源的Ragnarok模拟器, 叫eAthena.
    http://code.google.com/p/eathena-project/

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

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

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