This commit is contained in:
Starystars67
2020-02-04 17:29:15 +00:00
2 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ bool Debug = false;
void addToLog(basic_string<char> Data);
void HeartbeatInit();
int Port = 30814;
int MaxClients = 10;
int MaxPlayers = 10;
string MapName = "levels/gridmap/level.json";
string ServerName = "BeamNG-MP FTW";
@@ -32,14 +32,14 @@ int main() {
DebugData(); //Prints Debug Data
}
setLoggerLevel("ALL");
ServerMain(Port, MaxClients);
ServerMain(Port, MaxPlayers);
}
void DebugData(){
cout << "Debug : true" << "\n";
cout << "Port : " << Port << "\n";
cout << "MaxPlayers : " << MaxClients << "\n";
cout << "MaxPlayers : " << MaxPlayers << "\n";
cout << "MapName : " << MapName << "\n";
cout << "ServerName : " << ServerName << "\n";
}
@@ -49,7 +49,7 @@ void SetMainValues(bool D, int P,int MP,string Name,string serverName){
Port = P;
MapName = Name;
ServerName = serverName;
MaxClients = MP;
MaxPlayers = MP;
}
void LogInit(){