Quantcast
lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Stand-Alone Plugins > Action Bars & Main Bar

Category: Action Bars & Main BarSequenceBars
Interface Information
Download
Thurallor's Portal Bug Reports Feature Requests
How do I install this? (FAQ)
Name: SequenceBars   Updated this week!   Popular!
Author:
Date: 12-02-2022 03:40 PM
Size: 1.37 MB
Version: 4.10
Rate File: 5 out of 5 with 13 votes  
Pictures
Click to enlarge 

Views: 0
Size: 126.85 Kb
Dimensions: 483 x 369
The sequence editor window.
 
Click to enlarge 

Views: 0
Size: 163.41 Kb
Dimensions: 590 x 418
Showing a list of bars.
 
Description

Introduction
This plugin lets you make a sequence of skills, and moves them under your cursor one by one, so you can click them in order, without moving the mouse. In action, it looks like this:



This might come in handy if you want to do a long sequence of skills or emotes, without having to remember it all. You can also export a sequence and e-mail it to your friends, to share your favorite skill rotations.

Another way this plugin can be useful is as a gear-swapper. So, for example, you can have one sequence for equipping your DPS items, and another sequence for equipping your tanking items. This is demonstrated in the following brief video:


As shown in the video, you can configure the bars to interact with each other: When one sequence finishes, you can make that bar close and another bar open. You can also make them open or close when combat begins or ends.

Bars can be grouped together hierarchically. You can use the options panel in the plugin manager to see a list of your SequenceBars (and groups of bars). You can right-click on any item for options.

The visual appearance of the bars is highly configurable, using right-click menus.

This plugin is still under active development, so comments and suggestions are appreciated.

Have fun,
Thurallor

User Manual
The User Manual is a work in progress. The following sections are available so far:
Installation and Startup
To install:
  • First, unzip the archive. You will get a folder called "Thurallor". Move this folder into your Documents/The Lord of the Rings Online/Plugins folder. (If you have not previously installed any plugins, you will have to first create the Plugins folder.)
  • Or if you prefer, you may use Plugin Compendium to do the installation.
To load the plugin, use the game's built-in Plugin Manager. This can be found in the "^" menu, at the bottom of the screen. Click the icon, then choose "System" and then "Plugin Manager".

When the Plugin Manager opens, find SequenceBars in the list on the left side, then click "Load" to load the plugin. If you would like the plugin to load automatically each time you login, choose your character's name in the "Automatically Load For" pulldown menu.

Revision History
  • (2-Dec-2022) Version 4.10: Release notes are here.
  • (20-Nov-2022) Version 4.09: Updated the skill database with complete data extracted from the U34 client.
  • (27-Nov-2022) Version 4.08: Added Minstrel skill "Anthem of the Free Peoples" to the skills database. Removed caching of GetCategory() and IsCurable() for effects.
  • (22-Nov-2022) Version 4.07: Updated the skills database for Update 34.
  • (15-Nov-2022) Version 4.06: Plugin broken by Update 34. This version implements a workaround.
  • (7-Nov-2022) Version 4.05: Updated Warden skills in the skills database: Added "javelin" versions of "spear" skills for assailment stance.
  • (4-Nov-2022) Version 4.04: Release notes are here.
    (3-Nov-2022) Version 4.03: Added experimental new feature: "Reevaluate conditionals until next click" is now a bar-specific option.
  • (1-Nov-2022) Version 4.01: Release notes are here.
  • (29-Oct-2022) Version 4.00: Release notes are here.
  • (6-Oct-2022) Version 3.55: Fixed minor font display issues.
  • (31-Aug-2022) Version 3.54: Release notes are here.
  • (24-Mar-2022) Version 3.53: Release notes are here.
  • (20-Jan-2022) Version 3.52: Release notes are here.
  • (7-Jan-2022) Version 3.51: Release notes are here.
  • (6-Oct-2021) Version 3.50: Release notes are here.
  • (21-Jul-2020) Version 3.49: Release notes are here.
  • (7-Jun-2020) Version 3.48: Release notes are here.
  • (4-Jun-2020) Version 3.47: Release notes are here.
  • (24-May-2020) Version 3.46: Release notes are here.
  • (18-Feb-2020) Version 3.45: Release notes are here.
  • (29-Oct-2019) Version 3.44: Performance improvement. No save operations should occur during combat.
  • (28-Oct-2019) Version 3.43: Release notes are here.
  • (24-Oct-2019) Version 3.42: Attempting to fix a crash that can occur immediately after a secure trade involving multiple items.
  • (17-Oct-2019) Version 3.41: Release notes are here.
  • (4-Oct-2019) Version 3.39: Fixed a bug that caused a delay slot to be broken if the bar was reset while it was counting down.
  • (3-Oct-2019) Version 3.38: Release notes are here.
  • (1-Oct-2019) Version 3.37: Release notes are here.
  • (21-Sep-2019) Version 3.36: Bug fix: The "Advance when skill is executed" feature should now work for the "Improved Penetrating Shot" and "Improved Quick Shot" skills when fire/light oil is in use.
  • (28-Jan-2019) Version 3.35: Release notes are here.
  • (26-Jan-2019) Version 3.34: Release notes are here.
  • (29-Sep-2018) Version 3.33: Release notes are here.
  • (11-Sep-2018) Version 3.32: Release notes are here.
  • (22-Aug-2018) Version 3.31: Release notes are here.
  • (19-Apr-2018) Version 3.30: Fixes a bug reported by tazwhirlwind: In the previous version, sometimes the right-click menu for bars didn't work.
  • (28-Mar-2018) Version 3.29: Fixes a bug reported by Galphoglas. You can now use special characters (such as , , ) in chat commands.
  • (17-Feb-2018) Version 3.28: Fixed bugs introduced in 3.27.
  • (17-Feb-2018) Version 3.27: Release notes are here.
  • (14-Feb-2018) Version 3.26: Release notes are here.
  • (3-Feb-2018) Version 3.25: Fixed a bug in the color picker.
  • (13-Nov-2017) Version 3.24: Release notes are here.
  • (10-Oct-2017) Version 3.23: Release notes are here.
  • (8-Oct-2017) Version 3.22: Release notes are here.
  • (4-Oct-2017) Version 3.21: Release notes are here.
  • (1-Aug-2017) Version 3.20: Release notes are here.
  • (31-May-2017) Version 3.19: Added Runekeeper conditionals "Runekeeper attunement > x", "Runekeeper attunement < x", "Runekeeper is charged", "Runekeeper is not charged".
  • (19-May-2017) Version 3.18: Forgot to add the "/sb sort" command.
  • (19-May-2017) Version 3.17: Release notes are here.
  • (2-Apr-2017) Version 3.16: Release notes are here.
  • (26-Mar-2017) Version 3.15: Second attempt to fix stance-tracking conditionals for Wardens.
  • (25-Mar-2017) Version 3.14: Release notes are here.
  • (5-Feb-2017) Version 3.13: Release notes are here.
  • (31-Dec-2016) Version 3.12: Release notes are here.
  • (14-Nov-2016) Version 3.11: Release notes are here.
  • (4-Oct-2016) Version 3.10: Release notes are here.
  • (25-Aug-2016) Version 3.09: Release notes are here.
  • (9-Jun-2016) Version 3.08: Release notes are here.
  • (25-Mar-2016) Version 3.07: Bug fix.
  • (23-Mar-2016) Version 3.06: Quick fix for this bug.
  • (22-Mar-2016) Version 3.05: Added "Skill is/not usable" condition.
  • (22-Mar-2016) Version 3.04: Release notes are here.
  • (12-Mar-2016) Version 3.03: Bug fixes.
  • (24-Feb-2016) Version 3.02: Fixed file permissions that caused an error when updating with Plugin Compendium.
  • (23-Feb-2016) Version 3.01: Fixed a problem with upgrading old settings files.
  • (22-Feb-2016) Version 3.00: Release notes are here.
  • (14-Feb-2016) Version 2.26: Release notes are here.
  • (11-Feb-2016) Version 2.25: Release notes are here.
  • (22-Jan-2016) Version 2.24: Release notes are here.
  • (10-Jan-2016) Version 2.23: Release notes are here.
  • (11-Dec-2015) Version 2.22: Release notes are here.
  • (10-Dec-2015) Version 2.21: Release notes are here.
  • (4-Dec-2015) Version 2.20: Release notes are here.
  • (30-Nov-2015) Version 2.19: Release notes are here.
  • (20-Oct-2015) Version 2.18: Release notes are here.
  • (30-Sep-2015) Version 2.17: Release notes are here.
  • (26-Sep-2015) Version 2.16: German translations completed (thanks, Daefareth!)
  • (28-Aug-2015) Version 2.15: Release notes are here.
  • (22-Aug-2015) Version 2.14: Release notes are here.
  • (17-Aug-2015) Version 2.13: Bug fix: SequenceBars will no longer steal focus from the chat window when show/expand event behaviors are executed.
  • (15-Aug-2015) Version 2.12: Screen resize warning now has a "Don't show this message again" checkbox.
  • (11-Aug-2015) Versions 2.10 and 2.11: Release notes are here.
  • (16-Jul-2015) Version 2.09: Release notes are here.
  • (8-Jul-2015) Version 2.07: Release notes are here.
  • (11-Jun-2015) Version 2.06: Release notes are here.
  • (9-Jun-2015) Version 2.05: Release notes are here.
  • (4-Jun-2015) Version 2.04: Release notes are here.
  • (11-May-2015) Version 2.03: Added a mechanism for discovering bag slot numbers: If you move an item from one slot to another within your bag, you will see a message such as "Item moved from bag slot 103 to bag slot 45" in the chat window. This should help in assigning the bag slot in the "Set unequip destination" command.
  • (7-May-2015) Version 2.02: Fixed a bug that caused incorrect scrolling when you "skip ahead" in a sequence. Also added Cyrillic support for the Turbine client.
  • (26-Apr-2015) Version 2.01: Release notes are here.
  • (23-Apr-2015) Version 2.00: Release notes are here.
  • (10-Apr-2015) Version 1.12: Fixed a bug in the sequence editor that caused icons to disappear when you tried to drag them.
  • (3-Apr-2015) Version 1.11: Release notes are here.
  • (12-Jan-2015) Version 1.10: Reorganized the options panel.
  • (7-Jan-2015) Version 1.09:
    • Updated Russian translations.
    • Bug fix: The "Cursor Style" submenu was not displaying properly in the Bar menu.
    • Bug fix: The cursor was not being moved correctly if a bar automatically moved due to a user event during animation.
  • (6-Jan-2015) Version 1.08: Quick fix for a bug I introduced in Version 1.06 which generated an error when you tried to edit the caption of a bar or group.
  • (2-Jan-2015) Version 1.06: Release notes are here.
  • (1-Jan-2015) Version 1.05: Release notes are here.
  • (2-Nov-2014) Version 1.04: Release notes are here.
  • (30-Oct-2014) Version 1.03: Completed Russian translations. Addressed some minor GUI flakiness issues. Added "Directory" option to the Bar menu.
  • (27-Oct-2014) Version 1.02: Oops, I inadvertently messed up the .plugin file in the 1.01 version.
  • (27-Oct-2014) Version 1.01: Updated Russian translations (Thanks, DToX!) and added support for Plugin Compendium.
  • (27-Oct-2014) Version 1.00: Initial release.
  • Beta discussions were here.
Thanks
Assistance from the following contributors is gratefully acknowledged:
  • fade2gray, for extensive testing and debugging help
  • DToX for Russian translations, testing, and ContextMenu
  • Galphoglas and Bigdid for French translations
  • Rimeya for German translations (assisted by Elrigh and Riggie1000)
  • Darkytcho for Portuguese translations
  • Elrigh and Riggie1000 for beta testing
  • Galuhad for Drop Down Menu
  • Champollion and dmorcellet for research and engineering (skills database)
  • Many plugin authors whose work I have learned from and emulated
Archive List (Old Versions)
File Name
Version
Size
Author
Date
4.09
1.26 MB
Thurallor
11-29-2022 06:34 PM
3.55
957.89 Kb
Thurallor
10-06-2022 08:05 PM
2.26
772.96 Kb
Thurallor
02-14-2016 09:15 AM
File Statistics
User Rating:
5 out of 5 with 13 votes
Downloads: 232285
Views: 464189
Favorites: 67
Uploaded By:
 
Last Modified: 12-02-2022 03:53 PM by Thurallor    

View Pictures. Download Now! Post A Comment


Post A Reply
Author Comments Comment Options
Unread 12-01-2022, 10:27 PM  
WildCard
The Wary

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Curable Effect Issue

Quote:
Version 4.08 stops using the cached values. The performance hit should be negligible. Please give it a try and let me know if this solves your issue.
Quick test seems to look good so far!

Edit: After multiple delving runs where this would always pop up, I've had no issues.

Thanks!

Last edited by WildCard : 12-03-2022 at 01:11 AM.
WildCard is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-30-2022, 04:18 PM  
akourbat
The Wary

Forum posts: 0
File comments: 43
Uploads: 0
Quote:
Originally Posted by Thurallor
Did you create this slot before U34? If so, you may need to recreate it (drag the skill onto the slot again) to make it work.
Damn, my bad. I was on 4.08 version. Once I updated to 4.09 it is fine. Sorry!



Last edited by akourbat : 11-30-2022 at 04:24 PM.
akourbat is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-30-2022, 02:57 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 201
File comments: 442
Uploads: 20
Quote:
Originally Posted by Thurallor
That actually is in the skills database. Maybe a bug, I'll look into it.
I currently can't reproduce it. Did you create this slot before U34? If so, you may need to recreate it (drag the skill onto the slot again) to make it work.

If that doesn't fix it, please export that bar and send it to me in a PM.

Last edited by Thurallor : 11-30-2022 at 03:03 PM.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-30-2022, 02:29 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 201
File comments: 442
Uploads: 20
Quote:
Originally Posted by Akourbat
There is at least another one for Minstrel (changes according to a stance you are in):

(1) https://lotro-wiki.com/index.php/The_Melody_of_Battle
(2) https://lotro-wiki.com/index.php/Tim...hoes_of_Battle
(3) https://lotro-wiki.com/index.php/Echoes_of_Battle

In "Resonance" stance, Major Ballad changes to "Major Ballad - Resonance" and turns into a healing ability. I only have Red spec for Minstrel for now, but will check if anything else is "non-traditional" in Blue, a bit later.
I'll add it.

Quote:
And here's a screenshot of another anthem "Lesser Anthem II - Dissonance" that appears to be missing from the db
Interesting. That actually is in the skills database. Maybe a bug, I'll look into it.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-30-2022, 08:11 AM  
akourbat
The Wary

Forum posts: 0
File comments: 43
Uploads: 0
Quote:
Originally Posted by Thurallor
For Minstrel, the only such skill I'm aware of is Coda of Melody / Resonance / Fury.
There is at least another one for Minstrel (changes according to a stance you are in):

(1) https://lotro-wiki.com/index.php/The_Melody_of_Battle
(2) https://lotro-wiki.com/index.php/Tim...hoes_of_Battle
(3) https://lotro-wiki.com/index.php/Echoes_of_Battle

In "Resonance" stance, Major Ballad changes to "Major Ballad - Resonance" and turns into a healing ability. I only have Red spec for Minstrel for now, but will check if anything else is "non-traditional" in Blue, a bit later.

And here's a screenshot of another anthem "Lesser Anthem II - Dissonance" that appears to be missing from the db -
Screenshot_3 , on Flickr

Last edited by akourbat : 11-30-2022 at 09:47 AM.
akourbat is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-29-2022, 06:41 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 201
File comments: 442
Uploads: 20
Version 4.09 should now have a complete, up-to-date skill names database, with data extracted directly from the game client data files.

The only exceptions are skills that can change their names, based on stance or other conditions. Those still have to be added manually, and I still have to wait for players to report their absence to me, since my only high-level character is a Warden. (You can see a list of them in Plugins/Thurallor/Common/SkillData/SkillData.lua.)

For Minstrel, the only such skill I'm aware of is Coda of Melody / Resonance / Fury.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-28-2022, 10:44 PM  
akourbat
The Wary

Forum posts: 0
File comments: 43
Uploads: 0
Quote:
Originally Posted by Thurallor
Added "Anthem of the Free Peoples" in version 4.08.

Thanks, I'll check it out. My concern though is that with the rework, they changed ALL of anthems on minstrel. For one, they now share cooldown, some changed names (like Anthem of War is now "Greater Anthem II - War"). What I am saying is likely they would all be "new" spells, maybe even different Ids. I mentioned in previous post that "Greater Anthem II - War" does not react to "spell executed" options.



I realize its a PITA to maintain the skills database, so I guess I will not press for a fix unless you decide it is worth it for the plugin. I can deal with these issues by selecting "left click" and adding some delay to allow for an anthem to execute, as long as "left click" is in the options. I am not currently playing actively on minstrel, only occasionally, anyhow.
akourbat is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-27-2022, 08:16 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 201
File comments: 442
Uploads: 20
Re: Curable Effect Issue

Quote:
Originally Posted by WildCard
So I've been having a somewhat annoying issue with one of my bars not going away when it should (but not all of the time).

I have a continuous run bar that basically looks at curable effects (IF/ELSE/IF... for all fear, disease, poison, wound). If a curable effect is present, it triggers a custom event to show a CURE bar, otherwise sends another event to hide it.

It also has a separate check for health level, and sends events to show or hide the HEALTH bar.

However, sometimes (it seems like a race condition), the CURE bar will not go away and I have to unload SB, wait a few seconds for the apartment to tear down, then load SB and all is well.

Unfortunately, this is most likely to happen during busy fights with lots of things happening (hence race condition) and I rely on the visibility of the CURE bar to let me know I need to pot something. But if it stays visible, I end up wasting skills/pots and don't have them ready when I actually do need it.

I've been going through the plugin code and I've narrowed it down to fear (at least, it seems that way most of the time). I added some script logging entries ("+" on AddPlayerEffect, "-" on RemovePlayerEffect) and captured this:

Code:
44284647.653096: + True Face of Fear - Category: 64 - Curable: true
...
44284650.342745: - True Face of Fear - Category: 64 - Curable: true
So I know the event is firing fine. I made some functions to print out current and cached player effects, and those are generally in-sync, but when this situation presents itself:

Code:
Thurallor.Utils.Watcher.playerEffectsObject.activeCategories[64] == 0
while:
Thurallor.Utils.Watcher.playerEffectsObject.activeCurableCategories[64] == 1
So it thinks I still have an active, curable fear effect which was already removed.

Nothing is jumping out at me in the code, unless it's some race condition which won't stand out. I've made some methods to debug print as well as clear all activeCurableCategories as a workaround, since it's much easier to do that than a full reload - but I'd like to have this permanently fixed.

I'll keep poking around in the code as well.
Thanks for investigating. After examing the code again, I don't see any possibility for a race condition. All changes to activeCategories and activeCurableCategories are performed atomically, and one right after the other. The other possibility that strikes me is that there could be more than one effect with the same name, but with different categories, or different curability. In that case, using the cached values for these would be an error.

Version 4.08 stops using the cached values. The performance hit should be negligible. Please give it a try and let me know if this solves your issue.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-27-2022, 04:40 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 201
File comments: 442
Uploads: 20
Quote:
Originally Posted by akourbat
Unfortunately "Anthem of the Free Peoples" still only has "require target" as a single option, while slotted on bar.
HTML Code:
https://1drv.ms/u/s!AkUfQANqQ5Oy0n9U1TFn3b5aMDT9?e=h6XhN8
I'm confused. My test minstrel doesn't seem to have that skill. According to lotro-wiki, that skill is obsolete (removed in Update 12)...?

https://lotro-wiki.com/index.php/Ant...e_Free_Peoples

Edit: Never mind, I figured it out. Added "Anthem of the Free Peoples" in version 4.08.

Last edited by Thurallor : 11-27-2022 at 08:16 PM.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-24-2022, 06:38 AM  
akourbat
The Wary

Forum posts: 0
File comments: 43
Uploads: 0
Quote:
Originally Posted by Thurallor
Akourbat, the skills database has now been updated. Please let me know of any remaining problems that you find

Unfortunately "Anthem of the Free Peoples" still only has "require target" as a single option, while slotted on bar.
HTML Code:
https://1drv.ms/u/s!AkUfQANqQ5Oy0n9U1TFn3b5aMDT9?e=h6XhN8

Last edited by akourbat : 11-24-2022 at 07:51 AM.
akourbat is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-24-2022, 12:31 AM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 201
File comments: 442
Uploads: 20
Wildcard, I am currently away from home during Thanksgiving, but I will try to isolate your issue when I get back.

Akourbat, the skills database has now been updated. Please let me know of any remaining problems that you find.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-23-2022, 09:45 PM  
WildCard
The Wary

Forum posts: 0
File comments: 3
Uploads: 0
Curable Effect Issue

So I've been having a somewhat annoying issue with one of my bars not going away when it should (but not all of the time).

I have a continuous run bar that basically looks at curable effects (IF/ELSE/IF... for all fear, disease, poison, wound). If a curable effect is present, it triggers a custom event to show a CURE bar, otherwise sends another event to hide it.

It also has a separate check for health level, and sends events to show or hide the HEALTH bar.

However, sometimes (it seems like a race condition), the CURE bar will not go away and I have to unload SB, wait a few seconds for the apartment to tear down, then load SB and all is well.

Unfortunately, this is most likely to happen during busy fights with lots of things happening (hence race condition) and I rely on the visibility of the CURE bar to let me know I need to pot something. But if it stays visible, I end up wasting skills/pots and don't have them ready when I actually do need it.

I've been going through the plugin code and I've narrowed it down to fear (at least, it seems that way most of the time). I added some script logging entries ("+" on AddPlayerEffect, "-" on RemovePlayerEffect) and captured this:

Code:
44284647.653096: + True Face of Fear - Category: 64 - Curable: true
...
44284650.342745: - True Face of Fear - Category: 64 - Curable: true
So I know the event is firing fine. I made some functions to print out current and cached player effects, and those are generally in-sync, but when this situation presents itself:

Code:
Thurallor.Utils.Watcher.playerEffectsObject.activeCategories[64] == 0
while:
Thurallor.Utils.Watcher.playerEffectsObject.activeCurableCategories[64] == 1
So it thinks I still have an active, curable fear effect which was already removed.

Nothing is jumping out at me in the code, unless it's some race condition which won't stand out. I've made some methods to debug print as well as clear all activeCurableCategories as a workaround, since it's much easier to do that than a full reload - but I'd like to have this permanently fixed.

I'll keep poking around in the code as well.

Last edited by WildCard : 11-23-2022 at 09:48 PM.
WildCard is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-21-2022, 11:04 PM  
akourbat
The Wary

Forum posts: 0
File comments: 43
Uploads: 0
Re: Re: Re: Re: Minstrel - Anthem of the Free Peoples

Quote:
Originally Posted by Thurallor
I would not anticipate seeing any such errors in your "If" scripts, unless you're doing something a lot more advanced than what we previously discussed.

No, my LUA scripts are simple one-liners setting a variable to boolean value and returning it in the "Ifs" as a check condition. So likely something else was causing it then. I will post exact error message if I encounter it again. Thx for clarification.
akourbat is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-21-2022, 08:16 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 201
File comments: 442
Uploads: 20
Re: Re: Re: Minstrel - Anthem of the Free Peoples

Quote:
Originally Posted by akourbat
(1) If I set a variable via user event (LUA column) to be evaluated by some "If" statement in a sequence, when I launch game clients and before fist use of event, I'd think variable doesn't exist yet, and I believe I saw some chat error messages from the plugin, complaining about having to deal with "nil" value. Unfortunately I don't have a screen. Once it's been set once (to true or false), the errors appear to go away. Is this something I should worry about, or LUA is fine dealing with undefined variables (like not throwing exceptions of something)?
As far as Lua's boolean logic is concerned, a value of nil is the same as false. So I would not anticipate seeing any such errors in your "If" scripts, unless you're doing something a lot more advanced than what we previously discussed. If you see error messages in the chat log, please note the circumstances and exact error message the next time it occurs, so I can debug it.

If one of your scripts does have an error, the plugin should gracefully handle it. The worst that should happen is that you'll see an error message in the chat window, and the script will return nil (false).

Quote:
Originally Posted by akourbat
(2) There are some "system" events the plugin makes use of - like change of target or end of combat etc. Is it possible to list them also in the event table and allow to assign LUA statements when they fire? Or this is allowed only for user-defined events? Mostly interested in "target changed" event, to manage dots. For now I am using the structure you proposed some weeks ago (extra bar watching for the target changed, and setting the LUA variable on reset).
I'll look into it. If it's not too much work, I'll add it.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-21-2022, 12:42 PM  
akourbat
The Wary

Forum posts: 0
File comments: 43
Uploads: 0
Re: Re: Minstrel - Anthem of the Free Peoples

Quote:
Originally Posted by Thurallor
Yeah, what a PITA
Indeed. Hopefully they will not often make such complete reworks of skills.

Couple of other questions regarding new user event system:

(1) If I set a variable via user event (LUA column) to be evaluated by some "If" statement in a sequence, when I launch game clients and before fist use of event, I'd think variable doesn't exist yet, and I believe I saw some chat error messages from the plugin, complaining about having to deal with "nil" value. Unfortunately I don't have a screen. Once it's been set once (to true or false), the errors appear to go away. Is this something I should worry about, or LUA is fine dealing with undefined variables (like not throwing exceptions of something)?

(2) There are some "system" events the plugin makes use of - like change of target or end of combat etc. Is it possible to list them also in the event table and allow to assign LUA statements when they fire? Or this is allowed only for user-defined events? Mostly interested in "target changed" event, to manage dots. For now I am using the structure you proposed some weeks ago (extra bar watching for the target changed, and setting the LUA variable on reset).

Last edited by akourbat : 11-21-2022 at 12:43 PM.
akourbat 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 12:08 AM.


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