Poker Genius Forums
Meerkat API help - Printable Version

+- Poker Genius Forums (http://poker-genius.com/forum)
+-- Forum: Poker Genius (/Forum-Poker-Genius)
+--- Forum: Poker Genius API and AI Discussion (/Forum-Poker-Genius-API-and-AI-Discussion)
+--- Thread: Meerkat API help (/Thread-Meerkat-API-help)

Pages: 1 2


Meerkat API help - AYBABTU - 01-05-2014 01:05 AM

I would like to learn more about creating and customizing my own bots modeling them after some live players that I've encountered.
I am interested in learning how to use the meerkat api to program the ai. I've downloaded the meerkat 2.5 api and tried to understand the instructions. The advanced instructions that are referred to in the help file no longer exist on the Poker Academy forum.

Basically, where do I start?
How do I set up meerkat within Poker Genius and use it to program bots?

I've never used java programming before so I am a newbie in this regard.

I am excited about the possibility of creating and customizing my own bots.


RE: Meerkat API help - Poker Genius - 01-06-2014 09:40 PM

We are working on such a tutorial and it will be published in 1-2 weeks I think.


RE: Meerkat API help - tcourl - 02-19-2014 06:26 AM

Hi,

I found the following blog to be quite helpfull for Poker Academy:
http://blog.johnbnelson.com/botting-with-poker-academy-pro.html

That being said, unfortunately I can't get it work on Poker Genius as I get the following error in the error.log:
Quote:Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/biotools/meerkat/Player
(...)
Caused by: java.lang.ClassNotFoundException: com.biotools.meerkat.Player

Does it mean that the MeerkatApi has been changed? Any hint on how to solve this would be greatly appreciated !

Thanks,
Thomas


RE: Meerkat API help - ibot - 02-21-2014 03:16 AM

Having a play around it looks like some classes have changed now.

Therefore, in the bots .pd file, you'll have to change the PlayerClass line to:
PLAYER_CLASS=com.vpromotions.poker.opponent.PlugInOpponent

Instead of:
PLAYER_CLASS=com.biotools.meerkat.Player

Which is what I guess you have at the moment.

(02-19-2014 06:26 AM)tcourl Wrote:  Hi,

I found the following blog to be quite helpfull for Poker Academy:
http://blog.johnbnelson.com/botting-with-poker-academy-pro.html

That being said, unfortunately I can't get it work on Poker Genius as I get the following error in the error.log:
Quote:Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/biotools/meerkat/Player
(...)
Caused by: java.lang.ClassNotFoundException: com.biotools.meerkat.Player

Does it mean that the MeerkatApi has been changed? Any hint on how to solve this would be greatly appreciated !

Thanks,
Thomas

I would also like to know when a tutorial would be available on this topic?

Now that i've paid i'd like to be able to use the software to it's full potential.

Thanks


RE: Meerkat API help - tcourl - 02-21-2014 05:55 AM

Thanks for the hint.

Is anyone aware of any meerkat bot available for download on the net ?
(to have additional bots in Poker Genius / Poker Academy)

Thanks !
Thomas


RE: Meerkat API help - ibot - 02-21-2014 07:41 AM

There are several available, although the PA/PG bots will likely be better quality.

2 available here:
http://oursland.net/projects/pabots/

There's an open source framework called opentestbed that's used for testing bots using the meerkat api. I'm pretty sure you can add the bots available in it to PA/PG, that's what i'm attempting now. (Link: https://code.google.com/p/opentestbed/w/list )

With opentestbed the two top performers seem to be SimpleBot and MCTSBot.

Hope that helps!

(02-21-2014 05:55 AM)tcourl Wrote:  Thanks for the hint.

Is anyone aware of any meerkat bot available for download on the net ?
(to have additional bots in Poker Genius / Poker Academy)

Thanks !
Thomas



RE: Meerkat API help - Poker Genius - 02-21-2014 03:17 PM

Hi there!

We've tried to make Poker Genius compatible with Meerkat API. The only detail you need to change is the class names.
In the original Meerkat API we can see the name "biotools" and it has to be changed to "vpromotions".
So please make these changes in the source files/.pd files.

Please post here if you succeed with launching the bots.


RE: Meerkat API help - ibot - 02-22-2014 10:07 PM

Hi,

Do you have the Meerkat API with the changes from biotools to vpromotions available for download? Although I've changed the code in the .pd file, I'm unsure on how I can make the changes in the source code without the updated Meerkat API?

I still get the same error as tcourl in the error.log, plus a couple of others.

Quote:Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/biotools/meerkat/Player
(...)
Caused by: java.lang.ClassNotFoundException: com.biotools.meerkat.Player
Quote:java.io.FileNotFoundException: /Library/Preferences/PokerGenius/meerkat.prefs (No such file or directory)
(...)
Null data: com.biotools.meerkat.Player

Thanks

(02-21-2014 03:17 PM)Poker Genius Wrote:  Hi there!

We've tried to make Poker Genius compatible with Meerkat API. The only detail you need to change is the class names.
In the original Meerkat API we can see the name "biotools" and it has to be changed to "vpromotions".
So please make these changes in the source files/.pd files.

Please post here if you succeed with launching the bots.



RE: Meerkat API help - ibot - 02-23-2014 01:34 AM

I've attempted to recompile the Meerkat-API-2.5 and changed the package name from biotools to vpromotions. The API seems to work with opentestbed so I assume it's ok, but may not be perfect.

However, when I try to use the updated Meerkat-API (vpromotions instead of biotools), I still get errors, although different than before, when trying to add any bots.

Could you provide an example bot and pd file?
The Meerkat-API-2.5.zip comes with SimpleBot as an example, however I can't get that to work. Do you think you could show how to get that bot working?

Thanks


RE: Meerkat API help - Poker Genius - 02-25-2014 12:09 AM

I've forwarded this to our programmers. Will be back with their answer soon.