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 );*/