mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-12 22:44:36 +01:00
remove random debug logs
This commit is contained in:
@@ -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(1, 938493849);
|
||||||
connection.player.DoResource(4, 39843294);
|
connection.player.DoResource(4, 39843294);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DBManager.PlayerContext.Save();
|
DBManager.PlayerContext.Save();
|
||||||
connection.NotifyPlayerData();
|
connection.NotifyPlayerData();
|
||||||
connection.NotifyBagData();
|
connection.NotifyBagData();
|
||||||
|
|||||||
@@ -113,11 +113,7 @@ namespace BLHX.Server.Game.Handlers {
|
|||||||
static void LevelUpHandler(Connection connection, Packet packet) {
|
static void LevelUpHandler(Connection connection, Packet packet) {
|
||||||
var req = packet.Decode<Cs10992>();
|
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,10 +35,6 @@ namespace BLHX.Server.Game.Handlers {
|
|||||||
static void BuildShipHandler(Connection connection, Packet packet) {
|
static void BuildShipHandler(Connection connection, Packet packet) {
|
||||||
var req = packet.Decode<Cs12002>();
|
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
|
// Id: gacha banner id
|
||||||
// Count: number of batch builds
|
// Count: number of batch builds
|
||||||
// cost type: 1 wisdom cube + 1500 coin for each gacha i guess?
|
// 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) {
|
public static void NotifyBuildShipData(this Connection connection) {
|
||||||
Logger.c.Log("NotifyBuildShipData");
|
|
||||||
|
|
||||||
connection.Send(new Sc12024() {
|
connection.Send(new Sc12024() {
|
||||||
WorklistCount = 1,
|
WorklistCount = 1,
|
||||||
WorklistLists = BuildManager.Instance.ToBuildInfoes(),
|
WorklistLists = BuildManager.Instance.ToBuildInfoes(),
|
||||||
|
|||||||
@@ -9,14 +9,6 @@ namespace BLHX.Server.Game.Handlers {
|
|||||||
static void UseFudaiItemHandler(Connection connection, Packet packet) {
|
static void UseFudaiItemHandler(Connection connection, Packet packet) {
|
||||||
var req = packet.Decode<Cs15002>();
|
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() {
|
connection.Send(new Sc15003() {
|
||||||
DropLists = [],
|
DropLists = [],
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -8,9 +8,6 @@ namespace BLHX.Server.Game.Handlers {
|
|||||||
static void DormTrainShoppingHandler(Connection connection, Packet packet) {
|
static void DormTrainShoppingHandler(Connection connection, Packet packet) {
|
||||||
var req = packet.Decode<Cs16001>();
|
var req = packet.Decode<Cs16001>();
|
||||||
|
|
||||||
Logger.c.Log("Id: " + req.Id);
|
|
||||||
Logger.c.Log("Number: " + req.Number);
|
|
||||||
|
|
||||||
connection.Send(new Sc16002() { });
|
connection.Send(new Sc16002() { });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,6 @@ namespace BLHX.Server.Game.Handlers {
|
|||||||
static void AddShipHandler(Connection connection, Packet packet) {
|
static void AddShipHandler(Connection connection, Packet packet) {
|
||||||
var req = packet.Decode<Cs19002>();
|
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() {});
|
||||||
connection.Send(new Sc19003() {});
|
connection.Send(new Sc19003() {});
|
||||||
}
|
}
|
||||||
@@ -26,13 +23,11 @@ namespace BLHX.Server.Game.Handlers {
|
|||||||
static void GetOSSArgsHandler(Connection connection, Packet packet) {
|
static void GetOSSArgsHandler(Connection connection, Packet packet) {
|
||||||
var req = packet.Decode<Cs19103>();
|
var req = packet.Decode<Cs19103>();
|
||||||
|
|
||||||
Logger.c.Log("Typ: " + req.Typ);
|
|
||||||
|
|
||||||
connection.Send(new Sc19104() {
|
connection.Send(new Sc19104() {
|
||||||
AccessId = "1",
|
AccessId = "1",
|
||||||
AccessSecret = "1",
|
AccessSecret = "1",
|
||||||
ExpireTime = (uint)new DateTimeOffset(DateTime.Now.AddDays(31)).ToUnixTimeSeconds(),
|
ExpireTime = (uint)new DateTimeOffset(DateTime.Now.AddDays(31)).ToUnixTimeSeconds(),
|
||||||
SecurityToken = "3874839"
|
SecurityToken = "3874839" // idk what this is so i put a random as token
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user