1 Star 0 Fork 2

廖贵鹏 / StaticNFrame

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 3.37 KB
一键复制 编辑 原始数据 按行查看 历史
xiaoyi445 提交于 2019-01-23 11:46 . Update README.md
Branch Build Status CoverityScan
master Build Status     CoverityScan

Copyright © Static Game NFrame
Website: https://StaticNFrame.com Github: https://github.com/yigao/StaticNFrame
Gitee(码云): https://gitee.com/xiaoyi445/StaticNFrame

StaticNFrame

StaticNFrame是一个由C+编写的轻量级、敏捷性、可扩展的分布式插件框架,从NoachNFrame开源服务器改变而来,分为静态加载和动态加载两种运行方式,可以用来开发各总各样的游戏服务器,笔者自己主要用来开发小型游戏,使用LUA来实现逻辑.

Features

  • 插件化,模块化,可以灵活选择不同的插件来组成功能不同的应用程序
  • 高可用性体系结构
  • 仅仅改动配置或修改程序启动参数就可以实现服务器结构在一个程序里执行还是分N个不同的程序执行
  • 跨平台,当前仅仅在windows和centos7上使用过 (Include Windows and Linux)

FAQ

Please create a new issue to ask a question.

Get the Sources:

git clone https://github.com/yigao/StaticNFrame.git

or

svn checkout https://github.com/yigao/StaticNFrame

Dependencies

  • libevent master
  • splog
  • google protobuf 3.5.x
  • gperftools master

Supported Compilers

  • GCC >= 4.8 (Recommend. Tested in Ubuntu 15.04)
  • MSVC >= VS2015 update 3 (Recommend VS2017. Tested in Win7/10)

Build and Install

Windows

Prerequisites:
  • Windows 10, 8.1, or 7
  • Visual Studio 2017 or Visual Studio 2015 Update 3
  • Git
  • CMake 3.0 +
Step:

Using Visual Studio 2015

  1. Pull all source
  2. Run command line
可以编译依赖也可以不编译,依赖需要的库已经上传,如果编译的话,需要按照cmake
cd StaticNFrame/Server/Dependencies
build_dep.bat
  1. Open the solution: Server/StaticNFrame.sln
  2. Build the solutionStaticNFrame.sln
  3. Run the binary file by Product/Debug/Run.bat

linux

Prerequisites:
  • g++ 4.8+ (need C++ 11)
  • Git
  • CMake 3.0+
  • libtool
  • automake

Using CMake

  1. 首先按照一些依赖,主要是编译需要的g++之类的sudo install.sh
  2. 编译依赖文件,也可以不去编译,需要的库文件已经编译好,并上传build_dep.sh
  3. 编译基础引擎,服务器框架引擎,具体服务器逻辑实现引擎build.sh

Examples

Please see Frame/Examples.


Our team has always specialized in the agile development and try to help different teams to develop game project quickly and easily. After years of development, we create this frame. We are still improving it.


Some Awesome projects

PSS

  • Author: freeeyes
  • Description: 基于插件的跨平台网络服务器框架

The relationship with NF

This branch come from NF, we used to be the CORE DEVELOPERS of NF. We create ARK because some different design philosophies, through our new ideas and modifications, now this project is a fresh project which has many different features.

C++
1
https://gitee.com/liaoguipeng13/StaticNFrame.git
git@gitee.com:liaoguipeng13/StaticNFrame.git
liaoguipeng13
StaticNFrame
StaticNFrame
master

搜索帮助