- 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
2022-12-21 22:26:45 +00:00
committed by Simon
parent 6a11bcd20b
commit 9f59c27b1f
5 changed files with 37 additions and 2 deletions

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)