Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #271  
Old 08-06-2007, 02:12 PM
Triggerle Triggerle is offline
Senior Member
 
Join Date: Oct 2005
Location: What\'s a matter with you, rock?
Posts: 1,439
Default Re: Poker Hand XML

Jerry,

Sorry for overreacting on my part. Since I had given several arguments about why chat can be important I took the word "irrelevant" a bit personally.

Best.
Reply With Quote
  #272  
Old 08-06-2007, 03:34 PM
mikechops mikechops is offline
Senior Member
 
Join Date: Aug 2005
Posts: 2,168
Default Re: Poker Hand XML

This thread seems to have gotten a bit bogged down. I think Tickner's proposed format was pretty close and we just have 3-4 issues left to decide. I don't think any of them are clear cut, in that there are reasons on both sides. I think we have all the relevant arguments that could be made and it's just a case of deciding which is stronger than the other.

How about Tickner arranges a vote on them? I'm against a poll but could he select the dozen or so people that have contributed here and decide these issues:-

Raise amounts. ("raise to" or "new chips in pot"
Chat. (in or out and if in, metadata or in the body of the hand)
Summary won/loss info in the player node. Yes/no?

Anything I left out?
Reply With Quote
  #273  
Old 08-06-2007, 10:56 PM
abort abort is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Default Re: Poker Hand XML

Equal to chat there is an issue whether to include in HHXML players present at the table but sitting out.

It is true that for an isolated HH these people can be left out.

But in the context of a session or several sessions they should be in HHXML if we preserve all available info.

These sitting outs could be bots with their showing patterns of sitting out. Or they could be just specifically used instruments for recording HH in cases when site gives HH out only for those who are present at table. In this case we are going to know that we are/were being recorded by someone.
Reply With Quote
  #274  
Old 08-07-2007, 02:38 AM
JerrySevere JerrySevere is offline
Junior Member
 
Join Date: Jul 2007
Posts: 8
Default Re: Poker Hand XML

[ QUOTE ]

Raise amounts. ("raise to" or "new chips in pot"
Chat. (in or out and if in, metadata or in the body of the hand)
Summary won/loss info in the player node. Yes/no?

Anything I left out?

[/ QUOTE ]
Yeap [img]/images/graemlins/smile.gif[/img]
-Dealer informations , sb , bb , dead small , etc
-Cashgame vs tournament : attribute vs markup / tournament context , etc...
-string value length (CG vs cashgame , NL vs No-limit, etc)
-others variants issues , Omaha , stud , etc.

I am ok , you need some people to vote. I think people who already made a software and are interested with the XPkrHH format should be in (like rvg and Tickner).
Reply With Quote
  #275  
Old 08-07-2007, 05:04 AM
JerrySevere JerrySevere is offline
Junior Member
 
Join Date: Jul 2007
Posts: 8
Default Re: Poker Hand XML

Here are some Everest Hands converted in a HHXML like format.
<font class="small">Code:</font><hr /><pre>
&lt;texasholdemhand&gt;
&lt;context&gt;
&lt;location online="true" room="Everest Poker"/&gt;
&lt;game id="1830014152" betting="NL" format="CG" SB="0.25" BB="0.5"/&gt;
&lt;table id="266.56.2429" name="Doha-15" seats="10"&gt;
&lt;player id="player1" seat="0" stack="47.35"/&gt;
&lt;player id="player2" seat="1" stack="61.65"/&gt;
&lt;player id="player3" seat="2" stack="46.15"/&gt;
&lt;player id="player4" seat="3" stack="24.95"/&gt;
&lt;player id="player5" seat="4" stack="43.15"/&gt;
&lt;player id="player6" seat="5" stack="69.9" dealer="true"/&gt;
&lt;/table&gt;
&lt;/context&gt;
&lt;rounds&gt;
&lt;forced&gt;
&lt;smallblind playerid="player1"/&gt;
&lt;bigblind playerid="player2"/&gt;
&lt;/forced&gt;
&lt;round id="preflop"&gt;
&lt;deal&gt;
&lt;card playerid="player2" value="5d"/&gt;
&lt;card playerid="player2" value="9d"/&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action playerid="player3" type="fold"/&gt;
&lt;action playerid="player4" type="fold"/&gt;
&lt;action playerid="player5" type="fold"/&gt;
&lt;action playerid="player6" amount="0.5" type="call"/&gt;
&lt;action playerid="player1" amount="0.25" type="call"/&gt;
&lt;action playerid="player2" type="check"/&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;round id="flop"&gt;
&lt;deal&gt;
&lt;card value="3d"/&gt;
&lt;card value="As"/&gt;
&lt;card value="Jh"/&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action playerid="player1" amount="1.0" type="bet"/&gt;
&lt;action playerid="player2" type="fold"/&gt;
&lt;action playerid="player6" type="fold"/&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;/rounds&gt;
&lt;results&gt;
&lt;cards/&gt;
&lt;pots&gt;
&lt;pot playerid="player1" value="1.45"/&gt;
&lt;/pots&gt;
&lt;/results&gt;
&lt;/texasholdemhand&gt;
</pre><hr />


<font class="small">Code:</font><hr /><pre>
&lt;texasholdemhand&gt;
&lt;context&gt;
&lt;location online="true" room="Everest Poker"/&gt;
&lt;game id="1830000000" betting="NL" format="CG" SB="0.25" BB="0.5"/&gt;
&lt;table id="266.56.2429" name="Doha-15" seats="6"&gt;
&lt;player id="player1" seat="0" stack="48.3" dealer="true"/&gt;
&lt;player id="player2" seat="1" stack="61.15"/&gt;
&lt;player id="player3" seat="2" stack="46.15"/&gt;
&lt;player id="player4" seat="3" stack="24.95"/&gt;
&lt;player id="player5" seat="5" stack="69.4"/&gt;
&lt;/table&gt;
&lt;/context&gt;
&lt;rounds&gt;
&lt;forced&gt;
&lt;smallblind playerid="player2"/&gt;
&lt;bigblind playerid="player3"/&gt;
&lt;/forced&gt;
&lt;round id="preflop"&gt;
&lt;deal&gt;
&lt;card playerid="player2" value="Ks"/&gt;
&lt;card playerid="player2" value="5c"/&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action playerid="player4" type="fold"/&gt;
&lt;action playerid="player5" amount="0.5" type="call"/&gt;
&lt;action playerid="player1" amount="2.0" type="raise"/&gt;
&lt;action playerid="player2" type="fold"/&gt;
&lt;action playerid="player3" type="fold"/&gt;
&lt;action playerid="player5" amount="1.5" type="call"/&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;round id="flop"&gt;
&lt;deal&gt;
&lt;card value="8c"/&gt;
&lt;card value="9s"/&gt;
&lt;card value="10c"/&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action playerid="player5" type="check"/&gt;
&lt;action playerid="player1" amount="2.25" type="bet"/&gt;
&lt;action playerid="player5" amount="2.25" type="call"/&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;round id="turn"&gt;
&lt;deal&gt;
&lt;card value="7h"/&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action playerid="player5" amount="9.25" type="bet"/&gt;
&lt;action playerid="player1" amount="9.25" type="call"/&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;round id="river"&gt;
&lt;deal&gt;
&lt;card value="5s"/&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action playerid="player5" amount="27.75" type="bet"/&gt;
&lt;action playerid="player1" allin="true" amount="34.8" type="raise"/&gt;
&lt;action playerid="player5" amount="7.05" type="call"/&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;/rounds&gt;
&lt;results&gt;
&lt;cards&gt;
&lt;card value="Jd" playerid="player5"/&gt;
&lt;card value="8d" playerid="player5"/&gt;
&lt;card value="Jc" playerid="player1"/&gt;
&lt;card value="Qc" playerid="player1"/&gt;
&lt;/cards&gt;
&lt;pots&gt;
&lt;pot playerid="player1" value="95.35"/&gt;
&lt;/pots&gt;
&lt;/results&gt;
&lt;/texasholdemhand&gt;
</pre><hr />
Reply With Quote
  #276  
Old 08-07-2007, 06:16 AM
squashington squashington is offline
Senior Member
 
Join Date: Jun 2007
Posts: 102
Default Re: Poker Hand XML

This might not make any sense but if HH converter sites like pokerhand begin using an XML format(?) could I "subscribe" to user's hands through my RSS reader?

It'd be nice to subscribe to a "top 50 hands of the day" feed.
Reply With Quote
  #277  
Old 08-07-2007, 08:43 AM
JerrySevere JerrySevere is offline
Junior Member
 
Join Date: Jul 2007
Posts: 8
Default Re: Poker Hand XML

Ok another hand with metadatas info , chat and comment / and also return uncalled bet
This is a real everest hand.

<font class="small">Code:</font><hr /><pre>
&lt;pokerhandxml&gt;
&lt;texasholdemhand&gt;
&lt;context&gt;
&lt;location online="true" room="Everest Poker"/&gt;
&lt;game id="1842674364" betting="NL" format="CG" SB="0.25" BB="0.5"/&gt;
&lt;table id="266.36.1174" name="Berlin-15" seats="10"&gt;
&lt;player id="player1" seat="0" stack="41.25"/&gt;
&lt;player id="player2" seat="1" stack="4.75"/&gt;
&lt;player id="player3" seat="3" stack="3.0"/&gt;
&lt;player id="player4" seat="4" stack="16.75"/&gt;
&lt;player id="player5" seat="5" stack="10.5"/&gt;
&lt;player id="player5" seat="6" stack="44.25"/&gt;
&lt;player id="player6" seat="7" stack="54.2"/&gt;
&lt;player id="player7" seat="8" stack="14.15" dealer="true"/&gt;
&lt;player id="player8" seat="9" stack="80.9"/&gt;
&lt;/table&gt;
&lt;/context&gt;
&lt;rounds&gt;
&lt;forced&gt;
&lt;smallblind playerid="player8"/&gt;
&lt;bigblind playerid="player1"/&gt;
&lt;/forced&gt;
&lt;round id="preflop"&gt;
&lt;deal&gt;
&lt;card playerid="player5" value="6s"/&gt;
&lt;card playerid="player5" value="4s"/&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action playerid="player2" type="fold"/&gt;
&lt;action playerid="player3" allin="true" type="raise" amount="3.0"/&gt;
&lt;action playerid="player4" type="call" amount="3.0"/&gt;
&lt;action playerid="player5" type="fold"/&gt;
&lt;action playerid="player5" type="fold"/&gt;
&lt;action playerid="player6" type="call" amount="3.0"&gt;
&lt;metadatas&gt;
&lt;chat playerid="player4"&gt;calling&lt;/chat&gt;
&lt;chat playerid="player6"&gt;haha&lt;/chat&gt;
&lt;/metadatas&gt;
&lt;/action&gt;
&lt;action playerid="player7" type="fold"/&gt;
&lt;action playerid="player8" type="fold"&gt;
&lt;metadatas&gt;
&lt;chat playerid="player4"&gt;jaaa&lt;/chat&gt;
&lt;/metadatas&gt;
&lt;/action&gt;
&lt;action playerid="player1" type="call" amount="2.5"&gt;
&lt;metadatas&gt;
&lt;chat playerid="player4"&gt;ben je &lt;/chat&gt;
&lt;/metadatas&gt;
&lt;/action&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;round id="flop"&gt;
&lt;deal&gt;
&lt;card value="Td"/&gt;
&lt;card value="4d"/&gt;
&lt;card value="Tc"/&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action playerid="player1" type="check"/&gt;
&lt;action playerid="player4" type="check"&gt;
&lt;metadatas&gt;
&lt;chat playerid="player6"&gt;hahaha 10 in de hand!!&lt;/chat&gt;
&lt;/metadatas&gt;
&lt;/action&gt;
&lt;action playerid="player6" type="bet" amount="12.25"&gt;
&lt;metadatas&gt;
&lt;comment&gt;SOME COMMENTS ABOUT THE ACTION&lt;/comment&gt;
&lt;/metadatas&gt;
&lt;/action&gt;
&lt;action playerid="player1" type="fold"/&gt;
&lt;action playerid="player4" type="fold"/&gt;
&lt;action playerid="player6" type="return" amount="12.25"/&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;round id="turn"&gt;
&lt;deal&gt;
&lt;card value="5d"/&gt;
&lt;/deal&gt;
&lt;/round&gt;
&lt;round id="river"&gt;
&lt;deal&gt;
&lt;card value="Th"/&gt;
&lt;/deal&gt;
&lt;actions/&gt;
&lt;/round&gt;
&lt;/rounds&gt;
&lt;results&gt;
&lt;cards&gt;
&lt;card value="Ts" playerid="player6"/&gt;
&lt;card value="Qc" playerid="player6"/&gt;
&lt;card value="Ks" playerid="player3"/&gt;
&lt;card value="Jh" playerid="player3"/&gt;
&lt;/cards&gt;
&lt;pots&gt;
&lt;pot playerid="player6" value="11.65"/&gt;
&lt;/pots&gt;
&lt;/results&gt;
&lt;/texasholdemhand&gt;
&lt;/pokerhandxml&gt;
</pre><hr />
Reply With Quote
  #278  
Old 08-07-2007, 10:02 AM
Triggerle Triggerle is offline
Senior Member
 
Join Date: Oct 2005
Location: What\'s a matter with you, rock?
Posts: 1,439
Default Re: Poker Hand XML

Jerry,

I would not tie chat events to a playerid. There will be chat that's not from a player for example disconnect messages or observer chat. Especially the former could be quite important for how a hand plays out.

Also, it will be difficult to parse all the chat and tie it to the correct player so I think it would be better to just take chat line for line and insert it into the appropriate places.

Here's your example ammended, although I still prefer my &lt;action type="notice"&gt; way of dealing with chat.

<font class="small">Code:</font><hr /><pre>
&lt;action playerid="player6" type="call" amount="3.0"&gt;
&lt;metadata&gt;
&lt;chat&gt;Player4: calling&lt;/chat&gt;
&lt;chat&gt;Player6: haha&lt;/chat&gt;
&lt;chat&gt;Dealer: Player4 has 5 seconds left to act&lt;/chat&gt;
&lt;/metadata&gt;
&lt;/action&gt;
</pre><hr />
Reply With Quote
  #279  
Old 08-09-2007, 02:56 PM
Tickner Tickner is offline
Senior Member
 
Join Date: Mar 2006
Posts: 3,554
Default Re: Poker Hand XML

PokerHandXML Version 0.1

I've restarted the version count to 0.1 to make this easier. Since this thread seems to have lost momentum, I have edited my previous XML document and added the following changes:

1. Renamed &lt;texasholdemhand&gt; to &lt;pokerhand&gt; with the element "game". This indicates what game is being played inside that particular &lt;pokerhand&gt;.

2. Added the element &lt;hands&gt; to the &lt;results&gt; element, which is completely optional. It lists the known hands and a textual representation. This needs to be added because most poker hand histories do give a textual representation of the rank of the shown hands. If this isn't included in the hand history, how will programs figure it out? I do not know of any programs that let you input 7 cards and have it return the best poker hand (perhaps that is a good idea to make) with a textual representation. BUT if someone did have access to said program, why should they not be allowed to include it in the pokerhand XML so that applications can take advantage of this? LegoPoker HH converter displays a textual representation of each hand is parses (if available) and I'd like the format to support this. If you dont like it - dont use it - all applications should be set up to work properly without it since its optional.

3. Added the arrtibute "hidden" to the &lt;card&gt; element. If the card is a downcard to that player and is not visible to other players, mark this true. Default is true so you only need to specify this attribute if the card is to a player and is not hidden (stud for ex).

<font class="small">Code:</font><hr /><pre>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;pokerhandxml&gt;
&lt;pokerhand game="texasholdem"&gt;
&lt;context&gt;
&lt;location online="true" room="Party Poker" /&gt;
&lt;game id="157430484" datetime="2007-10-06T19:05:56Z" betting="nolimit" format="tournament" cap="false"&gt;
&lt;forcedbets ante="0" smallblind="20" bigblind="40" straddle="80" /&gt;
&lt;tournament buyin="20" vig="2" id="232304555-1" capamount="0" /&gt;
&lt;cashgame maxbuyin="200" capamount="120" /&gt;
&lt;currency code="USD" /&gt;
&lt;/game&gt;
&lt;table id="562102981" name="Denmark Dr." seats="10"&gt;
&lt;player id="Tickner" seat="1" stack="250" /&gt;
&lt;player id="sbrugby" seat="3" stack="2155" /&gt;
&lt;player id="BldSwtTrs" seat="5" stack="2500" /&gt;
&lt;player id="durrr" seat="9" stack="2500" /&gt;
&lt;/table&gt;
&lt;/context&gt;
&lt;rounds&gt;
&lt;forced&gt;
&lt;blind playerid="Tickner" amount="20" /&gt;
&lt;blind playerid="sbrugby" amount="40" /&gt;
&lt;/forced&gt;
&lt;round id="preflop"&gt;
&lt;deal&gt;
&lt;card value="Ah" playerid="Tickner" hidden="true" /&gt;
&lt;card value="Ac" playerid="Tickner" hidden="true" /&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action type="fold" playerid="BldSwtTrs" /&gt;
&lt;action type="raise" playerid="durrr" amount="115" /&gt;
&lt;action type="raise" playerid="Tickner" amount="250" allin="true" /&gt;
&lt;action type="raise" playerid="sbrugby" amount="400" /&gt;
&lt;action type="call" playerid="durrr" amount="285" allin="false" /&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;round id="flop"&gt;
&lt;deal&gt;
&lt;card value="As" /&gt;
&lt;card value="Ad" /&gt;
&lt;card value="Kd" /&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action type="check" playerid="sbrugby" /&gt;
&lt;chat playerid="durrr"&gt;Alright...lets just check it down okay?&lt;/chat&gt;
&lt;chat playerid="sbrugby"&gt;Up to you!&lt;/chat&gt;
&lt;action type="check" playerid="durrr" /&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;round id="turn"&gt;
&lt;deal&gt;
&lt;card value="Qd" /&gt;
&lt;/deal&gt;
&lt;actions&gt;
&lt;action type="check" playerid="sbrugby" /&gt;
&lt;chat playerid="durrr"&gt;I was JK Man&lt;/chat&gt;
&lt;action type="bet" playerid="durrr" amount="2100" allin="true" /&gt;
&lt;chat observer="true"&gt;lol&lt;/chat&gt;
&lt;action type="call" playerid="sbrugby" amount="1750" allin="true" /&gt;
&lt;action type="return" playerid="durrr" amount="350" /&gt;
&lt;/actions&gt;
&lt;/round&gt;
&lt;round id="river"&gt;
&lt;deal&gt;
&lt;card value="4s" /&gt;
&lt;/deal&gt;
&lt;/round&gt;
&lt;/rounds&gt;
&lt;results&gt;
&lt;cards&gt;
&lt;card value="Ah" playerid="Tickner" /&gt;
&lt;card value="Ac" playerid="Tickner" /&gt;
&lt;card value="Qh" playerid="sbrugby" /&gt;
&lt;card value="Qc" playerid="sbrugby" /&gt;
&lt;card value="Kh" playerid="durrr" /&gt;
&lt;card value="Kc" playerid="durrr" /&gt;
&lt;/cards&gt;
&lt;hands&gt;
&lt;hand playerid="Tickner"&gt;Four of a Kind, Aces&lt;/hand&gt;
&lt;hand playerid="sbrugby"&gt;Full House, Queens Full of Aces&lt;/hand&gt;
&lt;hand playerid="durrr"&gt;Full House, Kings Full of Aces&lt;/hand&gt;
&lt;/hands&gt;
&lt;pots value="4560" rake="0"&gt;
&lt;pot number="1" value="750" winner="Tickner" /&gt;
&lt;pot number="2" value="3810" winner="durrr" /&gt;
&lt;/pots&gt;
&lt;/results&gt;
&lt;/pokerhand&gt;
&lt;/pokerhandxml&gt;</pre><hr />
Reply With Quote
  #280  
Old 08-09-2007, 02:57 PM
Tickner Tickner is offline
Senior Member
 
Join Date: Mar 2006
Posts: 3,554
Default Re: Poker Hand XML

If there is nothing wrong with this I would like to start working on the official documentation and converter so we can move into the beta stage. Let me know.

My only issue is: How should we deal with tournaments?
Reply With Quote
Reply


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 05:10 PM.


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