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

WebEngine CMS with X-Team files: give credits to accounts that never logged into the game (CashShopData)

Написано MuADMINS по источникуNot verified

Инструмент: WebEngine CMS 1.2.x

  1. X-Team files keep the cash in CashShopData. An account without a row there cannot receive credits through the WebEngine credit system.
  2. Open /modules/usercp.php.
  3. Replace its code with the version from the WebEngine wiki: for the logged-in user it runs SELECT * FROM CashShopData WHERE AccountID = ? and, when there is no row, INSERT INTO CashShopData (AccountID, WCoinC, WCoinP, GoblinPoint) VALUES (?, 0, 0, 0), then redirects to usercp/myaccount.
  4. It works for X-Team files and similar files that use the CashShopData table.
Это помогло?

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

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