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.

Talking Poker 03-05-07 02:17 AM

Also, don't forget to send me the version without all the pot sizes, since they are still in there for the one I have.

Talking Poker 03-05-07 02:20 AM

OK, one more suggestion - when someone is all in, I think it should be noted in the converted HH.... same as when the betting gets capped in CAP NL.

Example here:


Here's the original:

Full Tilt Poker Game #1922729453: Table Buckwood (6 max) - $5/$10 - No Limit Hold'em - 1:22:20 ET - 2007/03/05
Seat 1: slingnbanana ($704.25)
Seat 2: BPSSOK ($175)
Seat 3: Amas ($1,535.75)
Seat 4: NMDynasty ($985)
Seat 5: Troll Pie ($1,000)
Seat 6: The_Houdini ($1,865.75), is sitting out
BPSSOK posts the small blind of $5
Amas posts the big blind of $10
The button is in seat #1
*** HOLE CARDS ***
Dealt to Troll Pie [Ah Ad]
NMDynasty folds
Troll Pie raises to $35
slingnbanana folds
BPSSOK calls $30
Amas folds
*** FLOP *** [5s 2d 4s]
BPSSOK checks
Troll Pie bets $54
BPSSOK calls $54
*** TURN *** [5s 2d 4s] [4h]
BPSSOK checks
Troll Pie bets $86
BPSSOK calls $86, and is all in
Troll Pie shows [Ah Ad]
BPSSOK shows [Js 8s]
*** RIVER *** [5s 2d 4s 4h] [Ks]
Troll Pie shows two pair, Aces and Fours
BPSSOK shows a flush, King high
BPSSOK wins the pot ($357) with a flush, King high
Troll Pie adds $175
*** SUMMARY ***
Total pot $360 | Rake $3
Board: [5s 2d 4s 4h Ks]
Seat 1: slingnbanana (button) didn't bet (folded)
Seat 2: BPSSOK (small blind) showed [Js 8s] and won ($357) with a flush, King high
Seat 3: Amas (big blind) folded before the Flop
Seat 4: NMDynasty didn't bet (folded)
Seat 5: Troll Pie showed [Ah Ad] and lost with two pair, Aces and Fours
Seat 6: The_Houdini is sitting out

PShabi 03-05-07 03:42 AM

The last thing, that would make it perfect IMO, is to make the results appear in "white" text to hide it. If people want to see them, they can, but it doesn't appear unless you look.

VITAL.

de-coder 03-05-07 08:33 AM

I didn't actually make that change - I just removed the offending pot numbers and posted it. It sounds like a good thing so I'll make that change next.

de-coder 03-05-07 08:35 AM

I'm not sure about this one. Don't forget that you can edit the converted history before submitting the post. You can remove completely or change the colour of any part of it you want.

de-coder 03-05-07 08:37 AM

I was afraid you were going to ask for that. To make that change I have to extend the xml - it'll take a little longer to get that done... It's a good idea though.

Can you post an unconverted capped bet?

Talking Poker 03-05-07 12:23 PM

Yeah, let's hold off on the white. People can very easily highlight and click on the color button if they want to white something out in their post. The suits don't turn white anyway, so you (as the poster) would probably want to change them back to cdhs anyway.

But there arte lots of times when people want to post the results, so let's just leave them in there and visible by default.

Talking Poker 03-05-07 12:59 PM

Sure... we were playing with this one earlier:


CAP NL is a lot less common, but I think stating when someone is all in in a HH is vital - and it should be the same change to the xml to account for either, yes?

de-coder 03-05-07 08:25 PM

how about these:

Full Tilt Cash game, $500/$1000 30000 Cap No Limit, 3 players
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
SB raises to $5000
BB folds
Button raises to $30000 betting is capped
SB calls $25000 betting is capped

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

----------------------------

Full Tilt Cash game, $5/$10 No Limit, 5 players
Hand History Converted by

SB: $175
BB: $1535.75
Button: $704.25
UTG: $985
HERO (CO): $1000

SB posts Small Blind $5
BB posts Big Blind $10

Pre-flop: A:h: A:d: ($15)
UTG folds
HERO raises to $35
Button folds
SB calls $30
BB folds

Flop: 5:s: 2:d: 4:s: ($80)
SB checks
HERO bets $54
SB calls $54

Turn: 5:s: 2:d: 4:s: 4:h: ($188)
SB checks
HERO bets $86
SB calls $86 and is all in

River: 5:s: 2:d: 4:s: 4:h: K:s: ($360)

SB shows J:s: 8:s:
SB wins $357 with a flush King high

Talking Poker 03-05-07 08:55 PM

Looks perfect, with this tiny, tiny little exception:


melioris 03-05-07 10:54 PM

problem for me, see

PShabi 03-07-07 12:18 AM

Bravo de-coder!

I think a thread with a link to the converter should be stickied in the Hand Discussion forum.

Talking Poker 03-07-07 12:28 AM

It will be, once all the kinks are worked out (there are still a few), and I clean up the Front End, etc.

Talking Poker 03-07-07 03:53 PM

One more thing, de-coder.... Would it be possible to leave player (non-observer) chat in the HHs? It may be too complex to leave ONLY chat from players in the hand, but sometimes, the chat is an important part of how the hand progresses. Obviously observer chat is just clutter...

PShabi 03-07-07 10:30 PM

The # of hands that have important "chat reads" is probably 1% or less. I don't think it's necessary. If you have a chat read, you can indicate it when you post the hand.

Talking Poker 03-07-07 11:05 PM

Good point. Suggestion revoked.

Talking Poker 03-09-07 12:07 AM

The latest version of this thing is looking sweeter than ever. Please check it out, convert some hands (post them here if you want to see how they will look - that's what this thread is for), and make ANY suggestions you can think of. The goal here is to make this the single best HH Converter on the web, and IMO, it's just about there already.



Note the "Display Chat" checkbox option. If you want it, it's there. If not (and by default), it won't be. Nice touch, de-coder.

Talking Poker 03-09-07 12:16 AM

Here's a test hand with chat....

Edit: Strange - I have no idea what the blue part isn't working properly. It should be.

Full Tilt Cash game, $3/$6 No Limit, 6 players
Hand History Converted by


SB: $617.80
BB: $561
CO: $1557.50
HERO (Button): $600
UTG: $388.75
MP: $646

SB posts Small Blind $3
BB posts Big Blind $6

Pre-flop: A:h: Q:d: ($9)
UTG calls $6
MP folds
CO folds
HERO raises to $27
SB folds
BB folds
UTG calls $21

Flop: T:s: 6:h: 2:h: ($63)
UTG bets $20
HERO raises raises to $84 <-- Error. Double text.
UTG calls calls$64 <-- Same deal.

Turn: T:s: 6:h: 2:h: 6:s: ($231)
UTG checks
HERO checks

River: T:s: 6:h: 2:h: 6:s: 7:c: ($231)
UTG bets $277.7 and is all in
HERO [color=Blue]says: hearts?[/COLOR=Blue]
UTG [color=Blue]says: nope[/COLOR=Blue]
HERO [color=Blue]says: KhJh?[/COLOR=Blue]
UTG [color=Blue]says: I will show[/COLOR=Blue]
HERO folds

UTG shows 3:s: 5:s:

PShabi 03-09-07 01:08 AM

I think it would be better if it had a link to the "converter" and a link to the forum itself in the link line.

from

Talking Poker 03-09-07 02:01 AM

Ohhhhh, I likey. :cheers:

That, or:
Hand History by

Then again, any reasonable person should be able to find the forum, if they can find the Converter.

PShabi 03-09-07 02:19 AM

Don't underestimate the power of laziness.

Talking Poker 03-09-07 09:15 PM

Same HH as above, with the latest version of the converter:

Edit: Better ,but still a couple of issues (all the chat lines are running together and "UTG" isn't showing up)


Full Tilt Cash game, $3/$6 No Limit, 6 players
Hand History by
SB: $617.80
BB: $561
CO: $1557.50
HERO (Button): $600
UTG: $388.75
MP: $646
SB posts Small Blind $3
BB posts Big Blind $6
Pre-flop: A:h: Q:d: ($9)
UTG calls $6
MP folds
CO folds
HERO raises to $27
SB folds
BB folds
UTG calls $21
Flop: T:s: 6:h: 2:h: ($63)
UTG bets $20
HERO raises raises to $84
UTG calls calls$64
Turn: T:s: 6:h: 2:h: 6:s: ($231)
UTG checks
HERO checks
River: T:s: 6:h: 2:h: 6:s: 7:c: ($231)
UTG bets $277.7 and is all in
HERO says: hearts?says: nopeHERO says: KhJh?says: I will showHERO folds
UTG shows 3:s: 5:s:

Talking Poker 03-12-07 01:25 AM

I just posted . It's missing a space in one of my calls, and the order of the players is goofed up, initially. I see it is in the hand above this one too, in fact.

Talking Poker 03-13-07 12:19 AM

Similar results in .

UTG+1's is missing (there were actually NINE players in the hand, not 8)and we need a line break after HERO's chat in the end.

Other than that, looking good.

Talking Poker 03-13-07 12:26 AM

The I posted in that thread has a few bugs too - missing name, incorrect spacing, double action. Look it over closely and you'll see.


All times are GMT -4. The time now is 08:26 PM.

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