by kraada » Wed Jan 27, 2010 6:23 pm
It's just not that easy. The database doesn't have a flag for "there were limeprs at some point". You can't access what someone else does just what you see in the custom stats.
Here's how cnt_p_facing_limpers is defined:
sum( if[ ((NOT holdem_hand_player_statistics.flg_p_face_raise) OR holdem_hand_player_statistics.flg_p_limp OR holdem_hand_player_statistics.flg_p_first_raise) AND NOT holdem_hand_player_statistics.flg_p_open_opp AND lookup_actions_p.action <> '', 1 , 0 ] )
Working backwards actually explains this more easily: You didn't do nothing (ie- it wasn't a walk to you), you didn't have a chance to open (which you shouldn't have if you're facing limpers). And at least one of the following is true:
(1) You raised first - since you didn't open the action, but you made the first raise, before you there must have been limpers.
(2) You limped - since you didn't open with your limp, there could only have been limpers in front of you (as if there was a raise in front of you, you'd have called it)
(3) You didn't face a preflop raise - the only way that can happen and you have no chance to open is if there's a limper in front of you.
This exhausts all possibilities.
But when you add someone who raises after the limper, the situation that (3) covers, it no longer covers. And you can't then figure out if there was a limper in front of the raiser.
I welcome you to try to find a way to do it but I'm pretty sure it cannot be done at this point.