From: <no...@so...> - 2002-04-03 12:52:08
|
Bugs item #538247, was opened at 2002-04-02 00:15 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=101111&aid=538247&group_id=1111 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Miguel Angel Blanch Lardin (arianne_rpg) Assigned to: Nobody/Anonymous (nobody) Summary: Database & World matching Initial Comment: If an Object does exist on Database, but it don't exist on World, we should remove ID from Database and Kick Client with a short explanation of the problem. ---------------------------------------------------------------------- >Comment By: Brian Rowe (mutable) Date: 2002-04-03 02:51 Message: Logged In: YES user_id=123991 I do not agree with this approach. I think we should put a "dirty" flag in the WorldFile.arianne after the server reads it in. Then, when the server shuts down (and properly saves the WorldFile.arianne), remove the flag. If the flag is detected on startup, then we "reconcile" the database and the WorldFile somehow. For now, it could simply be removing the remove the Object::ID's from the DB, and then simply re-assigning new ID's next time the player logs in. Later, we could read in the last known state of the player's character from the database (or wherever) and re-insert it into the WorldFile ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=101111&aid=538247&group_id=1111 |