Microgaming import problems

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Microgaming import problems

Postby cantonaa » Tue Sep 22, 2009 7:27 am

Hello!

My skin on Microgaming had an update today, and since I downloaded it PT3 fails to import hands. I get this message:

MicroGaming: Warning: Unrecognized game type: Hold'em (hand #xxxxxxxxxx)


Is there anything I can do about this or do I need to wait for a newer version of PT3?


Thanks.
cantonaa
 
Posts: 4
Joined: Tue Nov 11, 2008 5:53 pm

Re: Microgaming import problems

Postby kraada » Tue Sep 22, 2009 9:24 am

This is a known issue that is on our list to be fixed. I don't know for certain when it will be fixed but I'd be surprised if it wasn't fixed for the next Beta release.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Microgaming import problems

Postby cantonaa » Tue Sep 22, 2009 9:30 am

Are we talking days or weeks until the next Beta release?
cantonaa
 
Posts: 4
Joined: Tue Nov 11, 2008 5:53 pm

Re: Microgaming import problems

Postby kraada » Tue Sep 22, 2009 10:11 am

Hopefully days, but I can't say how many for certain. A breakthrough was made yesterday though in fixing some of the lag problems which existed in the latest alphas. I think there are a few more things that need fixing/testing but I think we're close, for what it's worth.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Microgaming import problems

Postby BaKsZiom » Tue Sep 22, 2009 10:38 am

Please fix it as fast as possible i can't play without hud.
BaKsZiom
 
Posts: 2
Joined: Thu Mar 26, 2009 6:27 am

Re: Microgaming import problems

Postby ALL_NI_VIRUS » Tue Sep 22, 2009 1:30 pm

Hope this prob. will be fixed VERY soon !!
ALL_NI_VIRUS
 
Posts: 2
Joined: Wed May 28, 2008 12:30 am

Re: Microgaming import problems

Postby cantonaa » Tue Sep 22, 2009 1:38 pm

Agree...
cantonaa
 
Posts: 4
Joined: Tue Nov 11, 2008 5:53 pm

Re: Microgaming import problems

Postby karbes » Wed Sep 23, 2009 12:27 pm

Here is a Java code which fixes the microgaming database:

Code: Select all
package primafix;

import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;

public class PrimaFix {

   /**
    * @param args
    */
   public static void main(String[] args) throws Exception {
      
      PrimaFix fx = new PrimaFix();
      fx.start();
   }
   
   public void start() throws Exception{
      Class.forName("org.sqlite.JDBC");
         Connection conn = DriverManager.getConnection("jdbc:sqlite:C:/MicroGaming/Poker/triobetMPP/gamehistory.dat");
         Statement stat = conn.createStatement();
         PreparedStatement prep = conn.prepareStatement(
             "select * from handhistory where gametype='Hold''em'");
      //"select * from handhistory where xmldump like '%Hold'em%'");

         conn.setAutoCommit(false);

         ResultSet rs = prep.executeQuery();
         PreparedStatement prep2 = conn.prepareStatement("update handhistory set gametype='Hold ''em' where handid=?");
         PreparedStatement prep3 = conn.prepareStatement("update handhistory set XMLDump=? where handid=?");
         int count = 0;
         while (rs.next()) {
            count++;
            long handid = rs.getLong("handid");
            String xmlDump = rs.getString("XMLDump");
             System.out.println(count + ". fixing hand " + handid);
             prep2.setLong(1, handid);
             prep2.executeUpdate();
             String newXml = xmlDump.replaceAll("Hold'em", "Hold 'em");
             prep3.setString(1, newXml);
             prep3.setLong(2, handid);
             prep3.executeUpdate();
         }
         rs.close();
         conn.commit();
         conn.close();
      
   }
   
}
karbes
 
Posts: 8
Joined: Wed Jun 17, 2009 2:01 pm

Re: Microgaming import problems

Postby kraada » Wed Sep 23, 2009 2:01 pm

Thanks, though we do have it already fixed natively for the next beta release. Hopefully that will happen within a few days at the outside, but that program does look like it will work in the meantime for those who need it.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Microgaming import problems

Postby sofian47 » Wed Sep 23, 2009 2:29 pm

how do you use the Java code?
sofian47
 
Posts: 4
Joined: Fri Sep 04, 2009 4:56 pm

Next

Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 17 guests

cron