Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > General Poker Discussion > Beginners Questions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 05-30-2005, 03:54 PM
two cards two cards is offline
Junior Member
 
Join Date: Jul 2003
Posts: 3
Default Re: The Hand Converter Thread.

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
&lt; 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)
---
&gt; 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
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.