Compare commits

...

2 Commits

Author SHA1 Message Date
EmosewaMC
b541713c5d Dont preemptively delete objects
Let finalizeShutdown take care of it
2023-01-16 18:42:37 -08:00
EmosewaMC
ce03feb11a f 2023-01-14 18:18:25 -08:00
3 changed files with 3 additions and 5 deletions

View File

@@ -9,5 +9,5 @@ cd build
cmake ..
# To build utilizing multiple cores, append `-j` and the amount of cores to utilize, for example `cmake --build . --config Release -j8'
cmake --build . --config Release
cmake --build . --config Release -j4

View File

@@ -375,7 +375,7 @@ void Entity::Initialize() {
comp->SetIsSmashable(destCompData[0].isSmashable);
comp->SetLootMatrixID(destCompData[0].LootMatrixIndex);
Game::logger->Log("Entity", "%i %i %f", destCompData[0].life, destCompData[0].imagination, destCompData[0].armor);
// Now get currency information
uint32_t npcMinLevel = destCompData[0].level;
uint32_t currencyIndex = destCompData[0].CurrencyIndex;

View File

@@ -248,8 +248,6 @@ int main(int argc, char** argv) {
std::cout << "Account created successfully!\n";
Database::Destroy("MasterServer");
delete Game::logger;
return EXIT_SUCCESS;
}
@@ -297,7 +295,7 @@ int main(int argc, char** argv) {
StartChatServer();
Game::im->GetInstance(0, false, 0);
Game::im->GetInstance(1000, false, 0);
Game::im->GetInstance(1800, false, 0);
StartAuthServer();
}