You are on page 1of 12

//Hit=f4 - Loot=f5 - Item=f3,f6,f7,f8,8 - Skill=f1(low),f2(high) - evolution=7

// =>set res 1024x768


begin
Function.Execute("DBonus")
Function.Execute("Check")
Function.Execute("Target")
Function.Execute("Loot")
end

function("Target")
begin
Function.Execute("AFK1")
if Color.At coordinate is (RGB)("164", "0", "29", "409", "69")
begin
Function.Execute("BOT")
Macro.Restart("yes")
end
Keyboard.Hold keys("{<tab>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<tab>}")
Function.Execute("Loot")
Function.Execute("Heal")
Function.Execute("BOT")
end
function

function("BOT")
if Color.At coordinate is (RGB)("176", "165", "90", "602", "76")
begin
Function.Execute("Heal")
Macro.Restart("yes")
end
if Color.At coordinate is (RGB)("39", "64", "103", "554", "46")
begin
Function.Execute("Heal")
Macro.Restart("yes")
end
// Agro or Leader
if Color.At coordinate is (RGB)("164", "0", "29", "409", "69")
begin loop()
Function.Execute("Heal")
Function.Execute("Attack2")
Function.Execute("Loot")
// BOT will replay and not TAB n TABing find another target
if Color.At coordinate is not (RGB)("164", "0", "29", "409", "69")
begin
Function.Execute("Heal")
Macro.Break from loop("yes")
Macro.Restart("yes")
end
end
// =>Antylamon (mast1)
if Color.At coordinate is (RGB)("188", "38", "25", "576", "55")
begin loop()
Function.Execute("Heal")
Function.Execute("Attack1")
Function.Execute("Loot")
// BOT will replay and not TAB n TABing find another target (mast1)
if Color.At coordinate is not (RGB)("188", "38", "25", "576", "55")
begin
Function.Execute("Heal")
Macro.Break from loop("yes")
end
end
// =>DVeemon(mast1)
if Color.At coordinate is (RGB)("21", "129", "180", "591", "66")
begin loop()
Function.Execute("Heal")
Function.Execute("Attack1")
Function.Execute("Loot")
// BOT will replay and not TAB n TABing find another target (mast1)
if Color.At coordinate is not (RGB)("21", "129", "180", "591",
"66")
begin
Function.Execute("Heal")
Macro.Break from loop("yes")
end
end
function

function("Attack1")
// low skill put at f1=>DS>30% and high skill f2/f3 put at f2 DS>50%
if Color.At coordinate is (RGB)("198", "60", "49", "545", "55")
begin
// re-pressing hit till mob HP<40% to prefent get detected as macro
if Color.At coordinate is (RGB)("198", "60", "49", "445", "55")
begin
Keyboard.Hold keys("{<f4>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f4>}")
Function.Execute("AFK2")
Function.Execute("Loot")
end
// (RGB)("198", "60", "49", "545", "55") mob HP>75% doesnt do skill
if Color.At coordinate is (RGB)("198", "60", "49", "530", "55")
begin
if Color.At coordinate is (RGB)("4", "228", "243", "130",
"141")
begin
Keyboard.Hold keys("{<f1>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f1>}")
end
end
end
function

function("Attack2")
begin
// not re-skill if mob HP<75%
if Color.At coordinate is (RGB)("198", "60", "49", "510", "55")
begin
// do skill f2/f3 if DS>25%
if Color.At coordinate is (RGB)("0", "138", "150", "130",
"138")
begin
Keyboard.Hold keys("{<f2>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f2>}")
Function.Execute("AFK1")
Function.Execute("Loot")
end
end
// re-pressing hit till mob HP<40% to prefent get detected as macro
if Color.At coordinate is (RGB)("198", "60", "49", "445", "55")
begin
Keyboard.Hold keys("{<f4>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f4>}")
Function.Execute("AFK1")
Function.Execute("Loot")
end
end
function

function("Loot")
begin
Keyboard.Hold keys("{<f5>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f5>}")
Function.Execute("AFK1")
end
function

function("Check")
// if u want auto gift accept put after begin =>Function.Execute("DBonus")
begin
Function.Execute("Fatigue")
Function.Execute("Evolution")
Function.Execute("Disconected")
Function.Execute("ALogin")
Function.Execute("DropAtt")
Function.Execute("Party")
Function.Execute("Heal")
end
function

function("Evolution")
// set RGB your evolution at bottom next button "D"
if Color.At coordinate is not (RGB)("118", "96", "48", "441", "683")
begin
Keyboard.Hold keys("7")
Function.Execute("AFK1")
Keyboard.Release keys("7")
Function.Execute("AFK5")
Function.Execute("Heal")
Macro.Restart("yes")
end
function

function("Heal")
// Set RGB your char at unique colour=>prefent this not to run if there is no
char RGB
if Color.At coordinate is (RGB)("146", "169", "175", "33", "88")
begin
// Burger/CC =>put at number 8 (mast2)
if Color.At coordinate is not (RGB)("0", "138", "150", "120", "64")
begin
Keyboard.Hold keys("8")
Function.Execute("AFK1")
Keyboard.Release keys("8")
end
// Burger/CC =>put at number 8 (mast2)
if Color.At coordinate is not (RGB)("132", "29", "18", "120",
"124")
begin
Keyboard.Hold keys("8")
Function.Execute("AFK1")
Keyboard.Release keys("8")
end
// check RGB f6 ready/can be used
if Color.At coordinate is (RGB)("255", "255", "255", "663", "656")
begin
// cornbread =>put at f6 (mast2)
if Color.At coordinate is not (RGB)("132", "29", "18",
"164", "124")
begin
Keyboard.Hold keys("{<f6>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f6>}")
end
end
// HP Disc =>put at f7 (mast2)
if Color.At coordinate is not (RGB)("132", "29", "18", "140",
"124")
begin
Keyboard.Hold keys("{<f7>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f7>}")
end
// check RGB f6 ready/can be used
if Color.At coordinate is (RGB)("255", "255", "255", "739", "656")
begin
// Vitamin =>put at f8 (mast2)
if Color.At coordinate is not (RGB)("0", "138", "150",
"164", "64")
begin
Keyboard.Hold keys("{<f8>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f8>}")
end
end
// Disc DS F/G =>put at f3 (mast2)
if Color.At coordinate is not (RGB)("0", "138", "150", "125",
"138")
begin
Keyboard.Hold keys("{<f3>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f3>}")
end
end
function

function("Fatigue")
// put jacket(no/empty attribute at 1t slot)=>dont ever
drag/remove/recoordinate inventory place
if Color.At coordinate is (RGB)("255", "175", "0", "224", "53")
begin
Function.Execute("Item")
if Color.At coordinate is (RGB)("125", "125", "125", "710", "134")
begin loop()
Function.Execute("Attack")
Function.Execute("AFK2")
// start fatigue BUG => no more battle
if Color.At coordinate is not (RGB)("125", "125", "125",
"710", "134")
begin
Macro.Break from loop("yes")
end
end
Mouse.Move to coordinate("723", "143")
Function.Execute("AFK2")
Mouse.Hold button("right")
Function.Execute("AFK1")
Mouse.Release button("right")
Function.Execute("AFK2")
// notice jacket bound
if Color.At coordinate is (RGB)("211", "211", "211", "459", "233")
begin
Function.Execute("AFK1")
Keyboard.Hold keys("{<enter>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<enter>}")
Function.Execute("AFK1")
end
Function.Execute("AFK4")
Function.Execute("AFK4")
Function.Execute("AFK4")
if Color.At coordinate is (RGB)("125", "125", "125", "710", "134")
begin loop()
Function.Execute("Attack")
Function.Execute("AFK2")
// end fatigue BUG => no more battle
if Color.At coordinate is not (RGB)("125", "125", "125",
"710", "134")
begin
Macro.Break from loop("yes")
end
end
Function.Execute("AFK2")
Mouse.Move to coordinate("723", "143")
Function.Execute("AFK2")
Mouse.Hold button("right")
Function.Execute("AFK1")
Mouse.Release button("right")
Function.Execute("AFK3")
Keyboard.Hold keys("{<f6>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<f6>}")
Function.Execute("AFK2")
Mouse.Move to coordinate("400", "300")
end
function

function("Item")
// if no inventory showen at game =>auto open for fatigue-bug BOT
if Color.At coordinate is not (RGB)("189", "218", "243", "812", "112")
begin
Keyboard.Hold keys("i")
Function.Execute("AFK1")
Keyboard.Release keys("i")
end
function

function("DropAtt")
// Auto drop attribut at slot 22-42(extra inventory 1)
if Color.At coordinate is (RGB)("121", "137", "136", "723", "321")
begin
Mouse.Move to coordinate("723", "321")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "759", "321")
begin
Mouse.Move to coordinate("759", "321")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "795", "321")
begin
Mouse.Move to coordinate("795", "321")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "831", "321")
begin
Mouse.Move to coordinate("831", "321")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "867", "321")
begin
Mouse.Move to coordinate("867", "321")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "903", "321")
begin
Mouse.Move to coordinate("903", "321")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "939", "321")
begin
Mouse.Move to coordinate("939", "321")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "723", "357")
begin
Mouse.Move to coordinate("723", "357")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "759", "357")
begin
Mouse.Move to coordinate("759", "357")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "795", "357")
begin
Mouse.Move to coordinate("795", "357")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "831", "357")
begin
Mouse.Move to coordinate("831", "357")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "867", "357")
begin
Mouse.Move to coordinate("867", "357")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "903", "357")
begin
Mouse.Move to coordinate("903", "357")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "939", "357")
begin
Mouse.Move to coordinate("939", "357")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "723", "393")
begin
Mouse.Move to coordinate("723", "393")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "759", "393")
begin
Mouse.Move to coordinate("759", "393")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "795", "393")
begin
Mouse.Move to coordinate("795", "393")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "831", "393")
begin
Mouse.Move to coordinate("831", "393")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "867", "393")
begin
Mouse.Move to coordinate("867", "393")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "903", "393")
begin
Mouse.Move to coordinate("903", "393")
Function.Execute("Drop")
end
if Color.At coordinate is (RGB)("121", "137", "136", "939", "393")
begin
Mouse.Move to coordinate("939", "393")
Function.Execute("Drop")
end
function
function("Drop")
begin
Variable.Set random number("xx", "350", "450")
Variable.Set random number("yy", "300", "400")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
Function.Execute("AFK2")
Mouse.Move to coordinate("{xx}", "{yy}")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
Function.Execute("AFK2")
Mouse.Move to coordinate("474", "235")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
end
function

function("Party")
if Color.At coordinate is (RGB)("9", "234", "249", "354", "213")
begin
Mouse.Move to coordinate("465", "234")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
end
function

function("Disconected")
// if get detected as macro by dmo
if Color.At coordinate is (RGB)("113", "111", "100", "551", "416")
begin
Mouse.Move to coordinate("515", "424")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
Function.Execute("AFK3")
Mouse.Move to coordinate("975", "22")
end
// if get Disconect
if Color.At coordinate is (RGB)("53", "53", "53", "509", "232")
begin
Mouse.Move to coordinate("509", "232")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
Function.Execute("AFK3")
Mouse.Move to coordinate("975", "22")
end
function
function("ALogin")
// set RGB at your desktop=>where to click "DMO.exe"
// this RGB for desktop 1024x768 n dmo.exe at corner right on top
if Color.At coordinate is (RGB)("149", "74", "82", "975", "22")
begin
Function.Execute("Startdmo")
Function.Execute("AFK2")
Function.Execute("idLogin")
Function.Execute("AFK2")
Function.Execute("Server")
Function.Execute("AFK2")
Function.Execute("Char")
Function.Execute("AFK2")
// RGB char ready => BOT start working
if Color.At coordinate is not (RGB)("119", "93", "61", "416",
"716")
begin
Function.Execute("AFK2")
if Color.At coordinate is (RGB)("119", "93", "61", "416",
"716")
begin loop()
Macro.Break from loop("yes")
Macro.Restart("yes")
end
end
end
function

function("Startdmo")
begin
Mouse.Move to coordinate("975", "22")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
Keyboard.Press key("{<return>}")
Mouse.Move to coordinate("248", "561")
Function.Execute("AFK3")
if Color.At coordinate is not (RGB)("215", "158", "12", "801", "564")
begin loop()
Function.Execute("AFK3")
if Color.At coordinate is (RGB)("215", "158", "12", "801",
"564")
begin
Macro.Break from loop("yes")
end
end
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
if Color.At coordinate is not (RGB)("159", "166", "169", "379", "536")
begin loop()
Function.Execute("AFK3")
if Color.At coordinate is (RGB)("159", "166", "169", "379",
"536")
begin
Macro.Break from loop("yes")
end
end
end
function

function("idLogin")
// set user and pasword
if Color.At coordinate is (RGB)("159", "166", "169", "379", "536")
begin
Mouse.Move to coordinate("412", "544")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
Function.Execute("AFK2")
Keyboard.Type text("user")
Function.Execute("AFK2")
Keyboard.Hold keys("{<tab>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<tab>}")
Function.Execute("AFK2")
Keyboard.Type text("pasword")
Function.Execute("AFK2")
Keyboard.Hold keys("{<enter>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<enter>}")
Function.Execute("AFK3")
if Color.At coordinate is not (RGB)("215", "230", "233", "430",
"448")
begin loop()
Function.Execute("AFK3")
if Color.At coordinate is (RGB)("215", "230", "233",
"430", "448")
begin
Macro.Break from loop("yes")
end
end
end
function

function("Server")
// set RGB wich server you're going to play=>auto start
if Color.At coordinate is (RGB)("215", "230", "233", "430", "448")
begin
Function.Execute("AFK2")
Keyboard.Hold keys("{<enter>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<enter>}")
if Color.At coordinate is not (RGB)("218", "185", "15", "902",
"707")
begin loop()
Function.Execute("AFK3")
if Color.At coordinate is (RGB)("218", "185", "15",
"902", "707")
begin
Macro.Break from loop("yes")
end
end
end
function
function("Char")
// if no char slection=>w8ing=>AFK2
if Color.At coordinate is (RGB)("218", "185", "15", "902", "707")
begin
Keyboard.Hold keys("{<down>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<down>}")
Function.Execute("AFK2")
Keyboard.Hold keys("{<enter>}")
Function.Execute("AFK1")
Keyboard.Release keys("{<enter>}")
// Set RGB your char at unique colour=>prefent this not to run if
there is no char RGB
if Color.At coordinate is not (RGB)("146", "169", "175", "33",
"88")
begin loop()
Function.Execute("AFK3")
if Color.At coordinate is (RGB)("146", "169", "175",
"33", "88")
begin
Macro.Restart("yes")
end
end
end
function

function("DBonus")
// if there is character RGB
if Color.At coordinate is (RGB)("119", "93", "61", "416", "716")
begin
if Color.At coordinate is (RGB)("255", "255", "255", "520", "546")
begin
Mouse.Move to coordinate("520", "546")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
end
if Color.At coordinate is (RGB)("238", "238", "238", "510", "577")
begin
Mouse.Move to coordinate("510", "577")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
end
if Color.At coordinate is (RGB)("177", "185", "219", "403", "164")
begin
Mouse.Move to coordinate("403", "164")
Function.Execute("AFK2")
Mouse.Hold button("left")
Function.Execute("AFK1")
Mouse.Release button("left")
end
end
function

function("AFK1")
begin
Variable.Set random number("AFK1", "300", "500")
Macro.Pause("{AFK1}")
end
function

function("AFK2")
begin
Variable.Set random number("AFK2", "1500", "2000")
Macro.Pause("{AFK2}")
end
function

function("AFK3")
begin
Variable.Set random number("AFK3", "4000", "4500")
Macro.Pause("{AFK3}")
end
function

function("AFK4")
begin
Function.Execute("Heal")
Function.Execute("Attack2")
Function.Execute("AFK3")
Function.Execute("Heal")
Function.Execute("Attack2")
Function.Execute("AFK3")
Function.Execute("Heal")
Function.Execute("Attack2")
Function.Execute("AFK3")
Function.Execute("Heal")
Function.Execute("Attack2")
Function.Execute("AFK3")
end
function

function("AFK5")
begin
Variable.Set random number("AFK5", "2000", "2500")
Macro.Pause("{AFK5}")
end
function

You might also like