diff --git a/Assets/NetworkLib/Debug/netstandard2.1/CSNetwork.dll b/Assets/NetworkLib/Debug/netstandard2.1/CSNetwork.dll index fff72798b8..e7daf8741c 100644 Binary files a/Assets/NetworkLib/Debug/netstandard2.1/CSNetwork.dll and b/Assets/NetworkLib/Debug/netstandard2.1/CSNetwork.dll differ diff --git a/Assets/PerfectWorld/Scripts/Managers/EC_ManPlayer.cs b/Assets/PerfectWorld/Scripts/Managers/EC_ManPlayer.cs index 90abfd9dea..570bafb707 100644 --- a/Assets/PerfectWorld/Scripts/Managers/EC_ManPlayer.cs +++ b/Assets/PerfectWorld/Scripts/Managers/EC_ManPlayer.cs @@ -32,6 +32,7 @@ namespace PerfectWorld.Scripts.Managers { case int value when value == EC_MsgDef.MSG_PM_PLAYERINFO: { + Debug.Log(" EC_MsgDef.MSG_PM_PLAYERINFO"); OnMsgPlayerInfo(Msg); break; } @@ -74,6 +75,7 @@ namespace PerfectWorld.Scripts.Managers break; } case CommandID.SELF_INFO_1: + Debug.Log("SELF_INFO_1"); cmd_self_info_1 info = GPDataTypeHelper.FromBytes((byte[])Msg.dwParam1); HostPlayerInfo1(info); break; @@ -98,6 +100,7 @@ namespace PerfectWorld.Scripts.Managers public bool HostPlayerInfo1(cmd_self_info_1 info) { + Debug.Log("HostPlayerInfo1"); bool isDoneWorldRender = false; bool isDoneNPCRender = false; Action actLoadChar = () => diff --git a/Assets/PerfectWorld/Scripts/UI/Login/LoginScreenUI.cs b/Assets/PerfectWorld/Scripts/UI/Login/LoginScreenUI.cs index ffbabf085b..3576155fbd 100644 --- a/Assets/PerfectWorld/Scripts/UI/Login/LoginScreenUI.cs +++ b/Assets/PerfectWorld/Scripts/UI/Login/LoginScreenUI.cs @@ -85,7 +85,7 @@ namespace BrewMonster.UI { // now we have to enter the world - /* UnityGameSession.SendProtocol( + /*UnityGameSession.SendProtocol( new enterworld() { Roleid = roleInfo.roleid, @@ -97,11 +97,14 @@ namespace BrewMonster.UI Timeout = 0 } );*/ + Debug.Log("OnSelectRoleComplete"); UnityGameSession.EnterWorldAsync(roleInfo, OnEnterWorldComplete); } private async void OnEnterWorldComplete() { + Debug.Log("OnEnterWorldDelay"); + await Task.Delay(2000); Logger.Log("Entered world successfully."); UnityGameSession.RequestInventoryAsync(() => { Logger.Log("Sent Inventory Detail Request"); }); diff --git a/Assets/Scripts/Move/CECHostMove.cs b/Assets/Scripts/Move/CECHostMove.cs index 6e5c46b829..c2757ff1f4 100644 --- a/Assets/Scripts/Move/CECHostMove.cs +++ b/Assets/Scripts/Move/CECHostMove.cs @@ -62,13 +62,13 @@ public class CECHostMove return; } } + m_fMoveTime = 0.0f; m_CmdTimeCnt.Reset(); iMoveMode |= (int)MoveMode.GP_MOVE_DEAD; // HoangTODO: vCurPos c# unity khác với vCurPos của bên c++ kia - c2s_CmdPlayerMove(vCurPos, vCurPos, iTime/* MOVECMD_INTERVAL */, fSpeed, iMoveMode, m_wMoveStamp++); m_vLastSevPos = vCurPos;