remove random debug logs

This commit is contained in:
raphaeIl
2024-04-07 05:13:20 -04:00
parent 00060fb310
commit 2c58e87338
6 changed files with 3 additions and 30 deletions

View File

@@ -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();

View File

@@ -113,11 +113,7 @@ namespace BLHX.Server.Game.Handlers {
static void LevelUpHandler(Connection connection, Packet packet) {
var req = packet.Decode<Cs10992>();
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);
}
}

View File

@@ -35,10 +35,6 @@ namespace BLHX.Server.Game.Handlers {
static void BuildShipHandler(Connection connection, Packet packet) {
var req = packet.Decode<Cs12002>();
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(),

View File

@@ -9,14 +9,6 @@ namespace BLHX.Server.Game.Handlers {
static void UseFudaiItemHandler(Connection connection, Packet packet) {
var req = packet.Decode<Cs15002>();
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 = [],
});

View File

@@ -8,9 +8,6 @@ namespace BLHX.Server.Game.Handlers {
static void DormTrainShoppingHandler(Connection connection, Packet packet) {
var req = packet.Decode<Cs16001>();
Logger.c.Log("Id: " + req.Id);
Logger.c.Log("Number: " + req.Number);
connection.Send(new Sc16002() { });
}

View File

@@ -8,9 +8,6 @@ namespace BLHX.Server.Game.Handlers {
static void AddShipHandler(Connection connection, Packet packet) {
var req = packet.Decode<Cs19002>();
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<Cs19103>();
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
});
}
}