DarkflameServer/dChatServer
David Markowitz b7341c8106
Resolve warnings, change config init order and remove unused Game variables for all servers (#877)
* Resolve warnings and change init order

Initialize dConfig first, before logger so we know whether or not to log to console
Initialize namespace Game variables to nullptr so they are a known value if accessed before initialization.
Removed unused Game variables
Replaced config with a pointer instead of referencing something on the stack.
Assign return values to system calls to silence warnings.

Tested that the server still compiles, runs and allows me to load into the game.

* Only start Master of config files exist

Also default the logging to console to on on the off chance the files exist but are wrong / corrupted.
2022-12-15 08:13:49 -06:00
..
ChatPacketHandler.cpp Fix chat message reads (#817) 2022-11-04 12:28:19 -07:00
ChatPacketHandler.h Friends List Overhaul (#630) v103 2022-07-12 20:36:06 -07:00
ChatServer.cpp Resolve warnings, change config init order and remove unused Game variables for all servers (#877) 2022-12-15 08:13:49 -06:00
CMakeLists.txt Implement GTest and change windows output path 2022-11-07 00:12:35 -08:00
PlayerContainer.cpp use UTF8ToUTF16 more (#695) 2022-08-02 08:56:20 -05:00
PlayerContainer.h format codebase 2022-07-28 08:39:57 -05:00