Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Fri Feb 24, 2017 3:45 am

All times are UTC




Post new topic Reply to topic  [ 1107 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 111  Next
Author Message
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Thu Dec 08, 2011 7:33 am 
Gold Contributor
Gold Contributor
User avatar



Joined: Mon Nov 21, 2011 1:29 am
Posts: 423
Location: Beyond
Been thanked: 83 time(s)
Has thanked: 4 time(s)
Contribution Points: 1196
Shinra wrote:
what kind of of attacking two digis?

at the same time or two available targets instead of one?


it can attack two types of target now.
so i can relax and do botting in a certain area :D

_________________
GDMO MEMORY ADVANCE BOT
________________________________________________________________________________________________________________________
Image
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Thu Dec 08, 2011 10:25 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Oct 10, 2011 10:19 am
Posts: 249
Location: Cairo,Egypt
Been thanked: 223 time(s)
Has thanked: 15 time(s)
Contribution Points: 3642
hohoho23 wrote:
Shinra wrote:
what kind of of attacking two digis?

at the same time or two available targets instead of one?


it can attack two types of target now.
so i can relax and do botting in a certain area :D

Just make sure ur in a silent party or non english speaking party , if u dont talk and party is talkative and asks u something ur pretty much known ur botting and people might record and report u , I seen it in youtube :/

Also I read a bit in the thread , saw u guys talking about notices , just when ur doing the check import a part around the mouth or so , just dont pick a point on the top cuz notices go there

Also the perfect way to use this new code IMO , ur main target goes on first then the second check click on any aggro on the area and target the RED part around the hand ( you know that icon that marks aggros ? ) so that if leaders/aggros come at ya u can kill them and resume killing ur maint arget :)

As i said people , WATCH UR BOT preferably OR bot in a total deserted area , Cheers :D

_________________
If I helped click THANK YOU


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Thu Dec 08, 2011 1:37 pm 
Contributor
Contributor
User avatar



Joined: Wed Nov 30, 2011 2:49 pm
Posts: 53
Been thanked: 8 time(s)
Has thanked: 1 time(s)
Contribution Points: 39
o..so let me try out your code hyboi :) where is it?


btw..im trying to add a function which makes it heal ds or hp upto a certain point first before attacking again..so I have a question

for example

begin
Keyboard.Hold keys("{<tab>}")
Macro.Pause("50")
Keyboard.Release keys("{<tab>}")
Macro.Pause("500")
Function.Execute("Attack A")
Function.Execute("Attack B")
Function.Execute("Heal")
end

(does order here determine the actual order of the execution? lol noob question,its just that I noticed that it doesnt heal first when you execute it,it heals only after every attack..hmm..)

function("Heal")
if Color.At coordinate is not (RGB)("", "", "", "", "")
begin loop()
Keyboard.Hold keys("7")
Macro.Pause("50")
Keyboard.Release keys("7")
end
function

now the question here is..
would that actually loop?and if the loop starts,after reaching a certain point or desired hp/ds would the loop stop since it does not satisfy the if condition anymore..sorry I didnt have time to test this out since my account isnt appropriate for this kind of test due to the fact that mobs can easily kill my digi..

_________________
Ignorance covers you in a blanket of negativity..


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Thu Dec 08, 2011 1:55 pm 
Contributor
Contributor
User avatar



Joined: Wed Nov 30, 2011 2:49 pm
Posts: 53
Been thanked: 8 time(s)
Has thanked: 1 time(s)
Contribution Points: 39
Quote:
function("Heal")
if Color.At coordinate is not (RGB)("", "", "", "", "") --------------->when hp gets damaged upto this point start healing
begin loop()
Keyboard.Hold keys("7")
Macro.Pause("50")
Keyboard.Release keys("7")
if Color.At coordinate is (RGB)("", "", "", "", "") --------->desired point of hp when to stop healing
begin
Macro.Break from loop("yes")
Macro.Restart("no")
Function.Execute("Heal") ----------->is it right to execute this
end
end
function

_________________
Ignorance covers you in a blanket of negativity..


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Thu Dec 08, 2011 2:14 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Mon Sep 12, 2011 8:36 pm
Posts: 1306
Location: Steins;Gate
Been thanked: 79 time(s)
Has thanked: 0 time(s)
Contribution Points: 15356
That's not bad, actually. The issue here is efficiency.

Ideally in my opinion, I would just set up only one Color command to designate when I'd autopot myself. If I know the monsters will do a lot of damage, I'd move the color pointer in Investigator Mode to the upper-half of the HP bar. If I know the monster won't do as much damage, I'd move the color pointer in Investigator Mode. Though what's important with this concept is that you never move the tick mark to 0% or 100% of your HP (or else you'll just be consuming more HP pots over nothing).

Code:
function("Heal")
     if  Color.At coordinate is not (RGB)("", "", "", "", "")
          begin
               Keyboard.Hold keys("7")
               Macro.Pause("50")
               Keyboard.Release keys("7")
          end
function


Blue Eye Macro and other programming languages will generally go through a lot of commands in a matter of milliseconds, so this is all the work you'd really need to do in my opinion.

Now if we were to go along with the code presented at hand, you're close. When you want to break out of the loop, only do Macro.Break from loop("yes"). The rest added on there was not needed seeing as your source code:

A) Does not account for variables, rendering Macro.Restart() useless.
B) If you already are looping in your main (beginning) part of the code using a 'begin loop()', then there's no need to re-execute your Heal function (otherwise you'd be stuck in an INFINITE LOOP. That'd be really bad since your Heal Function is set up inside the second if-statement. If it can never reach the second If-Statement, then you're doomed to loop the program forever. You'd have to Ctrl+Alt+Esc your way out of it.).

Perhaps this will do:
Code:
function("Heal")
     if  Color.At coordinate is not (RGB)("", "", "", "", "")
          begin loop()
               Keyboard.Hold keys("7")
               Macro.Pause("50")
               Keyboard.Release keys("7")
               if  Color.At coordinate is (RGB)("", "", "", "", "")
                    begin
                         Macro.Break from loop("yes")
                    end
          end
function


Shinra wrote:
would that actually loop?and if the loop starts,after reaching a certain point or desired hp/ds would the loop stop since it does not satisfy the if condition anymore..sorry I didnt have time to test this out since my account isnt appropriate for this kind of test due to the fact that mobs can easily kill my digi..


As for your previous question, the moment you put a begin loop(), it will automatically loop the moment you execute the function. So yes, like what you did before, you implemented the loop and it will start, and you do need to break it efficiently with an if-statement to check if your character is healed, and then it will break the loop for you (just like the second code example).

As for order, it reads from top to bottom, and it follows wherever Function.Execute("") leads to, still retaining the top to bottom order. Pay attention very carefully on how it's done, order does matter here. It shows how Blue Eye Macro would read the macro script as.

Code:
//This is where it starts
1) begin
       2) Macro.Do nothing()
       3) Function.Execute("FunctionA")
       15) Macro.Do nothing()
16) end

4) function("FunctionA")
5) begin
         6) Variable.Set("A", "1")
         7) Function.Execute("FunctionB")
13) end
14) function

8) function("FunctionB")
9) begin
       10) Macro.Do nothing()   
11) end
12) function


Anymore questions (or questions I've missed)? Let me know.

Critical ;)

_________________
Image
Code:
> Meanwhile at Blue Eye Macro...
> BEM Video Games Department - Moderator, Coder, Debugger, Math/Physics & Algorithm Enthusiast - USA
Current Project: Mod Duty


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Thu Dec 08, 2011 2:37 pm 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Oct 10, 2011 10:19 am
Posts: 249
Location: Cairo,Egypt
Been thanked: 223 time(s)
Has thanked: 15 time(s)
Contribution Points: 3642
Awww , How am i supposed to get cp when ur doing all the help ? D:

_________________
If I helped click THANK YOU


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Thu Dec 08, 2011 2:57 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Mon Sep 12, 2011 8:36 pm
Posts: 1306
Location: Steins;Gate
Been thanked: 79 time(s)
Has thanked: 0 time(s)
Contribution Points: 15356
There's always making Gameplay Guides. I have barely played this game and would have no idea what spots to train in. I just happen to be around the neighborhood when help was needed. That's all~

And it's a team effort. So as long as everyone's happy, we are all winning, you are especially included to the equation.

Image

_________________
Image
Code:
> Meanwhile at Blue Eye Macro...
> BEM Video Games Department - Moderator, Coder, Debugger, Math/Physics & Algorithm Enthusiast - USA
Current Project: Mod Duty


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Sun Dec 11, 2011 7:40 am 
Gold Contributor
Gold Contributor
User avatar



Joined: Mon Nov 21, 2011 1:29 am
Posts: 423
Location: Beyond
Been thanked: 83 time(s)
Has thanked: 4 time(s)
Contribution Points: 1196
btw maybe you guys can add some codes that it won't press f2(skill use a lots of DS) if the enemy hp is below 20%,
so that my digimon DS won't be wasted.

_________________
GDMO MEMORY ADVANCE BOT
________________________________________________________________________________________________________________________
Image
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Sun Dec 11, 2011 8:44 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Sep 26, 2011 9:38 am
Posts: 1700
Location: Space Australia
Been thanked: 78 time(s)
Has thanked: 6 time(s)
Contribution Points: 9985
Crit what you say is good but i can do one better
Code:
function("Heal")
Begin
While Color.At coordinate is not(RGB)("","","","","")
Begin
Keyboard.Hold keys("7")
Macro.Pause("50")
Keyboard.Release keys("7")
End
End
function


Thats basically crits code but with less criteria criteria checks and alot less commands this is how while works described by showing its if equivelents.

If criteria equals match
Begin loop
Code to execute
If criteria equals match
Continue loop
Code to execute
If criteria equals match //keeps looping till this says false
Continue loop
Code to execute
If criteria equals not match
Quit loop go to next command.


So this example code would keep changing the value untill it matches
Code:
Begin
Variable.Equals("count", "0")
While Variable.Does not equal("var", "5")
Begin
Variable.Set random number("var", "0", "5")
Variable.Increment("count")
Variable.Evaluate (Text)("var equals {var} and we have looped {count} times", "message")
Window.Display message box("{message}", "yes")
End
Variable.Evaluate (Text)("it took us {count} loops to count to 5", "message")
Window.Display message box("{message}", "yes")
End


That will keep looping forver unless var becomes five and from what i can see about your healing func thats exactly what you want.

_________________
ImageImageImageImage
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Sun Dec 11, 2011 1:08 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Mon Sep 12, 2011 8:36 pm
Posts: 1306
Location: Steins;Gate
Been thanked: 79 time(s)
Has thanked: 0 time(s)
Contribution Points: 15356
Of course, the while command works like a charm. :lol:

Reading posts on a daily basis tends to make me not think about other solutions, but Dragon's example would be quite efficient. However in the case that the DMO client is not rendering well with Blue Eye Macro, some users may experience problems since you're using a random variable that may be too low. Because of that, not all the key presses may register properly into the game's client. I'd rather make the min to 2~4 and the max to 8 or so. You'll either barely heal and die in a crucial moment or you'll over-heal and waste money in the process.

Otherwise, nice example.

_________________
Image
Code:
> Meanwhile at Blue Eye Macro...
> BEM Video Games Department - Moderator, Coder, Debugger, Math/Physics & Algorithm Enthusiast - USA
Current Project: Mod Duty


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1107 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 111  Next

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