|
03-14-2021, 07:48 PM
|
|
The Wary
Forum posts: 1
File comments: 11
Uploads: 1
|
Re: Re: Advanced Lua question
Lost a HD. Sucks but it happens. Now, I get to rebuild bigger and better!
Love the plugin man. it's great for the the classes I loathe to play (SpSp? )
Code:
local slot, player = ...;
slotNum = slot.s;
skillName = slot.bar.slots[slotNum + 1]:GetSkillName();
return ((Thurallor.Utils.Watcher.SkillReady(skillName)) and (Thurallor.Utils.Watcher.SkillUsable(skillName)));
Last edited by Jok : 03-14-2021 at 08:17 PM.
|
|
|
03-22-2021, 08:59 AM
|
|
The Wary
Forum posts: 0
File comments: 7
Uploads: 0
|
Awesome
This plugin is awesome. I even registered here just for posting that.
But... It is just me or Update 29 broke something? A very simple sequence work flawlessly before the update and now it only works, step by step, if I open the editor on the sequence and I close it without changes. The sequence is as easy as possible, it equips a couple of objects if they are not already equipped.
And if you accept suggestions, I don't know if it is even possible, but I'll enjoy a way to swap easily Cosmetic equipment and noun titles.
Despite that, amazing job.
|
|
|
03-22-2021, 09:46 PM
|
|
The Undying
Forum posts: 202
File comments: 457
Uploads: 20
|
Re: Awesome
Quote:
Originally Posted by Arzakon
This plugin is awesome. I even registered here just for posting that.
|
Thanks
Quote:
But... It is just me or Update 29 broke something? A very simple sequence work flawlessly before the update and now it only works, step by step, if I open the editor on the sequence and I close it without changes. The sequence is as easy as possible, it equips a couple of objects if they are not already equipped.
|
It is very possible that U29 broke something. In fact there is a discussion of an undocumented change that will break existing plugins: https://www.lotrointerface.com/forum...ead.php?t=3836
However, I have so far been unable to reproduce any such problem with SequenceBars. - Which client language (English, French, German) are you using?
- Are you using 32-bit or 64-bit?
- Do you see any error messages in the chat window when the problem occurs?
- Please export your bar and send the data to me via PM. (Right-click the bar, choose "Export", copy and paste the data.)
Quote:
And if you accept suggestions, I don't know if it is even possible, but I'll enjoy a way to swap easily Cosmetic equipment and noun titles.
|
Sorry, neither of those is possible, due to limitations of the Lua API.
Last edited by Thurallor : 03-22-2021 at 09:49 PM.
|
|
|
03-23-2021, 05:05 AM
|
|
The Wary
Forum posts: 0
File comments: 7
Uploads: 0
|
Re: Re: Awesome
- Which client language (English, French, German) are you using?
-- English
- Are you using 32-bit or 64-bit?
-- 64 bit, I guess... I'm running the game under Steam, with Proton, but I haven't had any issues until now with plugins.
- Do you see any error messages in the chat window when the problem occurs?
-- No errors. Button works fine, but after it equips the item, it doesn't run the following step if I don't open the editor. Before the update it worked fine.
- Please export your bar and send the data to me via PM. (Right-click the bar, choose "Export", copy and paste the data.)
-- OK, here it goes:
Code:
{
["Arisartre.9"] = {
["anchor"] = "TopLeft";
["animation"] = {
["duration"] = -1;
};
["caption"] = {
["font"] = 1107296263;
["height"] = 35;
["position"] = "beginning";
["text"] = "Fishing Gear";
["visible"] = "WhenMouseIsPresent";
["width"] = 80;
};
["collapsed"] = 2;
["color"] = "5C00FF";
["cursorHomePosition"] = 2;
["cursorStyle"] = "GoldFrame";
["eventHandlers"] = {};
["eventsEnabled"] = false;
["hidden"] = false;
["hideAutomatics"] = true;
["hideInactiveBranches"] = true;
["locked"] = false;
["orientation"] = "Right";
["position"] = {
["left"] = 1265;
["top"] = 631;
};
["sequenceEditor"] = {
["defaultIcon"] = 1091573182;
["position"] = {
791;
189;
};
["sashPosition"] = 1;
["size"] = {
470;
484;
};
};
["sequenceItemInfo"] = {
{
["automatic"] = true;
["background"] = "Thurallor/SequenceBars/Images/if.tga";
["class"] = "Turbine.UI.Control";
["condArgs"] = {
["eqItemName"] = "\"Well-crafted Lebethron Fishing Rod\"";
["eqSlot"] = "16";
};
["condExpr"] = "return (not IsEquipped(<eqItemName>, <eqSlot>));";
["condName"] = "ItemNotEquipped";
["toolTip"] = "IF";
["type"] = "If";
};
{
["advanceEvent"] = "ItemEquipped";
["class"] = "Turbine.UI.Lotro.Quickslot";
["Data"] = "0x03190009C4887C3A,0x00000000";
["type"] = 2;
};
{
["automatic"] = true;
["background"] = "Thurallor/SequenceBars/Images/end-if.tga";
["class"] = "Turbine.UI.Control";
["toolTip"] = "END-IF";
["type"] = "EndIf";
};
{
["automatic"] = true;
["background"] = "Thurallor/SequenceBars/Images/if.tga";
["class"] = "Turbine.UI.Control";
["condArgs"] = {
["eqItemName"] = "\"Erebrandir's Horseshoe\"";
["eqSlot"] = "15";
};
["condExpr"] = "return (not IsEquipped(<eqItemName>, <eqSlot>));";
["condName"] = "ItemNotEquipped";
["toolTip"] = "IF";
["type"] = "If";
};
{
["class"] = "Turbine.UI.Lotro.Quickslot";
["Data"] = "0x03190009C08D7918,0x00000000";
["type"] = 2;
};
{
["altIcon"] = 1091573182;
["class"] = "Turbine.UI.Lotro.Quickslot";
["Data"] = "/tell Arisartre Use Ctrl+Shift+1";
["type"] = 4;
};
{
["automatic"] = true;
["background"] = "Thurallor/SequenceBars/Images/end-if.tga";
["class"] = "Turbine.UI.Control";
["toolTip"] = "END-IF";
["type"] = "EndIf";
};
{
["class"] = "Turbine.UI.Lotro.Quickslot";
["Data"] = "0x7000EE1E";
["type"] = 9;
};
};
["slotSize"] = 35;
["slotSpacing"] = 0;
["type"] = "bar";
["visibleSlots"] = 5;
["wheelSpeed"] = 0;
};
}
|
|
|
03-23-2021, 07:29 PM
|
|
The Undying
Forum posts: 202
File comments: 457
Uploads: 20
|
Re: Re: Re: Awesome
Thanks, I'll look into it. But as a temporary workaround, you can change the "Advance to next slot" option to "Left-click" instead of "When item is equipped".
|
|
|
03-24-2021, 04:13 AM
|
|
The Wary
Forum posts: 2
File comments: 22
Uploads: 0
|
The mistery of the disappearing items
Hello,
i am an avid user of the command.
i have noticed that sometimes, sorting a portion of the bags causes items to disappear from inventory completely.
This seems to affect duplicates in different slots,
for instance yesterday I used to sort the beginning of the bag which was filled by landscape and instance drops, and 4 heritage runes completely vanished.
I don't know how to reproduce, it seems completely random.
I believe it is an api bug, not a bug in the code, but i am not sure
did you ever experience something like this?
maybe a delay in the function could help?
Thanks in advance and regards.
Tappo
|
|
|
03-24-2021, 11:56 AM
|
|
The Undying
Forum posts: 202
File comments: 457
Uploads: 20
|
Re: The mistery of the disappearing items
Quote:
Originally Posted by Tappo
Hello,
i am an avid user of the command.
i have noticed that sometimes, sorting a portion of the bags causes items to disappear from inventory completely.
This seems to affect duplicates in different slots,
for instance yesterday I used to sort the beginning of the bag which was filled by landscape and instance drops, and 4 heritage runes completely vanished.
I don't know how to reproduce, it seems completely random.
I believe it is an api bug, not a bug in the code, but i am not sure
did you ever experience something like this?
maybe a delay in the function could help?
|
That's bizarre. Are you sure the runes weren't stacked together into a single slot?
|
|
|
03-25-2021, 08:52 AM
|
|
The Wary
Forum posts: 2
File comments: 22
Uploads: 0
|
Re: Re: The mistery of the disappearing items
Quote:
That's bizarre. Are you sure the runes weren't stacked together into a single slot?
|
yes, they were runes from h&r and stairs run. fellowship tradable and on a cd timer, so they cannot stack. but the issue with me is not limited to that particular occurency, sometimes task items seems to disappear as well. i am never sure since i use sort when i have a lot of cruft in the bags.
does PerformItemDrop() funciton cause stacking ?
in this case there is something i do not fully understand in your code
you create a sorted table of the items in the backpack slot range
Code:
for bpSlot in series:numbers(safety) do
local item = backpack:GetItem(bpSlot);
if (item) then
item.slot = bpSlot;
table.insert(items, item);
end
table.sort(items, comp);
end
then you perform moving by dropping items in the destination slot based on ordering, and you remove the item from the table
Code:
for bpSlot in series:numbers(safety) do
local item = table.remove(items, 1);
if (item and (item.slot ~= bpSlot)) then
backpack:PerformItemDrop(item, bpSlot, false);
end
end
lets say slot 1 contains A(15)
slot 2 contains B(x) <- don't care about quantity
slot 3 contains A(20)
the number in parenthesis represent quantity
we sort slots 1-3
table will be - A(20) from slot 3
- A(15) from slot 1
- B(x) from slot 2
we move A(20) to slot 1 causing a merge
at this point the Item A(15) at position 2 in the list does not exist anymore (or is it replaced by same item with different quantity)
we move the outdated item to slot 2: what happens here?
does it sound strange, or am i worrying too much because item is really a reference?
Update:
when sorting fails i have the following message in chat:
Code:
[03/28 00:46:53 AM] ...gs Online\Plugins\Thurallor\SequenceBars\Manager.lua:287: Drag and Drop failed! Source item not found!
and one slot in the middle of the range is empty.
repeating the sort yelds the same message again, and again.
only reloading the plugin makes it disappear.
Last edited by Tappo : 03-27-2021 at 06:54 PM.
|
|
|
04-08-2021, 07:46 PM
|
|
The Wary
Forum posts: 0
File comments: 3
Uploads: 0
|
Hide descriptions on mouseover
Hi Thurallor!
First of all: amazing job. I'm a new player to LotRO, so I'm still learning the gameplay, but this addon worth everything. I simply set up my rotation, and only have to execute it, without searching the skills on the action bars. Really amazing!
I want to ask about one thing only. Is it possible to hide the description of the spells in the addon's bars? I've positioned my two sequences to the center above the quickslot bars, and the descriptions displayed on mouseover during execution are covering quite a big surface from the screen. I was trying to find an option for that, but I didn't manage to do so.
Thank you very much in advance!
Last edited by lord_magister : 04-08-2021 at 07:47 PM.
|
|
|
04-09-2021, 01:27 PM
|
|
The Undying
Forum posts: 202
File comments: 457
Uploads: 20
|
Re: Hide descriptions on mouseover
Tappo: Sorry for the delay in replying to you. I hope to have some time this weekend to look into your issue.
Quote:
Originally Posted by lord_magister
First of all: amazing job. I'm a new player to LotRO, so I'm still learning the gameplay, but this addon worth everything. I simply set up my rotation, and only have to execute it, without searching the skills on the action bars. Really amazing!
|
Thanks!
Quote:
I want to ask about one thing only. Is it possible to hide the description of the spells in the addon's bars? I've positioned my two sequences to the center above the quickslot bars, and the descriptions displayed on mouseover during execution are covering quite a big surface from the screen. I was trying to find an option for that, but I didn't manage to do so.
|
There is no SeqenceBars option, because tooltips are not handled by the plugin. The options relating to "tooltips" are in the main Options window of the game.
You can adjust the "Tooltip Delay" (amount of time you have to hover your mouse over something before the tooltip appears) in the "UI Settings" panel of the Options window.
In that same panel, there is an option to "Enable static placed tooltips", which will cause the tooltips to display somewhere else on the screen (configurable with Ctrl+\) instead of near the mouse cursor.
|
|
|
05-04-2021, 01:24 PM
|
|
The Wary
Forum posts: 0
File comments: 1
Uploads: 0
|
Echoes of Battle
Hi! Great plugin. I rely on it more than I probably should and have built some reasonably complex sequences.
I have one thing I can't figure out yet: Some skills (like Echoes of Battle or Track Mines) become active when used.
Echoes places an effect on the target which I don't think I can use in a sequence. Is there a way to detect if the skill is running (i.e. has a crawling border)?
|
|
|
05-04-2021, 06:06 PM
|
|
The Undying
Forum posts: 202
File comments: 457
Uploads: 20
|
Re: Echoes of Battle
Quote:
Originally Posted by Candy
Hi! Great plugin. I rely on it more than I probably should and have built some reasonably complex sequences.
I have one thing I can't figure out yet: Some skills (like Echoes of Battle or Track Mines) become active when used.
Echoes places an effect on the target which I don't think I can use in a sequence. Is there a way to detect if the skill is running (i.e. has a crawling border)?
|
Unfortunately, no. The Lua API doesn't support it. The only way to possibly support it in a plugin would be by watching the chat log and remembering the last "activated" message (if any). Such a feature is on my to-do list, but I don't have much time these days for working on my plugins. Maybe that will change in a few months.
|
|
|
05-13-2021, 06:55 PM
|
|
The Wary
Forum posts: 4
File comments: 15
Uploads: 0
|
Select Target - Raid member by name
Is there a special action (other than pressing return) you need to do for it to recognize the member name you just typed in? 99% of the time, I still get "None" (in red) displayed.
|
|
|
05-13-2021, 08:03 PM
|
|
The Undying
Forum posts: 202
File comments: 457
Uploads: 20
|
Re: Select Target - Raid member by name
Quote:
Is there a special action (other than pressing return) you need to do for it to recognize the member name you just typed in? 99% of the time, I still get "None" (in red) displayed.
|
Not sure, and I don't have time to test it now. If the person is currently in your raid, their name should appear in green.
Did you try moving the mouse out of the window and back in?
|
|
|
05-18-2021, 11:14 PM
|
|
The Wary
Forum posts: 4
File comments: 15
Uploads: 0
|
Re: Re: Select Target - Raid member by name
> Did you try moving the mouse out of the window and back in?
I don't recall if I have done that or not. I'll try next time I'm in raid as LM.
|
|
|
All times are GMT -5. The time now is 01:21 AM.
|
|