Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Sun Jan 22, 2017 6:15 pm

All times are UTC




Post new topic Reply to topic  [ 1107 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 111  Next
Author Message
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Sat Nov 19, 2011 5:57 pm 
New User
New User
User avatar



Joined: Fri Nov 18, 2011 2:47 pm
Posts: 6
Been thanked: 5 time(s)
Has thanked: 2 time(s)
Contribution Points: 48
cant wait for the new update the video i feel so lost and dumb :oops:


thank you for all the help both of u are amazing ,waiting for the update

yours Sarah :oops:


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Sun Nov 20, 2011 9:53 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Oct 10, 2011 10:19 am
Posts: 249
Location: Cairo,Egypt
Been thanked: 222 time(s)
Has thanked: 15 time(s)
Contribution Points: 3640
Video up , enjoy it :D

Pause if you can't keep up with where im clicking , also watch on 1080p u might see things better xD

_________________
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: Mon Nov 21, 2011 9:19 pm 
New User
New User
User avatar



Joined: Fri Nov 18, 2011 2:47 pm
Posts: 6
Been thanked: 5 time(s)
Has thanked: 2 time(s)
Contribution Points: 48
wheres the link to the video ??

Yours Sarah :roll:


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Tue Nov 22, 2011 4:31 am 
VIP Contributor
VIP Contributor
User avatar



Joined: Mon Sep 12, 2011 8:36 pm
Posts: 1306
Location: Steins;Gate
Been thanked: 77 time(s)
Has thanked: 0 time(s)
Contribution Points: 15354
He posted it in the first page but you can take a look here:

HyBoi wrote:
http://www.youtube.com/watch?v=v03NtKXzsI8

_________________
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: Tue Nov 22, 2011 7:57 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Oct 10, 2011 10:19 am
Posts: 249
Location: Cairo,Egypt
Been thanked: 222 time(s)
Has thanked: 15 time(s)
Contribution Points: 3640
code updated to fix the targeting a bit more ^^

although there is a problem now , it says target function terminated to avoid over flow or something like that , if anyone can help with that id appreciate it

it says that when left for over an hour or so other than that it works pretty fine

_________________
If I helped click THANK YOU


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 1 time(s)  Unread post Posted: Tue Nov 22, 2011 3:56 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Mon Sep 12, 2011 8:36 pm
Posts: 1306
Location: Steins;Gate
Been thanked: 77 time(s)
Has thanked: 0 time(s)
Contribution Points: 15354
Your code falls into the case of "Recursion" (a.k.a. a function within a function). Normally, end-programming languages such as C++, C# , Java, Haskall, etc. can manage it no problem. However, Gigus has limited how many times it can reiterate Recursion before you hit that "level limit".

Code:
function("Target") <-----
     begin
          Function.Execute("Loot")
          Function.Execute("Heal")
     if  Color.Near coordinate is not (RGB)("", "", "", "", "", "")
               begin
                    Function.Execute("Loot")
                    Function.Execute("Heal")
                    Keyboard.Hold keys("{<tab>}")
                    Macro.Pause("1")
                    Keyboard.Release keys("{<tab>}")
                    Function.Execute("Target") <-----
if  Color.Near coordinate is (RGB)("", "", "", "", "", "")
                         begin
                              Function.Execute("Bot")
                              Function.Execute("Loot")
                              Function.Execute("Heal")
                         end
               end
     end
function


Those arrows below show an example of how you used recursion in your code. The way to best code this program out is to avoid executing the same function's name again like above. (So in this case, while you type out function("Target"), avoid having to type out Function.Execute("Target")). Recursion is really good for simple tasks, as a game macro that loops forever spells for trouble indeed.

Your target function is also a bit redundant in terms of functions. (Though if Digimon Masters Online doesn't detect all those button presses, that's a reason to leave the code as is (minus what's in function("Target"), you REALLY need to fix it if you want to loop for hours on end).

Graciously, I'll give you a quick "fix", so to speak. Let me know if it works for you~

Code:
begin loop()
     Function.Execute("Target")
     Function.Execute("Loot")
     Function.Execute("Heal")
 end

function("Target")
     begin
          Function.Execute("Loot")
          Function.Execute("Heal")
          if  Color.Near coordinate is not (RGB)("", "", "", "", "", "")
               begin
                    Keyboard.Hold keys("{<tab>}")
                    Macro.Pause("1")
                    Keyboard.Release keys("{<tab>}")
               end
          if  Color.Near coordinate is (RGB)("", "", "", "", "", "")
               begin
                    Function.Execute("Bot")
               end
     end
 end
function

function("Bot")
     begin loop()
          Keyboard.Hold keys("{<f1>}")
          Macro.Pause("50")
          Keyboard.Release keys("{<f1>}")
          Keyboard.Hold keys("{<f2>}")
          Macro.Pause("50")
          Keyboard.Release keys("{<f2>}")
          Keyboard.Hold keys("{<f1>}")
          Macro.Pause("50")
          Keyboard.Release keys("{<f1>}")
          Function.Execute("Loot")
          Function.Execute("Heal")
          if  Color.Near coordinate is not (RGB)("", "", "", "", "", "")
               begin
                    Macro.Break from loop("yes")
               end
     end
function

function("Loot")
     begin loop("6")
          Keyboard.Hold keys("4")
          Macro.Pause("50")
          Keyboard.Release keys("4")
     end
function

function("Heal")
     if  Color.Near coordinate is not (RGB)("", "", "", "", "", "")
          begin
               Keyboard.Hold keys("7")
               Macro.Pause("50")
               Keyboard.Release keys("7")
          end
     if  Color.Near coordinate is not (RGB)("", "", "", "", "", "")
          begin
               Keyboard.Hold keys("{<f8>}")
               Macro.Pause("50")
               Keyboard.Release keys("{<f8>}")
          end
     if  Color.Near coordinate is not (RGB)("", "", "", "", "", "")
          begin
               Keyboard.Hold keys("8")
               Macro.Pause("50")
               Keyboard.Release keys("8")
               Macro.Pause("4000")
          end
function

_________________
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: Tue Nov 22, 2011 7:19 pm 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Oct 10, 2011 10:19 am
Posts: 249
Location: Cairo,Egypt
Been thanked: 222 time(s)
Has thanked: 15 time(s)
Contribution Points: 3640
Code:
 begin
     Keyboard.Hold keys("{<tab>}4")
     Macro.Pause("50")
     Keyboard.Release keys("{<tab>}")
     Macro.Pause("500")
     Function.Execute("Bot")
     Function.Execute("Heal")
 end

function("Bot")
     if  Color.At coordinate is not (RGB)("60", "110", "169", "854", "42")
          begin
               Macro.Break from loop("yes")
               Macro.Restart("no")
               Keyboard.Press key("4")
          end
     if  Color.At coordinate is (RGB)("60", "110", "169", "854", "42")
          begin loop()
               Keyboard.Hold keys("{<f2>}4")
               Macro.Pause("50")
               Keyboard.Release keys("{<f2>}4")
               Function.Execute("Heal")
               if  Color.At coordinate is not (RGB)("60", "110", "169", "854", "42")
                    begin
                         Macro.Break from loop("yes")
                         Macro.Restart("no")
                         Function.Execute("Heal")
                    end
          end
function


can this make it stop giving the error ? i guessed since its function related i'd delete the function and make it restart every time ??

EDIT : Tried it out , never crashes , perfect :)

Code updated , no need for other updates since the one on is perfect :)

Except if anyone has a problem and needs pauses or something

_________________
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: Fri Nov 25, 2011 5:49 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
works fine
but is there a way to attack 2 different kind of digimon?

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


Top
 Profile  
Reply with quote  
 Post subject: Re: HyBoi's Digimon Bot
Thanked: 0 time(s)  Unread post Posted: Fri Nov 25, 2011 6:04 am 
VIP Contributor
VIP Contributor
User avatar



Joined: Mon Sep 12, 2011 8:36 pm
Posts: 1306
Location: Steins;Gate
Been thanked: 77 time(s)
Has thanked: 0 time(s)
Contribution Points: 15354
HyBoi, I'm glad to see a working macro for Digimon Masters. :lol:

And hohoho23, it chooses any target that's closest to it, so it won't specifically attack certain kind of Digimons, it'll require some work on another Color command to do that or so. At the moment, there isn't.

_________________
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: Fri Nov 25, 2011 12:25 pm 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Oct 10, 2011 10:19 am
Posts: 249
Location: Cairo,Egypt
Been thanked: 222 time(s)
Has thanked: 15 time(s)
Contribution Points: 3640
Critical wrote:
HyBoi, I'm glad to see a working macro for Digimon Masters. :lol:

And hohoho23, it chooses any target that's closest to it, so it won't specifically attack certain kind of Digimons, it'll require some work on another Color command to do that or so. At the moment, there isn't.

Thanks :D

btw targetting 2 digimon might be possible if we do a second color check maybe ?

_________________
If I helped click THANK YOU


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 ... 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