• Stars
    star
    263
  • Rank 154,881 (Top 4 %)
  • Language
    Lua
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

game server for Rust + Lua

tunm

a game server for rust + lua

Build Status

How to run

git clone https://github.com/tickbh/tunm.git
cd tunm
cargo build

##dependence

  • redis server
  • mysql server

and 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

More Repositories

1

wmproxy

用Rust实现仿nginx,力争实现一个可替代方案,http/https代理, socks5代理, 负载均衡, 反向代理, 静态文件服务器,四层TCP/UDP转发,websocket转发, 内网穿透nat
Rust
287
star
2

VisualUIEditor

基本electron跨平台,wcDocker的dock组件的开源UI编辑器
JavaScript
54
star
3

td_rlua

Zero-cost high-level lua 5.3 wrapper for Rust
C
53
star
4

rbtree-rs

The rbtree for Rust
Rust
52
star
5

luojiawaf_lua

luojia waf openresty Web Application Firewall or API Gateway(应用防火墙/API网关)
Lua
17
star
6

TickUIEditor

TickUIEditor
C#
11
star
7

td_revent

tickdream rust event - Async IO similar to libevent
Rust
11
star
8

Commander

Provide Rust Commander Convert From Env
Rust
10
star
9

tdengine_cocos2dx_demo

tdengine_cocos2dx_demo ddz
C
8
star
10

td_proto_rust

bin protocol for Rust
Rust
7
star
11

luojiawaf_server

luojia waf openresty Web Application Firewall or API Gateway(应用防火墙/API网关)
Python
6
star
12

webparse

http1.1/http2 parse http解析库
Rust
6
star
13

wenmeng

http1.1/http2 server/client by rust
Rust
4
star
14

ShareMemory

This is share memory impl multi process for rust
Rust
3
star
15

td_rthreadpool

thread wrapper for Rust
Rust
3
star
16

td_proto_cpp

td_proto impl by cpp
C++
3
star
17

td_rredis

redis wrapper for Rust, support cluster
Rust
3
star
18

VisualUIEditor_2dx_runtime

VisualUIEditor_2dx_runtime
JavaScript
2
star
19

forever-rs

forever by rust
Rust
2
star
20

luojiawaf_web

luojia waf openresty Web Application Firewall or API Gateway(应用防火墙/API网关)
TypeScript
2
star
21

ProcessLock

This is process lock impl multi process for rust
Rust
2
star
22

distask

a distribute task scheduler
Python
2
star
23

tunm_timer

rust timer
Rust
1
star
24

psocket-rs

provide socket for rust
Rust
1
star
25

VisualUIEditor_2dx_demo_lua

VisualUIEditor_2dx_demo_lua
C++
1
star
26

TunmProto

simple proto compress binary
JavaScript
1
star
27

TickUIEditor_2dx_runtime

TickUIEditor_2dx_runtime
C++
1
star
28

VisualUIEditor_2dx_demo

VisualUIEditor_2dx_demo cpp
C++
1
star