MainNbEntities.patch

molator, 10/06/2010 06:39 pm

Download (1.3 kB)

b/code/ryzom/common/src/game_share/mirror.cpp Wed Oct 06 18:36:22 2010 +0200
2856 2856
	return true;
2857 2857
}
2858 2858

  
2859
NLMISC_CATEGORISED_DYNVARIABLE(mirror, sint32, MainNbEntities, "Number of online entities in dataset fe_temp" )
2859
NLMISC_CATEGORISED_DYNVARIABLE(mirror, sint32, GSMainNbEntities, "Number of online entities in dataset fe_temp" )
2860 2860
{
2861 2861
	// We can only read the value
2862 2862
	if ( get )
b/code/ryzom/server/src/mirror_service/mirror_service.cpp Wed Oct 06 18:37:08 2010 +0200
4005 4005
}
4006 4006

  
4007 4007

  
4008
static string MainNbEntities = "?";
4008
static string MSMainNbEntities = "?";
4009 4009

  
4010 4010
// This command must be here to prevent to compile the same one in mirror.cpp (which would crash)
4011
NLMISC_VARIABLE( string, MainNbEntities, "Not available on MS" );
4011
NLMISC_VARIABLE( string, MSMainNbEntities, "Not available on MS" );
4012 4012

  
4013 4013
NLMISC_DYNVARIABLE( float, EmittedKBPerSec, "Output rate for mirror deltas & messages" )
4014 4014
{