Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Wed Apr 25, 2018 9:03 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: i have some question of return code . elrayes
Thanked: 0 time(s)  Unread post Posted: Tue Oct 24, 2017 11:37 pm 
New User
New User



Joined: Thu Feb 13, 2014 12:01 am
Posts: 26
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 55
1. tq for share ur brilliant knowledge , ur information so much helpful , for example : mouse targeter. attcode , new MP ur so genius

:roll:

yesterday i watch ur last utube videos : https://www.youtube.com/watch?v=8VJMXYrqupQ

u explain the return recording

but... i can't understand how to use this recording code ...T__T

can u explain ur information? i luv u :lol: sorry for bad english ............


Top
 Profile  
Reply with quote  
 Post subject: Re: i have some question of return code . elrayes
Thanked: 0 time(s)  Unread post Posted: Wed Oct 25, 2017 6:02 am 
VIP Contributor
VIP Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 774
Location: Egypt , Portsaid
Been thanked: 224 time(s)
Has thanked: 10 time(s)
Contribution Points: 1879
cor2quard wrote:
1. tq for share ur brilliant knowledge , ur information so much helpful , for example : mouse targeter. attcode , new MP ur so genius

:roll:

yesterday i watch ur last utube videos : https://www.youtube.com/watch?v=8VJMXYrqupQ

u explain the return recording

but... i can't understand how to use this recording code ...T__T

can u explain ur information? i luv u :lol: sorry for bad english ............

ah it was you..
well Actually this script not up to date.
it will work but macro protector won't work ad i didn't add it in it
+ return to the spot u died in.
u just record keyboard keys..
well let ur self die once.
then press ok.
after that u will be back to revive point don't rotate the screen when u back..
juat go to bem then record.
after that start recording keyboars movement buttons and get back to ur attacking spot using keyboard only ( without rotating screen by mouse) then press esc button to stop recording then copy the code after ur finished and put it in return script

_________________
--------------------------------------------------------------------------------
All Of My Scripts Can Be Found in Here !!!
viewtopic.php?f=304&p=190914
--------------------------------------------------------------------------------


Top
 Profile  
Reply with quote  
 Post subject: Re: i have some question of return code . elrayes
Thanked: 0 time(s)  Unread post Posted: Wed Oct 25, 2017 10:14 am 
New User
New User



Joined: Thu Feb 13, 2014 12:01 am
Posts: 26
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 55
oh tq :D :D

then i wanna add to random move function to my script

how to implement this function?

can u give some example?? :lol: :lol:

tq for answer to me have a nice halloween day elrayes !


Top
 Profile  
Reply with quote  
 Post subject: Re: i have some question of return code . elrayes
Thanked: 0 time(s)  Unread post Posted: Wed Oct 25, 2017 11:26 am 
VIP Contributor
VIP Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 774
Location: Egypt , Portsaid
Been thanked: 224 time(s)
Has thanked: 10 time(s)
Contribution Points: 1879
cor2quard wrote:
oh tq :D :D

then i wanna add to random move function to my script

how to implement this function?

can u give some example?? :lol: :lol:

tq for answer to me have a nice halloween day elrayes !

well imagine your pc without a mouse..
and u have only movement keys which is "WASD" and u want to go to ur attacking spot..
if u imagined u will understand what to do to record the movement..

_________________
--------------------------------------------------------------------------------
All Of My Scripts Can Be Found in Here !!!
viewtopic.php?f=304&p=190914
--------------------------------------------------------------------------------


Top
 Profile  
Reply with quote  
 Post subject: Re: i have some question of return code . elrayes
Thanked: 0 time(s)  Unread post Posted: Wed Oct 25, 2017 2:15 pm 
New User
New User



Joined: Thu Feb 13, 2014 12:01 am
Posts: 26
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 55
ahmedwaill wrote:
cor2quard wrote:
oh tq :D :D

then i wanna add to random move function to my script

how to implement this function?

can u give some example?? :lol: :lol:

tq for answer to me have a nice halloween day elrayes !

well imagine your pc without a mouse..
and u have only movement keys which is "WASD" and u want to go to ur attacking spot..
if u imagined u will understand what to do to record the movement..



ahmedwaill wrote:
cor2quard wrote:
oh tq :D :D

then i wanna add to random move function to my script

how to implement this function?

can u give some example?? :lol: :lol:

tq for answer to me have a nice halloween day elrayes !

well imagine your pc without a mouse..
and u have only movement keys which is "WASD" and u want to go to ur attacking spot..
if u imagined u will understand what to do to record the movement..



how to make the if digi is not selected or targeted go random move?

i record my movement with no mouse only keyboard wasd

and make the function , add it

it cancel a lot of loot command

can u share ur knolwedge? :roll: :roll: TT this is my code

Begin
Function.Execute("anti-auto")
Function.Execute("hp")
Keyboard.Press key("3")
// RGB of the digi you want to attack
if Color.At coordinate is (RGB)("176", "182", "198", "912", "60")
or
Color.At coordinate is (RGB)("0", "16", "98", "696", "55")
begin
Function.Execute("Attack")
end
// RGB Of Digimon You want to attack
if Color.At coordinate is not (RGB)("176", "182", "198", "912", "60")
or
Color.At coordinate is not (RGB)("0", "16", "98", "696", "55")
begin
Function.Execute("anti-auto")
Function.Execute("Mouse Move")
Keyboard.Press key("{<tab>}")
if Color.At coordinate is not (RGB)("176", "182", "198", "912", "60")
or
Color.At coordinate is not (RGB)("0", "16", "98", "696", "55")
begin
Function.execute("Random move")
end
end
end

function("Attack")
begin
// RGB of the digi you want to attack
if Color.At coordinate is (RGB)("176", "182", "198", "912", "60")
or
Color.At coordinate is (RGB)("0", "16", "98", "696", "55")
begin loop()
Function.Execute("anti-auto")
Function.Execute("hp")
Keyboard.Press key("3")
Keyboard.Press key("6")
Keyboard.Press key("1")
Keyboard.Press key("{<f1>}")
Keyboard.Press key("{<f2>}")
Keyboard.Press key("3")
Function.Execute("Human Pause")
// When Target HP Bar is 1%
if Color.At coordinate is not (RGB)("133", "26", "19", "729", "59")
begin
Macro.Restart("no")
end
end
end
function

function("Mouse Move")
// RGB Of Digimon You want to attack
if Color.At coordinate is not (RGB)("34", "119", "180", "938", "86")
and
// Pixel pattern of the face of the mob you want to kill (on top of the screen)
Color.Pixel pattern can be located on screen("248,135,10,-26,-2,159,87,0,50,0,159,87,0,0,4,154,67,0,-50,0,154,67,0", "0")
begin
// Locate HP bar pixel pattern on the screen
Color.Find pixel pattern("248,135,10,-26,-2,159,87,0,50,0,159,87,0,0,4,154,67,0,-50,0,154,67,0", "0", "yes", "Xmob", "Ymob")
Variable.Evaluate (Math)("{Ymob}+42", "Ymob+42")
Mouse.Move to coordinate("{Xmob}", "{Ymob+42}")
if Mouse.Coordinates are within("397", "772", "557", "740")
or
Mouse.Coordinates are within("1439", "1674", "973", "1046")
begin
Function.Abort()
end
Mouse.Click at coordinate("{Xmob}", "{Ymob+42}", "Left")
// RGB Of Digimon You want to attack
if Color.At coordinate is (RGB)("176", "182", "198", "912", "60")
or
Color.At coordinate is (RGB)("0", "16", "98", "696", "55")
and
// Here for Fist Icon Under Target HP Bar
Color.At coordinate is (RGB)("203", "119", "3", "731", "79")
begin
Function.Execute("anti-auto")
Function.Execute("Attack")
end
end
function

function("Human Pause")
begin
Variable.Set random number("HumanTime", "150", "300")
Macro.Pause("{HumanTime}")
end
function

function("hp")
begin
// cheack hp digimon1 15%
if Color.At coordinate is not (RGB)("216", "65", "54", "118", "128")
begin
Keyboard.Press key("7")
end
// cheack hp digimon2 60%
if Color.At coordinate is not (RGB)("184", "47", "36", "160", "126")
begin
Keyboard.Press key("{<f7>}")
end
// cheack ds digmon
if Color.At coordinate is not (RGB)("15", "241", "255", "115", "142")
begin
Keyboard.Press key("8")
end
// cheack ds tamer
if Color.At coordinate is not (RGB)("15", "241", "255", "136", "68")
begin
Keyboard.Press key("{<f8>}")
end
end
function

function("anti-auto")
if Color.Pixel pattern can be located on screen("207,173,0,5,0,207,173,0,0,5,198,163,7,0,5,235,192,32,0,5,253,241,50,-5,0,253,241,50,0,-5,235,192,32,0,-5,198,163,7", "5")
begin
Macro.Pause all other macros()
Function.Execute("OpenMP")
// Here is the Pixel Pattern for Yellow time Progress Bar
if Color.Pixel pattern can be located on screen("207,173,0,5,0,207,173,0,0,5,198,163,7,0,5,235,192,32,0,5,253,241,50,-5,0,253,241,50,0,-5,235,192,32,0,-5,198,163,7", "5")
begin
// Here is the Pixel Pattern for Yellow time Progress Bar
Color.Wait for and locate pixel pattern("207,173,0,5,0,207,173,0,0,5,198,163,7,0,5,235,192,32,0,5,253,241,50,-5,0,253,241,50,0,-5,235,192,32,0,-5,198,163,7", "5", "CoX", "CoY")
Window.Restore("AC Find And Click", "no")
Window.Set always on top("AC Find And Click", "no", "yes")
Macro.Pause("200")
Window.Bring to front("AC Find And Click", "no")
// Variables to Calculate
Variable.Evaluate (Math)("{CoX}+8", "StartX")
Variable.Evaluate (Math)("{CoY}-57", "StartY")
Variable.Evaluate (Math)("{CoX}+49", "EndX")
Variable.Evaluate (Math)("{CoY}-16", "EndY")
Variable.Evaluate (Math)("{CoX}-3", "AllX")
Variable.Evaluate (Math)("{CoY}+35", "AllY")
Variable.Evaluate (Math)("{CoX}+243", "AllEndX")
Variable.Evaluate (Math)("{CoY}+131", "AllEndY")
// Mark Target
Window.Send mouse click("MadCatz MP", "no", "2", "0", "0", "Left")
Macro.Pause("300")
Mouse.Drag("{StartX}", "{StartY}", "{EndX}", "{EndY}", "Left")
Macro.Pause("100")
// Mark Area
Window.Send mouse click("MadCatz MP", "no", "8", "0", "0", "Left")
Macro.Pause("300")
Mouse.Drag("{AllX}", "{AllY}", "{AllEndX}", "{AllEndY}", "Left")
Macro.Pause("100")
Window.Bring to front("AC Find And Click", "no")
// Here is the Pixel Pattern for Yellow time Progress Bar
if Color.Pixel pattern can be located on screen("207,173,0,5,0,207,173,0,0,5,198,163,7,0,5,235,192,32,0,5,253,241,50,-5,0,253,241,50,0,-5,235,192,32,0,-5,198,163,7", "5")
begin loop()
Keyboard.Press keys("{<f9>}")
Macro.Pause("500")
Mouse.Click("left")
// Here is the Pixel Pattern for Yellow time Progress Bar
if Color.Pixel pattern can not be located on screen("207,173,0,5,0,207,173,0,0,5,198,163,7,0,5,235,192,32,0,5,253,241,50,-5,0,253,241,50,0,-5,235,192,32,0,-5,198,163,7", "5")
begin
Keyboard.Press keys("{<f10>}")
Macro.Resume all paused macros()
Macro.Restart("no")
end
end
end
end
function

function("OpenMP")
if System.Process is not running("MADCATZMP")
begin
// in here the path of the Program
System.Launch application("C:\GDMO\MADCATZMP.exe", "no")
Macro.Pause("200")
Window.Set always on top("MadCatz MP", "no", "yes")
Macro.Pause("200")
when Window.Is visible("MadCatz MP", "no")
begin
Window.Send mouse click("MadCatz MP", "no", "1", "0", "0", "Left")
Macro.Pause("500")
Window.Send mouse click("MadCatz MP", "no", "18", "0", "0", "Left")
Window.Send mouse click("MadCatz MP", "no", "19", "0", "15", "Left")
Window.Send mouse click("MadCatz MP", "no", "20", "0", "0", "Left")
Window.Send mouse click("MadCatz MP", "no", "21", "0", "0", "Left")
Window.Send mouse click("MadCatz MP", "no", "29", "0", "0", "Left")
begin loop("8")
Window.Send mouse click("MadCatz MP", "no", "30", "0", "15", "Left")
end
end
Macro.Pause("200")
Function.Execute("MovingMP")
end
function

function("MovingMP")
// this place is the icon in the title bar so it will move it the the end of the screen to not interfere with the game if macro is appeard
if Window.Is visible("MadCatz MP", "no")
begin
System.Get combined screen resolution("MoveX", "MoveY")
Variable.Evaluate (Math)("{MoveX}", "MadX")
Variable.Evaluate (Math)("{MoveY}", "MadY")
Window.Set location("MadCatz MP", "no", "{MadX}", "{MadY}")
Window.Set always on top("MadCatz MP", "no", "no")
Window.Bring to front("MadCatz MP", "no")
end
function

function("Random move")
begin
Keyboard.Release keys("{<lcontrolkey>}")
Keyboard.Release keys("s")
Macro.Wait for current global loop execution time to exceed("2412")
Keyboard.Hold keys("w")
Macro.Wait for current global loop execution time to exceed("2661")
Keyboard.Hold keys("w")
Macro.Wait for current global loop execution time to exceed("2694")
Keyboard.Hold keys("w")
Macro.Wait for current global loop execution time to exceed("2727")
Keyboard.Press key("w")
Macro.Wait for current global loop execution time to exceed("3256")
Keyboard.Hold keys("w")
Macro.Wait for current global loop execution time to exceed("3505")
Keyboard.Hold keys("w")
Macro.Wait for current global loop execution time to exceed("3538")
Keyboard.Hold keys("w")
Macro.Wait for current global loop execution time to exceed("3571")
Keyboard.Hold keys("w")
Macro.Wait for current global loop execution time to exceed("3604")
Keyboard.Press key("w")
end
function


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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:  


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