FPDB-for-OSX
FPDB-for-OSX copied to clipboard
Replayer shows incorrect river card in Stud games
Using version 0.41.0-rc7 on Windows.
The river card shows up as the players first dealt card.
This can be tested using this file:
https://github.com/philroberts/FPDB-for-OSX/blob/qtfork/pyfpdb/regression-test-files/cash/Stars/Stud/7-Stud-USD-0.04-0.08-200911.txt
I'm not sure, but to fix it I think line 367 in GuiReplayer.py needs to be changed from this: if phase in ("THIRD", "FOURTH", "FIFTH", "SIXTH", "SEVENTH"):
to this: if phase in ("THIRD", "FOURTH", "FIFTH", "SIXTH", "RIVER"):
https://github.com/philroberts/FPDB-for-OSX/blob/qtfork/pyfpdb/GuiReplayer.py
Thank you guys for all the work you have done on fpdb.
Thanks for the report, I've fixed the problem locally. Hopefully my fix didn't introduce new bugs. Leaving open until I release the fixed version.
Apparently github autoclosed this when I pushed the commit. This fix is in the release I just published.
Oh dear, it seems my 'fix' did indeed cause problems. Going to have to take another swing at this.