From 3194cb33dbda5693e6a23532eb4511ea782babee Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 7 Nov 2021 20:29:20 +0800 Subject: [PATCH] less debug --- ttd.go | 4 ++-- version.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ttd.go b/ttd.go index c98b481..af267a5 100644 --- a/ttd.go +++ b/ttd.go @@ -232,7 +232,7 @@ func (s *ServerTTD) Poll(stop chan struct{}) { Packet: p, } sp.Read(buffer[:p.PLength]) - logInfoDebug("Server.Poll() : AdminPacketServerClientInfo :\n- ClientID: %d\n- Address: %s\n- Name: %s\n- Lang: %d\n- Date: %d\n- CompanyID: %d", sp.ClientID, sp.Address, sp.Name, sp.Lang, sp.Date, sp.CompanyID) + //logInfoDebug("Server.Poll() : AdminPacketServerClientInfo :\n- ClientID: %d\n- Address: %s\n- Name: %s\n- Lang: %d\n- Date: %d\n- CompanyID: %d", sp.ClientID, sp.Address, sp.Name, sp.Lang, sp.Date, sp.CompanyID) clt := &ClientTTD{ ClientID: sp.ClientID, CompanyID: 255, @@ -328,7 +328,7 @@ func (s *ServerTTD) Poll(stop chan struct{}) { Packet: p, } sp.Read(buffer[:p.PLength]) - logInfoDebug("Server.Poll() : PacketServerCompanyInfo :\n- CompanyID: %d\n- Name: %s\n- President: %s\n- Protected: %t\n- Inauguration: %d\n- AI: %t", sp.CompanyID, sp.Name, sp.President, sp.Protected, sp.Inauguration, sp.AI) + //logInfoDebug("Server.Poll() : PacketServerCompanyInfo :\n- CompanyID: %d\n- Name: %s\n- President: %s\n- Protected: %t\n- Inauguration: %d\n- AI: %t", sp.CompanyID, sp.Name, sp.President, sp.Protected, sp.Inauguration, sp.AI) c := &CompanyTTD{ CompanyID: sp.CompanyID, FirstSeen: time.Now(), diff --git a/version.go b/version.go index c9a3418..515a238 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "2215691" -var buildstamp = "2021-11-07_12:27:18" -var commits = "166" -var version = "2215691-b166 - 2021-11-07_12:27:18" +var githash = "f56d25e" +var buildstamp = "2021-11-07_12:29:05" +var commits = "167" +var version = "f56d25e-b167 - 2021-11-07_12:29:05"