![]() |
|
#11
|
|||
|
|||
|
To fix the problems with PokerRoom hand histories, I find that all I need to do is add spaces around my hand.
I see "Seat 7: Me [AH,AD]..." I put "Seat 7: Me [ AH,AD ]..." For the geeks, here is the diff to fix the source <font class="small">Code:</font><hr /><pre>diff -w hhconverter.cgi hhconverter.cgi.twocards 7437c7437 < if ($Message =~ s/Seat (\d+): ([^\n]*?) \[ (\d|T|J|Q|K|A)(C|D|H|S),(\d|T|J|Q|K|A)(C|D|H|S) \]/Seat $1: $2/i) --- > if ($Message =~ s/Seat (\d+): ([^\n]*?) \[ ?(\d|T|J|Q|K|A)(C|D|H|S),(\d|T|J|Q|K|A)(C|D|H|S) ?\]/Seat $1: $2/i) </pre><hr /> It's those tasty little question marks that make it go. I added a patch to the SourceForge project page |
|
|