Download
(28 Kb)
Download
Updated: 04/17/23 05:55 PM
Compatibility:
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Lost Depths (8.1.5)
High Isle (8.0.0)
Updated:04/17/23 05:55 PM
Created:04/22/21 09:08 AM
Monthly downloads:286
Total downloads:23,021
Favorites:33
MD5:
FCO Companion  Popular! (More than 5000 hits)
Version: 0.16
by: Baertram [More]
FCO Companion

Simple addon to add companion related helpers to the game.

Currently supported:


-Enable context menu on companion items: "Mark as junk"/"Unmark from junk"
Works at player inventory, banks and companion equipment.
Companion equipment inventory shows a new "Junk" tab for the junked items now, and hides junked items at the other tabs.
-> Important: The companion junk itms will ONLY save per toon/character, and not account wide, no matter what you have chosen to save the settings like (SaveMode: "Account wide" or "Per Character")!
-Disable companion pin at compass
-Dismiss companion as you interact with a crafting table
-Re-summon companion as you leave the crafting table
-Dismiss companion at banks
-Re-summon companion after leaving banks
-Dismiss companion at vendors/fences
-Re-summon companion after leaving vendors
-Dismiss companion as you interact with a fishing hole
-Re-summon companion as you leave the fishing hole (a delay can be set)
-Dismiss companion as you go into crouch
-Re-summon companion as you leave the crouch (a delay can be set)

Due to the restrictions/cooldown of the companion spawn/dismiss will be delayed sometimes. As long as the collectible cannot be used it will not despawn/spawn, but should depawn/spawn after the cooldown is 0 then.

Keybindings:
  • Toggle last companion
  • Toggle companion 1 (Bastian Hallix)
  • Toggle companion 2 (Mirri Elendis)



Companion menu cannot be shown via keybind as most functionality is not working then You need to interact with the companion in order to start the companion menu properly (sucks, I know).
Version 0.1.6 (2023-04-18)
Fixed interacitons on PTS "Necrom" not working, throwing an error


Version 0.1.5 (2023-02-17)
-Removed API function FCOCO.SetCompanionItemJunk
Instead you should use the default API function SetItemIsJunk which was enhanced by 2 optional new parameters:
SetItemIsJunk(bagId, slotIndex, isJunk, isCompanionItem, itemInstanceId)
If the item is a companion item and FCOC settings has enabled the companion junk, then this functin will mark/unmark companion items as Junk and update the inventory lists afterwards.
If the 2 additional params are left empty they will be determined internally

This makes FCOCO companion junk hopefully compatible with all kind of junk and keybind junk addons which use default API functions IsItemJunk, CanBeJunkMarked, SetItemIsJunk, HasAnyJunk.

-Removed explicit context menu entry for "Remove from junk" and let the addon reuse vanilla code context menu entry for that now.
This allowed me to remove extra code to prevet duplicate "Remove from junk" context menu entries too.
In order to make that work I had to change the function SetItemJunk as described above

-Made compatible with FCOItemSaver "Send 'Sell marked items' to junk" keybind

-Added function SellAllJunk so that companion junked items will be sold too
-Added function DestroyAllJunk so that companion junked items will be destroyed too
-> Thanks to Maxxermax for the hints!

Version 0.1.4 (2023-02-08)
-Added support for API function HasAnyJunk
-Prepared for AdvancedFilters

Version 0.1.3 (2023-02-06)
-Added setting "Mark companion items as junk" which enables you to mark/unmark your companion items as junk
Junk markers will be saved per character/toon and won't be removed automatically once you sell/destroy those items (like vanilla junk markers). They will be kept until you manually remove them.
The companion equipment inventory got a new tab "Junk" now.
Items marked as junk which will be deposit to a guild bank will be automatically unjunked again
-Added sub setting "Auto mark same items in bag" which will mark/unmark the same companion items in your current bag, as you mark/unmark as junk, as junk to (visual moving the items from companion tab to junk tab)


Version 0.1.2 (2022-05-26)
-Updated API
-Added up to 10 companion summon/hide keybinds
-Added support for PTS High Isle
-Changed keybind names to show the companion name

Version 0.1.1 (2022-01-25)
-Updated API
-Removed the hide ultimate button settings and related coding as it flickers and troubles the UI. This will not be added
anymore, sorry.

Version 0.1.0 (2021-08-08)
Added setting to hide the ultimate button. It might flicker shortly after a weapon pair / bar switch!

Version 0.0.9 (2021-07-04)
Added settings to dismiss the companion as you start to crouch and get hidden
Settings to re-summon it again after crouching, with a delay (so that a new crouch started won't respawn the companion) were also added.

Version 0.0.8 (2021-06-30)
Added settings to dismiss the companion as you start to fish (will be gone after ~1 second after interacting with the fish hole).
Settings to re-summon it again after fishing was ended (in between or via loot), with a delay (so that new started fishing attempts won't respawn the companion) were also added.

Version 0.0.7 (2021-06-12)
Added setting to hide the companion pin on the compass

Version 0.0.6 (2021-06-11)
Added settings to:
-Dismiss companion at banks
-Re-summon companion after leaving banks
-Dismiss companion at vendors/fences
-Re-summon companion after leaving vendors/fences

Version 0.0.5 (2021-06-06)
Added rapport "max" value to the rapport bar.

Version 0.0.4 (2021-06-03)
-Added the rapport value to the rapport bar (keyboard mode only!) as requested here: https://www.esoui.com/forums/showpost.php?p=44042&postcount=4

Version 0.0.3 (2021-06-03)
-Added settings to dismiss the companion at a crafting table
-Added settings to re-summon the companion after leaving the crafting table (if a companion was active as the crafting table was interacted with first)
-Added some cooldown checks and re-summon the companion after the cooldown of the collectible is gone (if used too quickly after another)
Archived Files (15)
File Name
Version
Size
Uploader
Date
0.15
28kB
Baertram
02/16/23 05:24 PM
0.14
26kB
Baertram
02/08/23 03:16 PM
0.13
26kB
Baertram
02/06/23 04:19 PM
0.12
20kB
Baertram
05/26/22 02:41 PM
0.11
19kB
Baertram
01/25/22 08:30 AM
0.10
20kB
Baertram
08/08/21 01:20 PM
0.09
19kB
Baertram
07/04/21 09:18 AM
0.08
18kB
Baertram
06/30/21 01:07 PM
0.07
16kB
Baertram
06/12/21 12:13 PM
0.06
16kB
Baertram
06/10/21 04:34 PM
0.05
15kB
Baertram
06/06/21 12:00 PM
0.04
15kB
Baertram
06/03/21 05:19 PM
0.03
14kB
Baertram
06/03/21 03:37 PM
0.02
9kB
Baertram
04/22/21 03:21 PM
0.01
5kB
Baertram
04/22/21 09:12 AM


Post A Reply Comment Options
Unread 02/16/23, 02:20 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4994
File comments: 6050
Uploads: 78
Re: Re: Re: Selling all junk items

Edit:
Disabled ALL addons via the addon list -> flag above the addons.
Reloadui.
Talked to vendor (armor), selltab,
Keybind is shown, you are right.

I maybe had nothing in junk as I checked last time....
Originally Posted by Neverlands
...
Last edited by Baertram : 02/16/23 at 02:49 PM.
Report comment to moderator  
Reply With Quote
Unread 02/16/23, 01:27 PM  
Neverlands
 
Neverlands's Avatar

Forum posts: 7
File comments: 574
Uploads: 0
Re: Re: Selling all junk items

Originally Posted by Baertram
Originally Posted by Neverlands
When I mark the Companion items as junk, they appear correctly in the junk tab. However, when I go to a merchant to sell all the junk, everything is sold except the Companion items. I have to manually sell them individually.
Is this sell all junk a standard functionality of ESO or is this added by any other addon?
I sometimes see it too, but not always, so I guess it's an addon added keybind?

Edit:
I've just disabled all addons and neither my spawnable vendor nor any NPC vendor got a "Sell all junk" keybind or button, so this is added by an addon I guess.
Hmm that is strange Baertram. I disabled all addons and still have the button. There's a thread in the ESO forums, which seems to prove that the button is there per default.
I can see the button at any merchant in the world, if I click on sell -> junk tab. Except the personal merchants you can buy at the crown shop.

Here is a screenshot from Lennoc Spennard in Gonfalon's inn:




The keybind for the button comes from Standard Keybinds -> User Interface Shortcuts - Decline/Negative/abandon Action


Last edited by Neverlands : 02/16/23 at 01:39 PM.
Report comment to moderator  
Reply With Quote
Unread 02/16/23, 04:23 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4994
File comments: 6050
Uploads: 78
Re: Selling all junk items

Originally Posted by Neverlands
When I mark the Companion items as junk, they appear correctly in the junk tab. However, when I go to a merchant to sell all the junk, everything is sold except the Companion items. I have to manually sell them individually.
Is this sell all junk a standard functionality of ESO or is this added by any other addon?
I sometimes see it too, but not always, so I guess it's an addon added keybind?

Edit:
I've just disabled all addons and neither my spawnable vendor nor any NPC vendor got a "Sell all junk" keybind or button, so this is added by an addon I guess.
Last edited by Baertram : 02/16/23 at 11:46 AM.
Report comment to moderator  
Reply With Quote
Unread 02/15/23, 04:34 PM  
Neverlands
 
Neverlands's Avatar

Forum posts: 7
File comments: 574
Uploads: 0
Selling all junk items

When I mark the Companion items as junk, they appear correctly in the junk tab. However, when I go to a merchant to sell all the junk, everything is sold except the Companion items. I have to manually sell them individually.
Report comment to moderator  
Reply With Quote
Unread 02/14/23, 03:26 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4994
File comments: 6050
Uploads: 78
Re: mark/unmark companion items as junk via JunkHotkey

Edited:
I'll have to test how to add companion junk to other addons. Guess I need to install your addon JunkHotkey and try.
I think I need to change the FCOCompanion.SetCompanionItemIsJunk to use the original SetItemIsJunk function instead, to make it more compatible.

Edit2:
Yep, I've changed the code of FCOCompanion so that it will use SetItemIsJunk, and from that call setCompanionItemJunk + the inventory update internally. That way your addon and others should just work fine and only maybe need to add the

Code:
## OptionalDependsOn: FCOCompanion>=001050
to their txt file.
Last edited by Baertram : 02/16/23 at 12:54 PM.
Report comment to moderator  
Reply With Quote
Unread 02/13/23, 01:06 PM  
Maxxermax
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 75
Uploads: 2
mark/unmark companion items as junk via JunkHotkey

Hello Baertram,

I tried to make JunkHotkey compatible with your "mark/unmark companion items as junk" function.
If FCOCompanion settings are set to "Companion items->junk ON" JunkHotkey detects it as "junkable", which is displayed in the KEYBIND_STRIP.

To mark/unmark Companion items I added this to my code:
Lua Code:
  1. if isCompanionJunkEnabled then
  2.     FCOCO.SetCompanionItemIsJunk(hoveredBagId, hoveredSlotId, not isItemJunk)
  3. end

It marks/unmarks it as junk, but the inventory don't update until a ui reload.

SetItemIsJunk seems to have a builtin inventory update.

Because I lent most of the code from dustman and I learn eso lua in my spare time, I don't fully understand, what I'm doing.

Full code:
Warning: Spoiler
Report comment to moderator  
Reply With Quote
Unread 02/11/23, 11:51 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4994
File comments: 6050
Uploads: 78
Re: Re: Re: Re: Re: Settings per companion

Thank you
One cannot prevent interaction btw. as the game does not provide a way, without raising errors, to do so. Hiding the interaction label is all we can do,but the keybinds are still active then, right.

Skills can be prevented via workarounds (like prevent using necro skills).

And you are correct about all these rapport differences. As there is no api to detect what companion like or dislike and often one cannot detect things as you try to do them at all, I'm not going to work on this and update it each patch, add next companions likes and dislikes. This is too much work for me.

Originally Posted by M-ree
Originally Posted by Baertram
I think there already exist other companion addons which respect these rapport driven stuff, like prevent bug collection while Mirri is out etc.
Actually, that add-on does not /prevent/ bug collection (unlike e.g. Lazy Writ Crafter actually preventing stealing), it only hides the prompt, but if you tap E or whatever have you when the bug is in crosshairs, you still grab it, and Mirri still gets a rapport hit, obviously.

Edit: Oh, and yeah, came here to say this add-on is just perfect, but got sidetracked
Last edited by Baertram : 02/11/23 at 11:54 AM.
Report comment to moderator  
Reply With Quote
Unread 02/10/23, 03:18 PM  
M-ree

Forum posts: 2
File comments: 516
Uploads: 0
Re: Re: Re: Re: Settings per companion

Originally Posted by Baertram
I think there already exist other companion addons which respect these rapport driven stuff, like prevent bug collection while Mirri is out etc.
Actually, that add-on does not /prevent/ bug collection (unlike e.g. Lazy Writ Crafter actually preventing stealing), it only hides the prompt, but if you tap E or whatever have you when the bug is in crosshairs, you still grab it, and Mirri still gets a rapport hit, obviously.

Edit: Oh, and yeah, came here to say this add-on is just perfect, but got sidetracked
Last edited by M-ree : 02/10/23 at 03:24 PM.
Report comment to moderator  
Reply With Quote
Unread 02/10/23, 03:15 PM  
M-ree

Forum posts: 2
File comments: 516
Uploads: 0
Re: Re: Re: Settings per companion

Originally Posted by Neverlands
Originally Posted by Baertram
Originally Posted by Neverlands
Hello,
could we maybe get an option for settings per companion, since they like/dislike different things?
Which use case would come to your mind here for the existing settings?
I'm not going to add respawn after crafting etc. as a setting dependent per companion.
Ember likes pickpocketing and similar - but Isobel & Basti do not. So when sneaking, I would always have to rearrange who gets fired.
When crafting, only Isobel gains rapport (black smithing).
Wrong. Isobel also gets positive rapport when cooking sweets, Mirri gets positive rapport when brewing booze, and Bastian gets negative rapport when cooking anything with cheese.

Oddly, Ember does not get any rapport when crafting glyphs, despite her comments when harvesting runestones.
Report comment to moderator  
Reply With Quote
Unread 02/08/23, 05:12 PM  
Neverlands
 
Neverlands's Avatar

Forum posts: 7
File comments: 574
Uploads: 0
Re: Re: Re: Issue with Advanced Filters

Version 0.1.4 (2023-02-08)
-Prepared for AdvancedFilters



Many thanks!



Originally Posted by Neverlands
Thanks for the information, Baertram

Originally Posted by Baertram
Hi Neverlands,

yeah, these "custom tab filters" always are troubling addons like AdvancedFilters etc.
I need to work on it in the future (AF), for now please disable AF or FCOCO (both in combination do not work yet).

Originally Posted by Neverlands
Hello Baertram,


-Added setting "Mark companion items as junk" which enables you to mark/unmark your companion items as junk

thanks for the great new feature, I've been looking for something like this for a long time.

I have both new junk options enabled.
However, I am having a problem in combination with Advanced Filters.
When I switch to the Companion junk tab in the Companion equipment menu, I get an Advanced Filter error message in chat (whether there is an item there or not):

Code:
[ ShowSubfilterBar - SubFilterBar missing].
InventoryType: 39, craftingType: 0/0, currentFilter: 9, subFilterGroupMissing: false, subfilterBarMissing: false
In the "normal" player inventory, I don't see the item in the junk tab at all; it's effectively disappeared.

Without Advanced Filters, everything works fine.
Report comment to moderator  
Reply With Quote
Unread 02/07/23, 04:14 PM  
Neverlands
 
Neverlands's Avatar

Forum posts: 7
File comments: 574
Uploads: 0
Re: Re: Issue with Advanced Filters

Thanks for the information, Baertram

Originally Posted by Baertram
Hi Neverlands,

yeah, these "custom tab filters" always are troubling addons like AdvancedFilters etc.
I need to work on it in the future (AF), for now please disable AF or FCOCO (both in combination do not work yet).

Originally Posted by Neverlands
Hello Baertram,


-Added setting "Mark companion items as junk" which enables you to mark/unmark your companion items as junk

thanks for the great new feature, I've been looking for something like this for a long time.

I have both new junk options enabled.
However, I am having a problem in combination with Advanced Filters.
When I switch to the Companion junk tab in the Companion equipment menu, I get an Advanced Filter error message in chat (whether there is an item there or not):

Code:
[ ShowSubfilterBar - SubFilterBar missing].
InventoryType: 39, craftingType: 0/0, currentFilter: 9, subFilterGroupMissing: false, subfilterBarMissing: false
In the "normal" player inventory, I don't see the item in the junk tab at all; it's effectively disappeared.

Without Advanced Filters, everything works fine.
Report comment to moderator  
Reply With Quote
Unread 02/07/23, 03:58 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4994
File comments: 6050
Uploads: 78
Re: Issue with Advanced Filters

Hi Neverlands,

yeah, these "custom tab filters" always are troubling addons like AdvancedFilters etc.
I need to work on it in the future (AF), for now please disable AF or FCOCO (both in combination do not work yet).

Originally Posted by Neverlands
Hello Baertram,


-Added setting "Mark companion items as junk" which enables you to mark/unmark your companion items as junk

thanks for the great new feature, I've been looking for something like this for a long time.

I have both new junk options enabled.
However, I am having a problem in combination with Advanced Filters.
When I switch to the Companion junk tab in the Companion equipment menu, I get an Advanced Filter error message in chat (whether there is an item there or not):

Code:
[ ShowSubfilterBar - SubFilterBar missing].
InventoryType: 39, craftingType: 0/0, currentFilter: 9, subFilterGroupMissing: false, subfilterBarMissing: false
In the "normal" player inventory, I don't see the item in the junk tab at all; it's effectively disappeared.

Without Advanced Filters, everything works fine.
Report comment to moderator  
Reply With Quote
Unread 02/07/23, 03:23 PM  
Neverlands
 
Neverlands's Avatar

Forum posts: 7
File comments: 574
Uploads: 0
Issue with Advanced Filters

Hello Baertram,


-Added setting "Mark companion items as junk" which enables you to mark/unmark your companion items as junk

thanks for the great new feature, I've been looking for something like this for a long time.

I have both new junk options enabled.
However, I am having a problem in combination with Advanced Filters.
When I switch to the Companion junk tab in the Companion equipment menu, I get an Advanced Filter error message in chat (whether there is an item there or not):

Code:
[ ShowSubfilterBar - SubFilterBar missing].
InventoryType: 39, craftingType: 0/0, currentFilter: 9, subFilterGroupMissing: false, subfilterBarMissing: false
In the "normal" player inventory, I don't see the item in the junk tab at all; it's effectively disappeared.

Without Advanced Filters, everything works fine.
Report comment to moderator  
Reply With Quote
Unread 09/04/22, 01:01 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4994
File comments: 6050
Uploads: 78
Re: Feature

It should dismiss as you interact with a vendor (maybe fence counts as vendor too, never tested it).
But it's not dismissing any companion as you enter an outlaw refuges.
And I would not be able to detect that prir to being in any outlaw refuge where it would be too late in the end (if Isobel's raport decreases directly at the beginning where you enter such outlaw refuge?).
The API would only be able to "react" on event_player_activated where I then am able to check if I'm currently in an outlaw refuge. But at this time I guess Isobel would have disliked already being dragged in there -> Too late.

I'm not going to start some magic like "check for the door names of all outlaw refuges on all maps" so that if you move your cursor above the name and press interact -> Isobel would be dismissed! If this would be even possible.

I guess you guys just need to learn to train your brain again to remember dismissing her in time It's a good exercise to stay fit.



Originally Posted by Rhumor
I didn't see that this was added yet, so would it be possible to add a feature do dismiss/summon companions when entering/leaving outlaw refuges? I use Isobel a lot and I keep forgetting to dismiss her when entering those and she's sensitive to those types of environments

Unless this is included in the vendor/fences?
Report comment to moderator  
Reply With Quote
Unread 09/03/22, 08:52 PM  
Rhumor

Forum posts: 1
File comments: 5
Uploads: 0
Feature

I didn't see that this was added yet, so would it be possible to add a feature do dismiss/summon companions when entering/leaving outlaw refuges? I use Isobel a lot and I keep forgetting to dismiss her when entering those and she's sensitive to those types of environments

Unless this is included in the vendor/fences?
Last edited by Rhumor : 09/03/22 at 08:53 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.