Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Wed Oct 17, 2018 10:03 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: script in box that moves
Thanked: 0 time(s)  Unread post Posted: Thu Mar 15, 2018 11:35 pm 
New User
New User



Joined: Thu Mar 15, 2018 11:12 pm
Posts: 2
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 10
254/5000
I want to make a script.
where he will search for 4 points. (square box)
once when he finds the box he has to run a script but how do I change the coordinates automatically ?
because the box is always located somewhere else
someone tips ?
please help


Top
 Profile  
Reply with quote  
 Post subject: Re: script in box that moves
Thanked: 0 time(s)  Unread post Posted: Fri Mar 16, 2018 10:08 am 
Silver Contributor
Silver Contributor



Joined: Thu Nov 24, 2016 12:55 am
Posts: 200
Been thanked: 48 time(s)
Has thanked: 4 time(s)
Contribution Points: 93
ikwilbtc wrote:
254/5000
I want to make a script.
where he will search for 4 points. (square box)
once when he finds the box he has to run a script but how do I change the coordinates automatically ?
because the box is always located somewhere else
someone tips ?
please help


An Image would be helpful for us to understand what you meant by the box.

_________________
Ragnarok Online

Bot4You ROPH (will also work on other servers but you need to make your own bypass)
http://www.blueeye-macro.com/viewtopic.php?f=437&t=30450

Creating .spr file or sprite for Pixel bot
http://www.blueeye-macro.com/viewtopic.php?f=435&t=30445

Changing monster sprite and items sprite
http://www.blueeye-macro.com/viewtopic.php?f=435&t=30516


Top
 Profile  
Reply with quote  
 Post subject: Re: script in box that moves
Thanked: 0 time(s)  Unread post Posted: Sun Mar 18, 2018 10:24 am 


never mind found it :p

begin
Color.Wait for and locate pixel pattern("225,229,239,113,-154,191,198,227,30,-2,40,61,176", "10", "x", "y")
Mouse.Move to coordinate("{x}", "{y}")
Macro.Write to log(" Coordinaten Nummer 0")
Variable.Evaluate (Math)("{x}+74", "x0")
Variable.Evaluate (Math)("{y}-81", "y0")
Macro.Write to log(" Coordinaten Nummer 1")
Variable.Evaluate (Math)("{x}+80", "x1")
Variable.Evaluate (Math)("{y}+1", "y1")
Macro.Write to log(" Coordinaten Nummer 2")
Variable.Evaluate (Math)("{x}+125", "x2")
Variable.Evaluate (Math)("{y}-59", "y2")
Macro.Write to log(" Coordinaten Nummer 3")
Variable.Evaluate (Math)("{x}+169", "x3")
Variable.Evaluate (Math)("{y}-113", "y3")
Macro.Write to log(" Coordinaten Nummer 4")
Variable.Evaluate (Math)("{x}+128", "x4")
Variable.Evaluate (Math)("{y}+26", "y4")
Macro.Write to log(" Coordinaten Nummer 5")
Variable.Evaluate (Math)("{x}+173", "x5")
Variable.Evaluate (Math)("{y}-32", "y5")
Macro.Write to log(" Coordinaten Nummer 6")
Variable.Evaluate (Math)("{x}+216", "x6")
Variable.Evaluate (Math)("{y}-90", "y6")
Macro.Write to log(" Coordinaten Nummer 7")
Variable.Evaluate (Math)("{x}+80", "x7")
Variable.Evaluate (Math)("{y}+1", "y7")
Macro.Write to log(" Coordinaten Nummer 8")
Variable.Evaluate (Math)("{x}+221", "x8")
Variable.Evaluate (Math)("{y}-6", "y8")
Macro.Write to log(" Coordinaten Nummer 9")
Variable.Evaluate (Math)("{x}+266", "x9")
Variable.Evaluate (Math)("{y}-66", "y9")
Macro.Write to log(" Coordinaten Nummer 10")
Variable.Evaluate (Math)("{x}+228", "x10")
Variable.Evaluate (Math)("{y}+77", "y10")
Macro.Write to log(" Coordinaten Nummer 11")
Variable.Evaluate (Math)("{x}+271", "x11")
Variable.Evaluate (Math)("{y}+20", "y11")
Macro.Write to log(" Coordinaten Nummer 12")
Variable.Evaluate (Math)("{x}+315", "x12")
Variable.Evaluate (Math)("{y}-43", "y12")
Macro.Pause("1000")
Function.Execute("nr0")
Function.Execute("nr1")
Function.Execute("nr2")
Function.Execute("nr3")
Function.Execute("nr4")
Function.Execute("nr5")
Function.Execute("nr6")
Function.Execute("nr7")
Function.Execute("nr8")
Function.Execute("nr9")
Function.Execute("nr10")
Function.Execute("nr11")
Function.Execute("nr12")
Function.Execute("nr13")
Function.Execute("nr14")
Function.Execute("nr15")
Function.Execute("nr16")
Function.Execute("nr17")
Function.Execute("nr18")
Function.Execute("nr19")
Function.Execute("nr20")
Function.Execute("nr21")
Function.Execute("nr22")
Function.Execute("nr23")
Function.Execute("nr24")
Function.Execute("nr25")
Function.Execute("nr26")
Function.Execute("nr27")
Function.Execute("nr28")
Function.Execute("nr29")
Function.Execute("nr30")
Function.Execute("nr31")
Function.Execute("nr32")
Function.Execute("nr33")
Function.Execute("nr34")
Function.Execute("nr35")
Function.Execute("nr36")
end

function("nr0")
begin
if Color.Pixel pattern can be located on screen near coordinate("90,65,38,-1,-10,124,89,47", "10", "{x0}", "{y0}", "10")
begin
Macro.Write to log("Nummer 0 Found")
Variable.Add (Math)("AantalOneven", "1")
Variable.Add (Math)("AantalEven", "1")
Variable.Add (Math)("AantalRood", "1")
Variable.Add (Math)("AantalZwart", "1")
Variable.Add (Math)("AantalLaag", "1")
Variable.Add (Math)("AantalHoog", "1")
Variable.Add (Math)("kolomeen", "1")
Variable.Add (Math)("kolomtwee", "1")
Variable.Add (Math)("kolomdrie", "1")
Variable.Add (Math)("rijeen", "1")
Variable.Add (Math)("rijtwee", "1")
Variable.Add (Math)("rijdrie", "1")
end
end
function


little exemple


Top
  
Reply with quote  
 Post subject: Re: script in box that moves
Thanked: 0 time(s)  Unread post Posted: Sun Mar 18, 2018 10:28 am 


Guest wrote:
never mind found it :p

begin
Color.Wait for and locate pixel pattern("225,229,239,113,-154,191,198,227,30,-2,40,61,176", "10", "x", "y")
Mouse.Move to coordinate("{x}", "{y}")
Macro.Write to log(" Coordinaten Nummer 0")
Variable.Evaluate (Math)("{x}+74", "x0")
Variable.Evaluate (Math)("{y}-81", "y0")
Macro.Write to log(" Coordinaten Nummer 1")
Variable.Evaluate (Math)("{x}+80", "x1")
Variable.Evaluate (Math)("{y}+1", "y1")
Macro.Write to log(" Coordinaten Nummer 2")
Variable.Evaluate (Math)("{x}+125", "x2")
Variable.Evaluate (Math)("{y}-59", "y2")
Macro.Write to log(" Coordinaten Nummer 3")
Variable.Evaluate (Math)("{x}+169", "x3")
Variable.Evaluate (Math)("{y}-113", "y3")
Macro.Write to log(" Coordinaten Nummer 4")
Variable.Evaluate (Math)("{x}+128", "x4")
Variable.Evaluate (Math)("{y}+26", "y4")
Macro.Write to log(" Coordinaten Nummer 5")
Variable.Evaluate (Math)("{x}+173", "x5")
Variable.Evaluate (Math)("{y}-32", "y5")
Macro.Write to log(" Coordinaten Nummer 6")
Variable.Evaluate (Math)("{x}+216", "x6")
Variable.Evaluate (Math)("{y}-90", "y6")
Macro.Write to log(" Coordinaten Nummer 7")
Variable.Evaluate (Math)("{x}+80", "x7")
Variable.Evaluate (Math)("{y}+1", "y7")
Macro.Write to log(" Coordinaten Nummer 8")
Variable.Evaluate (Math)("{x}+221", "x8")
Variable.Evaluate (Math)("{y}-6", "y8")
Macro.Write to log(" Coordinaten Nummer 9")
Variable.Evaluate (Math)("{x}+266", "x9")
Variable.Evaluate (Math)("{y}-66", "y9")
Macro.Write to log(" Coordinaten Nummer 10")
Variable.Evaluate (Math)("{x}+228", "x10")
Variable.Evaluate (Math)("{y}+77", "y10")
Macro.Write to log(" Coordinaten Nummer 11")
Variable.Evaluate (Math)("{x}+271", "x11")
Variable.Evaluate (Math)("{y}+20", "y11")
Macro.Write to log(" Coordinaten Nummer 12")
Variable.Evaluate (Math)("{x}+315", "x12")
Variable.Evaluate (Math)("{y}-43", "y12")
Macro.Pause("1000")
Function.Execute("nr0")
Function.Execute("nr1")
Function.Execute("nr2")
Function.Execute("nr3")
Function.Execute("nr4")
Function.Execute("nr5")
Function.Execute("nr6")
Function.Execute("nr7")
Function.Execute("nr8")
Function.Execute("nr9")
Function.Execute("nr10")
Function.Execute("nr11")
Function.Execute("nr12")
Function.Execute("nr13")
Function.Execute("nr14")
Function.Execute("nr15")
Function.Execute("nr16")
Function.Execute("nr17")
Function.Execute("nr18")
Function.Execute("nr19")
Function.Execute("nr20")
Function.Execute("nr21")
Function.Execute("nr22")
Function.Execute("nr23")
Function.Execute("nr24")
Function.Execute("nr25")
Function.Execute("nr26")
Function.Execute("nr27")
Function.Execute("nr28")
Function.Execute("nr29")
Function.Execute("nr30")
Function.Execute("nr31")
Function.Execute("nr32")
Function.Execute("nr33")
Function.Execute("nr34")
Function.Execute("nr35")
Function.Execute("nr36")
end

function("nr0")
begin
if Color.Pixel pattern can be located on screen near coordinate("90,65,38,-1,-10,124,89,47", "10", "{x0}", "{y0}", "10")
begin
Macro.Write to log("Nummer 0 Found")
Variable.Add (Math)("AantalOneven", "1")
Variable.Add (Math)("AantalEven", "1")
Variable.Add (Math)("AantalRood", "1")
Variable.Add (Math)("AantalZwart", "1")
Variable.Add (Math)("AantalLaag", "1")
Variable.Add (Math)("AantalHoog", "1")
Variable.Add (Math)("kolomeen", "1")
Variable.Add (Math)("kolomtwee", "1")
Variable.Add (Math)("kolomdrie", "1")
Variable.Add (Math)("rijeen", "1")
Variable.Add (Math)("rijtwee", "1")
Variable.Add (Math)("rijdrie", "1")
end
end
function

function("nr1")
begin
if Color.Pixel pattern can be located on screen near coordinate("95,70,40,0,-12,137,99,51", "10", "{x1}", "{y1}", "10")
begin
Macro.Write to log("Nummer 1 Found")
Variable.Set("AantalZwart", "1")
Variable.Set("AantalEven", "1")
Variable.Set("AantalHoog", "1")
Variable.Add (Math)("AantalOneven", "1")
Variable.Add (Math)("AantalRood", "1")
Variable.Add (Math)("AantalLaag", "1")
Variable.Set("betoneven", "1")
Variable.Set("betlow", "1")
Variable.Set("betrood", "1")
Variable.Set("kolomeen", "0")
Variable.Add (Math)("kolomtwee", "1")
Variable.Add (Math)("kolomdrie", "1")
Variable.Set("rijeen", "0")
Variable.Add (Math)("rijtwee", "1")
Variable.Add (Math)("rijdrie", "1")
end
end
function


little exemple


Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

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:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group