[Server] Configuration Issues Checker (LAN Detection) (#2283)

* LAN detect

* Add more checks, consolidate logic

* Tweaks

* Tweaks

* Update world_config.cpp

* Tweak logic

* Add DNS resolution

* Delete task runner after being used

* JSON path notation adjust
This commit is contained in:
Chris Miles
2022-07-06 22:01:58 -05:00
committed by GitHub
parent eca4eed996
commit 67f5759e47
7 changed files with 395 additions and 9 deletions
+3
View File
@@ -104,6 +104,7 @@ union semun {
#include "world_store.h"
#include "world_event_scheduler.h"
#include "shared_task_manager.h"
#include "../common/ip_util.h"
WorldStore world_store;
ClientList client_list;
@@ -634,6 +635,8 @@ int main(int argc, char **argv)
}
);
WorldConfig::CheckForPossibleConfigurationIssues();
EQStreamManagerInterfaceOptions opts(9000, false, false);
opts.daybreak_options.resend_delay_ms = RuleI(Network, ResendDelayBaseMS);
opts.daybreak_options.resend_delay_factor = RuleR(Network, ResendDelayFactor);