moneromooo
7b90901049
Fix double counting of overall game stats
2015-02-07 19:06:42 +00:00
moneromooo
d455985552
Use decimal functions to read amounts/units from string inputs
2015-02-02 13:11:52 +00:00
moneromooo
b07bb7ba6b
Balances now belong to accounts, and identities map to an account
2015-02-01 11:36:05 +00:00
moneromooo
f8bb34ec44
Remove useless IdentityFromString
...
Not only it was useless, but it broke the overall/since reset stats
2015-01-31 19:56:01 +00:00
moneromooo
7b95991248
Use a site games salt, and use more random bits for the server seed
2015-01-30 18:27:34 +00:00
moneromooo
9f5992c1ea
Allow forcing refresh of the tipbot balance
2015-01-25 21:35:34 +00:00
moneromooo
69582695f6
Save stats/zstats per network
2015-01-25 20:53:35 +00:00
moneromooo
08bfb84183
RetrieveHouseBalance: Don't hit redis for data we already have
2015-01-25 12:26:41 +00:00
moneromooo
2cb01954d4
Fix report mixing up win/loss, and make it a bit more compact
2015-01-23 11:37:26 +00:00
moneromooo
9ab5db39e4
betutils: move "does not have enough balance" from error to warning
2015-01-22 18:46:23 +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
6d1136b459
betutils: add a report command for a games activity overview
2015-01-22 18:20:51 +00:00
moneromooo
e0cd953dd4
Fix a few s/identity/nick/ in user facing messages
2015-01-21 22:00:22 +00:00
moneromooo
84f550a355
Add ban/unban commands
2015-01-21 18:26:48 +00:00
moneromooo
19e8aa1b1c
Add the ability for games to earmark part of the house balance
...
This allows games to take bets from players (so the players aren't
in control of them anymore) while still not counting these as part
of the house balance (and thus the house can't spend them on some
other payment).
2015-01-21 14:32:13 +00:00
moneromooo
69d0f89549
Add the tipbot's personal balance when querying house balance
...
It's not part of the "spendable" house balance, so must be
accounted for separately.
2015-01-21 14:32:12 +00:00
moneromooo
e893d293f0
Silence the log spam from RetrieveHouseBalance
2015-01-21 10:49:06 +00:00
moneromooo
590b9ef9c5
Bypass potential loss checking code if potential loss is 0
2015-01-20 19:52:10 +00:00
moneromooo
866c1f485c
Time based stats are now daily and (all time) hourly
...
Cuts down on unnecessary detail/storage
2015-01-20 08:41:18 +00:00
moneromooo
5d56c82cad
Keep track of game stats against time
2015-01-19 23:46:45 +00:00
moneromooo
75ebebc757
Move house_balance to betutils
2015-01-19 20:54:54 +00:00
moneromooo
ea25e9d41b
Abstract away communications networks
2015-01-19 08:45:56 +00:00
moneromooo
74c01f9bce
Add a reserve_balance admin command
...
And move RetrieveHouseBalance to betutils as a side effect
2015-01-18 11:41:32 +00:00
moneromooo
e3eaff5fc1
Do not write the server seed to the log file
2015-01-17 19:46:04 +00:00
moneromooo
cc3e34ac0b
Add betutils - betting games related functions
2015-01-15 14:50:07 +00:00