axmansteve
axmansteve
  • Threads: 1
  • Posts: 2
Joined: Jun 17, 2012
June 17th, 2012 at 9:34:17 AM permalink
I am having a problem with this code. I want to make the 6 & the 8 act as one on the first hit only. After I hit a 6 or an 8, the next time I hit the 6 or 8 it resets my bets to to the minimum. Can anyone help me get this bet straight?

Also having a bit of a problem with my field bet, I would like to keep it at 5 until each point (5,6, and 8) has hit once, then I would like them to start pressing this bet.

I am new to this programming and have spent some time on this but I seem to mess it up the more I try to make changes to what I already programmed. Any help or suggestions would be appreciated.


Come Out Roll
While . . .
Next roll is a come-out roll
and while . . .
All Place bets are equal to $ 0
then . . .
Bet $ 36 on Place 6
Bet $ 36 on Place 8
When . . .
Place 6 has won 1 time
or when . . .
Place 8 has won 1 time
then . . .
Bet $ 10 on Place 5
Bet $ 12 on Place 6
Bet $ 12 on Place 8
Bet $ 5 on Field
6 or 8 hits the first time
Place 5 progression
When . . .
Place 5 has won 1 time
then . . .
Bet $ 20 on Place 5
Bet $ 5 on Field
When . . .
Place 5 has won 2 times
then . . .
Bet $ 20 on Place 5
Bet $ 5 on Field
When . . .
Place 5 has won 3 times
then . . .
Bet $ 40 on Place 5
Bet $ 10 on Field
When . . .
Place 5 has won 4 times
then . . .
Bet $ 40 on Place 5
Bet $ 10 on Field
When . . .
Place 5 has won 5 times
then . . .
Bet $ 80 on Place 5
Bet $ 20 on Field
When . . .
Place 5 has won 6 times
then . . .
Bet $ 80 on Place 5
Bet $ 20 on Field
While . . .
Place 5 has won more than 6 times
then . . .
Bet $ 100 on Place 5
Bet $ 20 on Field
Place 6 progression
When . . .
Place 6 has won 2 times
then . . .
Bet $ 24 on Place 6
Bet $ 5 on Field
When . . .
Place 6 has won 3 times
then . . .
Bet $ 24 on Place 6
Bet $ 5 on Field
When . . .
Place 6 has won 4 times
then . . .
Bet $ 48 on Place 6
Bet $ 10 on Field
When . . .
Place 6 has won 5 times
then . . .
Bet $ 48 on Place 6
Bet $ 10 on Field
While . . .
Place 6 has won more than 5 times
then . . .
Bet $ 96 on Place 6
Bet $ 20 on Field
Place 8 progression
When . . .
Place 8 has won 2 times
then . . .
Bet $ 24 on Place 8
Bet $ 5 on Field
When . . .
Place 8 has won 3 times
then . . .
Bet $ 24 on Place 8
Bet $ 5 on Field
When . . .
Place 8 has won 4 times
then . . .
Bet $ 48 on Place 8
Bet $ 10 on Field
When . . .
Place 8 has won 5 times
then . . .
Bet $ 48 on Place 8
Bet $ 10 on Field
While . . .
Place 8 has won more than 5 times
then . . .
Bet $ 96 on Place 8
Bet $ 20 on Field
End of place progression
While . . .
Field has won each time
then . . .
Bet 100 % of the last Field on Field
While . . .
Number 2 or 12 has rolled each time
then . . .
Bet 200 % of the last Field on Field
End of script

Thanks in advance,

axmansteve
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
June 17th, 2012 at 11:46:39 AM permalink
Quote: axmansteve

I am having a problem with this code.
I want to make the 6 & the 8 act as one on the first hit only.
After I hit a 6 or an 8, the next time I hit the 6 or 8 it resets my bets to to the minimum. Can anyone help me get this bet straight?

You need to use chip stacks as counters instead of the WC internal counters, because they (the WC counters in Trends) only work if a bet actually had money on it and won or lost.
Then you can do all sorts of stuff when or while a counter is at or less or more than the chip stack value.

That looks to be the major problem I see.

If you want better help,
PM me the auto-bet file, or a way to get it by a link if possible,
so I do not have to waste any of my time setting this up and
I do not mind looking at it during the basketball game tonight.
winsome johnny (not Win some johnny)
odiousgambit
odiousgambit
  • Threads: 326
  • Posts: 9579
Joined: Nov 9, 2009
June 18th, 2012 at 12:02:04 AM permalink
There is something that isn't user-friendly about writing your own auto-bet files, in spite of the apparent logic of 'if... then'.
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
DeMango
DeMango
  • Threads: 36
  • Posts: 2958
Joined: Feb 2, 2010
June 18th, 2012 at 5:11:36 AM permalink
Is it possible to write a bet file that has two separate probabilities for the seven, come out and point cycle?
When a rock is thrown into a pack of dogs, the one that yells the loudest is the one who got hit.
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
June 18th, 2012 at 8:44:04 AM permalink
Quote: DeMango

Is it possible to write a bet file that has two separate probabilities for the seven, come out and point cycle?

Sure.
Game/Config/Prob
Make your new probability file
Then save the prob file
The Help section has more on this

In the auto-bet file, something like
While . . .
A point is established on any number
then . . .
Activate Probability File: "point roll 7 probX.prb"
else . . .
Deactivate Probability File
winsome johnny (not Win some johnny)
guido111
guido111
  • Threads: 10
  • Posts: 707
Joined: Sep 16, 2010
June 18th, 2012 at 1:22:57 PM permalink
Quote: axmansteve

I am having a problem with this code. I want to make the 6 & the 8 act as one on the first hit only. After I hit a 6 or an 8, the next time I hit the 6 or 8 it resets my bets to to the minimum. Can anyone help me get this bet straight?


When . . .
Place 6 has won 1 time
or when . . .
Place 8 has won 1 time
then . . .
Bet $ 10 on Place 5
Bet $ 12 on Place 6
Bet $ 12 on Place 8
Bet $ 5 on Field
6 or 8 hits the first time

A little hard to understand what exactly you want to have done after one of them hits and then the other for the first time.
I would guess that it would be pressed while the other place bets remain the same.

Use a flag. It sets a true or false statement.
The help section in WC shows how to do this with examples.
Then after a 7 wipes out your place bets just reset all the flags to false and start over.

something like this
When . . .
Place 6 has won 1 time
Flag "Place 8 has won 1 time" is false
then . . .
Set flag "place 6 won 1 time" to True
Bet $ 10 on Place 5
Bet $ 12 on Place 6
Bet $ 12 on Place 8
Bet $ 5 on Field

When . . .
Place 6 has won 1 time
Flag "Place 8 has won 1 time" is true
then . . .
Bet $ 24 on Place 6
Add the field if that is what you also want.
This will not change the 2 other place bet values

Enjoy!
axmansteve
axmansteve
  • Threads: 1
  • Posts: 2
Joined: Jun 17, 2012
June 19th, 2012 at 4:59:06 PM permalink
Hey 7craps, I just wanted to thank you for helping me with that code. Seems to be working so far. Now I just need to study up on it!
  • Jump to: