Community AlphaAlpha MUADMINS
PLPolski
Zaloguj się
Na MuADMINSConfig ScannerWgraj zip swoich plików: rates, dropy, spoty, limityOtwórzNa MuADMINSSpotkajmy się na DiscordziePoproś o pomoc, pokaż, nad czym pracujesz, i rozmawiaj o MU z innymi właścicielami serwerów.Otwórz
← Wszystkie rozwiązania
Konfiguracja serweraIGCNS16, S17, S18

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

Napisane przez MuADMINS na podstawie źródłaNot 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.

Napisane przez MuADMINS
Czy to pomogło?

Nadal masz problem? Szukaj w MuGPS Zapytaj Asystenta MU

MuADMINS Community Alpha: za darmo, tworzone przez społeczność, w aktywnym rozwoju.