All pastes #463006 Raw Edit

Unnamed

public text v1 · immutable
#463006 ·published 2007-04-28 18:10 UTC
rendered paste body
int maxUsers = sWorld.GetMaxSessionCount();
	int Nuser = sWorld.GetSessionCount();
    std::string timeStr = secsToTimeString(sWorld.GetUptime(),true);
	char buf[256];
    sprintf((char*)buf,"Online users:%d (max:%d) Uptime:%s",Nuser,maxUsers,timeStr);
	        DEBUG_LOG( "2WORLD: Sent guild-signed-on (SMSG_GUILD_EVENT)" );
	sChatHandler.PSendSysMessage(this,buf);
/*	sChatHandler.FillSystemMessageData(&data, this,buf);	
	SendPacket( &data );*/