EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Interface Pieces > Macro / Scripting

Category: Macro / ScriptingHotbar Macro Scripting
Interface Information
Download
How do I install this? (FAQ)
Name: Hotbar Macro Scripting   Popular!
Author:
Date: 01-29-2010 04:16 AM
Size: 5.91 Kb
Version: 1.0
Rate Addon: 5 out of 5 with 3 votes  
Pictures
Click to enlarge 

Views: 0
Size: 2.91 Kb
Dimensions: 200 x 200
This UI mod has no visible interface.
 
Description
Hotbar Macro Scripting v1.0 by Aditu of Permafrost (ACT Author) [email protected]

Synopsis:
With a hotfix on 2010-01-28, the game client would no longer allow you to send many /useability requests within a short amount of time. The purpose of this change was to reduce the processing time the server had to use by checking the recast of each spell. "Super macros" as SoE called them were supposedly expensive when you had many players in a zone using them, so they reduced the client's ability to use them. IE, a "super macro" with 10 useability commands would start to act unpredictably if pressed say five times in ten seconds. Presumably not all the commands would be sent. The use of these "super macros" were to combine many near-identical spells into one hotkey to reduce the space these spells took and supposedly reduce movement strain associated with pressing all of these spells in separate buttons. That last reason apparently spawned a 12 page(in less than 24 hours) SoE thread before it was locked. Oddly enough the result of the thread was that they were reverting the changes; but I had already made this mod and it seemed a waste to sit on it.

So why use this mod if SoE is going to revert the changes? I guess you could, as a responsible player, reduce the strain on the servers by only sending one command per press instead of 5-20. But the mod also has a second mode which "super macros" cannot do: casting a small set of spells in order instead of casting the first available.

Installation:
This is a "Custom" UI mod in which it does not replace any other UI piece. It is standalone in which it is not dependent on having any other UI piece installed already.

That said, you *are* required to be using a non-default UI in order to view this UI piece. If you are using Default as your current UI, you will need to create a new UI folder for this mod as you cannot simply copy it into the Default folder and have it function. If you fall into this category, please follow this guide to set up a non-Default UI folder. http://www.eq2interface.com/forums/faq.php?faq=howto_install#faq_new_faq_item

As this is a "Custom" namespace UI mod, you will either need to have a "eq2ui_custom.xml" file to add this file's reference to, or use a new one. If you do not already have this file, one is included in the download archive. If you do already have it, do not overwrite it, open it in a text editor and within the "Custom" page element add the following: <Include>eq2ui_custom_hotbarscript.xml</Include>

There's only a tiny bit of optional XML file configuration. By default, the script will reset the order of the next spell to be cast to the beginning when combat ends. If you don't want this, find the line with AllowCombatResetBank_# and the number you want and set the Value to false.

Usage:
This mod is primarily configured by the hotbar banks. This is the only place in the UI where you can tell if a spell is available to be cast or not. So to configure a sequence or group of spells to be cast by this script, clear out one of the ten hotbar banks and put the desired spells there. They must not be macros as the script does not actually press the buttons but casts the spells the buttons contain. The script will ignore blank hotkeys as well as any spells after a blank key; so you may put miscellaneous things there if you wish. The resulting hotbar bank does not need to be visible to be used, so you may increment a spinner to a blank set and then spin back once configured.

To cast the spells, look at the hotbar number as displayed in the spinner and use the following commands:
/show_window Custom.HotbarScript.Bank_#.CastOrder
OR
/show_window Custom.HotbarScript.Bank_#.CastFirst

Replace the # with the hotbar number(in the spinner[1-10]). The first command will cast the hotbar buttons in order and skip any that are not available. So if you have six hotkeys filled before a blank hotkey, it will cast as: 1, 2, 3, 4, 5, 6, 1, 2, etc. Presuming 1 and 2 are available on the second loop. -- The second command will cast the hotbar buttons in the order that it finds them available. If you have two instant reuse spells, it may cast them as 1, 2, 1, 2, etc without ever going to 3. One limitation is that the script will never cast the same spell twice in a row. This is because the server is delayed in giving the client recast timers so without this restriction the script may try to cast an already used spell that cannot be cast(if you were to press the macro too quickly).

Final note: This mod is a one spell cast for one button pressed script. It will not, and I will not make it, cast the entire hotbar of spells with one press.
File Statistics
User Rating:
5 out of 5 with 3 votes
Downloads: 6555
Views: 42140
Favorites: 9
Uploaded By:
 
Last Modified: N/A

View Pictures. Download Now! Post A Comment


Post A Reply
Author Comments Comment Options
Unread 01-31-2010, 12:59 PM  
ObsidianDragon
A Berserk Golem

Server: Oasis
Forum posts: 57
File comments: 6
Uploads: 0
Thumbs Up What in-game macros should have been all along

Thank you! This does what I had always wished my "super macros" would do: allow me to evenly distribute a group of abilities, one at a time. It is especially great for those all those debuffs with the same long durations and short recasts. That it is more effective and also less thrashing on the servers is a very happy thing. Being taken from a hotbar also makes editing a snap.
ObsidianDragon is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-09-2010, 09:25 AM  
zaab
A Young Mystail Rat

Server: Antonia Bayle
Forum posts: 7
File comments: 9
Uploads: 0
parameters

Is there a way to add a parameter? Such as the coercer's Destructive Mind which is generally cast on oneself with following spells cast on target. With a useability macro, "/useabilityonplayer Me Destructive Mind" is used.
This is gonna be great with my illy and my poor arthritic fingers...
zaab is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-09-2010, 01:21 PM  
EQAditu
A Griffon
 
EQAditu's Avatar
Interface Author - Click to view interfaces

Server: Permafrost
Forum posts: 256
File comments: 156
Uploads: 10
Re: parameters

Quote:
Originally posted by zaab
Is there a way to add a parameter? Such as the coercer's Destructive Mind which is generally cast on oneself with following spells cast on target. With a useability macro, "/useabilityonplayer Me Destructive Mind" is used.
This is gonna be great with my illy and my poor arthritic fingers...
The UI cannot see that the hotkey contains a macro let alone actually press it. All it knows is the name of the key and if it has a recast timer.

There's no easy way to rework the script to be able to add targets to the spell casts as it's all configured using the hotbar banks. The only way would be to configure the spell sets inside of the XML and inside of the hotbars the exact same way.
EQAditu is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-09-2010, 09:27 PM  
zaab
A Young Mystail Rat

Server: Antonia Bayle
Forum posts: 7
File comments: 9
Uploads: 0
Re: Re: parameters

Playing around with it, figured out a workaround. Create a macro with the spell and Me as a parameter and followed by a Command: entry of your /show_window .....
Works. Now I can try different cast orders on the fly with some consistancy.

Thanks again.
zaab is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-28-2010, 03:05 AM  
aerinn
A Coastal Crab

Server: Unkown
Forum posts: 0
File comments: 1
Uploads: 0
Profit UI compatibility

Just as an FYI for anyone having troubles getting this little gem working with Profit, just tack
<include>eq2ui_custom_hotbarscript.xml</include>

to the end of
_ProfitUI_custom.xml

I couldn't get it to work any other way.
aerinn is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-11-2010, 09:14 PM  
tizzlesizzle
A Coastal Crab

Server: Unkown
Forum posts: 0
File comments: 1
Uploads: 0
how do i set this script up to use multi hot bars ? i need 2 roughly 2 hot bars for my spell cast order.


if i could line out hot bar bank 5 and 6 it would work great. atm all i can seem to get to work is 1 hot bar for a total of 12 buttons.
tizzlesizzle is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-25-2010, 04:15 PM  
Controller
A Sea Turtle

Server: Antonia Bayle
Forum posts: 31
File comments: 39
Uploads: 0
I have a problem. Illusionists have 2 spells with similar name. 1 high single nuke and 1 short duration encounter stun. Although the right spell is in my hotbar the script is casting the damn encounter stun. Would be cool if u have any advice how to solve this.

There is another problem. The script doesnt want to cast spells with Ä;Ö;Ü or ß in its name. Do know how to fix this ?

Last edited by Controller : 07-25-2010 at 04:49 PM.
Controller is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-26-2010, 08:29 AM  
EQAditu
A Griffon
 
EQAditu's Avatar
Interface Author - Click to view interfaces

Server: Permafrost
Forum posts: 256
File comments: 156
Uploads: 10
Quote:
Originally posted by Controller
I have a problem. Illusionists have 2 spells with similar name. 1 high single nuke and 1 short duration encounter stun. Although the right spell is in my hotbar the script is casting the damn encounter stun. Would be cool if u have any advice how to solve this.

There is another problem. The script doesnt want to cast spells with Ä;Ö;Ü or ß in its name. Do know how to fix this ?
It seemed to me that if you created a macro and placed it in a hotbar, the button name would be set to the macro name. So take whatever spell you're having trouble with, make it into a macro and name the macro the spell ID. This way it will cast the name of the macro(spell ID) and still detect the recast of the spell the macro has marked primary.
EQAditu is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-26-2010, 02:00 PM  
Controller
A Sea Turtle

Server: Antonia Bayle
Forum posts: 31
File comments: 39
Uploads: 0
thank you. problem solved.

Last edited by Controller : 07-26-2010 at 02:00 PM.
Controller is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-30-2010, 03:26 PM  
tv_saugt
A Coastal Crab

Server: Antonia Bayle
Forum posts: 0
File comments: 2
Uploads: 0
most awesome plugin ever !

big thxs !
tv_saugt is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-25-2010, 02:19 AM  
Treponem
A Coastal Crab

Server: Unkown
Forum posts: 0
File comments: 1
Uploads: 0
Hello, is this mod still active and "GU58 compatible" ?
I have installed it with all files modifications required but when I run the /show... script, nothing happens.
I'm using ProfitUI so I have modified _ProfitUI_custom.xml
Treponem is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-25-2010, 02:42 PM  
EQAditu
A Griffon
 
EQAditu's Avatar
Interface Author - Click to view interfaces

Server: Permafrost
Forum posts: 256
File comments: 156
Uploads: 10
I use it every day for my uber Templar nukes... I haven't noticed anything wrong with it.

Adding custom UIs to Profit is a pain for unknown reasons though. I've never used ProfitUI, but I've had to read lots of people unable to get it to work for unknown reasons. They usually figure it out, but don't always share how.
EQAditu is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-17-2016, 08:13 PM  
krisla
A Mist Grinnin
 
krisla's Avatar
Interface Author - Click to view interfaces

Server: Antonia Bayle
Forum posts: 76
File comments: 45
Uploads: 2
can't get it to do anything

This mod not work now?
krisla is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-24-2016, 03:45 PM  
EQAditu
A Griffon
 
EQAditu's Avatar
Interface Author - Click to view interfaces

Server: Permafrost
Forum posts: 256
File comments: 156
Uploads: 10
Re: can't get it to do anything

Quote:
Originally posted by krisla
This mod not work now?
Same thing I said 5 years ago. I use it every day and it still works how I designed it.
EQAditu is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 11:44 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI