The TalkingPoker.com Forum

The TalkingPoker.com Forum (http://www.talkingpoker.com/forum/index.php)
-   TP Suggestions/Problems (http://www.talkingpoker.com/forum/forumdisplay.php?f=12)
-   -   HH Converter test thread... (http://www.talkingpoker.com/forum/showthread.php?t=10066)

de-coder 03-04-07 12:52 PM

I'm not sure what you're asking for here...

Talking Poker 03-04-07 12:56 PM

:confused:

Copy and paste it into the converter. Then copy and paste the results. Tell us which position is your friend and we'll tell you how we think he played it.

bunny 03-04-07 12:58 PM

I have a HH from a friend who was playing in a tournament. I would like to leave the player names out, which is why I wanted to use your converter. I have tried 3 times and each time I receive this error message.

Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.') in /home/mark/web/talkingpoker.com/hh/hh.php on line 52


:confused:

Talking Poker 03-04-07 01:03 PM

This is a much more descriptive explanation of the problem than your previous post. :cool:

I'm sure de-coder will be able to track it down. PM him the HH so he can test with it.

Talking Poker 03-04-07 01:06 PM

Here is how this hand look with the latest version of the converter - the limits still aren't being displayed, and I have no idea why the formatting for the spacing is being lost. Is that just on my end, for some reason? The hands you posted looked fine.

Full Tilt Cash game, $/$ Limit, 3 players <-- This was actually CAP NL too.
Hand History Converted by
SB: $73494.50
BB: $66498.50
Button: $54755
SB posts Small Blind $500
BB posts Big Blind $1000
Pre-flop: ($1500)
Button calls $1000 ($2500)
SB raises to $5000 ($7000)
BB folds
Button raises to $30000 ($36000) <-- Would be nice to show that betting is capped here, if possible.
SB calls $25000 ($61000)
Flop: 2:c: 6:c: 3:h: ($61000)
Turn: 2:c: 6:c: 3:h: 5:h: ($61000)
River: 2:c: 6:c: 3:h: 5:h: A:s: ($61000)
SB shows K:c: K:s:
Button shows A:h: 9:h:
Button wins $60999 with a pair of Aces

de-coder 03-04-07 01:17 PM


The converter only supports pokerstars and full tilt right now.

Talking Poker 03-04-07 01:35 PM

One thing I just noticed.... this may be kind of a pain in the ass, but you're clever enough to come up with a good way to fix the issue:

Right now, the outputted HH only looks pretty when posted here, in this forum (because of how you are using the shortcuts to point to the suit images). It would be nice if people could use the converter to post hands at other forums too - this could indirectly get new posters here, which would be really nice. To do this, I think you'd have to link to the actual image locations instead of the shortcuts to them, I think.

Thoughts?

PShabi 03-04-07 01:38 PM


Talking Poker 03-04-07 01:39 PM

I've been back and forth with this myself. Maybe we should post a poll and see what people think. I'm kind of leaning your way though, as it's easy enough to add two or three numbers if you do need to determine the pot at any given moment in the hand.

bunny 03-04-07 02:05 PM


Was a PokerStars SNG.

de-coder 03-04-07 02:09 PM

The formatting is ok when I do it... I just sent you a version that handles cap...

Talking Poker 03-04-07 02:45 PM

Hmmmm.... I have no idea why the spacing isn't working for me. I'm headed out now but will look into it later.

Did you also fix the $/$ limits that have been showing up?

de-coder 03-04-07 06:39 PM

The first line of the file should start with PokerStars Game otherwise the converter can't tell what kind of file it is. Send it to me if it doesn't work and I'll have a look.

de-coder 03-04-07 06:40 PM

Yep.

Talking Poker 03-04-07 11:00 PM

OK, I've thought about this some more - let's go with pshabi's suggestion of only including the pot size at the beginning of each street (Before Preflop, Flop, Turn, and River) and see how that looks.

de-coder 03-04-07 11:05 PM

Here's a sample of what it would be like without the running pot tally.

PokerStars Tournament game, buy-in $4.00+0.40, Level IV $50/$100 No Limit, 8 players
Hand History Converted by

SB: T$1925
BB: T$5680
MP2: T$2355
MP3: T$3720
CO: T$5850
Button: T$2705
UTG: T$6340
HERO (MP1): T$3710

SB posts Small Blind T$50
BB posts Big Blind T$100

Pre-flop: 7:d: 5:h: (T$150)
UTG folds
HERO folds
MP2 calls T$100
MP3 folds
CO folds
Button raises to T$200
SB folds
BB calls T$100
MP2 calls T$100

Flop: K:c: 2:s: 5:c: ($650)
BB checks
MP2 bets T$100
Button calls T$100
BB folds

Turn: K:c: 2:s: 5:c: J:c: (T$850)
MP2 bets T$100
Button calls T$100

River: K:c: 2:s: 5:c: J:c: 6:c: (T$1050)
MP2 checks
Button checks

MP2 shows 9:d: 2:d:
Button shows K:h: 7:h:
Button wins T$1050 with a pair of Kings

Robbie Robb 03-04-07 11:21 PM

I have to agree with Shabi on this one - it looks MUCH cleaner without the running total.

You've done an awesome job here De-coder!

de-coder 03-04-07 11:26 PM

I use the short form of the image that the editor uses. I don't actually build a link to image itself. This site uses : d : for diamonds (without the spaces), c for clubs and so on. Other sites do similar things - I notice that 2+2 uses the full word.

On this site use of direct html code within a post is prohibited so I can't link to the images directly even if I wanted to. That's a pretty common standard, so building a single conversion file that would work on multiple sites might not be possible.

What I've seen from other conversion tools is the ability to create a conversion for different forums, but I'm not sure I'm interested in the amount of work involved in all that. Each forum has it's own way of changing colours, making things bold, linking to images, etc.

What I could do is to make the converter more extensible so you could add sites by modifying the xslt and saving it under a different name (a different xslt file per forum). A list of check boxes could be generated, from the list of xslt files, and then the user could choose which forums to convert for. It should be possible to convert for multiple forums at once. Someone else would have to agree to take on the management of the xslt (I don't actually participate in other forums) - further any changes to the converted format would have to be duplicated for each forum, so it wouldn't be something you'd want to do until all the kinks are worked out of the format.

I think that's the best I'd be able to do for you.

de-coder 03-04-07 11:27 PM

Thanks dude.

So I guess my plan to include running pot odds is now completely out of the question... :D

Talking Poker 03-04-07 11:39 PM

Agreed.... that looks so good, I believe I've run out of suggestions.

Ah ha!!! I knew I'd find something. I believe this order is incorrect:
SB: T$1925
BB: T$5680
MP2: T$2355
MP3: T$3720
CO: T$5850
Button: T$2705
UTG: T$6340
HERO (MP1): T$3710

Shouldn't it be:
SB: T$1925
BB: T$5680
UTG: T$6340
HERO (MP1): T$3710
MP2: T$2355
MP3: T$3720
CO: T$5850
Button: T$2705

Also, for games larger than 6 max, I prefer using UTG+1 rather than all the MP#s, but I can go either way with this. It's certainly fine how it is. I wonder if we could google up a standard or something.

Like for this hand, I'd rather see a UTG+1 in there and no MP3 - just MP1 and MP2 before the CO.

Talking Poker 03-04-07 11:44 PM

I think I understand. Hmmmm.... What if we had two options:
1. Convert to post on Talking Poker
2. Convert to post elsewhere.

Option 1 is what we have now. Option 2 would simple change the ": c" tags (which I defined, FYI) to an image tag pointing to the full URL of the image, which is

This might not work EVERYWHERE (like here), but I'm guessing it would work most places. I'm not really sure though.

Alternatively, and a much easier solution, would be to do exactly what I just described but instead of pointing to the image file, just do it the text way, ie: As, 2c, 3h, 4d. That should definitely work.

de-coder 03-04-07 11:52 PM

Most forums don't allow html tags or linking to images within posts - the second way would work for sure, but not be as pretty.

de-coder 03-04-07 11:55 PM

I'm not sure why the order got messed up there... I'll have to look into that... As for the MP's it's pretty easy to change - I have lists of position names from 2 to 10 players - change the position names in the list and you're done...

here's what it looks like right now:
Let me know what you'd like - it's an easy change.

Talking Poker 03-05-07 12:33 AM

Yeah, but it's better than nothing and should be VERY east to do, right?

Talking Poker 03-05-07 12:41 AM

OK, how about changing the last few to this, unless someone has a better suggestion:

$positions["7"]=array("Button", "SB", "BB", "UTG", "UTG+1", "MP", "CO");
$positions["8"]=array("Button", "SB", "BB", "UTG", "UTG+1", "MP1", "MP2", "CO");
$positions["9"]=array("Button", "SB", "BB", "UTG", "UTG+1", "MP1", "MP2", "MP3", "CO");
$positions["10"]=array("Button", "SB", "BB", "UTG", "UTG+1", "MP1", "MP2", "MP3", "CO-1", "CO");

The only one I'm not sure about is #7.... we could also have just UTG and then MP1 and MP2. I dunno.


All times are GMT -4. The time now is 06:57 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2004-2008 TalkingPoker.com