Add verbose debug logs to a variety of checks
These are high priority checks we really want to look at. I want to add more of these debug statements to all checks in Bouncer and other parts of GetDataHandlers, but I think this is good enough for now.
This commit is contained in:
parent
b76d906c59
commit
e9098d0e78
3 changed files with 27 additions and 2 deletions
|
|
@ -1487,7 +1487,7 @@ namespace TShockAPI
|
|||
|
||||
PacketTypes type = e.MsgID;
|
||||
|
||||
Debug.WriteLine("Recv: {0:X}: {2} ({1:XX})", e.Msg.whoAmI, (byte)type, type);
|
||||
Log.ConsoleDebug("Recv: {0:X}: {2} ({1:XX})", e.Msg.whoAmI, (byte)type, type);
|
||||
|
||||
var player = Players[e.Msg.whoAmI];
|
||||
if (player == null || !player.ConnectionAlive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue