Blue Eye Logo

Blue Eye Macro

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

All times are UTC




Post new topic Reply to topic  [ 84 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Author Message
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Mon Jan 28, 2019 6:33 pm 
Partner / License admin
Partner / License admin
User avatar



Joined: Sun Oct 10, 2010 5:16 pm
Posts: 2259
Location: USA
Been thanked: 535 time(s)
Has thanked: 38 time(s)
Contribution Points: 17741
It depends on when you want it to change looking for red or black.

- If you're still betting using the Martingale strategy (win=bet 1, lose=double bet), then do you want to change colors after a win or loss? This question will determine what you need to add and when. You'll basically just switch colors when you either reset the bet or when you double the bet...but I don't think you'll follow any logical pattern past doubling the bet once trying to add this to the Martingale.

- If you're saying you just want to follow the color pattern (1red,1black,2red,2black...) then that's a different macro. You should post a new thread and ask that question; don't want to hijack this Martingale strategy thread with a new strategy and you'll need to provide more information like how long does your pattern continue for (just after 2 of each color or like 10red/10black) and how are you betting (just 1 chip or amount each time or is there a increasing/decreasing betting strategy that goes along with this?

_________________
----------------------------------------Syrifina---------------------------------------------------
PM me for licenses and/or licensing information: Click Here
[Be sure to include and update your profile with your BE ID]

Forum Rules
Reminder of rules regarding Contribution points
Getting started in 1, 2, 3
Virtual Drivers; Manual Installers


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Mon Jan 28, 2019 7:45 pm 
New User
New User



Joined: Mon Jan 28, 2019 12:22 am
Posts: 3
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 16
Yes, Martingale.
I will double the bet every time after loosing.
The sequence remain always the same, basically a loop of 6 bets.
For example , if I loose on the first bet (red), I will double it on the black. If even the second one is unlucky, I will double the bet on the red, then again on the red and two time on the black (red, black, red, red, black, black).
I will return to bet the minimum bet at the first win.
Sorry for my bad English
Thank you


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Sun Feb 03, 2019 12:19 am 
New User
New User



Joined: Sat Feb 02, 2019 11:05 pm
Posts: 1
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 10
Hi new to the forum and this coding need a little help if possible I have followed everything on the video exactly however im getting an error message from my line 2 and it wont save. can anyone assist pls. I have placed in bold the line im having problems with.

begin
Macro.Execute new passing 1 argument("Place bet", "yes", "amount","{currentBet}")
Macro.Pause("500")
Macro.Execute new passing 1 argument("Spin", "yes", "amount", "{currentBet}")
Macro.Pause("8000")
Macro.Execute new passing 1 argument("Check if we won", "yes", "won", "0")
end
if Variable.Is equal to("won", "0")
Begin
Variable.Multiply (Math)("currentBet", "2")
if Variable.Is greater than (Math)("currentBet", "{maxBet}")
begin
Variable.Set("currentBet", "{startingBet}")
end
end
if Variable.Is equal to("won", "1")
begin
Variable.Set("currentBet", "{startingBet}")
end


Thanks for any assistance in advance :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Sun Feb 03, 2019 12:54 am 
Partner / License admin
Partner / License admin
User avatar



Joined: Sun Oct 10, 2010 5:16 pm
Posts: 2259
Location: USA
Been thanked: 535 time(s)
Has thanked: 38 time(s)
Contribution Points: 17741
Well, he doesn't use new/separate macros in the original; he uses functions instead...

...But the problem you're having is you are missing one of the elements to "Macro.Execute new passing 1 argument." There are 5 elements to that instruction and you only have 4, so it will not parse or save it until you fix that. The parts within the parenthesis should be:
1 - The new macro name
2 - The category where to find the new macro <--you're missing this one
3 - Whether or not to wait for the macro to finish
4 - The new variable name
5 - The new value for that variable

If you want to use separate macros, you'll need to fix those lines with "Macro.Execute new passing 1 argument".

If you want to follow along with what he did, he used functions; Function.execute new.

_________________
----------------------------------------Syrifina---------------------------------------------------
PM me for licenses and/or licensing information: Click Here
[Be sure to include and update your profile with your BE ID]

Forum Rules
Reminder of rules regarding Contribution points
Getting started in 1, 2, 3
Virtual Drivers; Manual Installers


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Sun Jun 23, 2019 12:35 pm 
New User
New User



Joined: Sat Jun 22, 2019 9:40 pm
Posts: 5
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 16
Hi,

I use your great roulette bot macro, but i have problem.
I change the code for my roulette screen and i want dont want to doubled rebet when zero comes.

Code:

function("Check if we won")
     begin
          Variable.Set("won", "no")
          if  Color.At coordinate is within (RGB range)("0", "0", "0", "10", "95", "476")  //black
               or
               Color.At coordinate is within (RGB range)("0", "255", "1", "10", "93", "476") //zero
               begin
                    Variable.Set("won", "yes")
               end
     end
function



this function never gives back "yes" result. Please help me know why.

thank you


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 1 time(s)  Unread post Posted: Sun Jun 23, 2019 10:11 pm 
Partner / License admin
Partner / License admin
User avatar



Joined: Sun Oct 10, 2010 5:16 pm
Posts: 2259
Location: USA
Been thanked: 535 time(s)
Has thanked: 38 time(s)
Contribution Points: 17741
What you wrote is looking to see if the color was black or green and then return a result of yes if it is true. It looks like it should work; I don't see anything wrong with the script. Are you checking it after it's black or green? That's the only time it will change to "yes"?

_________________
----------------------------------------Syrifina---------------------------------------------------
PM me for licenses and/or licensing information: Click Here
[Be sure to include and update your profile with your BE ID]

Forum Rules
Reminder of rules regarding Contribution points
Getting started in 1, 2, 3
Virtual Drivers; Manual Installers


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Sun Jun 23, 2019 11:07 pm 
New User
New User



Joined: Sat Jun 22, 2019 9:40 pm
Posts: 5
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 16
Hi,

Thank you for fast reply.
Yes, i have seen the log when it happened.

Executing: Variable.Set(Variable name: won, Value: no)
Checking if: Color.At coordinate is within (RGB range)(R: 0, G: 0, B: 0, Range: 5, X Coordinate: 95, Y Coordinate: 476)
Result: No
Checking if: Color.At coordinate is within (RGB range)(R: 0, G: 255, B: 1, Range: 5, X Coordinate: 93, Y Coordinate: 476)
Result: No

I attach the two screenshots my arguments are from. Maybe you see more than me.


Attachments:
black.PNG
black.PNG [ 861.49 KiB | Viewed 8924 times ]
zero.PNG
zero.PNG [ 862.45 KiB | Viewed 8924 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Sun Jun 23, 2019 11:12 pm 
New User
New User



Joined: Sat Jun 22, 2019 9:40 pm
Posts: 5
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 16
And the investigator:


Attachments:
inv.PNG
inv.PNG [ 530.91 KiB | Viewed 8924 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 1 time(s)  Unread post Posted: Mon Jun 24, 2019 1:11 pm 
Partner / License admin
Partner / License admin
User avatar



Joined: Sun Oct 10, 2010 5:16 pm
Posts: 2259
Location: USA
Been thanked: 535 time(s)
Has thanked: 38 time(s)
Contribution Points: 17741
Sounds like your coordinates are off. I know you have the investigator screenshot included, but it could still be 2 things:

First: I noticed you're using windowed mode (from a browser). If the window is not in the exact same place then your coordinates will be off. I usually include a "window.set" group when playing games like this for the window size and location so that it always opens at the same size and in the same location.

Second: Also noticed you're using DirectX enabled capture; the title (and/or theme) bars can mess with the pixel coordinates. Here's a thread on why and how to fix it: viewtopic.php?f=122&t=2434. But basically, DirectX captures don't render the title bars since they are not stored in the DirectX back buffer which will cause your macro to be off by anything rendered in the windows API. Couple of ways to fix it, one is disable DirectX capture and another is to manually add the missing pixel count, but read the thread and read below...it should make more sense.

There's a way to tell if BEM is looking exactly where you think it's looking. I usually test my macros like this first. I set up mouse.move to coordinate first. This will move my mouse to the location I want BEM to look for a color and I can visually see if my cursor is in the right spot. Then I delete the mouse.move portion after I've tested. So in your case, have it move to that location where you're looking for green/black; if it's off by about 20 pixels, then it's number 2 above (it should be exactly 22, but I've also seen 44. If it's different every time time, then it's probably number 1 above.

_________________
----------------------------------------Syrifina---------------------------------------------------
PM me for licenses and/or licensing information: Click Here
[Be sure to include and update your profile with your BE ID]

Forum Rules
Reminder of rules regarding Contribution points
Getting started in 1, 2, 3
Virtual Drivers; Manual Installers


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot version 2
Thanked: 0 time(s)  Unread post Posted: Mon Jun 24, 2019 8:13 pm 
New User
New User



Joined: Sat Jun 22, 2019 9:40 pm
Posts: 5
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 16
OMG, thank you for your advising. You were right. The coordinates were wrong.
I used the Mouse.Move to coordinate to show the real place and was some pixel different. I set manually to good place and copied the coordinates to original code. It works well :)

Thank you again.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 84 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

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