Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-30-2005, 02:57 PM
Voltron87 Voltron87 is offline
Senior Member
 
Join Date: Nov 2004
Location: checkraising young children
Posts: 1,326
Default PT rakeback Q

If I look at the "total rake" stat under the general tab of PT, is that roughly how much rake ive generated? Can I just multiply this by the decimal of rakeback I get to find approximately how much I'll get paid? Or is that stat nowhere close to what im looking for?
Reply With Quote
  #2  
Old 07-30-2005, 03:59 PM
grinin grinin is offline
Junior Member
 
Join Date: Mar 2004
Posts: 8
Default Re: PT rakeback Q

Game Notes tab > Show only hand played by (your screen name) > Get all button

Take rake shown divide by avg. players per hand (APH) x rakeback percent
Reply With Quote
  #3  
Old 07-30-2005, 04:48 PM
_dave_ _dave_ is offline
Junior Member
 
Join Date: Feb 2005
Location: UK
Posts: 17
Default Re: PT rakeback Q

Copy &amp; paste the following WSH/JavaScript code into notepad, change the <font color="blue">blue</font> parts to match your PTDB / player name / RB%, then save the file as rb.js in the same directory as your PTDB files, usually "C:\Program Files\Poker Tracker V2\". Double click the file to run it.

<font class="small">Code:</font><hr /><pre>
var db = new ActiveXObject("ADODB.Recordset");
var cstring = "Driver={Microsoft Access Driver (*.mdb)};DBQ=<font color="blue">ptrack5.mdb</font>";
var sql = "SELECT Count(game_players.game_id) AS Hands,"
+ " Sum(game.rake/ game.number_of_players) AS MGR, MGR*<font color="blue">0.25</font> AS Rakeback"
+ " FROM players INNER JOIN (game INNER JOIN game_players ON game.game_id ="
+ " game_players.game_id) ON players.player_id = game_players.player_id"
+ " WHERE (((game_players.hole_card_1) Is Not Null)"
+ " AND ((players.screen_name)='<font color="blue">voltron87</font>'));";
db.Open(sql, cstring, 1, 3);
WScript.Echo("Hands:\t\t" + db(0) + "\nMGR:\t\t" + db(1) + "\nRakeback:\t" + db(2));
db.Close();
</pre><hr />

This produces accurate total MGR/RB figures for the selected PT database. If you have more than the current months hands in the selected DB, the figures produced will include these older hands.
Reply With Quote
  #4  
Old 07-30-2005, 06:01 PM
Voltron87 Voltron87 is offline
Senior Member
 
Join Date: Nov 2004
Location: checkraising young children
Posts: 1,326
Default Re: PT rakeback Q

very cool, thank you.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.