Skills, Hotkeys, and MacroQuest Behavior

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Skills, Hotkeys, and MacroQuest Behavior

Post by Mckorr » Mon Oct 13, 2003 8:18 am

Found this one last night.

EverQuest now allows you to have a hotkey for a skill, say Kick, but not have that skill in your Combat skills menu.

That means you can go to the main menu (the one with Sit, Find, etc.), go to the Combat tab, create a Kick button. Then drag the Kick button to your hotkeys. You can then go back to the Combat tab and reassign that slot to something else.

However, MacroQuest works off the abilities in the Combat tab (or whichever tab), not hotkeys. That means if you do:

Code: Select all

/if n $char(ability,"Kick")>0 /doability "Kick"
and you only have Kick in a hotkey, not in the abilities list, MQ will not hit it.

To hit the hotkey instead, you would have to use /press.
MQ2: Think of it as Evolution in action.

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Mon Oct 13, 2003 10:31 am

This is true. I forget where it is in the structs, but it is definately what's on the combat tabs, not what's on the hotkeys.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Mon Oct 13, 2003 7:51 pm

I was pounding my head on the keyboard trying to figure out why my wife's monk wasn't kicking... and then remembered the patch message. Any way we can hook the ability directly, so it won't matter if it's on the Combat tab or on a hotkey?
MQ2: Think of it as Evolution in action.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Mon Oct 13, 2003 8:36 pm

yeah sure. Ill look into it when I get some time over, unless someone beats me to it, the "API" for it is in the map...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

CyberTech
a ghoul
a ghoul
Posts: 97
Joined: Wed Jun 26, 2002 9:27 am

Post by CyberTech » Tue Oct 14, 2003 1:15 am

Speaking of ranged, is there a way to /doability ranged? I've tried that and a few permutations but all resulted in crash to desktop. Can't seem to figure a way to fire bows without /press

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Tue Oct 14, 2003 8:54 am

What permutations have you tried?

Code: Select all

/if n $char(ability,"Ranged Attack")>0 /doability "Ranged Attack"
Not sure if that will work or not. Never experimented with it since I rarely use ranged attacks.
MQ2: Think of it as Evolution in action.

CyberTech
a ghoul
a ghoul
Posts: 97
Joined: Wed Jun 26, 2002 9:27 am

Post by CyberTech » Tue Oct 14, 2003 7:01 pm

Have not tested with $char(ability, just from command line with /doability., shouldn't affect the test tho. I did test "ranged attack" as well This was a couple builds ago, I'll try again.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Wed Oct 15, 2003 9:16 am

$char(ability just checks to see if the ability is available. /doability actually pushes the button, and can be tested from the chat window.
MQ2: Think of it as Evolution in action.

CyberTech
a ghoul
a ghoul
Posts: 97
Joined: Wed Jun 26, 2002 9:27 am

Post by CyberTech » Wed Oct 15, 2003 5:17 pm

Yes i know :) From the chat window is where i tested, I haven't yet logged on again to test it with current build at a time when crashing would be ok, but i'm hoping it works.

CyberTech
a ghoul
a ghoul
Posts: 97
Joined: Wed Jun 26, 2002 9:27 am

Post by CyberTech » Thu Oct 16, 2003 12:40 am

/doability "Range Attack"
/doability "Ranged Attack"
/doability "Ranged"
/doability "Range"
/doability 0

all result in
"You do not seem to haev that ability on a /doability button"

/doability 1-10

Starts with 3rd button on combat tab (2nd row, left button, skipping melee and ranged)

Going to guess we don't support it yet.

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Thu Oct 16, 2003 4:16 am

I haven't figured out how to do ranged attacks correctly.
My last attempt wound up giving my rogue unlimited throwing weapons ;(
- Plazmic

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Thu Oct 16, 2003 8:54 am

And that's a bad thing? Unlimited arrows would be nice while you're at it :)
MQ2: Think of it as Evolution in action.

insanitywiz
a hill giant
a hill giant
Posts: 250
Joined: Mon Jul 08, 2002 7:50 am

Post by insanitywiz » Thu Oct 16, 2003 9:22 am

But counts as offset hacking which would be a bad thing for MQ

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Thu Oct 16, 2003 9:25 am

I know, was just teasing.
MQ2: Think of it as Evolution in action.