Community AlphaAlpha MUADMINS
RORomână
Autentificare
Pe MuADMINSConfig ScannerÎncarcă zip-ul fișierelor tale: rate-uri, drop-uri, spoturi, limiteDeschidePe MuADMINSÎntâlnește-ne pe DiscordCere ajutor, arată la ce lucrezi și vorbește despre MU cu alți proprietari de servere.Deschide
← Toate soluțiile

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

Scris de MuADMINS pe baza surseiNot 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.

Scris de MuADMINS
Te-a ajutat?

Tot nu merge? Caută în MuGPS Întreabă Asistentul MU

MuADMINS Community Alpha: gratuit, făcut de comunitate, în dezvoltare activă.