- add hash function

- add password config
- add debug messages for password stages
- add pass boolean for heartbeat
- adjust network codes
This commit is contained in:
Anonymous275 authored and Simon committed 2023-01-15 17:12:35 +00:00
1 parent 6a11bcd20b
commit 9f59c27b1f
5 files changed
+37 -2

No files matched your search

+2 -1
View File
@@ -149,7 +149,8 @@ std::string THeartbeatThread::GenerateCall() {
<< "&modstotalsize=" << mResourceManager.MaxModSize()
<< "&modstotal=" << mResourceManager.ModsLoaded()
<< "&playerslist=" << GetPlayers()
<< "&desc=" << Application::Settings.ServerDesc;
<< "&desc=" << Application::Settings.ServerDesc
<< "&pass=" << (Application::Settings.Password.empty() ? "false" : "true");
return Ret.str();
}
THeartbeatThread::THeartbeatThread(TResourceManager& ResourceManager, TServer& Server)