mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Initial concept for CDClient rework.
Utilizes `boost::interprocess` to share a map between worlds. The master server loads the table into memory, and the worlds hook into it when they want to get an entry. This solves the issue of skill delay, but introduces the third-party library Boost. There should be a conversation about the introduction of Boost — it is a large library and adds extra steps to the installation.
This commit is contained in:
@@ -218,6 +218,8 @@ int main(int argc, char** argv) {
|
||||
ObjectIDManager::Instance()->Initialize(Game::logger);
|
||||
Game::im = new InstanceManager(Game::logger, Game::server->GetIP());
|
||||
|
||||
CDBehaviorParameterTable::CreateSharedMap();
|
||||
|
||||
//Depending on the config, start up servers:
|
||||
if (config.GetValue("prestart_servers") != "" && config.GetValue("prestart_servers") == "1") {
|
||||
StartChatServer();
|
||||
|
Reference in New Issue
Block a user