Welcome, Guest. Please login or register.
April 13, 2021, 01:42:19 AM
Home Help Login Register
News:
Shanky Technologies: The poker bot that works!

Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Omaha Coding Info 0 Members and 1 Guest are viewing this topic.
Pages: 1 ... 4 5 [6] 7 8 Print
Author Topic: Omaha Coding Info  (Read 66004 times)
Egor
Forum Admin
Extreme Botter
*****

Karma: 368
Posts: 34087



WWW
« Reply #100 on: April 28, 2012, 07:47:24 PM »

For the TTAQ hand: I am a bit perplexed by that message in the bot window which overrode the profile instructions to call. That seems like an option setting on the bot may be responsible for it, but I cannot figure out which one. I will have to look into this, and maybe write some new codelines to call when pot-committed. Thanks for that.

For the AA93 hand: As you can see the default profile tried to reraise but your custom codline 93 intervened and caused it to fold instead. That is a coding issue on your end, and you should start a new topic and inlcude this hand and line 93 of your profile.

Be sure to download Notepad 2 (free, just Google it) and use that, not the free regular Notepad that comes with windows, to access codeline 93 in your profile (because regular Notepd will misreference codelines).

Your windows language must be set to English/US for all our bots.

 thanks
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
tr34187
Botter
***

Karma: 1
Posts: 135



« Reply #101 on: April 28, 2012, 11:57:15 PM »


For the AA93 hand: As you can see the default profile tried to reraise but your custom codline 93 intervened and caused it to fold instead. That is a coding issue on your end, and you should start a new topic and inlcude this hand and line 93 of your profile.



found it:

line 92: when (raises = 0 and calls = 0) and (usersb) and (dumbass forget to write in the rest of the uservariables) raise 60 % force
line 93: when (usersb) fold force

 banghead   bit to much  guiness
Logged
tr34187
Botter
***

Karma: 1
Posts: 135



« Reply #102 on: April 29, 2012, 01:02:13 PM »

AsAdKsKd will the bot pick this code up as AK spades and AK diamonds?
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 368
Posts: 34087



WWW
« Reply #103 on: April 29, 2012, 06:13:12 PM »

AsKs will be true
AdKd will be true
AK suited will be true
AK will be true
AA will be true
KK will be true
pairinhand will be true
twopairinhand will be true

...as is every other combo of suit there
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
tr34187
Botter
***

Karma: 1
Posts: 135



« Reply #104 on: May 19, 2012, 04:09:32 PM »


what do these mean on the bot log?

Stack = 0.64, TI = 4 BBs
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 368
Posts: 34087



WWW
« Reply #105 on: May 19, 2012, 06:44:02 PM »

Not the right thread for bot function questions, however:

Stack = your stacksize, reported in real-money (not big blinds)

TI = total invested, reported in big blinds (total invested in the current hand so far)
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
tr34187
Botter
***

Karma: 1
Posts: 135



« Reply #106 on: May 19, 2012, 07:01:32 PM »

cool thanks  thumbsup
Logged
tr34187
Botter
***

Karma: 1
Posts: 135



« Reply #107 on: May 20, 2012, 12:02:04 AM »

havenutflushdrawonturn

bot rejects this, what would be the correct term for PLO a(I am an idiot) up the nut flush draw on the turn?
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 368
Posts: 34087



WWW
« Reply #108 on: May 20, 2012, 02:26:14 AM »

why would you need that variable?

 Huh?

if you are coding for the Turn you can use havenutflushdraw

and if you are coding for the river, if for some reason you want to know you had the nut flush draw on the Turn, you could set a user-variable from that on the Turn
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
tr34187
Botter
***

Karma: 1
Posts: 135



« Reply #109 on: May 30, 2012, 05:03:17 PM »

Is there a variable to explain when the flop has 3 low cards?
Logged
peamasii
Super Botter
Serious Botter
****

Karma: 18
Posts: 522


Dream of a perfect bot!


« Reply #110 on: May 31, 2012, 01:16:04 PM »

this is the condition for all low cards on board (no aces), paired on non-paired board

When ( (LowCardsOnBoard = 3 and not board = A and not PairOnBoard) or
(LowCardsOnBoard = 2 and not board = A and PairOnBoard) )
Logged
jbj81
Serious Botter
***

Karma: 17
Posts: 564

My bot is winning!


« Reply #111 on: September 17, 2012, 12:44:55 PM »

Have been testing the Holdem Bot for about 50,000 hands and write own profile and it looks good. Now i think i should go for omaha because im an omaha expert, have been playing omaha about 10 years now. The PPL should really use little more variables for omaha, here is few suggestions:

double suited:
You could just add doublesuited key word just like the suited, but i think it's easier just add boolean variable HaveDoubleSuitedHand.

middle and bottom gap and "double gapped":
There is FourCardsWith1gapInHand variable, there should also be FourCardsWithBottomGapInHand and FourCardsWithMiddleGapInHand.
Also i could use FourCardsWithDoubleGapInHand where the two gaps are top and bottom (or top and middle) ie. QT97 or QT87. You can hit monster draws with these hands.

And last but not least it would be REALLY useful to have numeric variable for NutDraws:
Let say you got AKJT double suited and you flop top two pair with straight and nut flush draw: JT8 (straight possible on flop). In this situation you dont have the nuts but you got a lot of outs for nuts. If you got numeric variable like OutsForNutHand you could use it easily with pot odds same way as the Have16outStraightDraw variable.
Flop code xample: When OutsForNutHand >= 10 and AmountToCall <= 43% PotSize Call Force

Thanks!
Logged
jbj81
Serious Botter
***

Karma: 17
Posts: 564

My bot is winning!


« Reply #112 on: September 17, 2012, 12:57:50 PM »

Oh, and QuadsInHand would be nice!  thumbsup
Logged
jbj81
Serious Botter
***

Karma: 17
Posts: 564

My bot is winning!


« Reply #113 on: September 17, 2012, 01:14:19 PM »

Is this rightly writteng for preflop "all-in"-code:
When Hand = A suited A suited and (Hand = KK or Hand = QQ or Hand = JJ or Hand = TT or Hand = KQ or Hand = KJ or Hand = KT or Hand = QJ or Hand = QT or Hand = JT) RaisePot Force
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 368
Posts: 34087



WWW
« Reply #114 on: September 17, 2012, 02:52:13 PM »

the codeline is valid, yes - whether you can get all-in at PL poker depends on the other opponents reraising
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
daham
Confused Newbie
*

Karma: 0
Posts: 2


« Reply #115 on: December 11, 2016, 09:15:45 PM »

Hi
couple of beginner questions  Roll Eyes
need some help understanding the suited variable.
1. A suited K means A suited with something and an K in the hand
2. AKKTs means the T is suited to any of the AAK
3. Im not sure how the suited variable is behaving when all cards are defined:
how can I define for example specifically for the hand AKs 98s, AKs 87s?
when (DoubleSuited) and (hand = A suited K and 9 suited 8 or hand = A suited K and 8 suited 7)
and can i write it like this:
when (DoubleSuited) and (hand = A suited K) and (hand = 9 suited 8 or hand = 8 suited 7)

when I formulate a hand range can I write:
when (hand = a,b,c) or when (hand = d,e,f) userTOP5
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 368
Posts: 34087



WWW
« Reply #116 on: December 11, 2016, 11:17:53 PM »

when doublesuited and (hand = A suited K and 9 suited Cool

...could  mean A9 suited + K8 suited, could also mean AK suited + 98 suited

there is no easy way to define the double-suiting that you are asking about, you would have to use the actual suits (c,s,d,h) and cover every possibility

Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
tapthatace
Botter
***

Karma: 5
Posts: 155


« Reply #117 on: February 02, 2020, 05:09:10 AM »

Can i get some assistance with understanding why this logic isn't working please ---  I believe that the result of my code should be the following:
User defined variable User1stPoints4 set to true on line 46 --- because the hand is Jd4d but I am getting two results  -- I think line 48 shouldn't be flagged which is the User1stPoints2 custom variable BECAUSE User1stPoints4 was set.

result:
Shanky Technologies Omaha Hi Version 10.0.5 Hand: 4d 8h 6h Jd
User defined variable User1stPoints4 set to true at line 46
User defined variable User1stPoints2 set to true at line 48


Code:
when (suitsinhand = 2 or suitsinhand = 3)
  when hand = AcKc or hand = AcQc or hand = AcJc or hand = AcTc or hand = Ac9c or hand = Ac8c or hand = Ac7c or hand = Ac6c or hand = Ac5c or hand = Ac4c or hand = Ac3c or hand = Ac2c or hand = AdKd or hand = AdQd or hand = AdJd or hand = AdTd or hand = Ad9d or hand = Ad8d or hand = Ad7d or hand = Ad6d or hand = Ad5d or hand = Ad4d or hand = Ad3d or hand = Ad2d or hand = AhKh or hand = AhQh or hand = AhJh or hand = AhTh or hand = Ah9h or hand = Ah8h or hand = Ah7h or hand = Ah6h or hand = Ah5h or hand = Ah4h or hand = Ah3h or hand = Ah2h or hand = AsKs or hand = AsQs or hand = AsJs or hand = AsTs or hand = As9s or hand = As8s or hand = As7s or hand = As6s or hand = As5s or hand = As4s or hand = As3s or hand = As2s User1stPoints8

  when (not User1stPoints8) and (hand = KcQc or hand = KcJc or hand = KcTc or hand = Kc9c or hand = Kc8c or hand = Kc7c or hand = Kc6c or hand = Kc5c or hand = Kc4c or hand = Kc3c or hand = Kc2c or hand = KdQd or hand = KdJd or hand = KdTd or hand = Kd9d or hand = Kd8d or hand = Kd7d or hand = Kd6d or hand = Kd5d or hand = Kd4d or hand = Kd3d or hand = Kd2d or hand = KhQh or hand = KhJh or hand = KhTh or hand = Kh9h or hand = Kh8h or hand = Kh7h or hand = Kh6h or hand = Kh5h or hand = Kh4h or hand = Kh3h or hand = Kh2h or hand = KsQs or hand = KsJs or hand = KsTs or hand = Ks9s or hand = Ks8s or hand = Ks7s or hand = Ks6s or hand = Ks5s or hand = Ks4s or hand = Ks3s or hand = Ks2s) User1stPoints6

  when (not User1stPoints8 or not User1stPoints6) and (hand = QcJc or hand = QcTc or hand = Qc9c or hand = Qc8c or hand = Qc7c or hand = Qc6c or hand = Qc5c or hand = Qc4c or hand = Qc3c or hand = QdJd or hand = QdTd or hand = Qd9d or hand = Qd8d or hand = Qd7d or hand = Qd6d or hand = Qd5d or hand = Qd4d or hand = Qd3d or hand = QhJh or hand = QhTh or hand = Qh9h or hand = Qh8h or hand = Qh7h or hand = Qh6h or hand = Qh5h or hand = Qh4h or hand = Qh3h or hand = QsJs or hand = QsTs or hand = Qs9s or hand = Qs8s or hand = Qs7s or hand = Qs6s or hand = Qs5s or hand = Qs4s or hand = Qs3s) User1stPoints5

  when (not User1stPoints8 or not User1stPoints6 or not User1stPoints5) and (hand = JcTc or hand = Jc9c or hand = Jc8c or hand = Jc7c or hand = Jc6c or hand = Jc5c or hand = Jc4c or hand = Jc3c or hand = Jc2c or hand = JdTd or hand = Jd9d or hand = Jd8d or hand = Jd7d or hand = Jd6d or hand = Jd5d or hand = Jd4d or hand = Jd3d or hand = Jd2d or hand = JhTh or hand = Jh9h or hand = Jh8h or hand = Jh7h or hand = Jh6h or hand = Jh5h or hand = Jh4h or hand = Jh3h or hand = Jh2h or hand = JsTs or hand = Js9s or hand = Js8s or hand = Js7s or hand = Js6s or hand = Js5s or hand = Js4s or hand = Js3s or hand = Js2s) User1stPoints4

  when (not User1stPoints8 or not User1stPoints6 or not User1stPoints5 or not User1stPoints4) and (hand = Tc9c or hand = Tc8c or hand = Tc7c or hand = Tc6c or hand = Tc5c or hand = Tc4c or hand = Tc3c or hand = Tc2c or hand = 9c8c or hand = 9c7c or hand = 9c6c or hand = 9c5c or hand = 9c4c or hand = 9c3c or hand = 9c2c or hand = Td9d or hand = Td8d or hand = Td7d or hand = Td6d or hand = Td5d or hand = Td4d or hand = Td3d or hand = Td2d or hand = 9d8d or hand = 9d7d or hand = 9d6d or hand = 9d5d or hand = 9d4d or hand = 9d3d or hand = 9d2d or hand = Th9h or hand = Th8h or hand = Th7h or hand = Th6h or hand = Th5h or hand = Th4h or hand = Th3h or hand = Th2h or hand = 9h8h or hand = 9h7h or hand = 9h6h or hand = 9h5h or hand = 9h4h or hand = 9h3h or hand = 9h2h or hand = Ts9s or hand = Ts8s or hand = Ts7s or hand = Ts6s or hand = Ts5s or hand = Ts4s or hand = Ts3s or hand = Ts2s or hand = 9s8s or hand = 9s7s or hand = 9s6s or hand = 9s5s or hand = 9s4s or hand = 9s3s or hand = 9s2s) User1stPoints3

  when (not User1stPoints8 or not User1stPoints6 or not User1stPoints5 or not User1stPoints4 or not User1stPoints3) and (hand = 8c7c or hand = 8c6c or hand = 8c5c or hand = 8c4c or hand = 8c3c or hand = 8c2c or hand = 8d7d or hand = 8d6d or hand = 8d5d or hand = 8d4d or hand = 8d3d or hand = 8d2d or hand = 8h7h or hand = 8h6h or hand = 8h5h or hand = 8h4h or hand = 8h3h or hand = 8h2h or hand = 8s7s or hand = 8s6s or hand = 8s5s or hand = 8s4s or hand = 8s3s or hand = 8s2s) User1stPoints2

  when (not User1stPoints8 or not User1stPoints6 or not User1stPoints5 or not User1stPoints4 or not User1stPoints3 or not User1stPoints2) and (hand = 7c6c or hand = 7c5c or hand = 7c4c or hand = 7c3c or hand = 7c2c or hand = 6c5c or hand = 6c4c or hand = 6c3c or hand = 6c2c or hand = 5c4c or hand = 5c3c or hand = 5c2c or hand = 4c3c or hand = 4c2c or hand = 3c2c or hand = 7d6d or hand = 7d5d or hand = 7d4d or hand = 7d3d or hand = 7d2d or hand = 6d5d or hand = 6d4d or hand = 6d3d or hand = 6d2d or hand = 5d4d or hand = 5d3d or hand = 5d2d or hand = 4d3d or hand = 4d2d or hand = 3d2d or hand = 7h6h or hand = 7h5h or hand = 7h4h or hand = 7h3h or hand = 7h2h or hand = 6h5h or hand = 6h4h or hand = 6h3h or hand = 6h2h or hand = 5h4h or hand = 5h3h or hand = 5h2h or hand = 4h3h or hand = 4h2h or hand = 3h2h or hand = 7s6s or hand = 7s5s or hand = 7s4s or hand = 7s3s or hand = 7s2s or hand = 6s5s or hand = 6s4s or hand = 6s3s or hand = 6s2s or hand = 5s4s or hand = 5s3s or hand = 5s2s or hand = 4s3s or hand = 4s2s or hand = 3s2s) User1stPoints1
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 368
Posts: 34087



WWW
« Reply #118 on: February 02, 2020, 05:32:47 AM »


  when (not User1stPoints8 or not User1stPoints6 or not User1stPoints5 or not User1stPoints4)

no good ^^^

change to:


  when not (User1stPoints8 or User1stPoints6 or User1stPoints5 or User1stPoints4)
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
tapthatace
Botter
***

Karma: 5
Posts: 155


« Reply #119 on: February 02, 2020, 05:43:59 AM »

  when (not User1stPoints8 or not User1stPoints6 or not User1stPoints5 or not User1stPoints4)

no good ^^^

change to:


  when not (User1stPoints8 or User1stPoints6 or User1stPoints5 or User1stPoints4)

Thanks - I will make the changes and test!!
Logged
Pages: 1 ... 4 5 [6] 7 8 Print 
Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Omaha Coding Info
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!