OpenMMO icon indicating copy to clipboard operation
OpenMMO copied to clipboard

[network] Player is already logged in messages when changing zones.

Open DX4D opened this issue 4 years ago • 1 comments

Due to a recent change in the ZoneSystem the NetworkManager now persists across zones rather than needing a NetworkManager in every zone. This introduced a couple issues where spawn and login methods are overlapping when the player only actually needs to be logged in and spawned once but the old methods are still in place.

The login/zoning process will need to be given more verbose debugging messages and carefully tracked so that any bugs can be tracked down simply now and moving forward.

DX4D avatar Jul 15 '21 15:07 DX4D

Ideally we want to support both methods - if a zone has it's own NetworkManager: we can transfer the clent to that manager, and if there is no NetworkManager in the new scene, the existing one in the Login scene will persist to that zone.

Essentially, the whole login/zoning process needs a tune-up

DX4D avatar Jul 15 '21 15:07 DX4D