Adding Icons

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Adding Icons

Postby potamito » Thu Sep 14, 2017 5:12 pm

Trying to add icons/images to the HUD using a conditional expression, but im getting a error when testing in...
sshot-270.jpg
sshot-270.jpg (8.8 KiB) Viewed 1033 times


I duplicated the "Att to Seal from LP" default stat and add it this...

Code: Select all
if ((((cnt_steal_att_lp / cnt_steal_opp_lp) * 100)  > 51 and ((cnt_steal_def_action_fold_vs_lp / cnt_steal_def_opp_vs_lp) * 100) > 51), '{'+format('IMG:Icons/ar_2.png') +'}')


Thoughts?
potamito
 
Posts: 802
Joined: Wed Apr 21, 2010 4:20 pm

Re: Adding Icons

Postby Flag_Hippo » Fri Sep 15, 2017 9:03 am

Try this instead:

Code: Select all
if ((((cnt_steal_att_lp / cnt_steal_opp_lp) * 100)  > 51 and ((cnt_steal_def_action_fold_vs_lp / cnt_steal_def_opp_vs_lp) * 100) > 51), '{'+format('IMG:Icons/ar_2.png}'), '')
Flag_Hippo
Moderator
 
Posts: 14493
Joined: Tue Jan 31, 2012 7:50 am

Re: Adding Icons

Postby potamito » Fri Sep 15, 2017 12:05 pm

Thanks is working now. Are those badges against PokerStars TOS? I mean, im building custom stats with conditions like..

If AA Stat > XX% and BB Stat > YY% then, one icon if it is true, another if it is false or perhaps just not putting anything so it doesnt display nothing when the criteria doesnt met

Thoughts?
potamito
 
Posts: 802
Joined: Wed Apr 21, 2010 4:20 pm

Re: Adding Icons

Postby APerfect10 » Fri Sep 15, 2017 2:49 pm

Everything that is in PokerTracker by default is allowed within the PokerStars TOS. However, due to PokerTracker's power, it is possible to make custom stats that may cross over the line of the TOS. There is nothing that we (PokerTracker) can do to prevent that.

For your specific question, this is one of those "gray" areas. You would be best to contact PokerStars' security team and asking them directly. That is the only way to know with certainty if its OK.

-Derek
APerfect10
Site Admin
 
Posts: 4450
Joined: Sat Dec 08, 2007 6:03 pm

Re: Adding Icons

Postby potamito » Fri Sep 15, 2017 3:24 pm

Hey @APerfect10 wazzap¡! Dont be a stranger on your own forum man :D :P Yeah will email them about it just to be sure, cheers.
potamito
 
Posts: 802
Joined: Wed Apr 21, 2010 4:20 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 26 guests

cron
highfalutin