Can help me on this code ?

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Can help me on this code ?

Postby dojirun » Sat Sep 24, 2022 6:50 pm

Code: Select all
if (tourney_blinds.amt_bb > 20,if ((3.77481 + cnt_vpip) / (7.01037 + 3.77481 + (cnt_hands - cnt_walks)) > 0.35 + 0.5 * 0.125,"loose",if ((3.77481 + cnt_vpip) / (7.01037 + 3.77481 + (cnt_hands - cnt_walks)) < 0.35 - 0.5 * 0.125,"tight","equilibrium")),if (tourney_blinds.amt_bb > 7,if ((4.91586 + cnt_vpip) / (6.008275 + 4.91586 + (cnt_hands - cnt_walks)) > 0.45 + 0.5 * 0.125,"loose",if ((4.91586 + cnt_vpip) / (6.008275 + 4.91586 + (cnt_hands - cnt_walks)) < 0.45 - 0.5 * 0.125,"tight","equilibrium")),if ((5.73575 + cnt_vpip) / (3.08848 + 5.73575 + (cnt_hands - cnt_walks)) > 0.65 + 0.5 * 0.125,"loose",if ((5.73575 + cnt_vpip) / (3.08848 +5.73575 + (cnt_hands - cnt_walks)) < 0.65 - 0.5 * 0.125,"tight","equilibrium"))


I don't see what go wrong, I got invalid format expression can anybody help me please ?
dojirun
 
Posts: 6
Joined: Wed Dec 25, 2019 2:14 pm

Re: Can help me on this code ?

Postby dojirun » Sat Sep 24, 2022 7:15 pm

Code: Select all
if (tourney_blinds.amt_bb > 20,if ((3.77481 + cnt_vpip) / (7.01037 + 3.77481 + (cnt_hands - cnt_walks)) > 0.35 + 0.5 * 0.125,format("loose"),if ((3.77481 + cnt_vpip) / (7.01037 + 3.77481 + (cnt_hands - cnt_walks)) < 0.35 - 0.5 * 0.125,format("tight"),format("equilibrium"))),if (tourney_blinds.amt_bb > 7,if ((4.91586 + cnt_vpip) / (6.008275 + 4.91586 + (cnt_hands - cnt_walks)) > 0.45 + 0.5 * 0.125,format("loose"),if ((4.91586 + cnt_vpip) / (6.008275 + 4.91586 + (cnt_hands - cnt_walks)) < 0.45 - 0.5 * 0.125,format("tight"),format("equilibrium"))),if ((5.73575 + cnt_vpip) / (3.08848 + 5.73575 + (cnt_hands - cnt_walks)) > 0.65 + 0.5 * 0.125,format("loose"),if ((5.73575 + cnt_vpip) / (3.08848 +5.73575 + (cnt_hands - cnt_walks)) < 0.65 - 0.5 * 0.125,format("tight"),format("equilibrium")))

update, but don't work too, I have use format for the string output
dojirun
 
Posts: 6
Joined: Wed Dec 25, 2019 2:14 pm

Re: Can help me on this code ?

Postby dojirun » Sun Sep 25, 2022 5:48 am

Code: Select all
if (tourney_blinds.amt_bb > 20,if ((3.77481 + cnt_vpip) / (7.01037 + 3.77481 + (cnt_hands - cnt_walks)) > 0.35 + 0.5 * 0.125,"loose",if ((3.77481 + cnt_vpip) / (7.01037 + 3.77481 + (cnt_hands - cnt_walks)) < 0.35 - 0.5 * 0.125,"tight","equilibrium")),if (tourney_blinds.amt_bb > 7,if ((4.91586 + cnt_vpip) / (6.008275 + 4.91586 + (cnt_hands - cnt_walks)) > 0.45 + 0.5 * 0.125,"loose",if ((4.91586 + cnt_vpip) / (6.008275 + 4.91586 + (cnt_hands - cnt_walks)) < 0.45 - 0.5 * 0.125,"tight","equilibrium")),if ((5.73575 + cnt_vpip) / (3.08848 + 5.73575 + (cnt_hands - cnt_walks)) > 0.65 + 0.5 * 0.125,"loose",if ((5.73575 + cnt_vpip) / (3.08848 +5.73575 + (cnt_hands - cnt_walks)) < 0.65 - 0.5 * 0.125,"tight","equilibrium"))))

update, correction number of parenthesis. Doesn't work.
dojirun
 
Posts: 6
Joined: Wed Dec 25, 2019 2:14 pm

Re: Can help me on this code ?

Postby dojirun » Sun Sep 25, 2022 5:52 am

Solved, it's tourney.amt_bb need to be amt_bb.
dojirun
 
Posts: 6
Joined: Wed Dec 25, 2019 2:14 pm

Re: Can help me on this code ?

Postby dojirun » Sun Sep 25, 2022 7:10 am

Code: Select all
if (amt_bb > 20,if ((3.77481 + cnt_vpip) / (7.01037 + 3.77481 + (cnt_hands - cnt_walks)) > 0.35 + 0.5 * 0.125,1.0,if ((3.77481 + cnt_vpip) / (7.01037 + 3.77481 + (cnt_hands - cnt_walks)) < 0.35 - 0.5 * 0.125,0.0,0.5)),if (amt_bb > 7,if ((4.91586 + cnt_vpip) / (6.008275 + 4.91586 + (cnt_hands - cnt_walks)) > 0.45 + 0.5 * 0.125,1.0,if ((4.91586 + cnt_vpip) / (6.008275 + 4.91586 + (cnt_hands - cnt_walks)) < 0.45 - 0.5 * 0.125,0.0,0.5)),if ((5.73575 + cnt_vpip) / (3.08848 + 5.73575 + (cnt_hands - cnt_walks)) > 0.65 + 0.5 * 0.125,1.0,if ((5.73575 + cnt_vpip) / (3.08848 +5.73575 + (cnt_hands - cnt_walks)) < 0.65 - 0.5 * 0.125,0.0,0.5))))

Now I have this code, is valide, is work in report, but can't import in hud, anyone know why ? I have try, with decimal, number, and string expression (actually in decimal)
dojirun
 
Posts: 6
Joined: Wed Dec 25, 2019 2:14 pm

Re: Can help me on this code ?

Postby dojirun » Sun Sep 25, 2022 7:18 am

Solved, need to use live_amt_bb
dojirun
 
Posts: 6
Joined: Wed Dec 25, 2019 2:14 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 1 guest

cron