Final Commit v1.20

This commit is contained in:
Anonymous275
2020-12-22 00:25:55 +02:00
parent f94252d37b
commit ef8f8645f7
5 changed files with 41 additions and 30 deletions

View File

@@ -135,18 +135,20 @@ void Default() {
_Exit(0);
}
void DebugData() {
debug(std::string(("Debug : ")) + (Debug ? "true" : "false"));
debug(std::string(("Private : ")) + (Private ? "true" : "false"));
debug(("Port : ") + std::to_string(Port));
debug(("Max Cars : ") + std::to_string(MaxCars));
debug(("MaxPlayers : ") + std::to_string(MaxPlayers));
debug(("MapName : ") + MapName);
debug(("ServerName : ") + ServerName);
debug(("ServerDesc : ") + ServerDesc);
debug(("File : ") + Resource);
debug(("Key length: ") + std::to_string(Key.length()));
debug(std::string("Debug : ") + (Debug ? "true" : "false"));
debug(std::string("Private : ") + (Private ? "true" : "false"));
debug("Port : " + std::to_string(Port));
debug("Max Cars : " + std::to_string(MaxCars));
debug("MaxPlayers : " + std::to_string(MaxPlayers));
debug("MapName : " + MapName);
debug("ServerName : " + ServerName);
debug("ServerDesc : " + ServerDesc);
debug("File : " + Resource);
debug("Key length: " + std::to_string(Key.length()));
}
void InitConfig() {
////TODO: Move to json after update 4
std::ifstream IFS;
IFS.open(("Server.cfg"));
if (IFS.good())

View File

@@ -16,7 +16,7 @@ std::string GetSVer() {
return "1.20";
}
std::string GetCVer() {
return "1.72";
return "1.80";
}
void Args(int argc, char* argv[]) {
info("BeamMP Server Running version " + GetSVer());