Server: Fix bugs

This commit is contained in:
David Markowitz
2023-10-06 02:54:59 -07:00
parent e10351bde6
commit 1847d03c7b
4 changed files with 53 additions and 4 deletions

View File

@@ -434,6 +434,7 @@ int main(int argc, char** argv) {
for (uint32_t curPacket = 0; curPacket < maxPacketsToProcess && timeSpent < maxPacketProcessingTime; curPacket++) {
packet = Game::server->Receive();
if (packet) {
Game::logger->Log("WorldServer", "packet sysAddr %s", packet->systemAddress.ToString());
auto t1 = std::chrono::high_resolution_clock::now();
HandlePacket(packet);
auto t2 = std::chrono::high_resolution_clock::now();