Our official Github Repo: https://github.com/gamingdotme/opensource-casino-v10
Discord Open Source Casino link: https://discord.gg/3QpZNd89WZ
Sponsor Hosting Promex: https://Promex.me
Generate an SSL and copy paste contents as below:
Certificate: (CRT) ==> crt.crt
Private Key (KEY) --> key.key
Certificate Authority Bundle: (CABUNDLE) ==> intermediate.pem
Reminder to install pm2 and while in ssh https://pm2.keymetrics.io/docs/usage/quick-start/
In folder /casino/PTWebSocket/, run the following commands:
pm2 start Arcade.js --watch pm2 start Server.js --watch pm2 start Slots.js --watch
If you have a firewall, make sure the provided Ports are open to all traffic.
Find download packages at https://discord.gg/QfUJhzFsju
Shops are active in this version. You can manually select which categories each shop can use on creation.
OR add this trigger to your MySQL so ALL categories are added to ALL new shops:
CREATE TRIGGER `after_shop_insert` AFTER INSERT ON `w_shops` FOR EACH ROW BEGIN -- Duplicate games with shop_id 1 to the new shop_id INSERT INTO w_games (name, title, shop_id, jpg_id, label, device, gamebank, chanceFirepot1, chanceFirepot2, chanceFirepot3, fireCount1, fireCount2, fireCount3, lines_percent_config_spin, lines_percent_config_spin_bonus, lines_percent_config_bonus, lines_percent_config_bonus_bonus, rezerv, cask, advanced, bet, scaleMode, slotViewState, view, denomination, category_temp, original_id, bids, stat_in, stat_out, created_at, updated_at) SELECT name, title, NEW.id, jpg_id, label, device, gamebank, chanceFirepot1, chanceFirepot2, chanceFirepot3, fireCount1, fireCount2, fireCount3, lines_percent_config_spin, lines_percent_config_spin_bonus, lines_percent_config_bonus, lines_percent_config_bonus_bonus, rezerv, cask, advanced, bet, scaleMode, slotViewState, view, denomination, category_temp, original_id, bids, stat_in, stat_out, created_at, NOW() FROM w_games WHERE shop_id = 1; -- Duplicate jpg entries with shop_id 1 to the new shop_id INSERT INTO w_jpg (date_time, name, balance, start_balance, pay_sum, percent, user_id, shop_id) SELECT date_time, name, balance, start_balance, pay_sum, percent, user_id, NEW.id FROM w_jpg WHERE shop_id = 1; END;