Author |
Message |
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
thanks for help
thanks for help :D
|
|
|
|
Posted: Wed Jan 21, 2015 11:41 pm |
|
|
|
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
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?
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?
|
|
|
|
Posted: Mon Jan 14, 2013 3:03 pm |
|
|
|
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
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?
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 [/code]
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
[/code]
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?
|
|
|
|
Posted: Mon Jan 14, 2013 2:59 pm |
|
|
|
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
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
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
|
|
|
|
Posted: Mon Jan 14, 2013 2:35 pm |
|
|
|
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
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
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>}")[/code] to [code]Variable.Set("pauseKey", "{<f12>}")[/code] 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[/code]
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 http://www.blueeye-macro.com/viewtopic.php?f=9&t=851&start=10
|
|
|
|
Posted: Mon Jan 14, 2013 1:58 pm |
|
|
|
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
no, i dont want the spamming x to be active while i chat
no, i dont want the spamming x to be active while i chat
|
|
|
|
Posted: Mon Jan 14, 2013 5:03 am |
|
|
|
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
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
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
|
|
|
|
Posted: Mon Jan 14, 2013 1:22 am |
|
|
|
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
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" Thank you
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
|
|
|
|
Posted: Sun Jan 13, 2013 3:49 pm |
|
|
|
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
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
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
|
|
|
|
Posted: Sun Jan 13, 2013 3:33 pm |
|
|
|
|
|
Post subject: |
Re: NEED HELP : auto attack for acolyte |
|
|
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
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
|
|
|
|
Posted: Sun Jan 13, 2013 3:23 am |
|
|
|
|