#1 Roulette Forum & Message Board | www.RouletteForum.cc

IT & Software => Coding for Roulette => Topic started by: Giakos on Jan 14, 01:12 PM 2020

Title: Need a very simple help rx code
Post by: Giakos on Jan 14, 01:12 PM 2020
Hello, sorry for my english....i need to complete a rx code. I m learning.... I want wait 2 spin after my first bet. The code i use is:

system "untitled"
method "main"
begin
Track last Red-Black s for 2 spins to
pattern Record "patterns" layout


If List [Black, Black] has a Pattern Match to
Record "patterns" Layout
Begin
Put 1 units on Red
End

End

Thanks
Title: Re: Need a very simple help rx code
Post by: Giakos on Jan 15, 10:32 AM 2020
Nothing?
Title: Re: Need a very simple help rx code
Post by: stringbeanpc on Jan 15, 02:48 PM 2020
The solution is also simple.

Just put in a spin counter and bet only when the counter is greater than 2.

You will learn faster and better if you code this for yourself, instead of me giving you the code.

Best Wishes
Title: Re: Need a very simple help rx code
Post by: precogmiles on Jan 15, 02:49 PM 2020
You can not use a computer to beat roulette.
Title: Re: Need a very simple help rx code
Post by: Bigbroben on Jan 15, 04:33 PM 2020
Precog, you're going berserk!
Title: Re: Need a very simple help rx code
Post by: precogmiles on Jan 15, 04:40 PM 2020
Quote from: Bigbroben on Jan 15, 04:33 PM 2020
Precog, you're going berserk!

In what way? I don’t understand what people have against me posting my opinion. Every other thread is someone claiming that 1 + 1 = 3. I am in a tiny minority of users on this forum who don’t think systems work.

Ok I will stop posting, if it makes everyone happy.
Title: Re: Need a very simple help rx code
Post by: Giakos on Jan 15, 05:38 PM 2020
@precogmiles
thank for your  reply but i dont'ask "how to beat roulette".
@stringbeanpc


I tried this:


system "untitled"

method "main"
  begin
            if spin count > 2  begin call "bet"    end
               end

            method "bet"
begin
    Track last Red-Black patterns for 2 spins to Record "patterns" layout
        If List [Black,Black]
has a pattern match to Record "patterns" layout
begin
  Put 1 units on Red
end
end

but i want:

spin 1 wait
spin 2 wait
spin 3 bet
spin 4 wait
spin 5 wait
spin 6 bet
spin 7 wait
spin 8 wait
spin 9 bet
etc.


thank you very much and thanks in advance if you will answer me...



Title: Re: Need a very simple help rx code
Post by: stringbeanpc on Jan 16, 07:58 AM 2020
you need to increment the spin count

also you need to reset the spin count to zero (probably after you bet and when the spin count is 2)
Title: Re: Need a very simple help rx code
Post by: stringbeanpc on Jan 16, 08:34 AM 2020
oops i mean > 2
Title: Re: Need a very simple help rx code
Post by: Giakos on Jan 16, 10:52 AM 2020
Hi Teacher  :)

I tried:

system "untitled"

method "main"
  begin
            if spin count > 2  begin call "bet"    end

               end

            method "bet"
begin
    Track last Red-Black patterns for 2 spins to Record "patterns" layout
        If List [Black,Black]
has a pattern match to Record "patterns" layout
begin
  Put 1 units on Red
end
         SET FLAG "GO" TO TRUE
         if flag "GO" true
            begin reset spin count end
end


but dont'bet.....

where is the error?

ii'm desperate! :o
Title: Re: Need a very simple help rx code
Post by: stringbeanpc on Jan 16, 03:46 PM 2020
you need to increment the spin count
Title: Re: Need a very simple help rx code
Post by: ignatus on Jan 16, 04:22 PM 2020
Quote from: Giakos on Jan 16, 10:52 AM 2020
Hi Teacher  :)

I tried:

system "untitled"

method "main"
  begin
            if spin count > 2  begin call "bet"    end

               end

            method "bet"
begin
    Track last Red-Black patterns for 2 spins to Record "patterns" layout
        If List [Black,Black]
has a pattern match to Record "patterns" layout
begin
  Put 1 units on Red
end
         SET FLAG "GO" TO TRUE
         if flag "GO" true
            begin reset spin count end
end


but dont'bet.....

where is the error?

ii'm desperate! :o

well, for me, coding is much copy and paste, also learning new commands and how they work i suggest you read carefully link:://:.laroulette.it/risorse/xtreme/rx-scripting-in-inglese (link:://:.laroulette.it/risorse/xtreme/rx-scripting-in-inglese)

Here is the code ... add more commands/modify as you wish, but that´s the basics
cheers

system "Test"

method "main"
  begin
  while starting a new session
  begin

  Set List[1,2,4,8,16,32,64] to Record "progression" Data
 
  Set List[1,2,3,4,5,6,7,8,9,10,11,12,13] to Record "Spin counter" Data
  end

   while on each spin
  begin
 
  if total bankroll >= 100 each time
begin
stop session
end

if total bankroll <= -100 each time
begin
stop session
end

  Track last Red-Black patterns for 2 spins to Record "patterns" layout

    if any outside bet lost each
begin
Add 1 to Record "progression" Data index
end

if any outside bet won each
begin
put 1 to Record "progression" Data index
end


  if Record "Spin counter" Data index <= 2 each
   begin
     If List [Black,Black] has a pattern match to Record "patterns" layout each
     begin
       Put 100% of Record "progression" Data to Red
     end
     put 1 on Record "Spin counter" Data index
   end

   add 1 on Record "Spin counter" Data index

   If Record "progression" Data Index >
  Record "progression" Data Count
    Begin
    put 1 on Record "progression" Data Index
    End
   
end
end
Title: Re: Need a very simple help rx code
Post by: Giakos on Jan 17, 05:30 AM 2020
thank you all!!
Title: Re: Need a very simple help rx code
Post by: stringbeanpc on Jan 17, 05:54 AM 2020
Your welcome. Congrats on your efforts to learn RX coding.

Please post your final RX code to this thread for review and to teach others.
Title: Re: Need a very simple help rx code
Post by: Giakos on Jan 17, 06:57 AM 2020
of course.....adapted for flat bet ....


system "Test"

method "main"
  begin
  while starting a new session
  begin

      Set List[1] to Record "progression" Data

  Set List[1,2,3] to Record "Spin counter" Data
  end

   while on each spin
  begin


  Track last Red-Black patterns for 2 spins to Record "patterns" layout

    if any outside bet lost each
begin
put 0 to Record "Spin counter" Data index
end

if any outside bet won each
begin
put 0 to Record "Spin counter" Data index
end


  if Record "Spin counter" Data index = 2 each
   begin
     If List [Black,Black] has a pattern match to Record "patterns" layout each

     begin
       Put 100% of Record "progression" Data to Red
     end
     put 1 on Record "Spin counter" Data index
   end

   add 1 on Record "Spin counter" Data index
       If Record "progression" Data Index >
  Record "progression" Data Count
    Begin
    put 1 on Record "progression" Data Index
    End



my best regards and thanks for your welcome
Title: Re: Need a very simple help rx code
Post by: stringbeanpc on Jan 17, 05:22 PM 2020
thanks for posting the code

if everything works as you wish, then that is good

now you know some basic coding and can apply that knowledge to creating other methods to test

again, congratulations on your achievement
Title: Re: Need a very simple help rx code
Post by: Giakos on Jan 17, 07:34 PM 2020

the previous code was wrong.......sorry



this is correct


system "untitled"


method "main"
begin
    While Starting a New Session
    begin
        set   list [1] to Record "Spin counter" data
    end

    While on Each Spin
    begin
        Track last Red-Black patterns for 2 spins to Record "patterns" layout
        if record "spin counter" data index = 2 each
        begin
        If List [Black,Black]
has a pattern match to Record "patterns" layout
begin
  Put 1 units on Red
    end
         If List [red,red]
has a pattern match to Record "patterns" layout
begin
  Put 1 units on black
    end
           put -1 on record "spin counter" data index end
    add 1 on record "spin counter" data index

    end
     end



regards