Back without macros

macros macros macros

Moderators: Phineas, noivad

User avatar
Shakyamuni
Order of the White Elephant
Order of the White Elephant
Posts: 485
Joined: Tue Oct 21, 2003 5:53 pm
Profession: Healer/Alchemist
Race: Halfling
Player Status: Active
Location: Puddleby
Contact:

Back without macros

Postby Shakyamuni » Sun Mar 20, 2016 3:57 am

HI Folks,

I have returned to the lands, but realized I didn't have my macros... And I can't get Slyph's Cadding Macro anywhere....

So wondering if folks can help me with healer type macros

Purg pendant
AFK Macro
Askeplian (that shows who I am healing)
Self healing

I think I got the Zu one from Xael already

Oh yeah if you think of other ones I might need...
Husband to Drablak and Nettle - Brother to Algy and Juren

User avatar
Osito
Exile
Posts: 182
Joined: Sun Oct 13, 2013 10:27 am
Profession: Healer
Race: Halfling
Player Status: Active
Contact:

Re: Back without macros

Postby Osito » Sun Mar 20, 2016 4:23 am

Here's a purgatory pendant macro that unequips as soon as you enter the purgatory, you can change "control-f12" to whatever suits you:

control-f12
{
"/equip purgatory\r"
"/useitem purg\r"
pause 45
"/unequip purgatory\r"
}

Basic afk macro:

idle
{
message *Idling with anti time-out active.
label notoloop
"/money\r"
pause 360
if @my.forehead_item == "orga eye"
message *Orga eye is on and should be removed soon.
end if
goto notoloop
}
"idle" call idle


For Asklepian and Self-healing I recommend Gorvin's Right Clicker with the Asklepian set:

http://gorvin.50webs.com/macros/RC2.txt
http://gorvin.50webs.com/macros/RC2Asklepian.txt

User avatar
noivad
Order of the White Elephant
Order of the White Elephant
Posts: 3498
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active
Location: SF Bay Area
Contact:

Re: Back without macros

Postby noivad » Thu Apr 07, 2016 8:22 am

http://www.clanlord.net/
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates http://pirates.clanlord.net/ & Ranger Studies: http://studies.clanlord.net/
?security warning:View cert•CL players assess valid by refs

User avatar
noivad
Order of the White Elephant
Order of the White Elephant
Posts: 3498
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active
Location: SF Bay Area
Contact:

FIXED: Moonstone Functions

Postby noivad » Thu May 26, 2016 11:59 pm

When my ISP switched servers it upgraded the php version and changed some defaults. The text encoding output changed and it broke the macro. Shaky, thanks for letting me know. It is now fixed (2 lines of code & an hour later). Giggles also requested a feature allowing you to set the use amount per pulse “/use X\r” where X is now a pull down with options between 1 & 10 for people with crazy fast Regia. Doh! I meant Respia. (Thanks Leinis) hehe.

While I have not extensively checked it, it seems to work fine now.

I had problem using my Fkeys (F3,F4, etc), but some worked. I realized I had other macros binding to my F3 F4, etc. So, I moved those macro files to load on the character they belong to, so now the Fkeys work. Shaky if you can’t use all the keys, you can look/search your macros for other macros bound to whatever you set.

I really wish CL had a command that would read your macro fie and show all the f-key and other trigger (optionally the text triggers and expansions) so we could avoid overwriting a macro trigger with an other macro.
http://www.clanlord.net/
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates http://pirates.clanlord.net/ & Ranger Studies: http://studies.clanlord.net/
?security warning:View cert•CL players assess valid by refs

User avatar
Shakyamuni
Order of the White Elephant
Order of the White Elephant
Posts: 485
Joined: Tue Oct 21, 2003 5:53 pm
Profession: Healer/Alchemist
Race: Halfling
Player Status: Active
Location: Puddleby
Contact:

Re: Back without macros

Postby Shakyamuni » Fri May 27, 2016 3:13 am

Oh something I noticed.. Shaky doesn't carry a weapon.. So is it possible to make it so you don't "require" one?
Husband to Drablak and Nettle - Brother to Algy and Juren

User avatar
noivad
Order of the White Elephant
Order of the White Elephant
Posts: 3498
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active
Location: SF Bay Area
Contact:

Re: Back without macros

Postby noivad » Tue Jun 07, 2016 7:17 am

Shakyamuni wrote:Oh something I noticed.. Shaky doesn't carry a weapon.. So is it possible to make it so you don't "require" one?


The word you fill in for weapon can be “moonstone” since the script only checks to make sure [:alpha:] (“A to Z”) characters are present. You could also type in “bacon” but you’re likely to get an error message like “you have no ‘bacon’ to equip.” For your use case (which may be not just your use case), I rewrote the macro to check each swap and if your right hand item is the moonstone. If it is it starts the infinite healing loop. This means it will still try to swap, but if you defined your weapon as a “moonstone,” it should start the self-healing loop but also give you the message “your moonstone is already equipped”.

I realize it’s not a clean fix since it will generate a message, but it does refine the moonstone_functions’ utility. So, thanks for the suggestion. If anyone wants to rewrite “itemswap” to get rid of the message in the case that the person’s weapon is a “moonstone” & submit it to me. Feel free to do so, and I’ll credit you in the macro.

FYI: There was a recent bug induced into the text encoding thanks to a recent server move (mentioned in Coffee & Donuts section) that is now fixed. But if you get any errors while using the macro, please report the error message to me, verbatim. Thanks.
http://www.clanlord.net/
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates http://pirates.clanlord.net/ & Ranger Studies: http://studies.clanlord.net/
?security warning:View cert•CL players assess valid by refs

User avatar
noivad
Order of the White Elephant
Order of the White Elephant
Posts: 3498
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active
Location: SF Bay Area
Contact:

Re: Back without macros

Postby noivad » Sat Mar 11, 2017 3:19 pm

Shaky,
per your request I updated the QuikNDirty cad builder ( http://noivad.net/moonstone_functions-template.php ). choosing "none" for the restart moonstone modifier will now use the cad-lock modifier to do the swap while the trigger labeled swap will use the unmodified selection — esc in shaky’s use case.

I could refactor to make it more flexible, but without feedback, I don’t know what additional feature are desired. Currently, my Thoom flies around the field with my setup plus Gorvin’s Right-Clicker 2 macro & a gaming mouse (Logitech MX Master) with F-triggers mapped to all the extra buttons.

FYI: Shares.txt (v2.1.7) )on the CLUMP had a minor bug skipping exiles that are not clanning/non-exsitant. I messed it up when I added new functionality. It’s not fully debugged yet though So, regressions/errors? please let me know.

In plain language: I’m messing up cuz I is rusty af, & forgot how these worked, and a cursory glance to get my bearings is not enough without notes.

Devs:
I’m out of practice with the CL language and how basic it is, so bugs will be a bit more common. These updates might be wonky on edge cases that aren't caught properly. Refactoring the scripts is more difficult because the barebones-ness of the macro language means we have to either document more than we think we need to becaus =e what was obvious 2 years ago is forgotten. Also the barebones part, makes for a lot more mental juggling. So, I’m starting to comment sections and globals more explicitly to prevent these regressions. When I was being paid for development I was logging everything, and it ran much smoother. If I could find a way to make money on CL scripts (jk) my work would be more organized :).


If you get an error or things aren't working "/set debug 1" (if you have that macro in my defaults) will give more feedback, assuming I included the block. and you can send me part of your text log so I can see what parts are erroring out.

Thanks,

Feedback only encourages me to make more macros.
http://www.clanlord.net/
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates http://pirates.clanlord.net/ & Ranger Studies: http://studies.clanlord.net/
?security warning:View cert•CL players assess valid by refs


Return to “CL Macros”

Who is online

Users browsing this forum: No registered users and 2 guests