Skip to content

Commit

Permalink
Release v.0.40.6
Browse files Browse the repository at this point in the history
- Added and corrected many stats
  • Loading branch information
Mudr0x authored May 28, 2023
1 parent a7ea1c8 commit ef51f00
Show file tree
Hide file tree
Showing 8 changed files with 7,205 additions and 1,430 deletions.
262 changes: 250 additions & 12 deletions Database.py

Large diffs are not rendered by default.

471 changes: 457 additions & 14 deletions DerivedStats.py

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion Hand.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Hand(object):
MS = {'horse' : 'HORSE', '8game' : '8-Game', 'hose' : 'HOSE', 'ha': 'HA'}
ACTION = {'ante': 1, 'small blind': 2, 'secondsb': 3, 'big blind': 4, 'both': 5, 'calls': 6, 'raises': 7,
'bets': 8, 'stands pat': 9, 'folds': 10, 'checks': 11, 'discards': 12, 'bringin': 13, 'completes': 14,
'straddle': 15, 'button blind': 16}
'straddle': 15, 'button blind': 16, 'walk': 17}

def __init__(self, config, sitename, gametype, handText, builtFrom = "HHC"):
self.config = config
Expand Down Expand Up @@ -566,6 +566,8 @@ def select(self, db, handId):
self.addBlind(name, 'straddle', bet)
elif act == 16:
self.addBlind(name, 'button blind', bet)
elif act == 17:
self.addBlind(name, 'big blind', bet)
else:
print "DEBUG: unknown action: '%s'" % act

Expand Down Expand Up @@ -971,6 +973,8 @@ def actionString(self, act, street=None):
return ("%s: posts small blind %s%s%s" %(act[0], self.sym, act[2], ' and is all-in' if act[3] else ''))
elif(act[1] == "big blind"):
return ("%s: posts big blind %s%s%s" %(act[0], self.sym, act[2], ' and is all-in' if act[3] else ''))
elif(act[1] == "walk"):
return ("%s: posts big blind %s%s%s and walk" %(act[0], self.sym, act[2], ' and is all-in' if act[3] else ''))
elif(act[1] == "straddle"):
return ("%s: straddles %s%s%s" %(act[0], self.sym, act[2], ' and is all-in' if act[3] else ''))
elif(act[1] == "button blind"):
Expand Down
5,680 changes: 5,371 additions & 309 deletions SQL.py

Large diffs are not rendered by default.

2,183 changes: 1,093 additions & 1,090 deletions WinningToFpdb.py

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ IRC: dooglus
Jabber: dooglus@gmail.com
git: http://repo.or.cz/w/fpdb-dooglus.git

Mudr0x
mudrox@outlook.fr
OpenHoldem (OH) Forum: mudrox
OH FPDB DLL (accurate advanced stats):
https://github.com/Mudr0x/openholdembot/tree/oh_fpdb_dll
git: https://github.com/Mudr0x/fpdb-reloaded.git
https://github.com/Mudr0x/fpdb-chaz.git

danny
donoban
Eric Blade
Expand Down
8 changes: 4 additions & 4 deletions fpdb.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ try:
VERSION = subprocess.Popen(["git", "describe", "--tags", "--dirty"], stdout=subprocess.PIPE).communicate()[0]
VERSION = VERSION[:-1]
except:
VERSION = "0.40.5"
VERSION = "0.40.6"


class fpdb:
Expand Down Expand Up @@ -213,11 +213,11 @@ class fpdb:
self.quit(widget)

def dia_about(self, widget, data=None):
_VERSION = "0.40.5"
_VERSION = "0.40.6"
dia = gtk.AboutDialog()
dia.set_name("Free Poker Database (FPDB)")
dia.set_version(_VERSION)
dia.set_copyright("Copyright 2008-2013. See contributors.txt for details") #do not translate copyright message
dia.set_copyright("Copyright 2008-2023. See contributors.txt for details") #do not translate copyright message
dia.set_comments(_("You are free to change, and distribute original or changed versions of fpdb within the rules set out by the license"))
dia.set_license(_("Please see the help screen for license information"))
dia.set_website("http://fpdb.sourceforge.net/")
Expand Down Expand Up @@ -1237,7 +1237,7 @@ You can find the full license texts in agpl-3.0.txt, gpl-2.0.txt, gpl-3.0.txt an
self.add_and_display_tab(tab, _("Stove"))

def __init__(self):
_VERSION = "0.40.5"
_VERSION = "0.40.6"
# no more than 1 process can this lock at a time:
self.lock = interlocks.InterProcessLock(name="fpdb_global_lock")
self.db = None
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Hand #1672582062 - Omaha(All-in or Fold Limit) - $5.00/$10.00 - 2023/04/27 23:37:06 UTC
Boca Raton 4-max Seat #1 is the button
Seat 1: Player0 ($250.00)
Seat 2: Hero ($50.00)
Seat 3: Player1 ($50.00)
Hero posts the small blind $5.00
Player1 posts the big blind $10.00
*** HOLE CARDS ***
Dealt to Hero [Ks 5c 3h 6c]
Player0 folds
Hero folds
Player1 does not show
*** SUMMARY ***
Total pot $15.00
Seat 1: Player0 (button) folded on the Pre-Flop
Seat 2: Hero (small blind) folded on the Pre-Flop
Seat 3: Player1 did not show and won $15.00

0 comments on commit ef51f00

Please sign in to comment.