mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-16 20:24:39 -06:00
Compare commits
2 Commits
better-bit
...
fix-crash
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b541713c5d | ||
|
|
ce03feb11a |
2
build.sh
2
build.sh
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user