wainwright/casino-dog 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wainwright/casino-dog

Composer 安装命令:

composer require wainwright/casino-dog

包简介

Casino Dog is a tool to alter outcome of casino games. Tool originating from David G. Wainwright (HollywoodTV) and used by big brand-names like Sportsbet.io, Stake.com, Bitstarz.com, Softswiss.com, Betsson Group and many more.

README 文档

README

base plugin with all game sense, package works best under fresh install of laravel ++ breeze "api" package, but should work within any existing laravel package aswell.

Still somewhat rough edges, however you can use installer to setup: https://github.com/casino-man/wainwright-installer.sh.

Make sure to set correct .env

After installing laravel/running the installer script, run: php artisan casino-dog:install

After which you can login at admin: /allseeingdavid with login entered on install.

To import default gameslistings: php artisan casino-dog:retrieve-default-gameslist {provider}

Alternatively you can deploy app using Heroku using the skeleton at Gitlab.com/casinoman.

bit more:

There is a 'cheat' plugin that is called "game respin templates" basically when player spins slotmachine and loses their full bet it saves this game to the database as a 'template'. This 'template' (game result) is saved so it can be used for any other player in future on the slotmachine getting a big win, we then simply swap the game result with the loss (under any bet amount, depending on the provider it maps any game, that means a player losing their bet on 0.10$ spins can be used on a player spinning 1000$ per spin).

Bonus features are saved under specific bonus_game id's where possible. I'm in progress of writing the documentations, but it's lot of stuff to write, so few more days the most I hope to have a 'basic' documentation ready atleast explaining and showing some of the features.

You can use "GameKernelTrait" anywhere in the package. To create/scaffold a new gameprovider, if you wanna implement any other slotmachine provider, just call php artisan casino-dog:create-gameprovider and all controllers, datatables, frontend launcher etc. will be scaffolded for new gameprovider.

You can automatically import games from SOFTSWISS, PARIMATCH and PLAYTECH game formats, but that's more advanced and honestly with the default gameslist, I saved most current provider's their full listings so just use the retriever command.

This is only the aggregation, best is to use this in combination with the client SDK the casino-dog-operator-api.

You can import over 20+ game providers, under which Pragmatic Play, 3oaks, Relax Gaming and many more to be used for your own casino, your own aggregation business or just like me wanting to learn how these criminals are achieving their goals out of mere curousity.

App is inspired by fraud committed by various parties lead by Vlad Suciu, Laurence Phillipe, David G. Wainwright, Max Wright and many more.

Workers

Worker & schedule runner required to run automated game importer jobs:

Setting up cronjob to run every minute php artisan schedule:run:

Run crontab-e select vi/nano editor.

Paste at bottom:

* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

Check if cron running:

systemctl status cron

Setting up supervisor:

sudo apt-get install supervisor
cd /etc/supervisor/config.d
sudo nano laravel-worker.conf

laravel-worker.conf:

[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command=/usr/bin/php /var/www/laravel/artisan queue:work --sleep=0.1 --tries=2 >
autostart=true
autorestart=true
user=root
numprocs=10
redirect_stderr=true
stdout_logfile=/var/www/laravel/storage/logs/worker.log
service supervisor restart

You can disable automated game import processing in config/casino-dog.php

wainwright/casino-dog 适用场景与选型建议

wainwright/casino-dog 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 115 次下载、GitHub Stars 达 12, 最近一次更新时间为 2022 年 11 月 06 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「evolution」 「nyx」 「wainwright」 「casino games」 「slotmachines」 「pragmatic play」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 wainwright/casino-dog 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 wainwright/casino-dog 我们能提供哪些服务?
定制开发 / 二次开发

基于 wainwright/casino-dog 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 115
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 26
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 0
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-06