v2.2.19 parche
Blackjack pushes paid right, safer memberships and a society that can pay for chips
8cambios

Blackjack pushes paid right, safer memberships and a society that can pay for chips
8cambios

[02] Versión
This release fixes blackjack paying out double the bet on a push. It also refunds a membership that could not be saved, stops VIP being read wrongly, and refuses negative chip sales. The membership and ban tables are now created automatically. There is a new option to pay chip exchanges out of the society account, and the console now gives clearer update notices.
casino_memberships and casino_blocked_players are now created automatically on start, so a server that skipped [sql]/qs-diamondcasino.sql works without it. Existing tables are left untouched./casinoconfig → Economy), ships off, so nothing changes until you turn it on. It only appears with esx_society, qb-management or qb-banking.Replace every file in the resource, except what you edited yourself:
server/custom/society/ — every file gained a RemoveMoneyFromSociety function. If you edited one, copy that function into your version.sql/database.sql — now also holds the membership and ban tables (optional import).locales/ — every language gained new lines. Re-apply any translation you edited.config/ was not changed.New setting Society pays chip sales in /casinoconfig → Economy. On, the money a player gets for exchanging chips is taken from the society account. If that account cannot cover it, the exchange is refused and the player keeps their chips. Available with esx_society, qb-management and qb-banking.
On start, the server console shows your version against the latest one. When you are behind, it lists the type and urgency of the update, the changes you are missing and a link to the full changelog.
A tie with the dealer paid back twice the bet, so a push won as much as a win. It now hands back the stake alone, on split hands too.
If the database refused the membership (missing table, lost connection), the player was charged and got nothing. The money now goes back to their bank with a message saying so.
Some players with a standard membership were told they already had VIP and could not buy it.
The cashier only accepts a whole, positive number of chips to exchange.
Servers that skipped the SQL import could charge for a membership and then fail to write it. Both tables are now created on start, and are also in sql/database.sql.