Welcome, Guest. Please login or register.
Did you miss your activation email?
November 29, 2024, 02:23:24 am *

Login with username, password and session length
  Show Posts
Pages: [1]
1  General Category / Quest and Guides / Portal click macro on: June 20, 2016, 06:25:55 pm
As requested... Here is a simple macro that will click across the screen, in the attempt to enter a portal.

To use:

1) Copy the macro text.
2) Create a new text document.
3) Name it ClickPortal.inc
4) In the main macro, that you want to use it in, have the include tag at the top: #include ClickPortal.inc
5) Wherever you want the macro to run, simply use: /call ClickPortal

Optional) If you want the main script to know if you clicked the portal or not, you can use /varset variableName ${Macro.Return}        || Then /if (${variableName }) { }

Optional) If you want to just run this as a macro, and not include it in another macro, just change the file extension from .inc to .mac and then rename Sub ClickPortal to Sub Main

Here is the code:

Code:
#event PClicked "#*#You got it open#*#"

Sub Event_PClicked
/varset clickedPortal 1
/delay 1s
/return

Sub ClickPortal
/declare attempt bool false
/declare pixelX int -500

/if (!${Defined[clickedPortal]}) {
/declare clickedPortal bool outer false
}
/varset clickedPortal 0

/echo Attempting to click the portal...

:DoClicks
/doevents
/if (!${clickedPortal}) {
/if (!${attempt}) {
/varset attempt 1
/click left center
/delay 1s
/goto :DoClicks
} else /if (${pixelX}<500 && !${clickedPortal}) {
/click left ${pixelX} -10
/varcalc pixelX ${pixelX}+10
/delay 0.2s ${clickedPortal}
/goto :DoClicks
} else / if (!${clickedPortal}) {
/echo Could not click the portal...
/return 0
}
}
/return 1
2  General Category / General Discussion / Re: making my first box group on: July 14, 2013, 08:18:54 pm
Warrior, Cleric, Rogue, Ranger, Monk and Berzerker ... or another DPS type + support (Bard for haste, ect, but you can change it up to find what you like the best).

This is one of the best combinations as it requires minimal effort. Once you pick caster classes then you are going to notice that you have to wait for mana, as well as spend a lot of time doing nukes, dots, and other annoying tasks. My combination will only halt if the cleric runs out of mana... (Does that ever happen?! lol)

Personally, I like to be at a steady pace...

Just my two cents. Smiley
3  General Category / General Discussion / Re: Rof Client on: July 12, 2013, 12:57:21 am
I also may return, when RoF gets supported on EZ.

I hate the grind, on live. I just don't have enough time for it. Cheesy
4  General Category / General Discussion / Re: To a community that I have called a friend for a long time on: July 12, 2013, 12:54:50 am
You have my condolences, Xiggie.

I know I haven't been around, on EZ, for a very long time... but I remember you just the same.

May time heal your wounds.



(You too Solbash!)
Pages: [1]
TinyPortal v1.0 beta 4 © Bloc