debug updates
This commit is contained in:
parent
ac8472e099
commit
f0e764e432
16
ttd.go
16
ttd.go
@ -776,7 +776,7 @@ func (s *ServerTTD) Initialize() {
|
||||
UpdateFrequency: AdminFrequencyDaily,
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateDate)")
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateDate)")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
@ -784,7 +784,7 @@ func (s *ServerTTD) Initialize() {
|
||||
UpdateFrequency: AdminFrequencyAutomatic,
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateClientInfo)")
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateClientInfo)")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
@ -792,15 +792,15 @@ func (s *ServerTTD) Initialize() {
|
||||
UpdateFrequency: AdminFrequencyAutomatic,
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyInfo)")
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateCompanyInfo)")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
UpdateType: AdminUpdateCompanyEconomy,
|
||||
UpdateFrequency: AdminFrequencyAutomatic,
|
||||
}
|
||||
//err = s.Send(px.Bytes())
|
||||
//logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyEconomy)")
|
||||
err = s.Send(px.Bytes())
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateCompanyEconomy)")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
@ -808,7 +808,7 @@ func (s *ServerTTD) Initialize() {
|
||||
UpdateFrequency: AdminFrequencyAutomatic,
|
||||
}
|
||||
//err = s.Send(px.Bytes())
|
||||
//logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)")
|
||||
//failError(err, "Server.Initialize() : Send(AdminUpdateCompanyStats)")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
@ -816,7 +816,7 @@ func (s *ServerTTD) Initialize() {
|
||||
UpdateFrequency: AdminFrequencyAutomatic,
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateChat)")
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateChat)")
|
||||
|
||||
px = PacketAdminUpdateFrequency{
|
||||
Packet: Packet{PType: AdminPacketAdminUpdateFrequency},
|
||||
@ -824,7 +824,7 @@ func (s *ServerTTD) Initialize() {
|
||||
UpdateFrequency: AdminFrequencyAutomatic,
|
||||
}
|
||||
err = s.Send(px.Bytes())
|
||||
logErrorDebug(err, "Server.Initialize() : Send(AdminUpdateConsole)")
|
||||
failError(err, "Server.Initialize() : Send(AdminUpdateConsole)")
|
||||
|
||||
s.Status.Initialized = true
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "1084a32"
|
||||
var buildstamp = "2021-12-04_08:15:33"
|
||||
var commits = "215"
|
||||
var version = "1084a32-b215 - 2021-12-04_08:15:33"
|
||||
var githash = "ac8472e"
|
||||
var buildstamp = "2021-12-04_08:19:26"
|
||||
var commits = "216"
|
||||
var version = "ac8472e-b216 - 2021-12-04_08:19:26"
|
||||
|
Loading…
Reference in New Issue
Block a user