Commit Graph

9 Commits

Author SHA1 Message Date
barelyprofessional
e725ca5864 Moved to Lazy<T> and a static class for handling Redis connections with some methods to make it easier to work with JSON. Completely untested. 2026-04-26 20:30:56 -05:00
alogindtractor
3ab46bb4c7 Refactor betting logic and game state handling (#109)
scales bets if user doesn't have enough balance unless they're below 1KKK
fix for the ability to krash after the game is over guaranteeing a win
2026-04-19 05:31:12 +02:00
barelyprofessional
2c55e94bfd Fixed green/red colors and added support for multiple bets from the same participant 2026-04-09 21:28:24 -05:00
barelyprofessional
7a58976c16 Forfeit if balance drops too low for Krash 2026-04-09 21:15:53 -05:00
A Log in D Tractor
354b1cfd99 krash fix hopefuly (#105)
* Update KrashCommand.cs

add wager limit

* Update KasinoKrash.cs

* actual fix for payout

found the bug it was using the game multi instead of the bet multi

* Update KrashCommand.cs

remove wager limit

* actually fix the actual bug

fix the actual bug
2026-04-10 02:51:47 +02:00
alogindtractor
f415409a88 Set KrashAccepted to true when game starts (#104)
* Set KrashAccepted to true when game starts

* Update message formatting in Krash game logic

clean up display only 2 decimals shown now until the end

* Enhance betting message formatting in Krash game

* add rigging to krash

98% RTP without shop
with shop, it essentially averages out all the participants house edge modifier difference

* Update KasinoKrash.cs
2026-04-08 16:34:05 +02:00
alogindtractor
7e131ff1a4 Fix bet handling and payout calculations in Krash game (#103)
fix where it would let you win if you didn't attempt to krash
also keeps message on screen a little longer after its over so you can see the final number better
2026-04-08 06:39:06 +02:00
barelyprofessional
5e85566577 Refactored krash 2026-04-06 21:13:19 -05:00
alogindtractor
26e0b1f49f message deletion and krash (#102)
* Update message deletion in BlackjackCommand

Refactor message deletion logic for non-whisper messages.

* Add message deletion for non-whisper coinflip

* Implement message deletion for non-whispers

Added a check to delete non-whisper messages if they have a MessageUuid.

* Delete non-whisper messages in KenoCommand

* Implement KrashBetCommand for betting functionality

* Lambchop message deletion

Lambchop message deletion

* limbo message deletion

limbo message deletion

* Delete message if not a whisper mines

Delete message if not a whisper mines

* planes message dleete

planes message dleete

* plinko message delete

plinko message delete

* Add message deletion for non-whisper messages roulette

Delete the message if it's not a whisper and has a UUID.

* add message deletion for non-whisper slots

add message deletion for non-whisper slots

* Implement message deletion for WheelCommand

Add message deletion for non-whisper messages.

* Add KasinoKrash service initialization

* Add KasinoKrash service for game management

Implement KasinoKrash service for managing the Krash game, including state management, betting, and payout logic.

* Update message formatting in KasinoMines.cs

add buttons

* Update MinesCommand.cs

allow more mines spam since message will be deleted anyways, spam will be supported via button
2026-04-07 03:30:49 +02:00