Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

iPoker Hand Converter Available

  • 26-04-2007 9:45pm
    #1
    Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭


    http://www.talking-poker.com/hands/converter.aspx

    I'm aware others are working on this kind of thing and I'm not trying to steal anybodys thunder. I've been working on this for quite a while mainly because I plan to extend it to playing back hands etc. but for now you can convert hands from the iPoker xml files using this page. It currently converts to a flopturnriver format but I welcome suggestions on other formats and other type of hand history files for conversion. Just let me know.

    Basically you can browse to your xml file click the import button and it will list out all the hands found including the date, the game as per the ipoker file and the hand you had so you can identify the one you are looking for.

    Alternatively before clicking import you can enter the handid (called gamecode in the xml files) if you know it. Once you select a hand you will see the text for posting here or you can click preview to see what it should look like (click View Boards Text to go back to the text for here). I haven't tested here yet but you can let me know if you find any issues.

    [boring programming stuff]
    I was initially pleased to see a site using xml to store hand histories because in theory for a programmer it should make life alot easier. Unfortunately using xml was where the developers of the software stopped being clever and decided to output the most frustrating hand histories I have ever seen. If you look at the files it tells you nothing about who won the hand and what the hand was that won. I wanted this info so I happily found an excellent .net component which I must credit - http://pokerforprogrammers.blogspot.com/ - this basically allows me to quickly work out the winning hand and winning player(s) for each hand. Anyway the next step is a page where you can register, upload and save all your hands, publish them for other to see, playback using javascript and finally I want to have a look at generating animated gifs of hands if possible.
    [/boring programming stuff]


Comments

  • Registered Users, Registered Users 2 Posts: 6,696 ✭✭✭Hectorjelly


    Nice one! It was the ugliest hand history ive ever seen


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    Should reallt test it. Here goes:

    Green Joke Poker real 10/20 iPoker Converter from Talking-Poker

    saw flop|saw showdown

    1 (Button) antosDURTYma ($3000)
    2 3betmeplz ($3000)
    3 ManBitesGod ($3000)
    4 CoolWetSand ($3000)
    5 Flushdraw88 ($3000)
    6 ShaveMeShamrock ($3000)
    7 JohnHeg ($3000)
    8 CiarraiRi2007 ($3000)
    9 BrokenArrows ($3000)
    10 themewso ($3000)

    Preflop: themewso is in seat 10 with 7heart.gif 7diamond.gif
    6 folds, themewso calls 20, 1 fold, 3betmeplz calls 10, ManBitesGod checks.

    Flop (60) 3diamond.gif 4heart.gif 7club.gif
    3betmeplz checks, ManBitesGod bets 60, themewso calls 60, 1 fold.

    Turn (180) 9club.gif
    ManBitesGod bets 180, themewso calls 180.

    River (540) Jheart.gif
    ManBitesGod checks, themewso bets 200, ManBitesGod calls 200

    ManBitesGod shows 2heart.gif 9diamond.gif
    themewso shows 7heart.gif 7diamond.gif

    themewso wins 940 with Three of a kind, Seven's


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    Images need some fixing.


  • Registered Users, Registered Users 2 Posts: 2,513 ✭✭✭RoadSweeper


    raise the river


  • Registered Users, Registered Users 2 Posts: 6,696 ✭✭✭Hectorjelly


    If you are going to make a smart comment you should try and get the action right!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,764 ✭✭✭DeadParrot


    muso Im getting an error page
    Server Error in '/' Application.
    Input string was not in a correct format.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    
    Exception Details: System.FormatException: Input string was not in a correct format.
    
    Source Error:
    
    Line 648:                        Case "1"
    Line 649:                            'small blind posted
    Line 650:                            h.SmallBlind = Decimal.Parse(aNode.Attributes("sum").Value)
    Line 651:                            pot += h.SmallBlind
    Line 652:                            a.ActionType = PokerHandAction.HandActionType.Bet
    
    
    Source File: C:\Sites\Single26\suitedaces\webroot\App_Code\PokerHandParser.vb    Line: 650
    
    Stack Trace:
    
    [FormatException: Input string was not in a correct format.]
       System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2753251
       System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) +119
       System.Decimal.Parse(String s) +22
       PokerHandParser.ParseiPoker() in C:\Sites\Single26\suitedaces\webroot\App_Code\PokerHandParser.vb:650
       PokerHandParser.GetHand() in C:\Sites\Single26\suitedaces\webroot\App_Code\PokerHandParser.vb:126
       hands_converter.Import_Click(Object sender, EventArgs e) in C:\Sites\Single26\suitedaces\webroot\hands\converter.aspx.vb:62
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
    
    
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
    

    works with tourney hands though


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    DeadParrot wrote:
    muso Im getting an error page
    works with tourney hands though

    Should work now.


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    It won't work with Omaha just yet before anyone asks.


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    raise the river

    well eh ye see erm I knew I would need an example hand where at least 2 players went to showdown.


  • Registered Users, Registered Users 2 Posts: 2,764 ✭✭✭DeadParrot


    cool beans :)
    More than likely an omaha hand wrecking things there then


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 39,900 ✭✭✭✭Mellor


    Nice work, heres a hand I played out from last week.
    I am a sicko
    It looks worse than it is, there is history here, he has been doing this everyhand, and pushin in on flops alot, i called an all-in a few hands ago and he sucked out. I was trying to take down the pot here

    Paddy Power Heads Up Tourney 10/20 iPoker Converter from Talking-Poker

    saw flop|saw showdown

    3 (Button) Hero ($490)
    8 Villian ($1510)

    Preflop: Hero is in seat 3 with 3diamond.gif Kheart.gif
    Hero calls 10, Villian raises to 40, Hero calls 40.

    Flop (120) 9heart.gif Qheart.gif 5diamond.gif
    Villian bets 80, Hero moves all-in for 430, Villian calls 350.

    Turn (980) Jheart.gif

    River (980) Theart.gif

    Hero shows 3diamond.gif Kheart.gif
    Villian shows Kclub.gif Aheart.gif

    Hero wins 980 with Straight (Hearts) with King high


  • Registered Users, Registered Users 2 Posts: 3,608 ✭✭✭breadmonkey


    hmmm, how can I get a HH from PT into this converter?


  • Registered Users, Registered Users 2 Posts: 8,806 ✭✭✭Lafortezza


    musician wrote:
    It won't work with Omaha just yet before anyone asks.
    thatsracistmt0.gif


  • Closed Accounts Posts: 834 ✭✭✭peeko


    Brilliant stuff! Would be well handy if you could import from PT also

    Heres one where I accidently called a flop bet!

    Green Joke Poker real 0.50/1 iPoker Converter from Talking-Poker

    saw flop|saw showdown

    10 (Button) hero ($115.20)
    1 STEELFISH ($40.96)
    5 TripTic ($136.99)
    6 asialearnpokr ($26.54)
    8 209850 ($14.70)

    Preflop: hero is in seat 10 with Kclub.gif Jdiamond.gif
    2 folds, hero raises to 3.50, 1 fold, TripTic raises to 5, hero calls 2.50.

    Flop (12.50) 6diamond.gif Qspade.gif Aheart.gif
    TripTic checks, hero bets 8, TripTic raises to 16, hero calls 8.

    Turn (44.50) Tspade.gif
    TripTic checks, hero checks.

    River (44.50) 2diamond.gif
    TripTic bets 10, hero raises to 40

    hero shows Kclub.gif Jdiamond.gif

    hero wins 94.50 with A straight, Ace high


  • Closed Accounts Posts: 5,124 ✭✭✭NickyOD


    Wonderful Thanks Meuso!

    Green Joker Poker real 1/2 iPoker Converter from Talking-Poker

    saw flop|saw showdown

    1 (Button) alinstan ($197)
    3 JL37 ($198)
    5 Hero ($200)
    6 SharkonTilt ($214.55)
    8 fishk1ng ($357.55)
    10 smebulosa ($153.70)

    Preflop: Hero is in seat 5 with Adiamond.gif Aclub.gif
    SharkonTilt raises to 8, 4 folds, Hero raises to 24, SharkonTilt calls 18.

    Flop (53) Jspade.gif 7spade.gif 2diamond.gif
    Hero bets 35, SharkonTilt calls 35.

    Turn (123) Kspade.gif
    Hero checks, SharkonTilt bets 153.55, Hero moves all-in for 139.

    River (415.55) 9spade.gif

    Hero shows Adiamond.gif Aclub.gif
    SharkonTilt shows 6club.gif Aspade.gif

    SharkonTilt wins 415.55 with Flush (Spades) with Ace high


  • Closed Accounts Posts: 834 ✭✭✭peeko


    NickyOD wrote:
    Wonderful Thanks Meuso!

    Green Joker Poker real 1/2 iPoker Converter from Talking-Poker

    saw flop|saw showdown

    1 (Button) alinstan ($197)
    3 JL37 ($198)
    5 Hero ($200)
    6 SharkonTilt ($214.55)
    8 fishk1ng ($357.55)
    10 smebulosa ($153.70)

    Preflop: Hero is in seat 5 with Adiamond.gif Aclub.gif
    SharkonTilt raises to 8, 4 folds, Hero raises to 24, SharkonTilt calls 18.

    Flop (53) Jspade.gif 7spade.gif 2diamond.gif
    Hero bets 35, SharkonTilt calls 35.

    Turn (123) Kspade.gif
    Hero checks, SharkonTilt bets 153.55, Hero moves all-in for 139.

    River (415.55) 9spade.gif

    Hero shows Adiamond.gif Aclub.gif
    SharkonTilt shows 6club.gif Aspade.gif

    SharkonTilt wins 415.55 with Flush (Spades) with Ace high

    yuck


  • Registered Users, Registered Users 2 Posts: 1,361 ✭✭✭dougee19


    ive never heard of or used a converter before today, i cant seem to use it, i was writing my hand number into it and it didnt work,
    i dont have many xml files to my knowledge because i use all different computers...

    what do people think??
    dont think i played it badly, just got very lucky


    Green Joke Poker real 3/6 iPoker Converter from Talking-Poker

    saw flop|saw showdown

    1 (Button) michaeld18 ($869.52)
    2 pokerfalls ($819.85)
    5 gary2good4u ($363.55)
    6 rewere ($565.39)
    7 johnky ($69)
    9 alwaysbluffin1 ($519.50)
    10 pytonarms ($358.92)

    Preflop: michaeld18 is in seat 1 with Tspade.gif 8diamond.gif
    3 folds, pytonarms raises to 12, michaeld18 calls 12, pokerfalls calls 9, gary2good4u calls 6.

    Flop (48) 9spade.gif Jspade.gif Qspade.gif
    pokerfalls checks, gary2good4u checks, pytonarms checks, michaeld18 bets 30, 1 fold, gary2good4u calls 30, 1 fold.

    Turn (108) 4heart.gif
    gary2good4u checks, michaeld18 bets 75, gary2good4u calls 75.

    River (258) 8spade.gif
    gary2good4u checks, michaeld18 moves all-in for 752.52, gary2good4u moves all-in for 246.55

    michaeld18 shows Tspade.gif 8diamond.gif
    gary2good4u shows Aspade.gif 2spade.gif

    michaeld18 wins 1257.07 with Straight Flush (Spades) with Queen high


  • Registered Users, Registered Users 2 Posts: 7,754 ✭✭✭ianmc38


    Good work!


  • Closed Accounts Posts: 3,362 ✭✭✭Hitman Actual


    Good job Musician.

    I think it would be a good idea to add something in the charter where people are advised to use convertors for hand histories where possible. Reading HH's is fcuking painful. And it's for their own good as well, feedback-wise, as I'm sure there are people here who just ignore hand history threads.


  • Registered Users, Registered Users 2 Posts: 2,764 ✭✭✭DeadParrot


    musician wrote:
    It won't work with Omaha just yet before anyone asks.


    Just yet sounds so promising though


  • Advertisement
  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    DeadParrot wrote:
    Just yet sounds so promising though

    Should be easy enough really. I need to check and see if I can evaluate the winning hand with the component I use. If I can't I'll have to leave that bit out but I'll see. Off to Punchestown so Omaha will have to wait until the weekend.


  • Registered Users, Registered Users 2 Posts: 7,754 ✭✭✭ianmc38


    Hi Muso,

    A couple of issues with this one:

    1st It doesnt show the rest of the preflop action. He squeeze shoved.
    2nd I didnt win the full pot. He should have been returned some money.

    Green Joker Poker real 2/4 iPoker Converter from Talking-Poker

    saw flop|saw showdown

    6 (Button) junnu11 ($419)
    8 paaskebaesen ($265.70)
    10 villain ($991.72)
    3 huulken ($80)
    5 ian mc ($433)

    Preflop: ian mc is in seat 5 with Adiamond.gif Kheart.gif
    1 fold, ian mc raises to 16, junnu11 calls 16, 1 fold, 1 fold.

    Flop (1442.72) Jdiamond.gif Qspade.gif 6diamond.gif

    Turn (1442.72) Tspade.gif

    River (1442.72) 2spade.gif

    ian mc shows Adiamond.gif Kheart.gif
    villain shows 4heart.gif Qheart.gif

    ian mc wins 1442.72 with A straight, Ace high


  • Closed Accounts Posts: 677 ✭✭✭David Michael


    Cheers for the tool muso. Much appreciated!

    Got the following error on a tournie this morning. Maybe it was to big? Was a long session!


    [HTML]Server Error in '/' Application.
    Input string was not in a correct format.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.FormatException: Input string was not in a correct format.

    Source Error:

    Line 566: p.Seat = Int16.Parse(pNode.Attributes("seat").Value)
    Line 567: p.NickName = pNode.Attributes("name").Value
    Line 568: p.Stack = Decimal.Parse(pNode.Attributes("chips").Value.Replace(Currency, ""))
    Line 569: p.AmountInPlay = 0
    Line 570: p.Pokersite = _Sitename


    Source File: C:\Sites\Single26\suitedaces\webroot\App_Code\PokerHandParser.vb Line: 568

    Stack Trace:

    [FormatException: Input string was not in a correct format.]
    System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2753251
    System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) +119
    System.Decimal.Parse(String s) +22
    PokerHandParser.ParseiPoker() in C:\Sites\Single26\suitedaces\webroot\App_Code\PokerHandParser.vb:568
    PokerHandParser.GetHand() in C:\Sites\Single26\suitedaces\webroot\App_Code\PokerHandParser.vb:126
    hands_converter.Import_Click(Object sender, EventArgs e) in C:\Sites\Single26\suitedaces\webroot\hands\converter.aspx.vb:62
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
    [/HTML]


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    Cheers for the tool muso. Much appreciated!

    Got the following error on a tournie this morning. Maybe it was to big? Was a long session!

    Down to the bad xml files again. It's a tourney which doesn't declare at the start what currency is used (look at the xml file for a cash game and you'll see it) but puts a $ before amounts. I've assumed $ if not stated so this error should not happen now.

    Ian I sent you a pm. At the very least I would need the xml for that game to see where things are going wrong. I know my pot calculations are wrong so I'm going to fix that but I'm not certain about the incorrect action preflop.


  • Registered Users, Registered Users 2 Posts: 39,900 ✭✭✭✭Mellor


    Another thing is that tourneys come up as cash games,
    if blinds are 10/20, it comes up as real 10/20, and stacks have $ before them, it could make it confusing


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    Mellor wrote:
    Another thing is that tourneys come up as cash games,
    if blinds are 10/20, it comes up as real 10/20, and stacks have $ before them, it could make it confusing

    Yeah I'm going to redo alot of it today hopefully and try and iron out some things, tourneys in particular.


  • Closed Accounts Posts: 834 ✭✭✭peeko


    any chance you could implement it so that you could also convert it to where there are no image tags? some boards only allow 10 image tags max, the pure text would be good too, I wouldn't want to be leeching your bandwidth anyways :)


  • Registered Users, Registered Users 2 Posts: 3,608 ✭✭✭breadmonkey


    I am an idiot and can't work this. Please help me. How do you locate the specific HH?


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    Well you don't say exactly where you are having the difficulty but heres a quick recap...
    Browse to your file and import it once you have set everything you want. You will then be shown a list of all hands in the xml file including the hand you had for each one which you can use to find the one you want. Click on the handid to see it converted and go back if it's not the one you want. Then copy and paste it here.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,501 ✭✭✭BrokenArrows


    edit never mind.


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    O.k. a few updates on this. I think I have sorted your problems out ian but the hand in question did not appear to be in the file you gave me so check it out and let me know.
    I have added some other options. You can turn images on or off and you can get the converter to change the names of the opponents automatically according to their seat. You can still put in your own names too but the new option might save some time.
    Also tournaments will now not show $ signs which as requested will avoid confusion.
    Still no omhaha. Will have a look at that next.


  • Closed Accounts Posts: 19,341 ✭✭✭✭Chucky the tree


    How the hell do i work this thing?


  • Registered Users, Registered Users 2 Posts: 7,754 ✭✭✭ianmc38


    Select the xml file, then choose whichever hand you want displayed...


  • Closed Accounts Posts: 19,341 ✭✭✭✭Chucky the tree


    I forgot i have my HH going to another folder after they are imported to Pokertracker.:o


  • Closed Accounts Posts: 19,341 ✭✭✭✭Chucky the tree


    meh, found it, but still wont work. "Validation of viewstate MAC failed".


  • Advertisement
  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    Spotted an error just now which I have fixed if you'd like to give it another try.


  • Closed Accounts Posts: 19,341 ✭✭✭✭Chucky the tree


    Yep, working grand now.Cheers.


  • Moderators, Science, Health & Environment Moderators Posts: 9,035 Mod ✭✭✭✭mewso


    Update:

    Yamaha fans - should work now with correct winning hand calculated.
    Changing names to display by seat will display positions (BB, UTG etc.)
    Changing names to something specific like Villian can be done along with the auto name changing above if required.

    Next Up:

    PokerTracker HH conversion option.
    Windows software to do it offline.
    Save hand for playback in webpage.
    .....p.m. me or post further requests here.


  • Registered Users, Registered Users 2 Posts: 7,537 ✭✭✭Ste05


    musician wrote:
    PokerTracker HH conversion option.
    Nice one Muso, looking forward to this...


  • Registered Users, Registered Users 2 Posts: 2,886 ✭✭✭Marq


    Stepping down as mod as obviously freed Mewso up to return to being the most useful person on the poker forum.
    Kudos.


  • Advertisement
Advertisement