OpenMU
OpenMU copied to clipboard
Character respawns at wrong place
Describe the bug When a character dies, it respawns at the wrong place. For example at Devias 2 instead of Devias town.
To Reproduce Steps to reproduce the behavior:
- Enter the game with a (weak) character
- Go to Icarus or Devias and let it die
- It respawns at Devias 2
Expected behavior It should respawn at Devias town
Additional context To determine where a character respawns, the ExitGate has a property called "IsSpawnGate". The problem is, for the respawn logic it's basically true for too many gates - all which are listed in the warp menu.
Possible solution: Set it to true just for the safezone gates at the towns. Change the comment which describes the property. They're initialized at MUnique.OpenMU.Persistence.Initialization.Version*.Gates.
This are fixed? cannot reproduce the error
I didn't fix it yet. It might occur randomly, depending in which order the ExitGates were loaded from the database.