mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
2c6bbb7124
commit
8580daa0a1
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