diff --git a/BLHX.Server.Game/Commands/ItemCommand.cs b/BLHX.Server.Game/Commands/ItemCommand.cs index f05345c..f7c2c80 100644 --- a/BLHX.Server.Game/Commands/ItemCommand.cs +++ b/BLHX.Server.Game/Commands/ItemCommand.cs @@ -46,11 +46,10 @@ namespace BLHX.Server.Game.Commands { // } //} + // code above prob doesn't work yet too lazy to implement, for now this cmd just adds a lot of coins and gems, prob need a inventory manager or something in the future connection.player.DoResource(1, 938493849); connection.player.DoResource(4, 39843294); - - DBManager.PlayerContext.Save(); connection.NotifyPlayerData(); connection.NotifyBagData(); diff --git a/BLHX.Server.Game/Handlers/P10.cs b/BLHX.Server.Game/Handlers/P10.cs index c27107e..f1cec70 100644 --- a/BLHX.Server.Game/Handlers/P10.cs +++ b/BLHX.Server.Game/Handlers/P10.cs @@ -113,11 +113,7 @@ namespace BLHX.Server.Game.Handlers { static void LevelUpHandler(Connection connection, Packet packet) { var req = packet.Decode(); - Logger.c.Log("TrackType: " + req.TrackType); - Logger.c.Log("EventId: " + req.EventId); - Logger.c.Log("Para1: " + req.Para1); - Logger.c.Log("Para2: " + req.Para2); - Logger.c.Log("Para3: " + req.Para3); + } } diff --git a/BLHX.Server.Game/Handlers/P12.cs b/BLHX.Server.Game/Handlers/P12.cs index f726bb1..2e0cdc0 100644 --- a/BLHX.Server.Game/Handlers/P12.cs +++ b/BLHX.Server.Game/Handlers/P12.cs @@ -35,10 +35,6 @@ namespace BLHX.Server.Game.Handlers { static void BuildShipHandler(Connection connection, Packet packet) { var req = packet.Decode(); - Logger.c.Log("Id: " + req.Id); - Logger.c.Log("Cost Type: " + req.Costtype); - Logger.c.Log("Count: " + req.Count); - // Id: gacha banner id // Count: number of batch builds // cost type: 1 wisdom cube + 1500 coin for each gacha i guess? @@ -113,8 +109,6 @@ namespace BLHX.Server.Game.Handlers { } public static void NotifyBuildShipData(this Connection connection) { - Logger.c.Log("NotifyBuildShipData"); - connection.Send(new Sc12024() { WorklistCount = 1, WorklistLists = BuildManager.Instance.ToBuildInfoes(), diff --git a/BLHX.Server.Game/Handlers/P15.cs b/BLHX.Server.Game/Handlers/P15.cs index fc5da8e..350446e 100644 --- a/BLHX.Server.Game/Handlers/P15.cs +++ b/BLHX.Server.Game/Handlers/P15.cs @@ -9,14 +9,6 @@ namespace BLHX.Server.Game.Handlers { static void UseFudaiItemHandler(Connection connection, Packet packet) { var req = packet.Decode(); - Logger.c.Log("Arg: "); - - foreach (var arg in req.Args) - Logger.c.Log(arg + ""); - - Logger.c.Log(req.Count + ""); - Logger.c.Log(req.Id + ""); - connection.Send(new Sc15003() { DropLists = [], }); diff --git a/BLHX.Server.Game/Handlers/P16.cs b/BLHX.Server.Game/Handlers/P16.cs index 84d8de8..a9a61f6 100644 --- a/BLHX.Server.Game/Handlers/P16.cs +++ b/BLHX.Server.Game/Handlers/P16.cs @@ -8,9 +8,6 @@ namespace BLHX.Server.Game.Handlers { static void DormTrainShoppingHandler(Connection connection, Packet packet) { var req = packet.Decode(); - Logger.c.Log("Id: " + req.Id); - Logger.c.Log("Number: " + req.Number); - connection.Send(new Sc16002() { }); } diff --git a/BLHX.Server.Game/Handlers/P19.cs b/BLHX.Server.Game/Handlers/P19.cs index 5ce0759..842bc17 100644 --- a/BLHX.Server.Game/Handlers/P19.cs +++ b/BLHX.Server.Game/Handlers/P19.cs @@ -8,9 +8,6 @@ namespace BLHX.Server.Game.Handlers { static void AddShipHandler(Connection connection, Packet packet) { var req = packet.Decode(); - Logger.c.Log("ShipId: " + req.ShipId); - Logger.c.Log("Type: " + req.Type); - connection.Send(new Sc19003() {}); connection.Send(new Sc19003() {}); } @@ -26,13 +23,11 @@ namespace BLHX.Server.Game.Handlers { static void GetOSSArgsHandler(Connection connection, Packet packet) { var req = packet.Decode(); - Logger.c.Log("Typ: " + req.Typ); - connection.Send(new Sc19104() { AccessId = "1", AccessSecret = "1", ExpireTime = (uint)new DateTimeOffset(DateTime.Now.AddDays(31)).ToUnixTimeSeconds(), - SecurityToken = "3874839" + SecurityToken = "3874839" // idk what this is so i put a random as token }); } }