Commit Graph

166 Commits

Author SHA1 Message Date
barelyprofessional
75774bb62f Increase frame length to 300ms due to being a little too fast for the oldies in chat 2026-03-01 22:02:43 -06:00
barelyprofessional
a94a9a11a8 Fix edits 2026-03-01 21:51:07 -06:00
barelyprofessional
251703a427 Add dittos to rain and emojis to make it more visible 2026-03-01 21:48:27 -06:00
barelyprofessional
c05d855edd Overclocking planes 2026-03-01 21:44:59 -06:00
cohlexyz
79cf0b9fdf self check (#93) 2026-03-01 00:50:46 +01:00
barelyprofessional
82a69f48dd Null warnings 2026-02-28 15:35:59 -06:00
barelyprofessional
c8016b4fc6 Update for new chyat 2026-02-28 15:34:36 -06:00
barelyprofessional
eae5a18d11 Revert apocalyptic house edge for lambchop (it's rigged!) 2026-02-27 00:21:17 -06:00
barelyprofessional
72e5115548 Forgive input errors for kasino games when rate limiting 2026-02-27 00:20:09 -06:00
alogindtractor
6d4d461aa7 Update SlotsCommand.cs (#91)
add delay for total loss message
2026-02-27 06:55:52 +01:00
barelyprofessional
7779189cee Fix excessive payouts due to not subtracting wager 2026-02-23 12:26:26 -06:00
barelyprofessional
d3f7d5e374 Re-enable Lambchop 2026-02-20 18:26:58 -06:00
barelyprofessional
0305f2a35c Fix borked code due to dodgy merge conflict 2026-02-20 18:26:38 -06:00
CrackmaticSoftware
6b6bfe2699 Lambchop fix (#90)
* Enabling/disabling gamba games with dynamic settting lookup.

* shadow wizard lambchop gang, we love fixing upper bound errors

* dsfgrgfds
2026-02-20 17:29:39 -06:00
barelyprofessional
66f2af5f52 Take away the wager limit for roulette 2026-02-19 20:58:05 -06:00
barelyprofessional
1c2b36b8b2 Flip the numbers around for #88 2026-02-19 20:56:39 -06:00
barelyprofessional
6967a81d73 Use RandN properly and get rid of the iterations thingy for next double 2026-02-19 20:55:55 -06:00
barelyprofessional
ec11dff3bd Added 100 minimum for rain 2026-02-19 20:20:04 -06:00
barelyprofessional
366311a20a Lambchop is off for now it's still fucked 2026-02-19 20:18:26 -06:00
barelyprofessional
cda5aca788 Updated house edge for lambchop 2026-02-19 19:26:45 -06:00
alogindtractor
f701cae171 fix error, add delay to win message (#89)
* Update SlotsCommand.cs

adds delay for win message

* Update SlotsCommand.cs

add delay, fix rigslotboard error, was checking the wrong diagonal
2026-02-17 15:58:54 +01:00
barelyprofessional
dec3a9473a Back to white squares as it's too many bytes 2026-02-16 00:49:16 -06:00
barelyprofessional
9183c45105 Replace cloud with fog 2026-02-16 00:47:38 -06:00
alogindtractor
f0c1e77e5f Update PlanesCommand.cs (#85)
use cloud instead of white squire
2026-02-16 01:53:46 +01:00
barelyprofessional
3d99cce5fb Removed wager limit for Mines 2026-02-10 22:24:03 -06:00
alogindtractor
4441fa178c Update MinesCommand.cs (#78)
update refresh, update tool url
2026-02-11 05:03:01 +01:00
alogindtractor
d71dd304fd update mines (#77)
* Update MinesCommand.cs

better cashout handling?
also limit mines to 8

* Update KasinoMines.cs

update cashout to have a delay before removing board message and add auto delete

* update cashout calculation

update cashout calculation
fair payout but house edge based chance for rigging
2026-02-10 15:40:43 +01:00
alogindtractor
21c8803eb9 fix board size, some fixes to auto cashout from cursor (#75)
* cursor fixes

cursor fixes

* Improve cashout condition validation

Refactor cashout condition to check for success and non-empty value.

* cursor

cursor

* Update BotServices.cs

* Update board size limit from 10 to 9

Update board size limit from 10 to 9
81 characters instead of 100
12 bytes per character per powershell, 
down from 1200 bytes to 972

* Implement message deletion for active games

Added logic to delete messages associated with active games.
2026-02-09 16:00:45 +01:00
barelyprofessional
7fbebe81ab Added missing awaits, improved permission check and removed redundant else 2026-02-08 23:27:41 -06:00
alogindtractor
9643126cf8 updates message stuff (#72)
* Implement admin-only clear command for saved games

Added 'clear' command for admin to reset saved games.

* Refactor LastMessage handling in KasinoMines

Refactor LastMessage handling in KasinoMines
2026-02-09 06:26:34 +01:00
alogindtractor
d5f04b5228 some sloppa fixes (#69)
* update

update

* service

service

* Optimize message retrieval in MinesCommand

Refactor message handling in MinesCommand to use last message directly.

* Replace LastMessageId with LastMessage object
2026-02-09 02:06:15 +01:00
barelyprofessional
1901507c25 Added a minimum wager requirement to all games 2026-02-08 12:02:24 -06:00
alogindtractor
670336145d mines update (#68)
* mines update

mines update

* Refactor betting logic to use valid coordinates

Refactor betting logic to use valid coordinates

* Refactor bet coordinate selection logic

Refactor random bet coordinate selection to improve clarity and prevent duplicate entries.

* update tostring

update tostring

* Refactor Bet method and update gem handling

Refactor Bet method to include an additional parameter for tracking calls. Update logic for handling gem counts and cash-out conditions.

* update regex

update regex
2026-02-08 03:33:58 +01:00
alogindtractor
6a47d0d25e mines update (#67)
* mines update

mines update

* Refactor betting logic to use valid coordinates

Refactor betting logic to use valid coordinates

* Refactor bet coordinate selection logic

Refactor random bet coordinate selection to improve clarity and prevent duplicate entries.

* update tostring

update tostring

* Refactor Bet method and update gem handling

Refactor Bet method to include an additional parameter for tracking calls. Update logic for handling gem counts and cash-out conditions.
2026-02-07 23:10:19 +01:00
barelyprofessional
eccbe44acd Merging changes from #66
Closes PR #66
2026-02-07 11:33:09 -06:00
barelyprofessional
8246b75868 Use gambler ID in Redis key to avoid the possibility of concurrent games messing with the state 2026-02-07 11:27:03 -06:00
barelyprofessional
54d989f64f Wager limit while mines is fucked 2026-02-07 00:21:08 -06:00
barelyprofessional
0272d79ee1 Massively reduce the rate limiting for mines 2026-02-06 23:48:23 -06:00
barelyprofessional
503d0de41b Wager limit for roulette 2026-02-06 23:43:02 -06:00
barelyprofessional
dd469c36b3 Usability shit for roulette 2026-02-06 23:40:57 -06:00
alogindtractor
daba3012a4 fix for slot issue (#64)
* fix chat message ID handling and index out of bounds error

fix chat message ID handling and index out of bounds error

* fix feature incorrectly showing for some reason

idk why this started happening hopefully this fixes it, actual features might still be broken though

* actual fix for slot display issue

actual fix for slot display issue
after adding rigging i was passing in the rig parameter as the current type of feature
2026-02-07 06:34:30 +01:00
alogindtractor
d726b4f638 fix chat message ID handling and index out of bounds error (#63)
* fix chat message ID handling and index out of bounds error

fix chat message ID handling and index out of bounds error

* fix feature incorrectly showing for some reason

idk why this started happening hopefully this fixes it, actual features might still be broken though
2026-02-06 09:59:54 -06:00
barelyprofessional
1890e3606b Another wait for message... 2026-02-05 23:46:29 -06:00
barelyprofessional
28cc6a2651 Added wait for message to be received 2026-02-05 23:43:24 -06:00
barelyprofessional
696339f359 Include the trailing space for cashout in the optional match for cashout 2026-02-05 23:34:57 -06:00
alogindtractor
477c121f72 Refactor MinesCommand regex patterns and messages (#62) 2026-02-06 06:26:11 +01:00
barelyprofessional
80d4f81610 Fixed compiler warnings 2026-02-05 20:42:40 -06:00
barelyprofessional
1996b2b638 Refactored naming for Kasino Mines and decoupled it from BotServices as it has no long lived tasks or whatever 2026-02-05 20:19:34 -06:00
barelyprofessional
21f2019366 Moved RouletteCommand.cs to the parent Kasino folder 2026-02-05 19:28:56 -06:00
alogindtractor
4dba9b4133 Implement minimum wager requirement for slots (#61)
* Implement minimum wager requirement for slots

Added minimum wager validation for slots command.

* Implement house edge and rigged outcomes in SlotsCommand

adds house edge to slots
if your house edge is greater than 1, HOUSE_EDGE - 100% chance for guaranteed max win chance (spawns all the symbols in the right place, does not guarantee top tier multi)

if house edge is less than 1, 100% - HOUSE_EDGE chance for guaranteed loss
2026-02-06 02:23:52 +01:00