Author |
Message |
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
this is an abandoned project as far as i'm aware, there are a few ready made scripts in repository macro's,. take a look at them for some ideas, and if your still stuck, give me a shout, i have completed a few of these scripts now and i'm sure i could help
this is an abandoned project as far as i'm aware, there are a few ready made scripts in repository macro's,. take a look at them for some ideas, and if your still stuck, give me a shout, i have completed a few of these scripts now and i'm sure i could help
|
|
|
|
Posted: Sun Oct 21, 2012 3:32 am |
|
|
|
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
maybe... if variable.is equal to, won 1... variable.set..bet,. minimumbet,
a stab in the dark
maybe... if variable.is equal to, won 1... variable.set..bet,. minimumbet,
a stab in the dark
|
|
|
|
Posted: Fri May 11, 2012 8:16 pm |
|
|
|
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
Can anybody please help me fix this final error? I am really desperate to get this macro to work and I have tried everything to fix this one small error and have found nothing that works. The only problem I have is that the bet does not reset back to $1 after I have won. Can anybody please tell me how to fix this? I would really appreciate any help you give me.
Can anybody please help me fix this final error? I am really desperate to get this macro to work and I have tried everything to fix this one small error and have found nothing that works. The only problem I have is that the bet does not reset back to $1 after I have won. Can anybody please tell me how to fix this? I would really appreciate any help you give me.
|
|
|
|
Posted: Mon Apr 23, 2012 4:39 am |
|
|
|
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
alanpratydhina wrote: fyuh , its so hard What does "fyuh" mean? And do you know how I can fix this one smal problem I have left to solve?
[quote="alanpratydhina"]fyuh , its so hard :shock:[/quote]
What does "fyuh" mean? And do you know how I can fix this one smal problem I have left to solve?
|
|
|
|
Posted: Mon Apr 16, 2012 5:17 am |
|
|
|
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
fyuh , its so hard
fyuh , its so hard :shock:
|
|
|
|
Posted: Mon Apr 16, 2012 12:58 am |
|
|
|
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
Gigus wrote: If it doesnt bet the correct amount, could it be because its simply clicking it too fast?
Try adding a Macro.Pause("100") after Mouse.Click at coordinate("364", "403", "left") in the Place bet function. Thank you for this piece of advice. Now the macro is working almost perfectly. I placed a one second gap between clicking on the $1 button, clicking on the Red button equal to the bet, and clicking on the spin butto. I also added a five second pause after the wheel begins to spin so the macro has time to read the number. This is the following code I have compiled with this revision added: 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("Roulette Game", "yes", "1", "1") Window.Bring to front("Roulette Game", "yes") Macro.Pause("1000") end function
function("Place bet") begin Mouse.Click at coordinate("381", "520", "left") Macro.Pause("1000") end begin loop("{bet}") Mouse.Click at coordinate("370", "384", "left") Macro.Pause("1000") end begin Mouse.Click at coordinate("717", "521", "left") Macro.Pause("5000") end function
function("Check if we won") begin Variable.Set("won", "yes") if Color.At coordinate is not within (RGB range)("167", "41", "13", "5", "813", "100") begin Variable.Set("won", "no") end end function There is only one thing that is preventing this from being a perfect macro at this point. After I win a bet and the macro successfully sees the red number at the co-ordinate marking where it appears, the macro then bets an amount equal to what I win, instead of resetting to the minimum bet as the Martingale principle requires. For example: The macro bets $1 on Red and loses. The macro bets $2 on Red and loses. The macro bets $4 on Red and wins. The macro bets $4 on Red instead of resetting the bet to $1 after a win. Do you know what could be wrong with the code that could be causing this problem?
[quote="Gigus"]If it doesnt bet the correct amount, could it be because its simply clicking it too fast?
Try adding a Macro.Pause("100") after Mouse.Click at coordinate("364", "403", "left") in the Place bet function.[/quote]
Thank you for this piece of advice. Now the macro is working almost perfectly. I placed a one second gap between clicking on the $1 button, clicking on the Red button equal to the bet, and clicking on the spin butto. I also added a five second pause after the wheel begins to spin so the macro has time to read the number.
This is the following code I have compiled with this revision added:
[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("Roulette Game", "yes", "1", "1") Window.Bring to front("Roulette Game", "yes") Macro.Pause("1000") end function
function("Place bet") begin Mouse.Click at coordinate("381", "520", "left") Macro.Pause("1000") end begin loop("{bet}") Mouse.Click at coordinate("370", "384", "left") Macro.Pause("1000") end begin Mouse.Click at coordinate("717", "521", "left") Macro.Pause("5000") end function
function("Check if we won") begin Variable.Set("won", "yes") if Color.At coordinate is not within (RGB range)("167", "41", "13", "5", "813", "100") begin Variable.Set("won", "no") end end function [/code]
There is only one thing that is preventing this from being a perfect macro at this point. After I win a bet and the macro successfully sees the red number at the co-ordinate marking where it appears, the macro then bets an amount equal to what I win, instead of resetting to the minimum bet as the Martingale principle requires. For example:
The macro bets $1 on Red and loses. The macro bets $2 on Red and loses. The macro bets $4 on Red and wins. The macro bets $4 on Red instead of resetting the bet to $1 after a win.
Do you know what could be wrong with the code that could be causing this problem?
|
|
|
|
Posted: Sun Apr 15, 2012 4:35 pm |
|
|
|
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
Gigus wrote: If it doesnt bet the correct amount, could it be because its simply clicking it too fast?
Try adding a Macro.Pause("100") after Mouse.Click at coordinate("364", "403", "left") in the Place bet function. The problem I have when I test it is that after it spoins the first bet of $1 it will get to the "Color.Wait for color at coordinate to be within (RGB range)("10", "1", "1", "10", "1010", "312")" and do nothing. This bit was designed to wait for the betting option to re-appear with a half a second pause because on the casino this was coded for it dissapeared when it spun. I do not have this problem with BetVoyager. However, I also do not know how to get the program to check if I have won or not. When it says "Wait for color at coordinate", how do you enter in the coordinate, and how does it know what to look at? Also, if I can somehow get past this problem, it will never bet more than $1. If I lose it will not double the bet successfully. Also, in BetVoyager you must physically click on the $1 button again and then click on Red a number of times equal to the bet. I don't know how to add this in successfully.
[quote="Gigus"]If it doesnt bet the correct amount, could it be because its simply clicking it too fast?
Try adding a Macro.Pause("100") after Mouse.Click at coordinate("364", "403", "left") in the Place bet function.[/quote]
The problem I have when I test it is that after it spoins the first bet of $1 it will get to the "Color.Wait for color at coordinate to be within (RGB range)("10", "1", "1", "10", "1010", "312")" and do nothing. This bit was designed to wait for the betting option to re-appear with a half a second pause because on the casino this was coded for it dissapeared when it spun. I do not have this problem with BetVoyager. However, I also do not know how to get the program to check if I have won or not. When it says "Wait for color at coordinate", how do you enter in the coordinate, and how does it know what to look at? Also, if I can somehow get past this problem, it will never bet more than $1. If I lose it will not double the bet successfully.
Also, in BetVoyager you must physically click on the $1 button again and then click on Red a number of times equal to the bet. I don't know how to add this in successfully.
|
|
|
|
Posted: Mon Apr 09, 2012 7:25 am |
|
|
|
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
If it doesnt bet the correct amount, could it be because its simply clicking it too fast?
Try adding a Macro.Pause("100") after Mouse.Click at coordinate("364", "403", "left") in the Place bet function.
If it doesnt bet the correct amount, could it be because its simply clicking it too fast?
Try adding a Macro.Pause("100") after Mouse.Click at coordinate("364", "403", "left") in the Place bet function.
|
|
|
|
Posted: Mon Apr 09, 2012 3:31 am |
|
|
|
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
For anybody who wants to trial this, here is the URL to test this betting formula using the BetVoyager no zero roulette demo: http://game5.betvoyager.com/usgo.php?ogid=234812721
For anybody who wants to trial this, here is the URL to test this betting formula using the BetVoyager no zero roulette demo:
http://game5.betvoyager.com/usgo.php?ogid=234812721
|
|
|
|
Posted: Sun Apr 08, 2012 11:40 am |
|
|
|
|
|
Post subject: |
Re: BetVoyager No Zero Roulette Martingale Macro Needed |
|
|
For those of you that are interested, here is what the setup will look like on my PC with the BetVoyager No Zero Roulette game opened in FireFox. The board will be set in the exact same position when I use the macro, so anybody who needs accurate board co-ordinates can obtain them from this screenshot.
Attachments: |
RouletteShot1.png [ 816.42 KiB | Viewed 10574 times ]
|
For those of you that are interested, here is what the setup will look like on my PC with the BetVoyager No Zero Roulette game opened in FireFox. The board will be set in the exact same position when I use the macro, so anybody who needs accurate board co-ordinates can obtain them from this screenshot.
|
|
|
|
Posted: Fri Apr 06, 2012 11:17 am |
|
|
|
|