Changed: Minor changes
This commit is contained in:
parent
9a540379d7
commit
ac0bbd0cad
1 changed files with 3 additions and 0 deletions
|
@ -1233,16 +1233,19 @@ void CPlayerService::initConfigFileVars()
|
||||||
MaxNbNpcSpawnedByEGS = varMaxNbNpcSpawnedByEGS->asInt();
|
MaxNbNpcSpawnedByEGS = varMaxNbNpcSpawnedByEGS->asInt();
|
||||||
else
|
else
|
||||||
MaxNbNpcSpawnedByEGS = 50;
|
MaxNbNpcSpawnedByEGS = 50;
|
||||||
|
|
||||||
CConfigFile::CVar *varMaxNbForageSources = ConfigFile.getVarPtr("NbForageSourcesLimit");
|
CConfigFile::CVar *varMaxNbForageSources = ConfigFile.getVarPtr("NbForageSourcesLimit");
|
||||||
if ( varMaxNbForageSources )
|
if ( varMaxNbForageSources )
|
||||||
MaxNbForageSources = varMaxNbForageSources->asInt();
|
MaxNbForageSources = varMaxNbForageSources->asInt();
|
||||||
else
|
else
|
||||||
MaxNbForageSources = 2000;
|
MaxNbForageSources = 2000;
|
||||||
|
|
||||||
CConfigFile::CVar *varMaxNbToxicClouds = ConfigFile.getVarPtr("NbToxicCloudsLimit");
|
CConfigFile::CVar *varMaxNbToxicClouds = ConfigFile.getVarPtr("NbToxicCloudsLimit");
|
||||||
if ( varMaxNbToxicClouds )
|
if ( varMaxNbToxicClouds )
|
||||||
MaxNbToxicClouds = varMaxNbToxicClouds->asInt();
|
MaxNbToxicClouds = varMaxNbToxicClouds->asInt();
|
||||||
else
|
else
|
||||||
MaxNbToxicClouds = 1000;
|
MaxNbToxicClouds = 1000;
|
||||||
|
|
||||||
nlinfo( "NbPlayersLimit=%u NbObjectsLimit=%u NbNpcSpawnedByEGSLimit=%u NbForageSourcesLimit=%u NbToxicCloudsLimit=%u NbGuildLimit=%u", MaxNbPlayers, MaxNbObjects, MaxNbNpcSpawnedByEGS, MaxNbForageSources, MaxNbToxicClouds, MaxNbGuilds );
|
nlinfo( "NbPlayersLimit=%u NbObjectsLimit=%u NbNpcSpawnedByEGSLimit=%u NbForageSourcesLimit=%u NbToxicCloudsLimit=%u NbGuildLimit=%u", MaxNbPlayers, MaxNbObjects, MaxNbNpcSpawnedByEGS, MaxNbForageSources, MaxNbToxicClouds, MaxNbGuilds );
|
||||||
|
|
||||||
CConfigFile::CVar *varExportDepositContents = ConfigFile.getVarPtr("ExportDepositContents");
|
CConfigFile::CVar *varExportDepositContents = ConfigFile.getVarPtr("ExportDepositContents");
|
||||||
|
|
Loading…
Reference in a new issue