Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
Game source /
core /
app /
Games /
Delete
Unzip
Name
Size
Permission
Date
Action
AndarBahar.php
3.99
KB
-rw-r--r--
2025-06-21 12:57
BlackJack.php
6.12
KB
-rw-r--r--
2025-03-04 12:16
CardFinding.php
859
B
-rw-r--r--
2025-06-22 07:28
CasinoDice.php
1.45
KB
-rw-r--r--
2025-02-23 11:39
ColorPrediction.php
2.5
KB
-rw-r--r--
2025-06-21 14:16
CrazyTimes.php
2.75
KB
-rw-r--r--
2025-06-21 13:49
DiceRolling.php
1
KB
-rw-r--r--
2025-06-22 07:31
DreamCatcher.php
9.78
KB
-rw-r--r--
2025-06-22 08:55
Game.php
12.61
KB
-rw-r--r--
2025-07-09 08:56
GamePlayer.php
2.45
KB
-rw-r--r--
2025-06-21 11:15
HeadTail.php
823
B
-rw-r--r--
2025-06-22 07:41
Keno.php
2.6
KB
-rw-r--r--
2025-06-22 07:45
Mines.php
4.3
KB
-rw-r--r--
2025-06-22 07:47
NumberGuess.php
2.7
KB
-rw-r--r--
2025-06-21 15:16
NumberSlot.php
3.79
KB
-rw-r--r--
2025-04-21 12:05
Poker.php
14.58
KB
-rw-r--r--
2025-06-21 14:21
PoolNumber.php
1.04
KB
-rw-r--r--
2025-06-21 15:20
RockPaperScissors.php
1.33
KB
-rw-r--r--
2025-06-22 07:38
Roulette.php
2.51
KB
-rw-r--r--
2025-03-18 14:08
SpinWheel.php
1.11
KB
-rw-r--r--
2025-06-22 07:35
Save
Rename
<?php namespace App\Games; use App\Constants\Status; use App\Models\GuessBonus; class Mines extends Game { protected $alias = 'mines'; protected $hasCustomCompleteLogic = true; protected $extraValidationRule = [ 'mines' => 'required|integer|min:1|max:20' ]; protected function gameResult() { $probableWin = $this->demoPlay ? $this->game->probable_win_demo : $this->game->probable_win; $random = mt_rand(0, 100); if ($random <= $probableWin) { $win = Status::WIN; $result = $random; $availableMine = floor($result / 4); if (($this->request->mines + $availableMine) > 25) { $moreMines = ($this->request->mines + $availableMine) - 25; $availableMine -= $moreMines; } } else { $win = Status::LOSS; $result = 0; $availableMine = 0; } $this->extraResponseOnStart = array_merge($this->extraResponseOnStart, [ 'available_mine' => $availableMine ]); $winLossData['win_status'] = $win; $winLossData['result'] = $result; return $winLossData; } protected function customCompleteLogic($gameLog) { if ($this->request->type == 'mine') { return $this->goldMine($gameLog, @$this->request->count, @$this->request->is_blast); } else { return $this->cashOut($gameLog, @$this->request->count); } } private function goldMine($gameLog, $count = 0, $isBlast = null) { $res['mines'] = $gameLog->mines; $res['gold_count'] = $gameLog->gold_count; $res['mine_image'] = getImage(activeTemplate(true) . 'images/mines/mines.png'); $res['gold_image'] = getImage(activeTemplate(true) . 'images/mines/gold.png'); $res['gold_transparent'] = getImage(activeTemplate(true) . 'images/mines/gold_transparent.png'); if (!$gameLog->result) { $res['sound'] = 'mine.mp3'; $gameLog->win_status = Status::LOSS; $gameLog->mine_available = 0; $gameLog->save(); } else { if ($gameLog->mine_available == 0 || $isBlast == 'blast') { if ($isBlast == 'blast') { $gameLog->gold_count = $count; $gameLog->mine_available = $gameLog->mines - $count; } $gameLog->win_status = Status::LOSS; $res['sound'] = 'mine.mp3'; } else { $gameLog->gold_count += 1; $gameLog->mine_available -= 1; $winAmount = 0; $mineBonus = GuessBonus::where('alias', $this->game->alias)->where('chance', $gameLog->mines)->first(); if ($mineBonus) { $winAmount = $gameLog->invest + ($gameLog->invest * ($gameLog->gold_count * $mineBonus->percent) / 100); } $gameLog->win_amo = $winAmount; $res['type'] = 'success'; $res['sound'] = 'win.wav'; $gameLog->save(); return [ 'should_return' => true, 'data' => $res ]; } } $this->extraResponseOnEnd = array_merge($this->extraResponseOnEnd, $res); return ['should_return' => false]; } private function cashOut($gameLog, $count = 0) { if ($count) { $mineBonus = GuessBonus::where('alias', $this->game->alias)->where('chance', $gameLog->mines)->first(); if ($mineBonus) { $winAmount = $gameLog->invest + ($gameLog->invest * ($count * $mineBonus->percent) / 100); $winAmount = $winAmount; } $gameLog->win_amo = @$winAmount ?? 0; $gameLog->win_status = Status::WIN; $gameLog->gold_count = $count; $gameLog->mine_available = $gameLog->mines - $count; $gameLog->save(); } $res['sound'] = 'win.wav'; $res['success'] = 'Congratulation! you won ' . getAmount($gameLog->win_amo) . ' ' . gs('cur_text'); $this->extraResponseOnEnd = array_merge($this->extraResponseOnEnd, $res); return ['should_return' => false]; } }