Community AlphaAlpha MUADMINS
ESEspañol
Iniciar sesión
En MuADMINSConfig ScannerSube el zip de tus archivos: rates, drops, spots, límitesAbrirEn MuADMINSEncuéntranos en DiscordPide ayuda, comparte lo que estás creando y habla de MU con otros dueños de servidores.Abrir
← Todas las soluciones

How do I make a working online time ranking per character?

✓ Confirmado por el autor del tema
  1. Add an int column OnlineTime to the Character table (back up first).
  2. Create a SQL Agent job every minute: UPDATE Character SET OnlineTime=OnlineTime+1 joined to MEMB_STAT (ConnectStat=1) and AccountCharacter (Name = GameIDC).
  3. Read it with SELECT Name, OnlineTime FROM Character ORDER BY OnlineTime DESC. The value is in minutes.

“@Louis , funcionou perfeitamente , só que está marcando minutos”

El autor del tema, 2021-03-09 (texto original)
CreandoMU · 2021-03-09
¿Te sirvió?

¿Sigues atascado? Buscar en MuGPS Pregúntale al Asistente MU

MuADMINS Community Alpha: gratis, hecho por la comunidad y en desarrollo activo.