Community AlphaAlpha MUADMINS
RUРусский
Войти
На MuADMINSConfig ScannerЗагрузите zip своих файлов: рейты, дропы, споты, лимитыОткрытьНа MuADMINSПрисоединяйтесь к нам в DiscordПросите помощи, показывайте свои проекты и общайтесь о MU с другими владельцами серверов.Открыть
← Все решения

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

Написано MuADMINS по источникуNot 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.

Написано MuADMINS
Это помогло?

Всё ещё не получается? Поиск в MuGPS Спросить Помощника MU

MuADMINS Community Alpha: бесплатно, создаётся сообществом, в активной разработке.