hi every one
i created a bot on blue eye macro for bwin roulette,
the strategy is to bet on the numbers (0-3-4-5-7-8-10-11-12-13-15-16-18-19-21-23-24-26-27-28-29-30-32-33-35-36), if you win you bet the minimum bet (which is {XX} in the code and defined in the predefined numbers area) and if you loose you double
but i have got quite a problem with the function "check if we won"
i have already tried
Code:
if Color.At coordinate is not (RGB)("163", "10", "8", "657", "398")
and
Code:
if Image.Can be located on screen("", "")
" but none of them seems to be working, do you have a better idea. please help me
here is the script i wrote:
Code:
begin
Variable.Set("bet", "{XX}")
Function.Execute("reset window location")
begin loop("15")
Function.Execute("place bet")
Function.Execute("check if we won")
if Variable.Is equal to("won", "no")
begin
Variable.Multiply (Math)("bet", "2")
end
end
end
function("reset window location")
begin
Window.Set location("Roulette - Version pro - Play for fun - hotman-sama", "yes", "1", "1")
Window.Bring to front("Roulette - Version pro - Play for fun - hotman-sama", "yes")
Macro.Pause("1000")
end
function
function("place bet")
begin
Function.Execute("miser")
Function.Execute("tourner")
end
function
function("miser")
begin
begin loop("{bet}")
Mouse.Click at coordinate("618", "338", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("625", "375", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("564", "389", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("530", "337", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("490", "373", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("446", "333", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("397", "411", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("357", "339", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("310", "409", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("293", "355", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("228", "376", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("213", "411", "left")
Macro.Pause("50")
end
Macro.Pause("500")
begin loop("{bet}")
Mouse.Click at coordinate("150", "338", "left")
Macro.Pause("50")
end
Macro.Pause("500")
end
function
function("tourner")
begin
Mouse.Click at coordinate("783", "532", "left")
Color.Wait for color at coordinate to be within (RGB range)("14", "6", "2", "10", "701", "141")
Macro.Pause("1000")
end
function
function("check if we won")
begin
Variable.Set("won", "yes")
if Color.At coordinate is not (RGB)("202", "10", "9", "144", "395")
or
Color.At coordinate is not (RGB)("165", "10", "9", "157", "352")
or
Color.At coordinate is not (RGB)("24", "108", "89", "211", "318")
or
Color.At coordinate is not (RGB)("27", "106", "91", "251", "318")
or
Color.At coordinate is not (RGB)("185", "12", "10", "337", "357")
or
Color.At coordinate is not (RGB)("177", "14", "11", "379", "352")
or
Color.At coordinate is not (RGB)("172", "11", "9", "425", "352")
or
Color.At coordinate is not (RGB)("187", "12", "10", "472", "387")
or
Color.At coordinate is not (RGB)("201", "11", "9", "515", "395")
or
Color.At coordinate is not (RGB)("172", "10", "8", "611", "388")
or
Color.At coordinate is not (RGB)("163", "10", "8", "657", "398")
begin
Variable.Set("won", "no")
end
end
function
i would be greatful for any help