araex / railgunnet Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ashoulson/railgunnet
A Client/Server Network State-Synchronization Layer for Games
License: Other
This project forked from ashoulson/railgunnet
A Client/Server Network State-Synchronization Layer for Games
License: Other
Theres lots of rather fundamental changes compared to upstream. These differences should be explained in the readme.
In case that server does not change state when receiving commands it will not send deltas for entities that require command ack and because of that client command buffer will fill and it won't generate new commands which in turn will make server never send deltas and you are stuck :|, i fixed this by alwasys creating deltas for entities with command ack.
So inside RailStateDeltaFactory at line 30 you have
bool shouldReturn = forceAllMutable || includeControllerData && current.HasControllerData || includeImmutableData || removedTick.IsValid;
To fix this you need to add "commandAck.IsValid"
So the whole line would look like
bool shouldReturn = forceAllMutable || includeControllerData && current.HasControllerData || includeImmutableData || removedTick.IsValid || commandAck.IsValid;
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.