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:
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:
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/3egFanwb8tQhttp://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
Cheers!