Bunch of stuff I'm still investigating, but here's some more questions regarding network.....
Why do RMI's have such a iffy delay?
I run a client/server on the same computer and I'm getting latency of 100-120ms for no apparent reason.
No frame overshoots, no excessive thread sleeps/etc, just large latency between RMI 'sent' and RMI received.
And this is after level loading (which kills frame hard and delays network synchronization by a lot )
How should I synchronize input?
Currently simulating input on Server using RMI's.
Client triggers input, copy of key press sent to Server.
Every frame also updates the combined mouse delta for yaw/pitch and sends to server via RMI, to preserve order with rest of input.
Toggling bit flags is nonsensical since order matters.
If I press A and release in 1 frame, I'd expect the same to be run on the server, not cancel itself out/etc.
- CRYENGINE Official
- - Forum Rules
- - Official Announcements
- CRYENGINE Development
- - Educational & Beginner's Corner
- - - CRYENGINE First Aid
- - - CRYENGINE Feedback
- - - Tutorials & Learning
- - - Plugins, Source Code & GitHub
- - CRYENGINE General
- - - General Discussion
- - - Showcase Gallery
- - - Virtual Reality / Augmented Reality
- - C#/C++ Programming
- - - Entities
- - - Networking
- - - Shaders & Rendering in General
- - - Programming General
- - Asset Preparation
- - - Plugins & Tools
- - - Models & Art
- - - UI
- - - Audio Middleware
- - Game Design - Sandbox Editor
- - - Audio
- - - Animation
- - - Materials
- - - Physics
- - - Debugging
- - - Visual Scripting
- - - UI (HUD/Menu)
- - - Artificial Intelligence
- Online Services
- - Website
- - Launcher
- - Asset Database
- Community Corner
- - Events & MeetUps
- - Recruitment & Collaboration
- - - Job Offers [PAID work only]
- - - Talent Showcase - looking for work
- - - Collaborations [Free Work & Hobby Teams]
- - Off-Topic Discussions
Who is online
Users browsing this forum: No registered users and 1 guest