From 8c161271157e98e6bb0287d9aa5c190df49c4f19 Mon Sep 17 00:00:00 2001 From: Matthew Day Date: Wed, 8 Dec 2021 23:31:58 -0600 Subject: [PATCH 1/2] Fix spelling --- dChatServer/ChatPacketHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dChatServer/ChatPacketHandler.cpp b/dChatServer/ChatPacketHandler.cpp index 060c53d6..057a6568 100644 --- a/dChatServer/ChatPacketHandler.cpp +++ b/dChatServer/ChatPacketHandler.cpp @@ -460,7 +460,7 @@ void ChatPacketHandler::HandleTeamPromote(Packet* packet) std::string promotedPlayer = PacketUtils::ReadString(0x14, packet, true); - Game::logger->Log("ChatPacketHandler", "(%llu) promiting (%s) to team leader\n", playerID, promotedPlayer.c_str()); + Game::logger->Log("ChatPacketHandler", "(%llu) promoting (%s) to team leader\n", playerID, promotedPlayer.c_str()); auto* promoted = playerContainer.GetPlayerData(promotedPlayer); From 50512cdef88b0cfb256e25a5fc4f4fd4690c39e7 Mon Sep 17 00:00:00 2001 From: Matthew Day Date: Thu, 9 Dec 2021 03:17:08 -0600 Subject: [PATCH 2/2] Fix spelling --- dGame/dComponents/InventoryComponent.cpp | 2 +- dGame/dComponents/RacingControlComponent.cpp | 4 ++-- dGame/dInventory/Inventory.cpp | 2 +- dScripts/BossSpiderQueenEnemyServer.cpp | 2 +- dScripts/ImgBrickConsoleQB.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dGame/dComponents/InventoryComponent.cpp b/dGame/dComponents/InventoryComponent.cpp index ffd40ed7..50ea26b1 100644 --- a/dGame/dComponents/InventoryComponent.cpp +++ b/dGame/dComponents/InventoryComponent.cpp @@ -296,7 +296,7 @@ void InventoryComponent::RemoveItem(const LOT lot, const uint32_t count, eInvent { if (count == 0) { - Game::logger->Log("InventoryComponent", "Attempted to remove 0 of item (%i) to the inventory!\n", lot); + Game::logger->Log("InventoryComponent", "Attempted to remove 0 of item (%i) from the inventory!\n", lot); return; } diff --git a/dGame/dComponents/RacingControlComponent.cpp b/dGame/dComponents/RacingControlComponent.cpp index a882f314..e7fd02c8 100644 --- a/dGame/dComponents/RacingControlComponent.cpp +++ b/dGame/dComponents/RacingControlComponent.cpp @@ -718,7 +718,7 @@ void RacingControlComponent::Update(float deltaTime) { m_Started = true; - Game::logger->Log("RacingControlComponent", "Starting rase\n"); + Game::logger->Log("RacingControlComponent", "Starting race\n"); EntityManager::Instance()->SerializeEntity(m_Parent); @@ -871,7 +871,7 @@ void RacingControlComponent::Update(float deltaTime) { } Game::logger->Log("RacingControlComponent", - "Rached point (%i)/(%i)\n", player.respawnIndex, + "Reached point (%i)/(%i)\n", player.respawnIndex, path->pathWaypoints.size()); break; diff --git a/dGame/dInventory/Inventory.cpp b/dGame/dInventory/Inventory.cpp index 75d4c586..b77be4b2 100644 --- a/dGame/dInventory/Inventory.cpp +++ b/dGame/dInventory/Inventory.cpp @@ -237,7 +237,7 @@ void Inventory::AddManagedItem(Item* item) if (slots.find(slot) != slots.end()) { - Game::logger->Log("Inventory", "Attempting to add an item with and already present slot (%i)!\n", slot); + Game::logger->Log("Inventory", "Attempting to add an item with an already present slot (%i)!\n", slot); return; } diff --git a/dScripts/BossSpiderQueenEnemyServer.cpp b/dScripts/BossSpiderQueenEnemyServer.cpp index 0b44f4ac..9896fd45 100644 --- a/dScripts/BossSpiderQueenEnemyServer.cpp +++ b/dScripts/BossSpiderQueenEnemyServer.cpp @@ -243,7 +243,7 @@ void BossSpiderQueenEnemyServer::SpiderWaveManager(Entity* self) { // Prep the selected spider egg //randomEgg:FireEvent{s}erID=self, args="prepEgg"} eggEntity->OnFireEventServerSide(self, "prepEgg"); - Game::logger->Log("SpiderQueen", "Preppign egg %llu\n", eggEntity->GetObjectID()); + Game::logger->Log("SpiderQueen", "Prepping egg %llu\n", eggEntity->GetObjectID()); // Add the prepped egg to our hatchList hatchList.push_back(eggEntity->GetObjectID()); diff --git a/dScripts/ImgBrickConsoleQB.cpp b/dScripts/ImgBrickConsoleQB.cpp index afa320c2..b24cb9bf 100644 --- a/dScripts/ImgBrickConsoleQB.cpp +++ b/dScripts/ImgBrickConsoleQB.cpp @@ -275,7 +275,7 @@ void ImgBrickConsoleQB::OnTimerDone(Entity* self, std::string timerName) { if (timerName == "reset") { - Game::logger->Log("ImgBrickConsoleQB", "Reseting...\n"); + Game::logger->Log("ImgBrickConsoleQB", "Resetting...\n"); auto* rebuildComponent = self->GetComponent();