moneromooo
c03f518b96
Canonicalize nicks
...
For IRC, this mean case insensitivity
2015-01-30 18:13:52 +00:00
moneromooo
a7ac4f8b1c
irc: remove + (voice) prefix from nicks
2015-01-29 22:58:26 +00:00
moneromooo
0d7979fc3f
irc: increase the max backoff delay a bit
...
Freenode still throttles from time to time
2015-01-29 22:54:36 +00:00
moneromooo
73a3bd91bd
bookie: compare new bet amount with total for player, not the whole book
2015-01-29 20:17:25 +00:00
moneromooo
0e144e14b3
Move some more IRC configuration to network_config
2015-01-28 13:44:56 +00:00
moneromooo
00b742445e
bookie: ensure a winner player never gets less than his/her bet
...
This could conceivably happen in a game where one side bets a lot
more than the other side.
2015-01-27 22:13:11 +00:00
moneromooo
e2787cc2b3
bookie: book/net now available to non admin
2015-01-27 21:31:50 +00:00
moneromooo
9d104183fb
Add bookie module
2015-01-27 14:43:00 +00:00
moneromooo
1d3f650bba
Starting networks is now via command line, and parameterized
2015-01-26 22:59:23 +00:00
moneromooo
50455a0d08
Keep track of funds awaiting confirmation
2015-01-26 18:01:21 +00:00
moneromooo
d270ca14f9
payment: handle unlock time properly
...
Hopefully (untested). A high unlock time increases the number of
confirmations required to match.
2015-01-25 23:14:52 +00:00
moneromooo
5774f1ca90
blackjack: fix basic strategy claiming split with more than two cards
2015-01-25 22:09:33 +00:00
moneromooo
0ab24f9e86
payment: mention the number of confirmations needed for deposit
2015-01-25 21:25:46 +00:00
moneromooo
fc45df4a8c
payment: rejig received payment logs to be more useful
2015-01-25 20:15:53 +00:00
moneromooo
55ec6907d3
Wait for some number of confirmations before acting on a deposit
2015-01-25 18:36:17 +00:00
moneromooo
c096f9d6e3
irc: remove ping log
2015-01-25 17:16:21 +00:00
moneromooo
fb465b70cc
payment: remove an uninteresting periodic log
2015-01-25 17:12:21 +00:00
moneromooo
fb02c61653
dice: min/max multipliers are now configurable
2015-01-25 12:36:04 +00:00
moneromooo
32ab6a3127
blackjack: fix splitting on different 10 valued card
...
It was using the first card twice, which wasn't quite correct,
tough only cosmetic
2015-01-24 21:52:24 +00:00
moneromooo
a6d4f07eec
dice, blackjack: use the configured coin name in help
2015-01-24 16:58:14 +00:00
moneromooo
15c5d31dc7
payment: GetTipbotAddress now returns None when it fails
...
The display function will turn it into "ERROR"
2015-01-24 11:37:19 +00:00
moneromooo
bb7d4c9f2c
blackjack: fix double doubling the wrong bet amount
...
It would double the current full amount bet, rather than the
original bet of the current hand only.
Also fix an error message using a variable before it's initialized
when telling the player his/her balance is not enough when doing so.
2015-01-23 10:52:32 +00:00
moneromooo
1a6476d2f0
Make idle and cleanup functions fields of the module object
2015-01-22 19:30:28 +00:00
moneromooo
cf122d032b
Factor player balance check into IsBetValid and make min/max bets optional
2015-01-22 18:46:15 +00:00
moneromooo
4b6f08d2a1
blackjack: avoid deleting player state twice when winning insurance
2015-01-22 10:50:53 +00:00
moneromooo
e0da99eb63
blackjack: fix syntax error in error log on missing basic strategy combination
2015-01-22 10:02:46 +00:00
moneromooo
ab26278828
blackjack: add missing 21 basic strategy score
...
It was only implied in the tables
2015-01-22 10:02:10 +00:00
moneromooo
e0cd953dd4
Fix a few s/identity/nick/ in user facing messages
2015-01-21 22:00:22 +00:00
moneromooo
c48428b0ab
blackjack: fix balance check with side bets
2015-01-21 19:44:54 +00:00
moneromooo
b040600947
Blackjack is now not admin only
2015-01-21 19:18:56 +00:00
moneromooo
84f550a355
Add ban/unban commands
2015-01-21 18:26:48 +00:00
moneromooo
efcfc84c69
Add blackjack module
2015-01-21 16:38:59 +00:00
moneromooo
b06520e1ea
dice: fix typo in message
2015-01-20 18:00:02 +00:00
moneromooo
54531fdc3b
Make sure to send help/etc in PM
2015-01-20 17:18:15 +00:00
moneromooo
d5d0801807
Fix another issue with IPv6 users - commands being ignored
2015-01-20 17:11:56 +00:00
moneromooo
92bf49a4c4
RainActive: aesthetic message fixes
2015-01-20 14:56:41 +00:00
moneromooo
1925f1e704
RainActive: fix format string error
2015-01-20 14:52:20 +00:00
moneromooo
75ebebc757
Move house_balance to betutils
2015-01-19 20:54:54 +00:00
moneromooo
7347480a86
dice: change the multiplier semantics to be hopefully more intuitive
...
x2 now means even odds - you pay your bet, and get a x2 payout back,
which leaves you with a profit equal to your original bet.
Minimum multiplier is bumped from 0.1 to 1.1 to reflect this change.
2015-01-19 19:39:43 +00:00
moneromooo
ea25e9d41b
Abstract away communications networks
2015-01-19 08:45:56 +00:00
moneromooo
5ce0d1da50
Print meaningful time spans on rainactive
2015-01-18 22:18:46 +00:00
moneromooo
7a4506a9e6
dice: invert target too when playing over
...
I'm an idiot :/
2015-01-18 09:05:59 +00:00
moneromooo
41e00ad742
dice: clarify the amount is in monero
2015-01-17 15:53:46 +00:00
moneromooo
75bf15a321
dice: catch typos in recipients and ask for confirmation
2015-01-17 15:43:50 +00:00
moneromooo
9d6308b0b9
dice: allow over/under rolls
2015-01-17 09:02:37 +00:00
moneromooo
68ca830b05
Send dice game result to the channel if appropriate
2015-01-16 10:30:08 +00:00
moneromooo
a3de014d0a
Dice game commands are now public
2015-01-16 09:40:11 +00:00
moneromooo
5b89cbdad3
Add dice module
2015-01-15 14:50:07 +00:00
moneromooo
4631dca7b6
Do not enumerate users when raining on more than 16 nicks
2015-01-11 18:45:59 +00:00
moneromooo
107e36cf32
import config in withdrawl module
2015-01-11 16:48:36 +00:00