Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 7:31 pm

All times are UTC




Post new topic Reply to topic  [ 84 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9
Author Message
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Thu Mar 17, 2022 7:37 am 


Hi Guestnick,

I hope you are doing well with your Strategy by doubling 8 times on a Colour 8-)

Please don't get me wrong if I do questions on behalf, but to be honest I'm :? :? :?

Math is not an opinion Right?
Why is the maximum bet 64 if we take 1 and double it 8 times :?:

Attachment:
Martingale_8.mp4


Top
  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Thu Mar 17, 2022 7:58 am 
Active User
Active User
User avatar



Joined: Thu Feb 11, 2021 8:33 pm
Posts: 33
Location: London
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 164
Hi Guestnick,

I hope you are doing well with your Strategy by doubling 8 times on a Colour 8-)

Please don't get me wrong if I do questions on behalf, but to be honest I'm :? :? :?

Math is not an opinion Right?
Why is the maximum bet 64 if we take 1 and double it 8 times :?:

Attachment:

[ Play Quicktime file ] Martingale_8.mp4 [ 127.5 KiB | Viewed 1482 times ]


The Calculator says 256 should be the maximum Bet :!:

Subsequently you need a Wallet of 256 * 2 - 1 = 511 Units to cover 9 Steps for One Color :!: :?:

Whenever you Hit.... you are getting 1 Unit Profit but if you lose once you will never recover again :!: :!:

Now just to clarify if your Max Bet should be 64 it is appropriate to say.....

we take 1 and we double 6 Times to cover 7 Steps :!:

Subsequently we need a Wallet of 64 * 2 - 1 = 127 Units to cover 7 Steps for One Colour * 6 Colours (Black/Red/Even/Odd/High/Low) = 762 :!: :?:


Pretending to get 10% profit out of it....
This could be a real scenario :shock:
Attachment:
Martingale_Test_Results.txt [37.3 KiB]
Downloaded 266 times


Please try yourself and let me know

Attachment:
test;martingale.bem [182.59 KiB]
Downloaded 253 times


Predifine the variables like this

Attachment:
Martingale.PNG
Martingale.PNG [ 8.15 KiB | Viewed 1481 times ]


A friendly Advise.....
Never double when we lose :!: :!: But when we Win ;)
Cheers

_________________
Feel free to post your Comments and Ideas here:
viewtopic.php?f=10&t=35896

If you knew the magnificence of 3, 6 and 9, you would have a key to the universe ! ( Nikola Tesla )
https://www.youtube.com/watch?v=YnMFQFDhy-4


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Mon Mar 21, 2022 3:27 am 
New User
New User



Joined: Mon Mar 21, 2022 2:55 am
Posts: 9
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 31
Gigus wrote:
Hey guys.

Here is a small roulette bot, playing online roulette at PKR using the Martingale principle.

A complete video tutorial is available on YouTube: http://www.youtube.com/watch?v=dv8ynssbH9w


Here is the code for the macro (it is also available in the repository):
Code:
 begin
     Variable.Set("bet", "{MinimumBet}")
     Function.Execute("Reset window location")
     begin loop()
          Function.Execute("Place bet")
          Function.Execute("Check if we won")
          if  Variable.Is equal to("won", "yes")
               begin
                    Macro.Report progress("We won! Resetting bet")
                    Variable.Set("bet", "{MinimumBet}")
               end
          if  Variable.Is equal to("won", "no")
               begin
                    Macro.Report progress("We lost! Doubling bet")
                    Variable.Multiply (Math)("bet", "2")
                    if  Variable.Is greater than (Math)("bet", "{MaximumBet}")
                         begin
                              Macro.Report progress("Giving up and resetting bet")
                              Variable.Set("bet", "{MinimumBet}")
                         end
               end
     end
 end

function("Reset window location")
     begin
          Window.Set location("PKR - let's play!", "yes", "1", "1")
          Window.Bring to front("PKR - let's play!", "yes")
          Macro.Pause("1000")
     end
function

function("Place bet")
     begin loop("{bet}")
          Mouse.Click at coordinate("364", "403", "left")
     end
     begin
          Mouse.Click at coordinate("510", "697", "left")
          Macro.Pause("500")
          Color.Wait for color at coordinate to be within (RGB range)("10", "1", "1", "10", "1010", "312")
          Macro.Pause("500")
     end
function

function("Check if we won")
     begin
          Variable.Set("won", "no")
          if  Color.At coordinate is not within (RGB range)("2", "65", "64", "10", "978", "159")
               begin
                    Variable.Set("won", "yes")
               end
     end
function


You will need to create the following two variables:
Code:
{MinimumBet}   1
{MaximumBet}   64


Enjoy.




:) :) :) I SEE


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Tue Sep 24, 2024 7:36 pm 
New User
New User



Joined: Tue Sep 24, 2024 7:12 pm
Posts: 1
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 10
I finally figured out what the problem is. There is a variable in the loop that will always place "Place bet on red" after some time, regardless of what came before, because it is the beginning of the "loop". The loop should start with a variable that will determine what the loop ended on - a loss or a win. I have no idea how to do this.


Syrifina wrote:
I'll take a look at the files.

Quote:
Is setting of the program important and can it affect the results? for instance, I couldn't install the virtual drive or "DirectX rendered" is in N/A status.
Some settings definitely affect the performance, but in this case (for the ones you listed) I would say "no."

Virtual Drivers are mainly for games that will not accept the Windows OEM drivers, but you have this working so there really isn't a need for them...and no they wouldn't affect the performance. If the game recognized that the inputs were from a 3rd party and they either wouldn't allow any input or gave you a message that stated something like "a macro has been detected" then that's where you could use the virtual drivers to get around this. In your case you are already running the macro and the game is accepting the inputs so you are fine with the Win API drivers.

DirectX is sort of the same way. If the game was rendering in DirectX and you tried to take a screenshot (like with the Investigator tool), it could just give you a blank screen. So if you were unable to take screenshots because the game is rendering in DirectX, then you could enable DirectX capturing in BEM to get the screenshots for the Investigator tool. But again, you seem to have this working also, there's no need to enable DirectX capturing.

If it doesn't always recognize the correct color, you just may need to do some adjusting. In your script sometimes you use "to be (RGB)" and sometimes "within (RGB)". Using "within range" is much better if the script is not recognizing the colors correctly; one is exactly that color and the other is a range or more values that are approximately that color. So in your original script (I haven't reviewed your new files yet) you are using a range of "10"...so maybe try "15" or a little more. *Well, first I would review the execution log to see if it's having an issue with one particular color or both and of course only adjust the ones it is having issues with.

To be honest, if that's the only problem you are having now, adjusting the color range should fix it. I'll review the files but try that and see if it helps. I'll let you know if I see anything else.


Attachments:
bet issue.png
bet issue.png [ 59.79 KiB | Viewed 81 times ]
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 84 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group