Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.
3 posts • Page 1 of 1
Hi, I have a game where there can be different MMOItems in the MMORoom, like vehicles etc. I want to persist these into a datasource periodically because if the server shuts down I want those items to be restored with their positions, and variable when I restart the server. All the code is ready, except I can't serialize MMOItem's nor it's variables because they don't implement serializable. How can I overcome it without having to introspect in object manually to find each variable?
sorry there is no direct serialization support.
As you suggested, you need to introspect the properties you want to save and serialize them manually.
Shoot! OK Thanks.
Who is online
Users browsing this forum: No registered users and 7 guests