save cmd & bed of reality only saves player, not apartme
Posted: Tue Feb 16, 2010 8:51 pm
The "save" command (or applying a bed of reality) only saves the player, not the apartment map.
This becomes a problem when a server crash causes a rollback, and the rollback covers a period where the player transferred items between inventory and apartment.
In such a case, you have a real chance of duped items (items are both in the player's inventory and apartment) or vanished items (item are neither in the player's inventory or apartment).
This is possible, because the player inventory and apartment are not saved in sync. So you can have a case where the player was saved before dropping an item, but the apartment was saved after the item was dropped. This results in duping.
Or the player was saved after dropping an item, but the apartment's most recent save (before the crash) was before the item was dropped. This results in vanishing.
Similar results for picking up items from your apartment, into inventory, too. Either way will cause problems after a crash and rollback, due to the saving of data out of sync.
This is not theory. It personally happened to me twice this past weekend during server rollbacks on Metalforge. During the first rollback, some of my items were duped. During the second rollback, some of my items (all of my coins, among other things) were vanished.
This becomes a problem when a server crash causes a rollback, and the rollback covers a period where the player transferred items between inventory and apartment.
In such a case, you have a real chance of duped items (items are both in the player's inventory and apartment) or vanished items (item are neither in the player's inventory or apartment).
This is possible, because the player inventory and apartment are not saved in sync. So you can have a case where the player was saved before dropping an item, but the apartment was saved after the item was dropped. This results in duping.
Or the player was saved after dropping an item, but the apartment's most recent save (before the crash) was before the item was dropped. This results in vanishing.
Similar results for picking up items from your apartment, into inventory, too. Either way will cause problems after a crash and rollback, due to the saving of data out of sync.
This is not theory. It personally happened to me twice this past weekend during server rollbacks on Metalforge. During the first rollback, some of my items were duped. During the second rollback, some of my items (all of my coins, among other things) were vanished.