going mad

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

Moderator: Moderators

going mad

Postby merkur33 » Fri Feb 13, 2009 10:26 pm

ok, i'm going mad. :x I tried to create some m-based tourney stat, which are all about something like this:

VPIP Green (stack is bigger then 20 rounds worth of blinding and posting antes)
(cnt_p_m_green_vpip / cnt_m_green) * 100, where is:

cnt_m_green:
sum(if[(tourney_holdem_hand_player_detail.amt_before/(tourney_holdem_hand_player_detail.amt_blind+tourney_holdem_hand_player_detail.amt_ante)) >= 20,1,0]), and

cnt_p_m_green_vpip:
sum(if[(tourney_holdem_hand_player_detail.amt_before/(tourney_holdem_hand_player_detail.amt_blind+tourney_holdem_hand_player_detail.amt_ante)) >= 20 AND tourney_holdem_hand_player_statistics.flg_vpip,1,0]).

Is there anything wrong with these stats? because, since i try to include them (in fact, 20 Stats with 35 colums based on this...), things tend to go messier and messier...

I made some very dumb mistakes on the way, (mainly because i thought this would be so simple i didn't test anything ), but now think should be working, basically, or am i wrong? Because as soon i try to include one of these stats, i get flooded with error messages, i can't update the cache anymore, and so on. In the moment i assume, i somehow screwed up at least the cache, and have therefore deleted all my stats. will make a re-cache, and hope that settles it again....

Any other hints? Am i running in some known issue or something like that? see also my ticket Nr. 50293

Thanks in advance...
merkur33
 
Posts: 126
Joined: Tue Nov 25, 2008 11:57 am

Re: going mad

Postby merkur33 » Fri Feb 13, 2009 10:44 pm

Code: Select all
cnt_m_green:
sum(if[(tourney_holdem_hand_player_detail.amt_before/(tourney_holdem_hand_player_detail.amt_blind+tourney_holdem_hand_player_detail.amt_ante)) >= 20,1,0]), and

cnt_p_m_green_vpip:
sum(if[(tourney_holdem_hand_player_detail.amt_before/(tourney_holdem_hand_player_detail.amt_blind+tourney_holdem_hand_player_detail.amt_ante)) >= 20 AND tourney_holdem_hand_player_statistics.flg_vpip,1,0]).


these are my columns, of course. And another question: What is supposed to be the default and/or the active or default/active database, when you have one large database with a lot of obsesrved hands and played hands, where you still import your played hands into, and one small database, where you import your new observed hands into?
merkur33
 
Posts: 126
Joined: Tue Nov 25, 2008 11:57 am

Re: going mad

Postby WhiteRider » Sat Feb 14, 2009 5:39 am

tourney_holdem_hand_player_detail.amt_blind is the amount of money the player paid in blinds in a hand - if you are not in a blind this will be zero.
So to calculate M you need to divide your starting stack by the BB amount + SB amount + number of players * ante.
You have the starting stack and ante fields correct, but you need to use fields from a different table to get the blind amounts.

M =
tourney_holdem_hand_player_detail.amt_before / ( tourney_holdem_blinds.amt_bb + tourney_holdem_blinds.amt_sb + (tourney_holdem_hand_summary.cnt_players * tourney_holdem_hand_player_detail.amt_ante) )

So cnt_m_green =
SUM ( IF [ tourney_holdem_hand_player_detail.amt_before / ( tourney_holdem_blinds.amt_bb + tourney_holdem_blinds.amt_sb + (tourney_holdem_hand_summary.cnt_players * tourney_holdem_hand_player_detail.amt_ante) ) >= 20, 1, 0 ] )
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: going mad

Postby merkur33 » Sat Feb 14, 2009 7:21 am

But in the documentation it says:amt_blind: total amount of blinds paid and amt_ante: total amount of antes paid.

And could you please give ne a hint concerning the databases? What do i have to do if i want to read PT and the hud from both databases? Flag the old one with has also my played hands as default/active or what... ?
merkur33
 
Posts: 126
Joined: Tue Nov 25, 2008 11:57 am

Re: going mad

Postby WhiteRider » Sat Feb 14, 2009 9:23 am

merkur33 wrote:But in the documentation it says:amt_blind: total amount of blinds paid and amt_ante: total amount of antes paid.

Yes, that is a bit misleading - I guess it's just been written the same way as the following DB fields.

And could you please give ne a hint concerning the databases? What do i have to do if i want to read PT and the hud from both databases? Flag the old one with has also my played hands as default/active or what... ?

The HUD will use the databases configured on the HUD Options tab of the HUD config window.
The main application reports will only use the current active database.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: going mad

Postby merkur33 » Sat Feb 14, 2009 10:00 am

WhiteRider wrote:The HUD will use the databases configured on the HUD Options tab of the HUD config window.
The main application reports will only use the current active database.


So it's not possible to let the main application read from more than one database? Thats a pity... because sometimes you need a really wide basis when you are looking for averages of certain stats for example...

And what's the difference between default and active?

Thanks for the clarification about the fields. The documentation is very often misleading and sometimes just wrong, e.g. dozens of fields where the field and the description mismatch... someone should work it over and sort the fields alphabatically, while he's at it.
merkur33
 
Posts: 126
Joined: Tue Nov 25, 2008 11:57 am

Re: going mad

Postby WhiteRider » Sat Feb 14, 2009 10:11 am

The default database is the one that will be set to active when you start PT3.
The active database is the one that is shown in the main window and reports. The active database is also used for Manual Imports.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests