|
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.
|
|
|
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.
|
|
|
03-24-2021, 11:56 AM
|
|
The Undying
Forum posts: 202
File comments: 458
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-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-23-2021, 07:29 PM
|
|
The Undying
Forum posts: 202
File comments: 458
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-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-22-2021, 09:46 PM
|
|
The Undying
Forum posts: 202
File comments: 458
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-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-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-14-2021, 02:57 PM
|
|
The Undying
Forum posts: 202
File comments: 458
Uploads: 20
|
Re: Advanced Lua question
Quote:
I'd like to setup a large number of sequence bars and think a multi-conditional Lua Slot is the best option. I've combined and (A and B) as described in the documentation but I want to take it another step... I'd like to setup a custom blank template. Then I can clone, drop a skill in, and its ready to go.
Is it possible to replace the skill name with a variable or function that will automatically pull name of a predetermined slot #? In this case Slot #2
PHP Code:
return ((Thurallor.Utils.Watcher.SkillReady("Spear and Spear")) and (Thurallor.Utils.Watcher.SkillUsable("Spear and Spear")));
|
Ha, you are definitely a "power user" now. Beware, with great power comes great responsibility.
You can set a variable "skillName" as follows:
Code:
local slot, player = ...;
skillName = slot.bar.slots[2]:GetSkillName();
Notes:
1. The "slots" array excludes any blank slots in your sequence.
2. If there isn't a skill in slot 2, skillName will be nil.
3. If you want to use a relative slot number, the slot number of the current slot (again, excluding blank slots) can be obtained:
Code:
local slot, player = ...;
slotNum = slot.s;
skillName = slot.bar.slots[slotNum + 1]:GetSkillName();
Good luck!
|
|
|
03-14-2021, 07:27 AM
|
|
The Wary
Forum posts: 1
File comments: 11
Uploads: 1
|
Advanced Lua question
I'd like to setup a large number of sequence bars and think a multi-conditional Lua Slot is the best option. I've combined and (A and B) as described in the documentation but I want to take it another step... I'd like to setup a custom blank template. Then I can clone, drop a skill in, and its ready to go.
Is it possible to replace the skill name with a variable or function that will automatically pull name of a predetermined slot #? In this case Slot #2
PHP Code:
return ((Thurallor.Utils.Watcher.SkillReady("Spear and Spear")) and (Thurallor.Utils.Watcher.SkillUsable("Spear and Spear")));
|
|
|
01-22-2021, 03:36 PM
|
|
The Wary
Forum posts: 0
File comments: 73
Uploads: 0
|
Re: Save target / target guide
Quote:
Thank you very much.
Did so, now just have to test it.
I assume I have to be in fellowship for it to work.
Will get back after testing.
|
Tested, and now it is working.
Thank you so much for taking time for me.
|
|
|
01-20-2021, 07:37 PM
|
|
The Wary
Forum posts: 0
File comments: 73
Uploads: 0
|
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Save target / target guide
Quote:
This indicates that the plugin is not installed correctly. (Im particular, the file "Thurallor/Common/Utils/Watcher.lua" is probably out of date.) Try this:
1. Download the zip file again.
2. Unzip it and find the "Thurallor" folder.
3. Drag the "Thurallor" folder into your "Documents\The Lord of the Rings Online\Plugins" folder.
4. There is already a "Thurallor" folder there, so when it asks if you want to overwrite files, answer "Yes".
|
Thank you very much.
Did so, now just have to test it.
I assume I have to be in fellowship for it to work.
Will get back after testing.
|
|
|
01-19-2021, 08:38 PM
|
|
The Wary
Forum posts: 0
File comments: 2
Uploads: 0
|
Re: Re: help me please i need this plugin!
I watched the vid's and have already started making sequences . This plugin helps me already. Thanks!
|
|
|
01-17-2021, 06:21 PM
|
|
The Undying
Forum posts: 202
File comments: 458
Uploads: 20
|
Re: help me please i need this plugin!
Quote:
Originally Posted by working925
I have recently had a stroke and cannot fully use both hands. This plugin would help me a lot but my computer programming skills are not that great (I am 65 yrs old as well).
Is there a repository of scripts around that I could download and paste? I play a hunter and want to bow-swap and max my dps.
|
Unfortunately, no. I think your best option is to ask in the Hunter forum. If anyone else is using the plugin, they can "export" their sequences and you can "import" them.
Otherwise, you can make your own sequences. You don't need programming skills to be able to do that, just a willingness to tinker with the options until you learn how it works. (I've also made a few YouTube videos over the years.) I'd be happy to answer specific questions if you need help.
|
|
|
All times are GMT -5. The time now is 02:07 PM.
|
|