less debug
This commit is contained in:
parent
f56d25e76d
commit
3194cb33db
4
ttd.go
4
ttd.go
@ -232,7 +232,7 @@ func (s *ServerTTD) Poll(stop chan struct{}) {
|
|||||||
Packet: p,
|
Packet: p,
|
||||||
}
|
}
|
||||||
sp.Read(buffer[:p.PLength])
|
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{
|
clt := &ClientTTD{
|
||||||
ClientID: sp.ClientID,
|
ClientID: sp.ClientID,
|
||||||
CompanyID: 255,
|
CompanyID: 255,
|
||||||
@ -328,7 +328,7 @@ func (s *ServerTTD) Poll(stop chan struct{}) {
|
|||||||
Packet: p,
|
Packet: p,
|
||||||
}
|
}
|
||||||
sp.Read(buffer[:p.PLength])
|
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{
|
c := &CompanyTTD{
|
||||||
CompanyID: sp.CompanyID,
|
CompanyID: sp.CompanyID,
|
||||||
FirstSeen: time.Now(),
|
FirstSeen: time.Now(),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||||
package main
|
package main
|
||||||
var githash = "2215691"
|
var githash = "f56d25e"
|
||||||
var buildstamp = "2021-11-07_12:27:18"
|
var buildstamp = "2021-11-07_12:29:05"
|
||||||
var commits = "166"
|
var commits = "167"
|
||||||
var version = "2215691-b166 - 2021-11-07_12:27:18"
|
var version = "f56d25e-b167 - 2021-11-07_12:29:05"
|
||||||
|
Loading…
Reference in New Issue
Block a user