protected void PlayerOnline(GPlayer GetPlayer, GPlayer player, byte Session) { var Inventory = GetPlayer.Inventory; #region PlayerGetUserInfo player.Response.Write(new byte[] { 0x57, 0x01, Session }); player.Response.Write(GetPlayer.GetUID); player.Response.Write(GetPlayer.GetLoginInfo()); player.Response.Write(0); //guild points player.SendResponse(); #endregion #region PlayerGetCharacterInfo player.Response.Write(new byte[] { 0x5E, 0x01 }); player.Response.Write(GetPlayer.GetUID); player.Response.Write(Inventory.GetCharData()); #endregion #region PlayerGetToolbarInfo player.Response.Write(new byte[] { 0x56, 0x01, Session }); player.Response.Write(GetPlayer.GetUID); player.Response.Write(Inventory.GetEquipData()); #endregion #region PlayerGetStatisticsInfo player.Response.Write(new byte[] { 0x58, 0x01, Session }); player.Response.Write(GetPlayer.GetUID); player.Response.Write(GetPlayer.Statistic()); player.SendResponse(); #endregion #region PlayerGetGuildInfo player.Response.Write(new byte[] { 0x5D, 0x01 }); player.Response.WriteUInt64(GetPlayer.GetUID); player.Response.Write(GetPlayer.GetGuildInfo()); player.Response.Write(Tools.GetFixTime(GetPlayer.GuildInfo.Create_Date)); player.SendResponse(); #endregion //#region PlayerGetRecordInfo(Natural) //player.Response.Write(new byte[] { 0x5C, 0x01, 0x33, }); //player.Response.Write(GetPlayer.GetUID); //player.Response.Write(21); //player.Response.Write(JunkMapStatistic2); //player.SendResponse(); //#endregion //#region PlayerGetRecordInfo(GP) //player.Response.Write(new byte[] { 0x5C, 0x01, 0x34, }); //player.Response.Write(GetPlayer.GetUID); //player.Response.Write(21);//code //player.Response.Write(JunkMapStatistic2); //player.SendResponse(); //#endregion //#region PlayerGetInfoUnknown //player.Response.Write(new byte[] { 0x5B, 0x01, Session }); //player.Response.Write(GetPlayer.GetUID); //player.Response.WriteUInt16(0); //player.SendResponse(); //#endregion //#region PlayerTrophyInfo(Special) //player.Response.Write(new byte[] { 0x5A, 0x01, Session }); //player.Response.Write(GetPlayer.GetUID); //player.Response.Write(Inventory.ItemTrophySpecial.GetInfo()); //player.SendResponse(); //#endregion //#region PlayerTrophyInfo(N) //player.Response.Write(new byte[] { 0x59, 0x01, Session }); //player.Response.Write(GetPlayer.GetUID); //player.Response.Write(Inventory.ItemTrophies.GetTrophy()); //player.SendResponse(); //#endregion //#region PlayerRecordInfo(N) //player.Response.Write(new byte[] { 0x5C, 0x01, Session }); //player.Response.Write(GetPlayer.GetUID); //player.Response.Write(21); //player.Response.Write(JunkMapStatistic2); //player.SendResponse(); //#endregion //#region PlayerTrophyInfo(GP) //player.Response.Write(new byte[] { 0x57, 0x02, Session }); //player.Response.Write(GetPlayer.GetUID); //player.Response.Write(Inventory.ItemTrophyGP.GetInfo()); //player.SendResponse(); //#endregion #region PlayerResultInfo player.Response.Write(new byte[] { 0x89, 0x00, 0x01, 0x00, 0x00, 0x00, Session }); player.Response.Write(GetPlayer.GetUID); player.SendResponse(); #endregion }