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

How do I set up WebEngine credits (WCoin, Goblin Points, web credits) for my server files?

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

WebEngine keeps each currency in a row of WEBENGINE_CREDITS_CONFIG: config_database, config_table, config_credits_col, config_user_col, config_user_col_id (userid, username or email), config_checkonline, config_display. With config_checkonline on, credits are never changed while the account is online (error_14), which is what you want.

Values from the files:

  • IGCN Season 16, 17, 18: MuOnline, T_InGameShop_Point, WCoin (or GoblinPoint), AccountID, username
  • IGCN Season 9 / 12: T_InGameShop_Point with WCoinC, WCoinP, GoblinPoint
  • IGCN website credits: MEMB_CREDITS, credits, memb___id, username
  • MuEmu, Louis, MSPro, X-Team S17, MuDevs: MuOnline, CashShopData, WCoinC / WCoinP / GoblinPoint, AccountID, username
  • DV-Team (MySQL): account_data credits / web_credits / goblin_points (key account_id)

Check the row exists for the account before testing (an UPDATE on a missing row adds nothing):

SELECT * FROM T_InGameShop_Point WHERE AccountID = 'account1';
SELECT * FROM CashShopData WHERE AccountID = 'account1';

Source: WebEngine 1.2.7 install/sql/WEBENGINE_CREDITS_CONFIG.txt and includes/classes/class.credits.php; currency tables in the IGCN, X-Team, MuDevs scripts, Louis / MSPro backups and the DV-Team dump.

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.