Back to News

fix: use ChatType.Register for ANSWER_OK after character creation

•By Moh•changelogdawn
Changelog

Stock client routes MsgTalk by ChatType to different scene queues:

- ChatType.Register (2100) -> register queue -> CRegisterState

- ChatType.Entrance (2101) -> login queue -> CLoginState

CreateLogin used Entrance which went to the wrong queue. CreateCharacter

uses Register which routes to CRegisterState where the client is during

character creation. Also removed the disconnect after success since the

client needs the connection to send its MsgConnect re-login.