Hello.
I want to use rake system in my Invite Friends part which every player can show their rake status, but I don't know how or with what command May I use this rake commission for every player who had invited another players...
Best Regards...
How is Rake system working?
-
- Site Admin
- Posts: 5882
- Joined: Wed Mar 19, 2008 8:47 pm
Re: How is Rake system working?
Rake is recorded in the hand history files for each hand like this example:kingprado wrote:I want to use rake system in my Invite Friends part which every player can show their rake status, but I don't know how or with what command May I use this rake commission for every player who had invited another players...
Rake (4) Pot (80) Players (player_x: 40, player_y: 40, player_z: 0)
This shows the amount of rake taken (4), the size of the pot before the rake was taken (80), and the number of chips contributed to the pot by each player that was dealt cards. A single hand can have multiple Rake lines if there are side pots involved. Use the LogsHandHistory command in the API to load the hand history files. Pull out the rake info into a database and do what you want with that info. This could be performed once per day after each table's history file is closed at midnight or it could be performed in real time as each hand completes by using the Callback Event system and monitoring the Hand event.
Also see the standalone Rake Stats utility at http://www.briggsoft.com/docs/pmavens/Utilities.htm which allows you to manually import hand history files into a SQLite database and produce a variety of rake reports.
Re: How is Rake system working?
Kent Thank you.
But I want to know how I can get a user"s specific rake ( percentage ) I mean the command that is showing every players rake commission , so then that user will see his/her rake and will change balance.
Thanks again.
But I want to know how I can get a user"s specific rake ( percentage ) I mean the command that is showing every players rake commission , so then that user will see his/her rake and will change balance.
Thanks again.
-
- Site Admin
- Posts: 5882
- Joined: Wed Mar 19, 2008 8:47 pm
Re: How is Rake system working?
Poker Mavens does not compile or maintain player stats. It just records everything that happened in the raw hand history files. It's up to you to write code to extract the information you want.kingprado wrote:But I want to know how I can get a user"s specific rake ( percentage ) I mean the command that is showing every players rake commission , so then that user will see his/her rake and will change balance.
Re: How is Rake system working?
Kent, May I ask for a simple code? I want a sample code which is just showing every users rake status ...If you help me in this it would be great cuz I do have sample and I know what to do in future...
Thank you
Thank you
-
- Site Admin
- Posts: 5882
- Joined: Wed Mar 19, 2008 8:47 pm
Re: How is Rake system working?
It's not simple code. It requires parsing the history files, extracting the numbers, adding them to a database, building queries for that database, etc.kingprado wrote:Kent, May I ask for a simple code? I want a sample code which is just showing every users rake status
Re: How is Rake system working?
Kent Briggs wrote:It's not simple code. It requires parsing the history files, extracting the numbers, adding them to a database, building queries for that database, etc.kingprado wrote:Kent, May I ask for a simple code? I want a sample code which is just showing every users rake status
I really do appreciate your kindness Kent.
My main question is now this , where and how I can access to this data base to extract them? Is it that software which is available in web site?
Thanks
-
- Site Admin
- Posts: 5882
- Joined: Wed Mar 19, 2008 8:47 pm
Re: How is Rake system working?
You can either open the hand history files directly or use the LogsHandHistory command in the API to retrieve them.kingprado wrote:My main question is now this , where and how I can access to this data base to extract them? Is it that software which is available in web site?
Re: How is Rake system working?
Rake is totally new to me. I am using Ace Poker Drills in HM2. It tracks and charts progress of my game.