MUnique / OpenMU

This project aims to create an easy to use, extendable and customizable server for a MMORPG called "MU Online".
https://munique.net
MIT License
742 stars 322 forks source link

Chaos Machine Item Recovery #534

Open nitoygo opened 3 hours ago

nitoygo commented 3 hours ago

Describe the bug Items left in chaos machine can not be recovered when game crashes or on disconnection

To Reproduce Steps to reproduce the behavior:

  1. Place items for chaos mixing
  2. // Disconnect or crash happens
  3. Reconnect
  4. // Items are lost

Expected behavior Server has a way or an option for the player to recover items left unintentionally in the chaos machine

sven-n commented 2 hours ago

I think the best would be to handle this like the trade. When a disconnect happens, the items should be moved back to the original position before saving the account.

nitoygo commented 1 hour ago

Agreed. However, for the case where the mix already happened, it might need special handling (?). No idea yet what happens to the persistence of that new/upgraded/downgraded item.

sven-n commented 1 hour ago

Yea, that needs some extra logic for sure