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

IGCN: players have negative WCoin or Goblin Points (shipped maintenance script)

Escrito por MuADMINS a partir de la fuenteNot verified

IGCN ships 2. Update Scripts\Maintenance Scripts\Check & Fix negative Coins.sql. It works in two runs and says "Take server offline before proceeding with the script":

  1. With @Update = 0 it only lists the accounts:
SELECT * FROM T_InGameShop_Point WHERE WCoin < 0 OR GoblinPoint < 0;

(the script notes that a negative value is potentially what the player owes you, so keep that list).

  1. With @Update = 1 it sets the negative values to 0:
UPDATE T_InGameShop_Point SET WCoin = 0 WHERE WCoin < 0;
UPDATE T_InGameShop_Point SET GoblinPoint = 0 WHERE GoblinPoint < 0;

Back up first. On Season 9 / 12 the columns are WCoinC, WCoinP and GoblinPoint, so change the names.

Source: IGCN Season 17 and 18.2.2.13 Database/2. Update Scripts/Maintenance Scripts/Check & Fix negative Coins.sql.

Escrito por MuADMINS
¿Te sirvió?

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

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