Attempting to hook onto the existing networking system in order to implement save/restore methods.
Since existing networking focuses on minimizing the size of data sent and tracks deltas, plus in a networked game most objects will use this serialization and it minimizes duplicate code.
Useful for e.g. Physics to prevent storing entire physics state, and merely save/apply delta's.
Would also need to somehow implement 'reverse delta', basically preserve original value of every var that is serialized.
One series of deltas lets me wind back, another lets me wind forward.
Since I'm not familiar with the network system, maybe someone could point me into the right direction of how to go about implementing this and if it's feasible.
Need a way to save state and roll to/from a state for lag compensation and a few other shenanagins.
Or, perhaps, just FetchFromGame(?) and store the resulting stream somehow?
Won't check history/etc. but at least saves it locally. Not sure how to tweak the memory pools/etc. though :\
- 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
- - Marketplace
- 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