Post Reply 
 
Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Meerkat API help
01-05-2014, 01:05 AM
Post: #1
Meerkat API help
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-06-2014, 09:40 PM
Post: #2
RE: Meerkat API help
We are working on such a tutorial and it will be published in 1-2 weeks I think.
Find all posts by this user
Quote this message in a reply
02-19-2014, 06:26 AM
Post: #3
RE: Meerkat API help
Hi,

I found the following blog to be quite helpfull for Poker Academy:
http://blog.johnbnelson.com/botting-with...y-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
Find all posts by this user
Quote this message in a reply
02-21-2014, 03:16 AM (This post was last modified: 02-21-2014 03:28 AM by ibot.)
Post: #4
RE: Meerkat API help
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...y-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
Find all posts by this user
Quote this message in a reply
02-21-2014, 05:55 AM
Post: #5
RE: Meerkat API help
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
Find all posts by this user
Quote this message in a reply
02-21-2014, 07:41 AM (This post was last modified: 02-21-2014 07:44 AM by ibot.)
Post: #6
RE: Meerkat API help
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
Find all posts by this user
Quote this message in a reply
02-21-2014, 03:17 PM (This post was last modified: 02-21-2014 03:18 PM by Poker Genius.)
Post: #7
RE: Meerkat API help
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.
Find all posts by this user
Quote this message in a reply
02-22-2014, 10:07 PM
Post: #8
RE: Meerkat API help
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.
Find all posts by this user
Quote this message in a reply
02-23-2014, 01:34 AM
Post: #9
RE: Meerkat API help
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
Find all posts by this user
Quote this message in a reply
02-25-2014, 12:09 AM
Post: #10
RE: Meerkat API help
I've forwarded this to our programmers. Will be back with their answer soon.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)