Skip to content

Commit

Permalink
Added space as a thousand delimiter for iPoker
Browse files Browse the repository at this point in the history
  • Loading branch information
ChazDazzle committed Nov 13, 2023
1 parent a239c00 commit 7350a56
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyfpdb/iPokerSummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class iPokerSummary(TourneySummary):
substitutions = {
'LS' : u"\$|\xe2\x82\xac|\xe2\u201a\xac|\u20ac|\xc2\xa3|\£|RSD|kr|",
'PLYR': r'(?P<PNAME>[^"]+)',
'NUM' : r'.,0-9',
'NUM' : r'.,0-9\s',
}
currencies = { u'€':'EUR', '$':'USD', '':'T$', u'£':'GBP', 'RSD': 'RSD', 'kr': 'SEK'}

Expand Down
2 changes: 1 addition & 1 deletion pyfpdb/iPokerToFpdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class iPoker(HandHistoryConverter):
substitutions = {
'LS' : u"\$|\xe2\x82\xac|\xe2\u201a\xac|\u20ac|\xc2\xa3|\£|RSD|kr|",
'PLYR': r'(?P<PNAME>[^"]+)',
'NUM' : r'.,\d',
'NUM' : r'.,\d\s',
}
limits = { 'No limit':'nl',
'Pot limit':'pl',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<session sessioncode="5279071523">
<general>
<client_version>23.9.1.10</client_version>
<mode>real</mode>
<gametype>Omaha PL 2,50€/5€</gametype>
<tablename>Laon, 574963928</tablename>
<tablecurrency>EUR</tablecurrency>
<smallblind>2,50€</smallblind>
<bigblind>5€</bigblind>
<duration>00:31:37</duration>
<gamecount>44</gamecount>
<startdate>2023-11-12 08:16:56</startdate>
<currency>EUR</currency>
<nickname>326594540</nickname>
<bets>1 001,24€</bets>
<wins>1 240,69€</wins>
<chipsin>495€</chipsin>
<chipsout>885,37€</chipsout>
<statuspoints>8,74</statuspoints>
<awardpoints>0,00</awardpoints>
<ipoints>8,74</ipoints>
<tablesize>6</tablesize>
</general>
<game gamecode="7038877872">
<general>
<startdate>2023-11-12 08:16:56</startdate>
<players>
<player win="0€" bet="15€" chips="199,35€" dealer="0" seat="1" name="Player 1"/>
<player win="0€" bet="75€" chips="1 192,65€" dealer="1" seat="3" name="Player 3"/>
<player win="0€" bet="15€" chips="619,50€" dealer="0" seat="5" name="Player 5"/>
<player win="177,50€" bet="165€" chips="500€" dealer="0" seat="10" name="Player 10"/>
</players>
</general>
<round no="0">
<action player="Player 5" sum="2,50€" type="1" no="1"/>
<action player="Player 10" sum="5€" type="2" no="2"/>
</round>
<round no="1">
<cards player="Player 1" type="Pocket">X X X X</cards>
<action player="Player 1" sum="15€" type="23" no="3"/>
<cards player="Player 3" type="Pocket">X X X X</cards>
<action player="Player 3" sum="15€" type="3" no="4"/>
<cards player="Player 5" type="Pocket">X X X X</cards>
<action player="Player 5" sum="12,50€" type="3" no="5"/>
<cards player="Player 10" type="Pocket">X X X X</cards>
<action player="Player 10" sum="75€" type="23" no="6"/>
<action player="Player 1" sum="0€" type="0" no="7"/>
<action player="Player 3" sum="60€" type="3" no="8"/>
<action player="Player 5" sum="0€" type="0" no="9"/>
</round>
<round no="2">
<cards type="Flop">S8 C5 SQ</cards>
<action player="Player 10" sum="0€" type="4" no="10"/>
<action player="Player 3" sum="0€" type="4" no="11"/>
</round>
<round no="3">
<cards type="Turn">S6</cards>
<action player="Player 10" sum="90€" type="5" no="12"/>
<action player="Player 3" sum="0€" type="0" no="13"/>
</round>
</game>

0 comments on commit 7350a56

Please sign in to comment.