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

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

Napisane przez MuADMINS na podstawie źródłaNot verified

Narzędzie: 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.
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.