Custom Columns in Color Conditions

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Custom Columns in Color Conditions

Postby fizbin » Sun Feb 03, 2013 3:37 am

Custom Stats are great. I'm just having a bit of a problem with color conditions. Suppose I set a Custom Stat's color condition like so:

cnt_vpip >= 20

This works. It doesn't make much sense, but it's just a test.

Now suppose I duplicate cnt_vpip and call it cnt_vpip_2, and edit my color condition:

cnt_vpip_2 >= 20

This does not work. It appears to me that custom columns never work in color conditions. Bug? Is there a way to work around it, like maybe with a call to a lookup function? i could create a custom stat that evaluates to this custom column, and then use it in the color condition:

#Cnt VPIP 2# >= 20

However, that's a bit cumbersome, and I'm not sure it's as computationally efficient as just using the custom column directly.
fizbin
 
Posts: 87
Joined: Tue Jan 08, 2013 5:25 am

Re: Custom Columns in Color Conditions

Postby PeteX » Sun Feb 03, 2013 6:27 am

You can use columns in color conditions, BUT there is a small bug when you first make them.

So, for example if you do like this:
- Add color condition cnt_hands > 5 -> This is ok and works.
- If you duplicate cnt_hands and rename it cnt_hands2 and then immediately add it to color condition -> Does not work.
- However, if you now close the custom stats editor with Ok-button, then you can add cnt_hands2 as color condition.

So in order to use a new column in a color condition, you really need to close the stats editor with Ok first and then re-open it and THEN it recognizes the new column.

Bug/feature -> IMO it's a bug but can be worked around easily.
PeteX
 
Posts: 194
Joined: Sat Apr 05, 2008 9:12 am

Re: Custom Columns in Color Conditions

Postby fizbin » Sun Feb 03, 2013 7:43 am

I am aware of that bug. If that had been the case here, it would have told me the expression was invalid and not let me add the color condition. The expression is added, it just doesn't work.

I found out that the problem is not restricted to Color Conditions. I just tried creating two stats:

Test 1 has this for its expression:

cnt_vpip

Test 2 has this for its expression:

cnt_vpip_2

(cnt_vpip_2 was created by duplicating cnt_vpip. I closed and reopened the Statistics window before creating Test 2 and putting cnt_vpip_2 as its expression.)

In player reports, Test 1 and Test 2 both display numbers. However, if I add both Test 1 and Test 2 to a HUD, only Test 1 displays a number, while Test 2 displays a "-". They are identical in every way, other than for the fact that cnt_vpip_2 is a custom column, not a built-in one.

Could my columns have gotten corrupted, or is it like this for everyone?
fizbin
 
Posts: 87
Joined: Tue Jan 08, 2013 5:25 am

Re: Custom Columns in Color Conditions

Postby WhiteRider » Sun Feb 03, 2013 12:30 pm

Please export both stats and attach them to a Support Ticket so that we can see what is going on.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 51 guests

cron
highfalutin