Hi, sorry first for asking a question without having contributed first. I was sometime active @ gamblersglenn but the forum seems to have stopped.
I am just trying to learn RX coding but cannot solve this problem:
So I defined a "number1" list and at some point I want to check if the numbers within that list have won.
Like this "If Any Record "numbers1" Layout Won Each time" to activate a tracker for the progression sequence.
It looks like after ANY, I can only choose preconfigured Layout's as proposed when pressing the F2 Key.
How can I use my own defined "numbers1" layout to test if won. If won, reset tracker to 1, if lost follow the Record "progression" data sequence.
As one can probably see I am not a coder and don't pretent to be one. I merely borrow code here and there to finally get a grab of understanding hopefully.
Any help very appreciated.
System "my system"
Method "main"
Begin
Copy List [0,32,15,19,4,2,21,25,17,34,6,27] to Record "numbers1" Layout
Set List [1, 1, 2, 3, 4, 6, 9, 14] to Record "progression" Data
While Starting a New Session
Begin Set Flag "ready to bet" to False
End
While on Each Spin
Begin
If Record "numbers1" Layout has not Hit 11 times in a row
Begin Set Flag "ready to bet" to True
End
If Flag "ready to bet" is True
Begin
Put 1 units on Record "numbers1" Layout List
If Any Record "numbers1" Layout Won Each time
Begin
Put 1 to Record "progression" Data Index
End
else
Begin
Add 1 to Record "progression" Data Index
If Record "progression" Data Index > 8
Begin
Put 1 to Record "progression" Data Index
End
Put 100% of Record "progression" Data to Record "numbers1" Layout List
End
End
End
End
Let' keep the conversation going
If Any Record "numbers1" Layout Won Each time
Change that to read
If Record "numbers1" Layout Won Each time
That should resolve your issue.
Thanks for replying Azim, at what position/replace Read?
In the meantime I figured another possible solution by replacing Any Records "numbers1" with Any Inside Bet!
It works, the tracker adding up bets when lose is functioning but a new problem arise. Now it's continuing betting without respecting the 11 times rule "If Record "numbers1" Layout has not Hit 11 times in a row". So only the first bet awaits 11 rounds not showing this sector.
System "my system"
Method "main"
Begin
While Starting a New Session
Begin
Set List [1, 1, 2, 3, 4, 6, 9, 14] to Record "progression" Data
Copy List [0, 32, 15, 19, 4, 2, 21, 25, 17, 34, 6, 27] to Record "numbers1" Layout
Set Flag "ready to bet" to False
End
While on Each Spin
Begin
If Record "numbers1" Layout has not Hit 11 times in a row
Begin Set Flag "ready to bet" to True
End
If Flag "ready to bet" is True
Begin
If Any Inside Bet has WON Each time
Begin
Put 1 to Record "progression" Data Index
End
else
Begin
Add 1 to Record "progression" Data Index
If Record "progression" Data Index > 8
Begin
Put 1 to Record "progression" Data Index
End
Put 100% of Record "progression" Data to Record "numbers1" Layout List
//Clear Record "numbers1" Layout
//Set Flag "ready to bet" to False
End
End
End
End
Oh I understand your change now but it had not the desired result in RX because "progression" goes now to maximum 14 units every time by default (also with wins in between). With "Any Inside Bet" the "progression" will raise until a win and then reset what it is supposed to do.
Thank you again.
Quote from: birima on Mar 04, 04:12 PM 2014
Hi, sorry first for asking a question without having contributed first. I was sometime active @ gamblersglenn but the forum seems to have stopped.
I am just trying to learn RX coding but cannot solve this problem:
So I defined a "number1" list and at some point I want to check if the numbers within that list have won.
Like this "If Any Record "numbers1" Layout Won Each time" to activate a tracker for the progression sequence.
It looks like after ANY, I can only choose preconfigured Layout's as proposed when pressing the F2 Key.
How can I use my own defined "numbers1" layout to test if won. If won, reset tracker to 1, if lost follow the Record "progression" data sequence.
As one can probably see I am not a coder and don't pretent to be one. I merely borrow code here and there to finally get a grab of understanding hopefully.
Any help very appreciated.
System "my system"
Method "main"
Begin
Copy List [0,32,15,19,4,2,21,25,17,34,6,27] to Record "numbers1" Layout
Set List [1, 1, 2, 3, 4, 6, 9, 14] to Record "progression" Data
While Starting a New Session
Begin Set Flag "ready to bet" to False
End
While on Each Spin
Begin
If Record "numbers1" Layout has not Hit 11 times in a row
Begin Set Flag "ready to bet" to True
End
If Flag "ready to bet" is True
Begin
Put 1 units on Record "numbers1" Layout List
If Any Record "numbers1" Layout Won Each time
Change the above line to
If Record "numbers1" Layout Won Each time
Begin
Put 1 to Record "progression" Data Index
End
else
Begin
Add 1 to Record "progression" Data Index
If Record "progression" Data Index > 8
Begin
Put 1 to Record "progression" Data Index
End
Put 100% of Record "progression" Data to Record "numbers1" Layout List
End
End
End
End
Let' keep the conversation going
Your way should work too.. But if you have 2 different list and 2 different progression the win will be counted for both lists.
Is this all that's there to this system/method?
I can rewrite it for you...
Take Azim up on his offer to to rewrite it for you, because he is an Excellent RX coder !!
Quote from: stringbeanpc on Mar 05, 12:49 AM 2014
Take Azim up on his offer to to rewrite it for you, because he is an Excellent RX coder !!
Thanks for the kind words.. :)
Is this all that's there to this system/method?
No, I want to evaluate the following sequences also during the game, then I want to play around with the entry point now set to "11" but testing other values too. The "progression" only seems to work correctly with "Inside Bet" and not with "numbers1", I don't understand why.
Then after the program ran through the test for not placing bets until "numbers1" has Not Hit correctly, it just continues to place bets when it should of course test for "11" no Hits again.
Copy List [0,32,15,19,4,21,2,25,17,34,6,27] to Record "numbers1" Layout
Copy List [32,15,19,4,21,2,25,17,34,6,27,13] to Record "numbers2" Layout
Copy List [15,19,4,21,2,25,17,34,6,27,13,36] to Record "numbers3" Layout
Copy List [19,4,21,2,25,17,34,6,27,13,36,11] to Record "numbers4" Layout
Copy List [4,21,2,25,17,34,6,27,13,36,11,30] to Record "numbers5" Layout
Copy List [21,2,25,17,34,6,27,13,36,11,30,8] to Record "numbers6" Layout
Copy List [2,25,17,34,6,27,13,36,11,30,8,23] to Record "numbers7" Layout
Copy List [25,17,34,6,27,13,36,11,30,8,23,10]to Record "numbers8" Layout
Copy List [17,34,6,27,13,36,11,30,8,23,10,5] to Record "numbers9" Layout
Copy List [34,6,27,13,36,11,30,8,23,10,5,24] to Record "numbers10"Layout
Copy List [6,27,13,36,11,30,8,23,10,5,24,16] to Record "numbers11"Layout
Copy List [27,13,36,11,30,8,23,10,5,24,16,33]to Record "numbers12"Layout
Copy List [13,36,11,30,8,23,10,5,24,16,33,1]to Record "numbers13"Layout
Copy List [36,11,30,8,23,10,5,24,16,33,1,20]to Record "numbers14"Layout
Copy List [11,30,8,23,10,5,24,16,33,1,20,14]to Record "numbers15"Layout
Copy List [30,8,23,10,5,24,16,33,1,20,14,31]to Record "numbers16"Layout
Copy List [8,23,10,5,24,16,33,1,20,14,31,9]to Record "numbers17"Layout
Copy List [23,10,5,24,16,33,1,20,14,31,9,22]to Record "numbers18"Layout
Copy List [10,5,24,16,33,1,20,14,31,9,22,18]to Record "numbers19"Layout
Copy List [5,24,16,33,1,20,14,31,9,22,18,29]to Record "numbers20"Layout
Copy List [24,16,33,1,20,14,31,9,22,18,29,7]to Record "numbers21"Layout
Copy List [16,33,1,20,14,31,9,22,18,29,7,28]to Record "numbers22"Layout
Copy List [33,1,20,14,31,9,22,18,29,7,28,12]to Record "numbers23"Layout
Copy List [1,20,14,31,9,22,18,29,7,28,12,35]to Record "numbers24"Layout
Copy List [20,14,31,9,22,18,29,7,28,12,35,3]to Record "numbers25"Layout
Copy List [14,31,9,22,18,29,7,28,12,35,3,26]to Record "numbers26"Layout
Copy List [31,9,22,18,29,7,28,12,35,3,26,0]to Record "numbers27"Layout
Copy List [9,22,18,29,7,28,12,35,3,26,0,32]to Record "numbers28"Layout
Copy List [22,18,29,7,28,12,35,3,26,0,32,15]to Record "numbers29"Layout
Copy List [18,29,7,28,12,35,3,26,0,32,15,19]to Record "numbers30"Layout
Copy List [29,7,28,12,35,3,26,0,32,15,19,4]to Record "numbers31"Layout
Copy List [7,28,12,35,3,26,0,32,15,19,4,21]to Record "numbers32"Layout
Copy List [28,12,35,3,26,0,32,15,19,4,21,2]to Record "numbers33"Layout
Copy List [12,35,3,26,0,32,15,19,4,21,2,25]to Record "numbers34"Layout
Copy List [35,3,26,0,32,15,19,4,21,2,25,17]to Record "numbers35"Layout
Copy List [3,26,0,32,15,19,4,21,2,25,17,34]to Record "numbers36"Layout
Copy List [26,0,32,15,19,4,21,2,25,17,34,6]to Record "numbers37"Layout
Here the code up till now
System "my system"
Method "main"
Begin
While Starting a New Session
Begin
Set List [1, 1, 2, 3, 4, 6, 9, 14] to Record "progression" Data
Copy List [0, 32, 15, 19, 4, 2, 21, 25, 17, 34, 6, 27] to Record "numbers1" Layout
Set Flag "ready to bet" to False
End
While on Each Spin
Begin
If Record "numbers1" Layout has not Hit 11 times in a row
Begin Set Flag "ready to bet" to True
End
If Flag "ready to bet" is True
Begin
If Any Inside Bet has WON Each time
Begin
Put 1 to Record "progression" Data Index
End
else
Begin
Add 1 to Record "progression" Data Index
If Record "progression" Data Index > 8
Begin
Put 1 to Record "progression" Data Index
End
Put 100% of Record "progression" Data to Record "numbers1" Layout List
//Clear Record "numbers1" Layout
//Set Flag "ready to bet" to False
End
End
End
End
Thank you for your time.
I am sorry.. I just noticed this error in your copy list..
Copy List [0,32,15,19,4,21,2,25,17,34,6,27] to Record "numbers1" Layout
change that to
copy list [number 0, number 32, number 15, number 19, number 4, number 21, number 2, number 25,number 17,number 34, number 6, number 27] to Record "numbers1" Layout
If it doesn't help, I can do it for you, however I have a few questions.
Try it out and see if it works..
Sorry, I have tried that also but no difference. After a win, the progression should reset to 1 unit but instead it's progression goes all the way up to 14 units regardless win or loss. Also after the first bet, ignoring wait for '11' times i.e. "If Record "numbers1" Layout has not Hit 11 times in a row".
I also noticed that the progression sequence "Set List [ 1, 1, 2, 3, 4, 6, 9, 14] to Record "progression" Data" is skipping from 1 unit to 2 unit when it should be 1 unit, 1 unit, 2 unit. I can round this problem by adding 1 thus [1, 1, 1, 2, 3, 4, 6, 9, 14] but it's not the way it should be ::) .
What questions do you have?
Thank you for thinking with me.
Sorry my replies are delayed because moderator approval.
Try this:
System "my system"
Method "main"
Begin
While Starting a New Session
Begin
Set List [1, 1, 2, 3, 4, 6, 9, 14] to Record "progression" Data
Copy List [0, 32, 15, 19, 4, 2, 21, 25, 17, 34, 6, 27] to Record "numbers1" Layout
put 0 to record "numbers1 count" data
Set Flag "ready to bet" to False
End
While on Each Spin
Begin
call "check win-lost"
Track last number for 1 spin to record "Last spin" layout
if record "Last spin" layout is found in record "numbers1" layout
begin
put 0 to record "numbers1 count" data
end
else
begin
add 1 to record "numbers1 count" data
end
If Record "numbers1 count" data >= 11
Begin
Set Flag "ready to bet" to True
call "place bets"
End
End
End
// ************************************************************************
Method "check win-lost"
begin
If Flag "ready to bet" is false
Begin
return
end
If Any Inside Bet has WON Each time
Begin
Put 1 to Record "progression" Data Index
put 0 to record "numbers1 count" data
Set Flag "ready to bet" to false
End
else
Begin
Add 1 to Record "progression" Data Index
If Record "progression" Data Index > 8
Begin
Put 1 to Record "progression" Data Index
End
End
End
// ************************************************************************
Method "place bets"
Begin
Put 100% of Record "progression" Data to Record "numbers1" Layout List
End
Thanks Normy2000,
Testing it briefly, it seems to do what it should do! Now I can tweak some parameters myself.
Time to sleep over here.
Thanks again.