Community AlphaAlpha MUADMINS
FRFrançais
Connexion
Sur MuADMINSConfig ScannerDéposez le zip de vos fichiers : rates, drops, spots, limitesOuvrirSur MuADMINSRetrouvez-nous sur DiscordDemandez de l'aide, partagez ce que vous créez et parlez de MU avec d'autres propriétaires de serveurs.Ouvrir
← Toutes les solutions

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

Rédigé par MuADMINS à partir de la sourceNot 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.

Rédigé par MuADMINS
Cela vous a-t-il aidé ?

Toujours bloqué ? Rechercher sur MuGPS Demander à l'Assistant MU

MuADMINS Community Alpha : gratuit, fait par la communauté, en développement actif.