Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by 9ae6 » Sat Jun 15, 2019 10:34 pm
Hello,
During the session, I would like to get in my HUD the max of my stack. Then I have tried to use
max(live_cash_player.amt_stack)
but it doesn't works.
How Can I do please?
Best regards,
0n_u
-
9ae6
-
- Posts: 30
- Joined: Mon Jul 23, 2012 6:28 am
by Flag_Hippo » Mon Jun 17, 2019 7:18 am
9ae6 wrote:I would like to get in my HUD the max of my stack.
You mean you want to display whatever the maximum peak of your stack has been during the session? If so that's not what
live_cash_player.amt_stack does - it's the size of your current stack based on the last hand imported.
-
Flag_Hippo
- Moderator
-
- Posts: 14505
- Joined: Tue Jan 31, 2012 7:50 am
by 9ae6 » Mon Jun 17, 2019 10:30 am
Thank you it works If I put
- Code: Select all
max(cash_hand_player_statistics.amt_before)
But How to do If I want the max of amt_won during the session?
amt_won is
- Code: Select all
sum(cash_hand_player_statistics.amt_won)
then If I want the max of it I tried
- Code: Select all
max(sum(cash_hand_player_statistics.amt_won))
but it doesn't works. I have the message that is not a valid SQL
-
9ae6
-
- Posts: 30
- Joined: Mon Jul 23, 2012 6:28 am
by Flag_Hippo » Tue Jun 18, 2019 12:23 pm
You cannot use max and sum together like that and I don't know if such a statistic is even feasible to build.
-
Flag_Hippo
- Moderator
-
- Posts: 14505
- Joined: Tue Jan 31, 2012 7:50 am
by 9ae6 » Fri Jun 21, 2019 10:41 am
Ok thank you I will search another solution
-
9ae6
-
- Posts: 30
- Joined: Mon Jul 23, 2012 6:28 am
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 25 guests