Poseidon Game Server (C++98/11 + boost + OpenSSL + MySQL + MongoDB)
Switch branches/tags
Nothing to show
Clone or download

README.md

CI Category Build on OS Host OS Build Status
Travis CI Primary Ubuntu Trusty Ubuntu Trusty Build Status

GNU nano for the win!

简介

Introduction

波塞冬(Poseidon)是一个游戏服务端框架。
Poseidon is a C++ framework for game server development.

支持功能

Features

  • CBPP
    CBPP 是 Compressed Binary Protocol for Poseidon 的缩写,
    CBPP is short for 'Compressed Binary Protocol for Poseidon'.
  • HTTP 1.1
  • WebSocket
  • MySQL
  • MongoDB

编译所需工具

Tools Needed to Build

  • automake
  • autoconf
  • libtool
  • libssl-dev
  • gettext
  • make
  • g++
    建议 g++ 版本至少为 4.7 以支持 C++11 特性。
    针对 C++98 的支持将会在未来的版本中被移除。
    It is highly recommended that you use at least g++ 4.7 for C++11 features.
    Support for C++98 is deprecated and will be removed in future versions.
  • libboost-dev
  • lib{a,l,ub}san (OPTIONAL)
  • libmysqlclient-dev (OPTIONAL)
  • libbson-dev (OPTIONAL)
  • libmongoc-dev (OPTIONAL)
  • libmagic-dev (OPTIONAL)

运行环境要求

Runtime Environment Requirements

  • Debian Linux Stretch
    这是主要被支持的 Linux 发行版,使用其他发行版的 Linux 不保证兼容性。
    旧版 Debian(例如 Squeeze)有已知的严重问题(例如 g++ 4.4 的 bug 导致运行时
    段错误),我们不对此类问题提供支持,请自行解决。
    This is the Linux distribution that we support primarily and we don't
    guarantee full compatibility with other Linux distributions.
    Older Debian versions (e.g. Squeeze) are known to have some serious problems
    (e.g. runtime SIGSEGV due to bugs in g++ 4.4) that we are not willing to
    provide ANY suppport for. It is you that should work around them.

  • MySQL (MariaDB) 10.1

  • MongoDB 3.2
    third 目录下有 MySQL 和 MongoDB 的驱动更新脚本可用于编译最新的客户端驱动。
    此处列出的是 Debian Stretch 的 APT 源中的版本。
    There are scripts that can be used to fetch and build latest MySQL and MongoDB
    client drivers in third directory. The version numbers here are of packages
    from Debian Stretch APT sources.

IRC channel:

https://webchat.freenode.net/?channels=%23mcfproj

问题反馈

Bug Reports

请联系 lh_mouse at 126 dot com(注明 Poseidon 相关)。
Please email to lh_mouse at 126 dot com (Please state your email as related to Poseidon).