Conversor de manos

    • SinPek
      SinPek
      Bronce
      Registro: 08-26-2008 Artículos: 786
      A ver si me consigo explicar.

      He intentado estrenar el conversor de manos utilizando una mano jugada en Mansion (que me guarda las manos en formatos .xml en el historial, no se de que manera influye esto). El código de la mano concreta que pego en el conversor es éste que sigue y que entiendo que el conversor no lo entienda porque es casi ilegible:


      <game gamecode="1451747907">
      <general>
      <startdate>2009-02-22 20:08:40</startdate>
      <players>
      <player seat="1" name="appenausciti" chips="$2.33" dealer="0" win="$0" bet="$0.05" /><player seat="3" name="SinPek1987" chips="$0.76" dealer="0" win="$0.97" bet="$0.35" /><player seat="5" name="mikouinthe78" chips="$2.15" dealer="0" win="$0" bet="$0" /><player seat="6" name="marishua" chips="$1.57" dealer="0" win="$0" bet="$0.35" /><player seat="8" name="flipper01" chips="$3.20" dealer="1" win="$0" bet="$0.25" /><player seat="10" name="MikeTheMidget" chips="$3.54" dealer="0" win="$0" bet="$0.02" />
      </players>
      </general>
      <round no="0">
      <action no="2" player="appenausciti" type="2" sum="$0.05" cards="[cards]"/><action no="1" player="MikeTheMidget" type="1" sum="$0.02" cards="[cards]"/>
      </round>
      <round no="1">
      <cards type="Pocket" player="appenausciti">X X</cards><action no="8" player="appenausciti" type="0" sum="$0" cards=""/><cards type="Pocket" player="SinPek1987">SA SK</cards><action no="3" player="SinPek1987" type="23" sum="$0.10" cards=""/><cards type="Pocket" player="mikouinthe78">X X</cards><action no="4" player="mikouinthe78" type="0" sum="$0" cards=""/><cards type="Pocket" player="marishua">CQ CK</cards><action no="5" player="marishua" type="3" sum="$0.10" cards=""/><cards type="Pocket" player="flipper01">X X</cards><action no="6" player="flipper01" type="3" sum="$0.10" cards=""/><cards type="Pocket" player="MikeTheMidget">X X</cards><action no="7" player="MikeTheMidget" type="0" sum="$0" cards=""/>
      </round>
      <round no="2">
      <cards type="Flop" player="">DJ H2 HA</cards><action no="9" player="SinPek1987" type="5" sum="$0.05" cards=""/><action no="12" player="SinPek1987" type="23" sum="$0.15" cards=""/><action no="10" player="marishua" type="3" sum="$0.05" cards=""/><action no="13" player="marishua" type="3" sum="$0.10" cards=""/><action no="11" player="flipper01" type="23" sum="$0.10" cards=""/><action no="14" player="flipper01" type="3" sum="$0.05" cards=""/>
      </round>
      <round no="3">
      <cards type="Turn" player="">DA</cards><action no="15" player="SinPek1987" type="4" sum="$0" cards=""/><action no="16" player="marishua" type="4" sum="$0" cards=""/><action no="17" player="flipper01" type="4" sum="$0" cards=""/>
      </round>
      <round no="4">
      <cards type="River" player="">CA</cards><action no="18" player="SinPek1987" type="5" sum="$0.10" cards=""/><action no="19" player="marishua" type="3" sum="$0.10" cards=""/><action no="20" player="flipper01" type="0" sum="$0" cards=""/>
      </round>
      </game>
      En resumidas cuentas, que me parece que no sé manos... :(

      PD: la mano es un póker de ases con A K ;)
  • 5 respuestas
    • Jesus80
      Jesus80
      Bronce
      Registro: 11-15-2007 Artículos: 62.536
      Hola

      Te pido que me pases el historial original para probarlo.

      Saludos
      Jesus
    • SinPek
      SinPek
      Bronce
      Registro: 08-26-2008 Artículos: 786
      ¿Cómo te lo mando?
    • Jesus80
      Jesus80
      Bronce
      Registro: 11-15-2007 Artículos: 62.536
      Aqui mismo pegame el texto que viene

      Saludos
      Jesus
    • SinPek
      SinPek
      Bronce
      Registro: 08-26-2008 Artículos: 786
      Te copio aqui uno de los archivos .xml al completo de mi carpeta de historial:

      <?xml version="1.0" encoding="utf-8"?><session sessioncode="1463161121">
      <general>
      <mode>real</mode>
      <gametype>Holdem L 0.05/0.10</gametype>
      <tablename>Jasper</tablename>
      <duration>00:17</duration>
      <gamecount>2</gamecount>
      <startdate>2009-02-22 09:43:03</startdate>
      <currency>USD</currency>
      <nickname>SinPek1987</nickname>
      <bets>$0.17</bets>
      <wins>$0.20</wins>
      <chipsin>3.66</chipsin>
      <chipsout>3.69</chipsout>
      <ipoints>0</ipoints>

      </general>
      <game gamecode="1451626542">
      <general>
      <startdate>2009-02-22 19:11:45</startdate>
      <players>
      <player seat="1" name="thurisaz66" chips="$1.88" dealer="1" win="$0" bet="$0" /><player seat="3" name="dracul13" chips="$0.55" dealer="0" win="$0" bet="$0.05" /><player seat="5" name="SinPek1987" chips="$3.66" dealer="0" win="$0.20" bet="$0.15" />
      </players>
      </general>
      <round no="0">
      <action no="1" player="dracul13" type="1" sum="$0.02" cards="[cards]"/><action no="2" player="SinPek1987" type="2" sum="$0.05" cards="[cards]"/>
      </round>
      <round no="1">
      <cards type="Pocket" player="thurisaz66">X X</cards><action no="3" player="thurisaz66" type="0" sum="$0" cards=""/><cards type="Pocket" player="dracul13">X X</cards><action no="4" player="dracul13" type="3" sum="$0.03" cards=""/><cards type="Pocket" player="SinPek1987">S8 S10</cards><action no="5" player="SinPek1987" type="4" sum="$0" cards=""/>
      </round>
      <round no="2">
      <cards type="Flop" player="">D8 H8 H4</cards><action no="6" player="dracul13" type="4" sum="$0" cards=""/><action no="7" player="SinPek1987" type="4" sum="$0" cards=""/>
      </round>
      <round no="3">
      <cards type="Turn" player="">H2</cards><action no="8" player="dracul13" type="4" sum="$0" cards=""/><action no="10" player="dracul13" type="0" sum="$0" cards=""/><action no="9" player="SinPek1987" type="5" sum="$0.10" cards=""/>
      </round>

      </game><game gamecode="1451627706">
      <general>
      <startdate>2009-02-22 19:12:21</startdate>
      <players>
      <player seat="3" name="dracul13" chips="$0.50" dealer="0" win="$0.07" bet="$0.05" /><player seat="5" name="SinPek1987" chips="$3.71" dealer="1" win="$0" bet="$0.02" />
      </players>
      </general>
      <round no="0">
      <action no="2" player="dracul13" type="2" sum="$0.05" cards="[cards]"/><action no="1" player="SinPek1987" type="1" sum="$0.02" cards="[cards]"/>
      </round>
      <round no="1">
      <cards type="Pocket" player="dracul13">X X</cards><cards type="Pocket" player="SinPek1987">C6 H2</cards><action no="3" player="SinPek1987" type="0" sum="$0" cards=""/>
      </round>

      </game>
      </session>
    • Jesus80
      Jesus80
      Bronce
      Registro: 11-15-2007 Artículos: 62.536
      Hola

      AL parecer tendria que pasarse a .txt y seria un buen punto para que comentaras en este tema

      Mis Manos de Póquer: Comentarios y Sugerencias sobre el Conversor de Manos

      Saludos
      Jesus