Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tickbh/tunm
game server for Rust + Lua
https://github.com/tickbh/tunm
cross-platform game game-engine game-server rust rust-lua server
Last synced: 2 days ago
JSON representation
game server for Rust + Lua
- Host: GitHub
- URL: https://github.com/tickbh/tunm
- Owner: tickbh
- License: apache-2.0
- Created: 2016-03-31T11:26:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-06T08:45:07.000Z (over 1 year ago)
- Last Synced: 2024-12-16T22:29:12.708Z (10 days ago)
- Topics: cross-platform, game, game-engine, game-server, rust, rust-lua, server
- Language: Lua
- Homepage:
- Size: 747 KB
- Stars: 278
- Watchers: 35
- Forks: 71
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
tunm
==========a game server for rust + lua
[![Build Status](https://travis-ci.org/tickbh/tunm.svg?branch=master)](https://travis-ci.org/tickbh/tunm)
## How to run
```
git clone https://github.com/tickbh/tunm.git
cd tunm
cargo build
```##dependence
* redis server
* mysql serverand then modify config/Gate_GlobalConfig.conf and config/Client_GlobalConfig.conf to config your mysql db info, and redis db info
Run these in different console
```
cargo run --example server # Launch first tunm node (Gate server) (default as the standalone option)
cargo run --example client # Launch a client to connect server
```## What is tunm?
An open source server engine, the clients and server communications can through the td_ptotocol.
Now only has the console client.Engine framework written using Rust, game logic layer using Lua(Support the hotfix),
developers do not need to re-implement some common server-side technology,
allows developers to concentrate on the game logic development, quickly create a variety of games.(tunm is designed to be multi-process distributed dynamic load balancing scheme,
in theory only need to expand hardware can increase load-limit, the single machine load-limit
depends on complexity of logic of the game itself.)he game itself.)## How To Use (Sorry, Only in Chinese now)
Read Wiki https://github.com/tickbh/tunm/wiki
## 中文
QQ交流群:432216192