OpenMU icon indicating copy to clipboard operation
OpenMU copied to clipboard

Character respawns at wrong place

Open sven-n opened this issue 2 years ago • 2 comments

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:

  1. Enter the game with a (weak) character
  2. Go to Icarus or Devias and let it die
  3. 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.

sven-n avatar Jun 23 '22 16:06 sven-n

This are fixed? cannot reproduce the error

Fonzeca avatar Oct 06 '22 20:10 Fonzeca

I didn't fix it yet. It might occur randomly, depending in which order the ExitGates were loaded from the database.

sven-n avatar Oct 07 '22 08:10 sven-n