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 IGCN files: accounts cannot get credits until they have logged into the game (T_InGameShop_Point)

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

Narzędzie: WebEngine CMS 1.2.x

  1. IGCN files keep the shop points in T_InGameShop_Point. Without a row there, the WebEngine credit system cannot give credits to an account that has not logged into the game yet.
  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 T_InGameShop_Point WHERE AccountID = ? and, when there is no row, INSERT INTO T_InGameShop_Point (AccountID, WCoin, GoblinPoint) VALUES (?, 0, 0), then redirects to usercp/myaccount.
  4. From then on, opening the user panel creates the row and credits work.
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.