目前国内开发者最多的开源游戏服务器端框架firefly终于终结了beta版本,于2013年11月26日发布了Firefly V1.3.0正式版本,这让开源游戏开发者兴奋异常,本次firefly更新了如下内容: Firefly v1.3.0 正式版本推出
1.3.0 正式版本更新内容如下(2013/11/26)
修复BUG: 1、各个进程间连接失败的问题; 2、dbentrust中进行数据库同步是SQL语句报错的问题;
增加功能: 1、支持服务端多台服务器上分开部署; 以暗黑服务端为例,可以先在一台主机上面启动master - python startmaster.py single master
这里的config.json的文件中增加了对master节点所在主机的ip地址的说明roothost, 例如 - "master":{"roothost":"localhost","rootport":9999,"webport":9998}
然后再其他的各个主机上面无序的启动其他的服务器 - python startmaster.py single net
- python startmaster.py single gate
- python startmaster.py single game1
这几个服务可以正常的提供服务。 如果在全部在同一个服务器上启动所有服务器依旧是 2、各个进程服务间的连接,断线重连。 Master会去协调各个进程服务间的连接,断线重连。 以《暗黑世界》为例,当gate断开后然后重新启动,net,game1服务进程会自动去重新连接上gate
改进内容: 1、修改了distributed中root.py和reference.py中代码不合理的地方。 2、dbentrust中插入新的数据自增值不连贯的问题。 Firefly官网:http://firefly.9miao.com Firefly官方论坛:http://www.9miao.com Firefly Git OSchina:http://git.oschina.net/9maio/firefly Firefly GitHub:https://github.com/9miao/firefly Firefly oschina:http://www.oschina.net/p/firefly-game-server |