Blue Eye Logo

Blue Eye Macro

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

All times are UTC




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Roulette bot Final [WORKING]
Thanked: 4 time(s)  Unread post Posted: Fri Feb 22, 2013 12:16 pm 
Silver Contributor
Silver Contributor
User avatar



Joined: Thu Jan 31, 2013 10:11 pm
Posts: 128
Location: Sweden
Been thanked: 22 time(s)
Has thanked: 6 time(s)
Contribution Points: 13
Hey guys! my name is zeverist(for you who don't know me) and figured i'd release a fully working roulette bot, will also update this post later on with new features for the bot to keep it in shape. The bot has been tested with real cash at online casinos(Earned me about 2000$ this far).

First you need some Predefined variables where Minimumbet is set to 1 & MaximumBet is set to 64:
Image

Then you got the real code:
Code:
 begin
     Window.Set location("Europeisk roulette - Swiss Casino", "yes", "100", "50")
     Window.Bring to front("Europeisk roulette - Swiss Casino", "yes")
     Variable.Set("won", "yes")
     Variable.Set("colorOfBet", "black")
     Variable.Set("bet", "{MinimumBet}")
     begin loop()
          Function.Execute("Place bet")
          Function.Execute("Check if we won")
          if  Variable.Is equal to("won", "yes")
               begin
                    Variable.Set("bet", "{MinimumBet}")
                    Variable.Set("colorOfBetAgain", "{colorOfBet}")
                    if  Variable.Is equal to("colorOfBetAgain", "black")
                         begin
                              Variable.Set("colorOfBet", "red")
                         end
                    if  Variable.Is equal to("colorOfBetAgain", "red")
                         begin
                              Variable.Set("colorOfBet", "black")
                         end
               end
          if  Variable.Is equal to("won", "no")
               begin
                    Variable.Multiply (Math)("bet", "2")
                    if  Variable.Is greater than (Math)("bet", "{MaximumBet}")
                         begin
                              Variable.Set("bet", "{MinimumBet}")
                         end
               end
     end
 end

function("Place bet")
     begin loop("{bet}")
          if  Variable.Is equal to("colorOfBet", "black")
               begin
                    Mouse.Click at coordinate("", "", "")
                    If  Color.At coordinate is (RGB)("", "", "", "", "")
                         Variable.Set random number("xy", "453", "455")
                         Variable.Set random number("yx", "446", "448")
                         Mouse.Click at coordinate("{xy}", "{yx}", "left")
                         Variable.Set random number("HumanPause", "250", "320")
                         Macro.Pause("{HumanPause}")
               end
          if  Variable.Is equal to("colorOfBet", "red")
               begin
                    Variable.Set random number("zx", "514", "516")
                    Variable.Set random number("zy", "488", "490")
                    Mouse.Click at coordinate("{zx}", "{zy}", "left")
                    Variable.Set random number("HumanPulse", "250", "320")
                    Macro.Pause("{HumanPulse}")
               end
     end
     begin
          Variable.Set random number("HumanRdy", "450", "550")
          Macro.Pause("{HumanRdy}")
          Variable.Set random number("x", "283", "289")
          Variable.Set random number("y", "471", "477")
          Mouse.Click at coordinate("{x}", "{y}", "left")
          Variable.Set random number("HumanSet", "500", "1000")
          Macro.Pause("{HumanSet}")
     end
function

function("Check if we won")
     begin
          Variable.Set random number("randiz", "350", "400")
          Macro.Pause("{randiz}")
          Variable.Set("won", "no")
          if  Color.At coordinate is (RGB)("254", "254", "254", "752", "213")
               begin
                    Variable.Set("won", "yes")
               end
          Variable.Set random number("HumanCheck", "350", "400")
          Macro.Pause("{HumanCheck}")
     end
function
 


How this macro works!
It first of all puts the game-window to the front(above all other windows) and locate it at a certain coordinate on your screen that you modify to your own taste.
(Why to do this is soo the rest of the code wont mess upp with coordinate clicks)

Then it starts the betting on black, if you loose it will double the bet until it reaches the MaximumBet, if it reaches MaximumBet it goes back to Minimumbet.
If win = it starts betting on red.. do the same multiply thing, then go back to black if won etc..

Also included some Human pauses and human-like mouseclick to make the bot more realistic and perfect as in the example below where HumanPulse pauses it for a random amount of time causing you to place each bet in different speeds & to make sure you don't get caught by the casino i also included random mouse.click at coordinate soo it won't allways press on the same place:
Code:
                    Variable.Set random number("zx", "514", "516")
                    Variable.Set random number("zy", "488", "490")
                    Mouse.Click at coordinate("{zx}", "{zy}", "left")
                    Variable.Set random number("HumanPulse", "250", "320")
                    Macro.Pause("{HumanPulse}")



In the end of the code you see i defined if you won by checking the color at a certain coordinate(simple enough huh?)
This was abit tricky to find out at first since the you could not simply click on the colors where the ball landed(changes everytime) soo instead, each time the text "You have won"(In my case "Du Vinner") i've placed the If color at coordinate is white inside the little "E" in the text. Soo each time the text pops upp you have won, if you don't win it wont come upp thereby easy to define if you loose or win that way. Picture example:

Image

I will also provide a youtube video where you can see the macro in action at a online casino where i play with real cash:
http://youtu.be/3egFanwb8tQ
http://www.youtube.com/watch?v=3egFanwb ... e=youtu.be

(Recorded from a android HTC soo don't get your hopes upp with the quality ^.^)

An uppcoming Feature i'll be creating is for the bot to recognize your current cash and stop when it reaches a certain amount of money to not raise suspicions on the casino. (Will be coming soon with that and more)

Also want to give Stairbuilder credits for helping me out abit before! (:

If you got any questions or complains just shoot away :D Cheers!

_________________
If you like my work or got the help you needed, don't forgett to press the Thank You button -> :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot Final [WORKING]
Thanked: 0 time(s)  Unread post Posted: Fri Feb 22, 2013 1:12 pm 
Gold Contributor
Gold Contributor



Joined: Sat Oct 13, 2012 3:41 pm
Posts: 357
Been thanked: 69 time(s)
Has thanked: 28 time(s)
Contribution Points: 581
very nice
thanks for sharing

_________________
Feel free to give constructive criticism to any code I post
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot Final [WORKING]
Thanked: 0 time(s)  Unread post Posted: Fri Feb 22, 2013 10:36 pm 
Silver Contributor
Silver Contributor
User avatar



Joined: Thu Jan 31, 2013 10:11 pm
Posts: 128
Location: Sweden
Been thanked: 22 time(s)
Has thanked: 6 time(s)
Contribution Points: 13
stairbuilder wrote:
very nice
thanks for sharing


Thanks mate!, glad to see one of the 22+ bypassing ppl is stopping by leaving a comment! haha :D
Ur welcome ((:

_________________
If you like my work or got the help you needed, don't forgett to press the Thank You button -> :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot Final [WORKING]
Thanked: 0 time(s)  Unread post Posted: Tue Feb 26, 2013 10:44 am 
New User
New User



Joined: Wed Sep 05, 2012 12:37 pm
Posts: 21
Been thanked: 2 time(s)
Has thanked: 6 time(s)
Contribution Points: 15
Nice post Zeverist, am also working on a roulette bot so its good to see how other people use BE code. :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot Final [WORKING]
Thanked: 0 time(s)  Unread post Posted: Tue Feb 26, 2013 1:10 pm 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Sep 26, 2011 9:38 am
Posts: 1703
Location: Space Australia
Been thanked: 78 time(s)
Has thanked: 6 time(s)
Contribution Points: 9994
Might have to check out your code soon... see how you approached it :P

Never done a roulet bot before... i helped crit fix one he was doing for a paying customer but never done the algorithims and stuff.

_________________
ImageImageImageImage
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot Final [WORKING]
Thanked: 0 time(s)  Unread post Posted: Tue Feb 26, 2013 9:04 pm 
Silver Contributor
Silver Contributor
User avatar



Joined: Thu Jan 31, 2013 10:11 pm
Posts: 128
Location: Sweden
Been thanked: 22 time(s)
Has thanked: 6 time(s)
Contribution Points: 13
aberdon wrote:
Nice post Zeverist, am also working on a roulette bot so its good to see how other people use BE code. :D


Thanks aberdon, glad to see you liked it. Ah cool you have to show me yours when it's done? :D

_________________
If you like my work or got the help you needed, don't forgett to press the Thank You button -> :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot Final [WORKING]
Thanked: 0 time(s)  Unread post Posted: Tue Feb 26, 2013 9:08 pm 
Silver Contributor
Silver Contributor
User avatar



Joined: Thu Jan 31, 2013 10:11 pm
Posts: 128
Location: Sweden
Been thanked: 22 time(s)
Has thanked: 6 time(s)
Contribution Points: 13
Thedragonfiend wrote:
Might have to check out your code soon... see how you approached it :P

Never done a roulet bot before... i helped crit fix one he was doing for a paying customer but never done the algorithims and stuff.


Hehe go ahead, tell me abit more of what you think about it when you done checking etc :P hehe

Ah cool! did his bot do something similar(spelling?) to this bot? more advanced perhaps? or another type of roulette mabey? got abit curious. But nice then this code might have some interest for you? :)

_________________
If you like my work or got the help you needed, don't forgett to press the Thank You button -> :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot Final [WORKING]
Thanked: 0 time(s)  Unread post Posted: Tue Feb 26, 2013 10:52 pm 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Sep 26, 2011 9:38 am
Posts: 1703
Location: Space Australia
Been thanked: 78 time(s)
Has thanked: 6 time(s)
Contribution Points: 9994
zeverist wrote:
Thedragonfiend wrote:
Might have to check out your code soon... see how you approached it :P

Never done a roulet bot before... i helped crit fix one he was doing for a paying customer but never done the algorithims and stuff.


Hehe go ahead, tell me abit more of what you think about it when you done checking etc :P hehe

Ah cool! did his bot do something similar(spelling?) to this bot? more advanced perhaps? or another type of roulette mabey? got abit curious. But nice then this code might have some interest for you? :)


It was a roulete simulator... you set the parameters and it would simulate games of roulet until it finished the users parameter set.

_________________
ImageImageImageImage
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot Final [WORKING]
Thanked: 0 time(s)  Unread post Posted: Tue Feb 26, 2013 11:13 pm 
Silver Contributor
Silver Contributor
User avatar



Joined: Thu Jan 31, 2013 10:11 pm
Posts: 128
Location: Sweden
Been thanked: 22 time(s)
Has thanked: 6 time(s)
Contribution Points: 13
Thedragonfiend wrote:
zeverist wrote:
Thedragonfiend wrote:
Might have to check out your code soon... see how you approached it :P

Never done a roulet bot before... i helped crit fix one he was doing for a paying customer but never done the algorithims and stuff.


Hehe go ahead, tell me abit more of what you think about it when you done checking etc :P hehe

Ah cool! did his bot do something similar(spelling?) to this bot? more advanced perhaps? or another type of roulette mabey? got abit curious. But nice then this code might have some interest for you? :)


It was a roulete simulator... you set the parameters and it would simulate games of roulet until it finished the users parameter set.


Ah i see..

_________________
If you like my work or got the help you needed, don't forgett to press the Thank You button -> :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Roulette bot Final [WORKING]
Thanked: 0 time(s)  Unread post Posted: Fri Feb 07, 2014 6:25 am 
Active User
Active User



Joined: Mon Apr 09, 2012 1:10 am
Posts: 38
Been thanked: 0 time(s)
Has thanked: 9 time(s)
Contribution Points: 61
Thanks for sharing dude


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  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