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:
Lucas Nicodemus 2020-05-19 22:04:37 -07:00
parent b76d906c59
commit e9098d0e78
No known key found for this signature in database
GPG key ID: A07BD9023D1664DB
3 changed files with 27 additions and 2 deletions

View file

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