Open Etoyspeh opened 1 month ago
I don't know what those columns are, or what the "donate" system is. Looking at the code (LOGIN_SEL_ACCOUNT_TOKENS
), battle pay seems to use the account_tokens
table.
In LegionCore for add BattleCoins is the table: account_tokens
Remember relog after change this points
thank you for the prompt replies. Today is definitely not my day, I'm not paying attention.
I managed to accrue myself coins with some difficulty, as well as filling the shop with goods
but when you buy an item, it says it's not enough, even though there are coins.
INSERT INTO legion_auth
.account_tokens
(account_id
, tokenType
, amount
) VALUES (2, 1, 10000);
I noticed that. With this request:
INSERT INTO legion_auth
.account_tokens
(account_id
, tokenType
, amount
) VALUES (2, 0, 10000);
Payment and purchase pass and I get the item in my bag
Look at the table battlepay_tokens
- I think you want to use 1
instead of 0
when you add products. This PR also updated the level boost to fix the token type https://github.com/The-Legion-Preservation-Project/LegionCore-7.3.5/pull/103
In the auth database in columns: coins, balans, donate there is no response. Currency is not credited to the player's account