function("RandWalk") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("255", "214", "222", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("118", "68", "73", "0") begin if Color.Can not be located on screen (RGB)("107", "140", "120", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("212", "163", "124", "0") begin if Color.Can not be located on screen (RGB)("255", "181", "115", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("238", "122", "122", "0") begin // set variables from random X coordinates on your screen example 100 to 1000 Variable.Set random number("X", "100", "1100") // set variables from random Y coordinates on your screen example 100 to 1000 Variable.Set random number("Y", "100", "620") Mouse.Click at coordinate("{X}", "{Y}", "left") Humanly.Pause("500", "1000") end end end end end end endfunction

function("Esc")//to close all random popup messages begin if Color.Pixel pattern can be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0") begin loop() Keyboard.Type text("{<esc>}") if Color.Pixel pattern can not be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0") begin Macro.Break from loop("yes") end end if Color.Pixel pattern can be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0") begin loop() Keyboard.Type text("{<esc>}") Keyboard.Insert text("/q") Keyboard.Type text("{<enter>}") Keyboard.Type text("{<esc>}") if Color.Pixel pattern can not be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0") begin Macro.Break from loop("yes") end end if Color.Pixel pattern can be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0") begin loop() Mouse.Click at pixel pattern("49,49,49,5,0,49,49,49,4,0,49,49,49,2,-1,49,49,49,4,-2,49,49,49,2,3,49,49,49,5,-2,49,49,49,4,0,49,49,49,2,0,49,49,49", "0", "yes", "Left") if Color.Pixel pattern can not be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0") begin Macro.Break from loop("yes") end end

function("RandWalk") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("255", "214", "222", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("118", "68", "73", "0") begin if Color.Can not be located on screen (RGB)("107", "140", "120", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("212", "163", "124", "0") begin if Color.Can not be located on screen (RGB)("255", "181", "115", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("238", "122", "122", "0") begin // set variables from random X coordinates on your screen example 100 to 1000 Variable.Set random number("X", "100", "1100") // set variables from random Y coordinates on your screen example 100 to 1000 Variable.Set random number("Y", "100", "620") Mouse.Click at coordinate("{X}", "{Y}", "left") Humanly.Pause("500", "1000") end end end end end end endfunction

function("Esc")//to close all random popup messages begin if Color.Pixel pattern can be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0") begin loop() Keyboard.Type text("{<esc>}") if Color.Pixel pattern can not be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0") begin Macro.Break from loop("yes") end end if Color.Pixel pattern can be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0") begin loop() Keyboard.Type text("{<esc>}") Keyboard.Insert text("/q") Keyboard.Type text("{<enter>}") Keyboard.Type text("{<esc>}") if Color.Pixel pattern can not be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0") begin Macro.Break from loop("yes") end end if Color.Pixel pattern can be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0") begin loop() Mouse.Click at pixel pattern("49,49,49,5,0,49,49,49,4,0,49,49,49,2,-1,49,49,49,4,-2,49,49,49,2,3,49,49,49,5,-2,49,49,49,4,0,49,49,49,2,0,49,49,49", "0", "yes", "Left") if Color.Pixel pattern can not be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0") begin Macro.Break from loop("yes") end end

Sir how.bout after.killing the.monster the.character.will loot the items do you have sir?

Looting would be hard to make.

Actually maybe you can have it as a pixel pattern and ahve a clicking loop on the specific item when it drops. It will make your macro a lot busy tho. You just have to choose what sorta loots you wanna keep on clicking.

[quote="Roan1234321"][quote="jonelle1990"]Sir how.bout after.killing the.monster the.character.will loot the items do you have sir?[/quote]

Looting would be hard to make.[/quote]Actually maybe you can have it as a pixel pattern and ahve a clicking loop on the specific item when it drops. It will make your macro a lot busy tho. You just have to choose what sorta loots you wanna keep on clicking.

Posted: Sat Jul 08, 2017 12:28 pm

lawscher

Post subject:

Re: Random walk if RGB or mob is not located on screen.

@roan

The random walk works perfectly, but whenever I pair it with my AutoPots, suddenly everything doesnt work. What do you think is wrong with my code?

function("RandWalk") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("255", "214", "222", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("118", "68", "73", "0") begin if Color.Can not be located on screen (RGB)("107", "140", "120", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("212", "163", "124", "0") begin if Color.Can not be located on screen (RGB)("255", "181", "115", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("238", "122", "122", "0") begin // set variables from random X coordinates on your screen example 100 to 1000 Variable.Set random number("X", "100", "1100") // set variables from random Y coordinates on your screen example 100 to 1000 Variable.Set random number("Y", "100", "620") Mouse.Click at coordinate("{X}", "{Y}", "left") Humanly.Pause("500", "1000") end end end end end end endfunction

function("Esc")//to close all random popup messages begin if Color.Pixel pattern can be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0") begin loop() Keyboard.Type text("{<esc>}") if Color.Pixel pattern can not be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0") begin Macro.Break from loop("yes") end end if Color.Pixel pattern can be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0") begin loop() Keyboard.Type text("{<esc>}") Keyboard.Insert text("/q") Keyboard.Type text("{<enter>}") Keyboard.Type text("{<esc>}") if Color.Pixel pattern can not be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0") begin Macro.Break from loop("yes") end end if Color.Pixel pattern can be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0") begin loop() Mouse.Click at pixel pattern("49,49,49,5,0,49,49,49,4,0,49,49,49,2,-1,49,49,49,4,-2,49,49,49,2,3,49,49,49,5,-2,49,49,49,4,0,49,49,49,2,0,49,49,49", "0", "yes", "Left") if Color.Pixel pattern can not be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0") begin Macro.Break from loop("yes") end end

end

@roan

The random walk works perfectly, but whenever I pair it with my AutoPots, suddenly everything doesnt work. What do you think is wrong with my code?

function("RandWalk") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("255", "214", "222", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("118", "68", "73", "0") begin if Color.Can not be located on screen (RGB)("107", "140", "120", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("212", "163", "124", "0") begin if Color.Can not be located on screen (RGB)("255", "181", "115", "0") begin // RBG of mob/loot if Color.Can not be located on screen (RGB)("238", "122", "122", "0") begin // set variables from random X coordinates on your screen example 100 to 1000 Variable.Set random number("X", "100", "1100") // set variables from random Y coordinates on your screen example 100 to 1000 Variable.Set random number("Y", "100", "620") Mouse.Click at coordinate("{X}", "{Y}", "left") Humanly.Pause("500", "1000") end end end end end end endfunction

function("Esc")//to close all random popup messages begin if Color.Pixel pattern can be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0") begin loop() Keyboard.Type text("{<esc>}") if Color.Pixel pattern can not be located on screen("156,181,231,-1,23,255,255,255,0,24,255,255,255,-1,23,255,255,255,-2,20,255,255,255,0,19,255,255,255,0,28,255,255,255,1,0,255,255,255,-248,2,255,255,255,0,-94,255,255,255,-8,-45,132,156,222", "0") begin Macro.Break from loop("yes") end end if Color.Pixel pattern can be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0") begin loop() Keyboard.Type text("{<esc>}") Keyboard.Insert text("/q") Keyboard.Type text("{<enter>}") Keyboard.Type text("{<esc>}") if Color.Pixel pattern can not be located on screen("255,255,255,1,0,132,132,140,1,0,165,165,165,2,0,255,255,255,1,0,165,165,165,1,0,156,156,156,1,0,255,255,255,2,0,156,156,156,1,0,99,107,107,1,0,247,247,247", "0") begin Macro.Break from loop("yes") end end if Color.Pixel pattern can be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0") begin loop() Mouse.Click at pixel pattern("49,49,49,5,0,49,49,49,4,0,49,49,49,2,-1,49,49,49,4,-2,49,49,49,2,3,49,49,49,5,-2,49,49,49,4,0,49,49,49,2,0,49,49,49", "0", "yes", "Left") if Color.Pixel pattern can not be located on screen("66,115,206,18,2,0,0,0,13,0,189,206,247,4,0,0,0,0,5,0,255,255,255,4,0,0,0,0,4,0,0,0,0,5,-4,0,0,0", "0") begin Macro.Break from loop("yes") end end

end

[/code]

Posted: Sat Jul 08, 2017 8:24 am

Roan1234321

Post subject:

Re: Random walk if RGB or mob is not located on screen.

lawscher wrote:

YOU ARE A LEGEND ROAN. -trying this out-

Did it work?

[quote="lawscher"]

YOU ARE A LEGEND ROAN. -trying this out-[/quote]

Did it work?

Posted: Sat Jul 08, 2017 6:11 am

lawscher

Post subject:

Re: Random walk if RGB or mob is not located on screen.

Roan1234321 wrote:

Since someone asked for making random walk on RO.

I attached file for random walk you can DL it and check how it goes for you.You can copy the script the to your main bot by adding new function.Also added Humanly.pause to give it time to reach the location.

please hit thank you if this helps you.

YOU ARE A LEGEND ROAN. -trying this out-

[quote="Roan1234321"]Since someone asked for making random walk on RO.

I attached file for random walk you can DL it and check how it goes for you.You can copy the script the to your main bot by adding new function.Also added Humanly.pause to give it time to reach the location.

please hit thank you if this helps you.[/quote]

YOU ARE A LEGEND ROAN. -trying this out-

Posted: Sat Jul 08, 2017 12:52 am

Roan1234321

Post subject:

Re: Random walk if RGB or mob is not located on screen.

jonelle1990 wrote:

Sir how.bout after.killing the.monster the.character.will loot the items do you have sir?

Looting would be hard to make.

[quote="jonelle1990"]Sir how.bout after.killing the.monster the.character.will loot the items do you have sir?[/quote]

Looting would be hard to make.

Posted: Fri Jul 07, 2017 3:36 pm

Roan1234321

Post subject:

Re: Random walk if RGB or mob is not located on screen.

jonelle1990 wrote:

Ill hit thank even i didnt try your script if ever it doesnt work can i pm you sir?

yes you can pm me.

[quote="jonelle1990"]Ill hit thank even i didnt try your script if ever it doesnt work can i pm you sir?[/quote]