Search found 470 matches

Return to advanced search

Re: Count the occurence of a substing in a string

kraada wrote:Nothing comes to mind on this I'm afraid.

Is there a chance that developres would implement "replace" function to be available for stats?
by sawwee
Wed Nov 19, 2014 11:24 am
 
Forum: Custom Stats, Reports and HUD Profiles
Topic: Count the occurence of a substing in a string
Replies: 8
Views: 730

New PS satellite SNGs are not recogzined

As it is written in the Subject. ROI seems to be -100%.
Ticket opened: #159474, example HHs attached to the ticket.
by sawwee
Wed Nov 19, 2014 11:22 am
 
Forum: PokerTracker 4
Topic: New PS satellite SNGs are not recogzined
Replies: 1
Views: 249

Re: Count the occurence of a substing in a string

Yes, I was able to create and use it from column section but as I mentioned I need it to call it from stat section. Do you have any idea for that?
(Create a column and call that from stat section is not an option for me because what I need is to keep the number of created custom columns low.)
by sawwee
Wed Nov 19, 2014 10:31 am
 
Forum: Custom Stats, Reports and HUD Profiles
Topic: Count the occurence of a substing in a string
Replies: 8
Views: 730

Re: Speed up loading HUD first time

Yes.
By the way, I had a closer look on that and found that PT4 doesn't use all the cores of the processor when loading the HUD. Maybe it would be possible to speed up this process if developers make sure to use all (or at least most) of the cores of the processor.
by sawwee
Wed Nov 19, 2014 8:54 am
 
Forum: Custom Stats, Reports and HUD Profiles
Topic: Speed up loading HUD first time
Replies: 12
Views: 924

Re: Count the occurence of a substing in a string

Thanks a lot!
Exactly how can I build a custom function in Postgres, and the main question: how can I call it from PT4?
by sawwee
Wed Nov 19, 2014 8:45 am
 
Forum: Custom Stats, Reports and HUD Profiles
Topic: Count the occurence of a substing in a string
Replies: 8
Views: 730

Count the occurence of a substing in a string

I'd like to count the occurence of a substring in a sting in stats . I could do that in columns by doing some trick with "replace" postgresql command but I need a solution in stats instead of columns because the number of columns you can use in a query is limited and I need a lot of these....
by sawwee
Wed Nov 19, 2014 5:47 am
 
Forum: Custom Stats, Reports and HUD Profiles
Topic: Count the occurence of a substing in a string
Replies: 8
Views: 730

Re: Cached Custom Stats

I'm having tourble caching string values, too.

For example:

Code: Select all
(string_agg((case when tourney_hand_player_statistics.cnt_p_raise > 0 then tourney_hand_player_statistics.id_holecard::text else NULL end), ', '))


It is valid but cannot be cached. What's the reason?
by sawwee
Wed Nov 19, 2014 5:18 am
 
Forum: Custom Stats, Reports and HUD Profiles
Topic: Cached Custom Stats
Replies: 8
Views: 582

Re: Speed up loading HUD first time

Having the stats in the cache would significantly speed up loading time, yes. Stats in the popups aren't loaded until the popup is requested for the first time. I respectfully disagree. As far as I understand OP's problem is not that the numbers in the HUD take long to appear but the HUD profile it...
by sawwee
Wed Nov 19, 2014 5:09 am
 
Forum: Custom Stats, Reports and HUD Profiles
Topic: Speed up loading HUD first time
Replies: 12
Views: 924

Re: Villain range based on showdowns

This was my original idea, too, but as far as I know you can't use "replace" function in stats, unfortunately. :-(
by sawwee
Tue Nov 18, 2014 8:13 am
 
Forum: Custom Stats, Reports and HUD Profiles
Topic: Villain range based on showdowns
Replies: 11
Views: 2587
PreviousNext

Return to advanced search

cron
highfalutin