reison1218 / gameserver_rust Goto Github PK
View Code? Open in Web Editor NEWRustProject
RustProject
大佬一直在关注你的进度项目,加油
代码写的太好了 学习了 谢谢
多个网关服连接 游戏服 和 中心服
多个战斗服连接 中心服
中心服 再连接 房间服 排名服
游戏服的数据 无法和战斗服 排名服 进行直接的数据通信了 绕道网关-》中心-》(战斗服 排名服 )
网关有转发数据包 中心服有转发数据包
游戏服 和 中心服 都单个了 感觉都可以合并了
Hey! This seems like a very interesting project. I’d like to ask some general questions and learn more about it. My email is in my profile if you wanna get in touch.
I’m mainly curious about how you are using this server yourself. Are you building it for one particular game?
最新版编译好多错呀
Rust version: 1.73.0-nightly
Error Message:
error[E0793]: reference to packed field is unaligned
--> C:\Users\hubri.cargo\registry\src\index.crates.io-6f17d22bba15001f\ntap
i-0.3.6\src\ntexapi.rs:2809:25
|
2809 | ((read_volatile(&(*USER_SHARED_DATA).u.TickCountQuad)
在 net_message_io.rs 中使用的是 Transport::Tcp 按照message-io的说明文档中,该方式不是以帧方式读取,可能存在客户端的数据还未完全接收,在 NetEvent::Message(_endpoint, data) 只有 block_on(self.on_message(data)) ,在 async fn on_message(&mut self, mess: Vec) 中的 build_array_from_server 似乎只是分解了包数据,并未考虑未完整的数据包。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.