Code Monkey home page Code Monkey logo

opensource-casino-v10's Introduction

 Opensource-casino-v10

Open source slots casino script (formerly Goldsvet) v10

V10 november 2023 release adds Laravel 10 and PHP 8.2+ support.

ALSO NOW SUPPORTS PLUGINS LIKE 
SPORTS BETTING, CRYPTO COMPETITIONS AND STOCKS COMPETITIONS
PLUGINS AVAILABLE IN DISCORD DOWNLOADS TOO ONLY FOR SUBSCRIBERS 

This is a Laravel casino app. You need to download game packs for it.

DEMO : HTTPS://377PLAY.COM

DEMO DISCLAIMER : demo always goes under updates, tests and db flushing, dont use it as a stable website.

Join our Discord for game downloads (compatible up to v10):

https://discord.gg/HscTu67FSu

Partner Service

Promex Partner Service

This partner service offers a pre-setup environment for hosting the script, which you can edit after initial setup.

GeoIP2 City Database

Starting V10 GeoIP2 support is still built in but not in use, you can manually enable it by unmarking the php syntax then
Download the GeoIP2 City database from our discord

Setup Instructions

This document shows a setup sample on a cPanel server, and can be replicated on other setups.

  • Setup your server with Apache, MySQL, PHP 7.1-7.4 , PHP 8+, Composer, Laravel 10, Node.js 16 & PM2
  • Force Domain SSL
  • Create a new email & password
  • Create a new database and grant all access
  • Import the SQL file located in CASINO/DATABASE/MIGRATIONS/betshopme_8.sql
  • Force Domain SSL

  • Generate SSL CRT KEY & BUNDLE COPY THE CONTENTS OF YOUR CRT/KEY/BUNDLE TO FILES IN FOLDER CASINO/PTWEBSOCKET/SSL/ Create a new email & password

     

  • Create a new database Grant all access Import the SQL file located in folder CASINO/DATABASE/MIGRATIONS/betshopme_8.sql via PHPMYADMIN to the database --extra DB file not required (experimentalarcadegames.sql) unless you are experimenting with arcade games Zip
    -----File Uploads-----

  • Casino.zip and public_html.zip should be unzipped in the following manner public_html → this is your public directory casino → this goes outside your public folder for security so it becomes YOUR ROOT FOLDER /casino /public_html If you decide to move your casino folder INSIDE public_html You have to modify two things 1: open index.php inside public_html and replace all folder paths ( ./../casino portion to ./casino/ ) 2: MUST configure .htaccess to deny .env files or all dot files ( google dot files protection via htaccess)

  • //**** extra tip since it contains demo user accounts Generate new password hash for existing users and run this in phpmyadmin (replace hash) https://bcrypt-generator.com/ If you need to has a new word. Example : (run this in phpmyadmin) UPDATE w_users SET password = '$2a$12$s1RpwEx/oTL3vYQGZjC33eBHECRJb7gkjmAk9Tmyefub7gQ4nh8XS';

    This has makes all users have password : Test123 ********///

SSL Specific Instructions

Delete self signed if any Generate or install the Lets Encrypt one if you have it Save text file via notepad or direct Certificate: (CRT) ==> crt.crt Private Key (KEY) --> key.key Certificate Authority Bundle: (CABUNDLE) ==> intermediate.pem Go in Folder casino/PTWebSocket/ssl and replace those 3 files --------------- FILE EDITS casino/.env EDIT LINES for domain, database and user/password, email and password EDIT casino/config/app.php (URL line 65 )

File Edits

EDIT casino/public/ ALL SOCKET FILES CHANGE YOUR DOMAIN NAMEIF YOU NEED TO CHANGE PORTS YOU CAN DO SO HERE AS WELLGames downloads Find download packages at discord https://discord.gg/HscTu67FSu Currently ~ 1000 games – 40 GB total. Go to /home/USERNAME/public_html/ Password is : password Download the core + 3 game packs Unpack
(Unix Tip : upload one zip file, install 7z, unpack with:: 7z x -ppassword file.zip ) ---

Games Downloads

Find download packages at Discord: https://discord.gg/HscTu67FSu

Currently ~1000 games – 40 GB total.

PM2 Commands

PM2 COMMANDS https://pm2.keymetrics.io/docs/usage/quick-start/ 

FROM INSIDE PTWEBSOCKET webfolder COMMANDS::
pm2 start Arcade.js --watch

pm2 start Server.js --watch

pm2 start Slots.js --watch

OR if you tested before and not expecting errors, all in one command :

pm2 start Arcade.js --watch && pm2 start Server.js --watch && pm2 start Slots.js –watch

SAMPLE USEFUL COMMANDS
pm2 stop all
pm2 delete all
pm2 flush
pm2 logs
all commands on https://pm2.keymetrics.io/docs/usage/quick-start/ 

extra tool can be used called wscat (install via ssh)wscat -c "wss://domain:PORT/slots' <--- as an example to make sure you get connected msgOpen ports in Firewall 22154 22188 22197 (or whatever you set your Socket file ports to) Run site :: it should work now if everything was setup correctly.

Visual Edits : To change Sliders Text, and footer notes / terms and conditions. Edit : \casino\resources\lang\en\app.php Lines 1255 ++ include text in frontpage Sliders are in root folder /woocasino/ for easy access and change (slider1,2,3,4,5 and for mobile mslider1,2,3,4,5)

Troubleshooting

Minor troubleshooting if your composer/artisan not ran correctly

php artisan cache:clear && php artisan view:clear && php artisan config:clear && php artisan event:clear && php artisan route:clear

URL Troubleshooting

URL TROUBLESHOOTING 404 ERROR MAKE SURE YOUR HTACCESS WAS GENERATED, CORRECTLY AND DID HAVE PROPER DATA, OR MANUALLY COPY PASTE PROVIDED HTACCESS 

 

opensource-casino-v10's People

Contributors

gamingdotme avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.