Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 7:21 pm

All times are UTC




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
Options:
BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Please click and drag the 2 correct statements to the right hand side.
Please click and drag the 2 correct statements to the right hand side.
Please select the options below to the correct list to avoid automated registrations.
Statements
2 correct statements
Elephants can fly
Chickens can talk
Fish can swim
Dogs have 4 legs
   

Topic review - NEED HELP : auto attack for acolyte
Author Message
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
thanks for help :D
Post Posted: Wed Jan 21, 2015 11:41 pm
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
right now i'm having another problem

my computer stop working after i've run the macro for an hour or two

it just freeze and i can't use ctrl+alt+del to end process

this happen several times now

are there any ways to fix it?
Post Posted: Mon Jan 14, 2013 3:03 pm
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
okay, it's not that complicated once i've try to run the code on BE-M

However, your code doesnt seem to work

Code:
begin loop()
     //// config section change the key that you wish to use to pause and unpause all macros ///////
    Variable.Set("pauseKey", "{<f12>}")
    Variable.Set("unpauseKey", "{<f11>}")
    //// end config section ////
    Keyboard.Wait for one of the following keys to be pressed("{pauseKey}{unpauseKey}", "key")
     if  Variable.Is equal to("key", "{pauseKey}")
          begin
               Macro.Pause all other macros()
          end
     if  Variable.Is equal to("key", "{unpauseKey}")
          begin
               Macro.Resume all paused macros()
          end
 end


so i've tried to use what Gigus posted in that thread and it work

Code:
begin loop()
     Keyboard.Wait for one of the following keys to be pressed("{<f11>}{<f12>}", "key")
     if  Variable.Is equal to("key", "{<f12>}")
          begin
               Macro.Pause all other macros()
               Macro.Report progress("Pausing macros")
          end
     if  Variable.Is equal to("key", "{<f11>}")
          begin
               Macro.Resume all paused macros()
               Macro.Report progress("Resuming macros")
          end
 end



I don't know why your code doesnt work. Both of these two codes seem to be quite similar except that your code have the config variables part

any idea why it's not working, i'm very curious right now

or did i type something wrong?
Post Posted: Mon Jan 14, 2013 2:59 pm
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
wow, it's kinda a complicated stuff

i need time to digest and understand this code

I really appreciate for your help, thank you very much :D
Post Posted: Mon Jan 14, 2013 2:35 pm
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
that actually wasn't what I was asking, but what I was asking doesn't make sense anyway, lmao
try this
the first 2 lines allow you to change the pause and unpause trigger keys in one place instead of 2. I have a thing about config options. So you can change the pauseKey to say f12 by changing this line
Code:
Variable.Set("pauseKey", "{<enter>}")

to
Code:
Variable.Set("pauseKey", "{<f12>}")

you'll want to run this as a separate macro at the same time you run your spam x one. You can actually add a line to the spam x macro that starts this macro if you want
Code:
 begin loop()
     //// config section change the key that you wish to use to pause and unpause all macros ///////
    Variable.Set("pauseKey", "{<enter>}")
    Variable.Set("unpauseKey", "{<f11>}")
    //// end config section ////
    Keyboard.Wait for one of the following keys to be pressed("{pauseKey}{unpauseKey}", "key")
     if  Variable.Is equal to("key", "{pauseKey}")
          begin
               Macro.Pause all other macros()
          end
     if  Variable.Is equal to("key", "{unpauseKey}")
          begin
               Macro.Resume all paused macros()
          end
 end


I don't take any credit for this code. I just added the config options from something that Gigus wrote and posted in this thread
viewtopic.php?f=9&t=851&start=10
Post Posted: Mon Jan 14, 2013 1:58 pm
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
no, i dont want the spamming x to be active while i chat
Post Posted: Mon Jan 14, 2013 5:03 am
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
Is this something you want to have run as part of the macro you have above? Meaning is the spamming x going to be active when you want to chat?

actually would be better probably to be a separate macro that will pause any other macros maybe
Post Posted: Mon Jan 14, 2013 1:22 am
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
oh, please write me some example

i'm not familiar with "while loop" at all

to be honest, i do know only "if" and "pixel detection" :oops:

Thank you
Post Posted: Sun Jan 13, 2013 3:49 pm
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
that's not what I meant
you the key press will trigger a loop that lasts until you hit the key again or key combo might be better

so you can use a loop or a while loop that has a short pause along with an if statement so if the key is pressed again it will break from the loop

if that doesn't make sense I can write something up for you as an example
Post Posted: Sun Jan 13, 2013 3:33 pm
  Post subject:  Re: NEED HELP : auto attack for acolyte  Reply with quote
well, that would work, but it only allow me to chat within the duration set in macro.pause()

also, what if i've done with my chatting and wanna continue the continuous attack, i have to wait for the pause duration to end :(

i'm thinking of using macro.freeze(), but i'm not sure how is this command differ from macro.abort() since i've tested both commands and resulted in silghtly the same thing

if you would be kind enough to tell me how macro.freeze() work, i'd be really appreciated :)

Thank you
Post Posted: Sun Jan 13, 2013 3:23 am

All times are UTC


Jump to:  


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