CVariable<uint32>TimeBeforeAutoCloseAnimationSessionWithNoPlayer("DSS","TimeBeforeAutoCloseAnimationSessionWithNoPlayer","Delay in secondes before a empty animation session is closed",15*60,0,true);
CVariable<uint32>TimeBeforeAutoCloseAnimationSessionWithNoPlayer("DSS","TimeBeforeAutoCloseAnimationSessionWithNoPlayer","Delay in secondes before a empty animation session is closed",15*60,0,true);
CVariable<std::string>DefaultCharRingAccess("DSS","DefaultCharRingAccess","Default Access Ring for player eg 'f1:j1:l1:d1:p1:g1:a1:'","a1",0,true);
CVariable<std::string>DefaultCharRingAccess("DSS","DefaultCharRingAccess","Default Access Ring for player eg 'f1:j1:l1:d1:p1:g1:a1:'","a1",0,true);
CVariable<bool>DontUseSU("DSS","DontUseSU","Simulate the SU",false,0,true);
CVariable<bool>DontUseSU("DSS","DontUseSU","If 1, allow running a shard with no Shard Unifier Service",false,0,true);
@ -97,7 +97,8 @@ void cbOnSaveShardRootModified( NLMISC::IVariable& var )
}
}
CVariable<string>SaveShardRoot2("variables","SaveShardRoot2","Root directory of all saved data by any shard","/home/nevrax/save_shard",0,true,cbOnSaveShardRootModified);// (SaveShardRoot from game_share/backup_service_interface.cpp is not instanciated because nothing is used from that file)
// (SaveShardRoot from game_share/backup_service_interface.cpp is not instanciated because nothing is used from that file)
@ -169,7 +169,8 @@ void cbOnSaveShardRootModified( NLMISC::IVariable& var )
}
}
CVariable<string>IncrementalBackupDirectory("backup","IncrementalBackupDirectory","Directory to find incremental backuped archives","",0,true);
CVariable<string>IncrementalBackupDirectory("backup","IncrementalBackupDirectory","Directory to find incremental backuped archives","",0,true);
CVariable<string>SaveShardRoot("backup","SaveShardRoot","Root directory of all saved data by BS","/home/nevrax/save_shard",0,true,cbOnSaveShardRootModified);// (SaveShardRoot from game_share/backup_service_interface.cpp is not instanciated because the nothing is used from that file)
// (SaveShardRoot from game_share/backup_service_interface.cpp is not instanciated because the nothing is used from that file)
externCVariable<string>SaveShardRoot;
CVariable<string>SaveTemplatePath("backup","SaveTemplatePath","Directory to find saves (with shard and account replacement strings)","$shard/characters/account_$userid_$charid$ext",0,true);
CVariable<string>SaveTemplatePath("backup","SaveTemplatePath","Directory to find saves (with shard and account replacement strings)","$shard/characters/account_$userid_$charid$ext",0,true);
CVariable<string>SaveExtList("backup","SaveExtList","List of possible extensions for save files (space separated)","_pdr.bin _pdr.xml .bin",0,true);
CVariable<string>SaveExtList("backup","SaveExtList","List of possible extensions for save files (space separated)","_pdr.bin _pdr.xml .bin",0,true);
CVariable<bool>DontUseSU( "su","DontUseSU","If 1, allow running a shard with no Shard Unifier Service",0,0,1);
externCVariable<bool>DontUseSU;
CVariable<bool>SimulateCharacterHasEditSession("su","SimulateCharacterHasEditSession","If 1 simulate that character have alreay an edition sessiion",0,0,1);
CVariable<bool>SimulateCharacterHasEditSession("su","SimulateCharacterHasEditSession","If 1 simulate that character have alreay an edition sessiion",0,0,1);