Menu

HUD not working anymore on FTP after update of 2013-05-08

Help
2013-05-08
2013-05-09
  • Martin Smits

    Martin Smits - 2013-05-08

    Playing NL Hold'em ringgame with 0.39.5. Yesterday it was working, but after the update of today (2013-05-08) the HUD doesn't show anymore.

    The messages in the HUD startup window are like:

    FT20130508 Faze - NL Hold'em - $0.01-$0.02.txt 0 stored, 0 duplicates, 0 partial, 1 errors (time = 0.004518).

    I will have a look at the code to fix this myself and post the solution here when I have one.

     
  • Martin Smits

    Martin Smits - 2013-05-09

    As a quick fix for the ringgame I play (NL Hold'em microstakes), I changed the some regular expressions and added the NL shortcut to the limits. These changes will only allow to read the new format files and not the old anymore.

    The modified file is FulltiltToFpdb.py.

    in the Fulltilt class:

    re_GameInfo     = re.compile(u'''\#(?P<HID>[0-9]+):\s
                                        (?:(?P<TOURNAMENT>.+)\s\((?P<TOURNO>\d+)\),\s)?
                                        .+
                                        -\s[%(LS)s]?(?P<CAP>[%(NUM)s]+\sCap\s)?
                                        (?P<LIMIT>(NL|No\sLimit|Pot\sLimit|Limit))?\s
                                        (?P<GAME>(Hold\'em|Omaha(\sH/L|\sHi/Lo|\sHi|)|7\sCard\sStud|Stud\sH/L|Razz|Stud\sHi|2-7\sTriple\sDraw|5\sCard\sDraw|Badugi|2-7\sSingle\sDraw|A-5\sTriple\sDraw))\s
                                        -\s(?P<CURRENCY>[%(LS)s]|)?
                                        (?P<SB>[%(NUM)s]+)/
                                        [%(LS)s]?(?P<BB>[%(NUM)s]+)\s
                                        (Ante\s\$?(?P<ANTE>[%(NUM)s]+)\s)?
                                     ''' % substitutions, re.VERBOSE)
    

    and:

    re_HandInfo     = re.compile(u'''\#(?P<HID>[0-9]+):\s
                                        (?:(?P<TOURNAMENT>.+)\s\((?P<TOURNO>\d+)\),\s)?
                                        ((Table|Match)\s)?
                                        ((?P<PLAY>Play\sChip\s|PC)?
                                        (?P<TABLE>.+?)(\s|,)
                                        (?P<ENTRYID>\sEntry\s\#\d+\s)?)
                                        (\((?P<TABLEATTRIBUTES>.+)\)\s)?-\s
                                        [%(LS)s]?(?P<CAP>[%(NUM)s]+\sCap\s)?
                                        (?P<GAMETYPE>[-\da-zA-Z\/\'\s]+)\s-\s
                                        [%(LS)s]?(?P<SB>[%(NUM)s]+)/[%(LS)s]?(?P<BB>[%(NUM)s]+)\s(Ante\s[%(LS)s]?(?P<ANTE>[%(NUM)s]+)\s)?-\s
                                        (?P<DATETIME>.+$)
                                        (?P<PARTIAL>\(partial\))?\s
                                     ''' % substitutions, re.MULTILINE|re.VERBOSE)
    



    in determineGameType():

    limits = { 'No Limit':'nl', 'NL':'nl', 'Pot Limit':'pl', 'Limit':'fl' }
    
     

Log in to post a comment.