Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
BillGatesIII wrote:Smart way you use to build new columns but unfortunately this will not work in PT4. You'll have to add the code to each and every column, in this example cnt_pfr and cnt_pfr_opp. Also, these columns cannot be cached, a bit more complex SQL has to be used if that is needed (and I guess beyond the scope of this forum).
I duplicated cnt_pfr and added the code, unticked cache but expression is invalid.You'll have to add the code to each and every column, in this example cnt_pfr
Could u please explain me what does it mean if a columns cannot be cached? Will values shows take longer to appear if not cacheable?
sum(if[tourney_hand_player_statistics.cnt_p_raise > 0
and exists (
select 1
from tourney_hand_player_statistics as thps
join tourney_summary as ts on ts.id_tourney = thps.id_tourney
join tourney_table_type as ttt on ttt.id_table_type = ts.id_table_type
where thps.id_hand = tourney_hand_player_statistics.id_hand
and ttt.val_flags like '%B%'), 1, 0])
BillGatesIII wrote:Could u please explain me what does it mean if a columns cannot be cached? Will values shows take longer to appear if not cacheable?
Yep.
You can't use other columns in Player column expressions although you can select them (PT4 acts a bit weird here in my opinion).
cnt_pfr_ko
- Code: Select all
sum(if[tourney_hand_player_statistics.cnt_p_raise > 0
and exists (
select 1
from tourney_hand_player_statistics as thps
join tourney_summary as ts on ts.id_tourney = thps.id_tourney
join tourney_table_type as ttt on ttt.id_table_type = ts.id_table_type
where thps.id_hand = tourney_hand_player_statistics.id_hand
and ttt.val_flags like '%B%'), 1, 0])
Flag_Hippo wrote:Bear in mind that this will only display HUD stats for tournaments that have been finished and detected. Hands for the current tournament will not be displayed in the HUD with a stat like that as detection doesn't run until the tournament finishes.
Flag_Hippo wrote:You can change the HUD profile by clicking the PT-icon on the table but it's not possible to set a profile based on the tournament type because tournament detection takes place when the tournament finishes.
BillGatesIII wrote:I respectfully disagree; at least at PokerStars the table type is detected after the first hand.
sum(if[tourney_hand_player_statistics.cnt_p_raise > 0
and exists (
select 1
from tourney_hand_player_statistics as thps
join tourney_summary as ts on ts.id_tourney = thps.id_tourney
join tourney_table_type as ttt on ttt.id_table_type = ts.id_table_type
where thps.id_hand = tourney_hand_player_statistics.id_hand
and ttt.val_flags like '%B%'), 1, 0])
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 21 guests