Download
(17 Kb)
Download
Updated: 04/05/24 10:35 AM
Pictures
File Info
Compatibility:
Scions of Ithelia (9.3.0)
Endless Archive (9.2.5)
base-game patch (9.1.5)
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/05/24 10:35 AM
Created:01/14/22 10:06 AM
Monthly downloads:1,360
Total downloads:29,711
Favorites:51
MD5:
9.3.0
FOB - Companion Helper  Popular! (More than 5000 hits)
Version: 2.12.1
by: FlatBadger [More]
FOB is a companion mod to prevent accidental companion interaction.

Ever clicked to loot something only to find your companion conversation starting because they have leapt in front of you to grab all your attention? Annoying isn't it? (Well, I find it annoying).
  • Prevents any companion interactions from happening
  • Toggle the original functionality or toggle your companion using keybindings
  • Ignore flying insects when Mirri is out, or only allow ones that don't decrease rapport
  • Prevent criminal interactions when Bastian or Isobel is out
  • When you move the reticle over a companion, nothing will happen. Click the action button over a companion, nothing will happen. Bliss.
  • Stop losing Rapport with Bastian when you craft something with cheese in it. FOB will warn you and cancel the crafting of that item. Works with DailyProvisioning too.
  • Alternate summoning message frame
  • Prevent entry to Outlaw's Refuges when Isobel is out
  • Prevent fishing when Ember is out
  • Prevent mushroom gather or recipes with coffee for Azander
  • Block outfit stations and warn of low gear durability for Sharp as Night
Now, if I could only get them to shut up too...

Compatible with DailyProvisioning and RuEso (as of V2.3.0)

Slash Commands
/fob - open FOB's settings page

Translated to deutsch, français & русский

Requires:
  • LibChatMessage
  • LibSavedVars
Version: 2.12.1 ---------------
Font update

Version: 2.12.0 ---------------
Scions update

Version: 2.11.0 ---------------
Patch 40 update

Version: 2.10.8 ---------------
Bugfix for Sharp as night equipment durability check

Version: 2.10.7 ---------------
Non-English mushroom update and typo correction

Version: 2.10.6 ---------------
Missing mushrooms (English) added. Tanslations needed for other languages

Version: 2.10.5 ---------------
Bugfix for durability check

Version: 2.10.4 ---------------
Bugfix for fishing cancellation in Necrom

Version: 2.10.3 ---------------
Handle removal of Fishing Manager in Necrom

Version: 2.10.2 ---------------
German translation updates

Version: 2.10.1 ---------------
Fixed Mirri insects bug

Version: 2.10.0 ---------------
Update for Necrom

Version: 2.9.0 ---------------
Update for Scribes of Fate

Version: 2.8.0 ---------------
Update for Firesong

Version: 2.7.0 ---------------
Update for Lost Depths

Version: 2.6.10 ---------------
More German corrections

Version: 2.6.9 ---------------
German translation corrections
Fixed an issue with Outlaw's Refuges and Thieves' Dens in non-English clients

Version: 2.6.8 ---------------
German translation updated
Interaction tweaks

Version: 2.6.7 ---------------
Reworked interaction cancelling code
Added option for disabling companion interaction

Version: 2.6.6 ---------------
German translation updates - thanks Neverlands

Version: 2.6.5 ---------------
Minor code reversion on interaction cancellation

Version: 2.6.4 ---------------
Added setting to prevent entry to Outlaw's Refuges for Isobel

Version: 2.6.3 ---------------
Settings bug fix

Version: 2.6.2 ---------------
Alert bug fix

Version: 2.6.1 ---------------
Bugfix for Ember and Isobel recognition
Interaction prevention options added for Ember and Isobel
Fixed LAM2 missing entry issue

Version: 2.6.0 ---------------
Update for High Isle

Version: 2.5.2 ---------------
Added missing dependency
Updated ToC Version

Version: 2.5.1 ---------------
Fixed summoning frame issue reported by LoneStart2911
Companion resummoning variables moved from account-wide to character specific

Version: 2.5.0 ---------------
Updated for Ascending Tide

Version: 2.4.1 ---------------
Try to handle 'Steal From', 'Trespass' and 'Pickpocket' for Bastian

Version: 2.4.0 ---------------
Changed dismiss companion to toggle companion
Added alternate summoning message frame

Version: 2.3.2 ---------------
Functionality disabled in irrelevant scenes to prevent unintended interference

Version: 2.3.1 ---------------
Russian translations correction
Insects updated

Version: 2.3.0 ---------------
Added compatibility with the RuEso addon

Version: 2.2.3 ---------------
Russian translations updated - thanks Bolsen945

Version: 2.2.2 ---------------
Opening the Companion Menu outside ESO code does not correctly enable all
functionality - disabling this for now

Version: 2.2.1 ---------------
Bugfix for ignoring insects when Bastian is out

Version: 2.2.0 ---------------
Added new option to warn when you're about to craft something with cheese

Version: 2.1.0 ---------------
Added new options, ignore insects all the time, allow insects that do not decrease rapport

Version: 2.0.2 ---------------
Localisation improvement - thanks again Baertram

Version: 2.0.1 ---------------
Russian translations added - thanks Bolsen945
French translations added

Version: 2.0.0 ---------------
Added option to ignore flying insects when Mirri is summoned (requires translations)
Added option to prevent criminal interactions when Bastian is summoned
Added German translations for flying insects
Correct localisation issue for Companion detection in non-English languages
Added /fob

Version: 1.0.3 ---------------
Corrected localisation issue

Version: 1.0.2 ---------------
German translations added (thanks again Baertram)
Companion ids obtained through different method

Version: 1.0.1 ---------------
Various code improvements (thanks Baertram)
Added a keybind to toggle the default interaction behaviour

Version: 1.0.0 ---------------
Initial Release
Optional Files (0)


Archived Files (43)
File Name
Version
Size
Uploader
Date
2.12.0
398kB
FlatBadger
03/12/24 10:35 AM
2.11.0
17kB
FlatBadger
11/04/23 12:30 PM
2.10.8
17kB
FlatBadger
07/03/23 02:13 PM
2.10.7
17kB
FlatBadger
06/17/23 03:06 PM
2.10.6
17kB
FlatBadger
06/17/23 01:38 AM
2.10.5
17kB
FlatBadger
06/16/23 08:03 AM
2.10.4
17kB
FlatBadger
05/14/23 02:57 AM
2.10.3
17kB
FlatBadger
05/13/23 12:37 PM
2.10.2
17kB
FlatBadger
05/13/23 09:52 AM
2.10.1
16kB
FlatBadger
05/13/23 02:57 AM
2.10.0
16kB
FlatBadger
05/12/23 08:43 AM
2.9.0
12kB
FlatBadger
03/14/23 02:01 PM
2.8.0
12kB
FlatBadger
11/01/22 03:47 PM
2.7.0
12kB
FlatBadger
08/24/22 01:35 PM
2.6.10
12kB
FlatBadger
08/21/22 05:55 AM
2.6.9
12kB
FlatBadger
08/12/22 06:10 AM
2.6.8
12kB
FlatBadger
06/19/22 10:53 AM
2.6.7
12kB
FlatBadger
06/19/22 03:42 AM
2.6.6
12kB
FlatBadger
06/17/22 06:02 AM
2.6.5
12kB
FlatBadger
06/17/22 12:54 AM
2.6.4
12kB
FlatBadger
06/14/22 01:17 PM
2.6.3
12kB
FlatBadger
06/14/22 10:28 AM
2.6.2
12kB
FlatBadger
06/14/22 05:03 AM
2.6.1
12kB
FlatBadger
06/12/22 07:15 AM
2.6.0
11kB
FlatBadger
06/07/22 11:00 AM
2.5.1
11kB
FlatBadger
04/03/22 07:20 AM
2.5.0
11kB
FlatBadger
03/14/22 01:44 PM
2.4.0
11kB
FlatBadger
02/07/22 01:17 PM
2.3.2
10kB
FlatBadger
02/05/22 12:33 PM
2.3.1
10kB
FlatBadger
01/31/22 10:56 AM
2.3.0
10kB
FlatBadger
01/29/22 04:11 AM
2.2.3
10kB
FlatBadger
01/26/22 03:49 PM
2.2.2
10kB
FlatBadger
01/24/22 10:06 AM
2.2.1
10kB
FlatBadger
01/23/22 01:32 PM
2.2.0
10kB
FlatBadger
01/23/22 07:23 AM
2.1.0
7kB
FlatBadger
01/21/22 05:47 AM
2.0.2
7kB
FlatBadger
01/20/22 09:44 AM
2.0.1
7kB
FlatBadger
01/20/22 06:38 AM
 FOB
2.0.0
5kB
FlatBadger
01/18/22 12:06 PM
 FOB
1.0.3
3kB
FlatBadger
01/15/22 10:45 AM
 FOB
1.0.2
39kB
FlatBadger
01/15/22 10:02 AM
 FOB
1.0.1
3kB
FlatBadger
01/14/22 01:18 PM
 FOB
1.0.0
3kB
01/14/22 10:06 AM


Post A Reply Comment Options
Unread 01/14/22, 11:50 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4973
File comments: 6038
Uploads: 78
F**k Off Bastian?
Thanks for the addon!

Attention: But I guess the show companion menu does not work properly if you do not really interact with the companion!
It will show the scene etc. but everything you do will not have any effect afai was told by ZOs DanBatson!
You really need to interact with the companion manually via the default use keybind... Else the shown things are only visual but chnging skills, changing equiment and inventory does nothing as the interaction never "officially" started.

Did you try this? Does it really work? ZOs told us there is no workaround so your scenegroup showing should also be just "visual".




btw:
This is not needed as your addon's EVENT_ADD_ON_LOADED will fire after LibDebugLogger was loaded, due to your ## OptionalDependsOn: entry in your manifest txt
Code:
if (addonName == "LibDebugLogger") then
        zo_callLater(
            function()
                FOB.Logger = _G.LibDebugLogger(FOB.Name)
            end,
            2000
        )
    end
You can just move this after your code
Code:
if (addonName ~= FOB.Name) then
        return
    end
via e.g.
Lua Code:
  1. if LibDebugLogger ~= nil then
  2.    FOB.Logger = LibDebugLogger(FOB.Name)
  3.  end

And the explicitly call to _G is neither needed, but maybe on purpose for an easier global variable find?

And one idea for an imporvement if there might be added more companions to the game:
Add the companion names to a table with key = name and value = boolean true, and check the table then within your reticle checks:

Lua Code:
  1. local BASTIAN = GetCollectibleInfo(...)
  2. local MIRRI = GetCollectibleInfo(...)
  3. local companionNames = {
  4.  [BASTIAN] = true,
  5.  [MIRRI] = true,
  6. }
  7.  
  8. --In your reticel hook function
  9. ...
  10. local isCompanionAction = companionNames[interactableName] or false --the "or false" will be taken into account if there is no "interactableName" entry in the table "companionNames" -> so the return value would be nil -> changed to false
  11. if not isCompanionAction then return false end
  12.  
  13. -- companion detected - we don't want to talk to you, cancel the interaction
  14. local interactionType = GetInteractionType()
  15. EndInteraction(interactionType)
  16. return true
Last edited by Baertram : 01/14/22 at 12:03 PM.
Report comment to moderator  
Reply With Quote
Unread 01/14/22, 12:31 PM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 364
Uploads: 5
Awesome - thanks for the comments. I'll take them on board. I couldn't possibly comment on what FOB stands for

To be honest, I didn't actually try the interacting with the .. er .. interaction, so my bad there - I just made quite a big assumption. I may just add an option to reenable the default behaviour temporarily.

The _G is purely for checking globals as you say - I use luacheck to help me out.
Report comment to moderator  
Reply With Quote
Unread 01/14/22, 01:20 PM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 364
Uploads: 5
Originally Posted by FlatBadger
Did you try this? Does it really work? ZOs told us there is no workaround so your scenegroup showing should also be just "visual".
Actually both myself and a friend have just tried this and it appears to work just fine.
Report comment to moderator  
Reply With Quote
Unread 01/14/22, 02:51 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4973
File comments: 6038
Uploads: 78
Interesting.
In the past (PTS as companions were introduced) I've tested about the same and the whole companion inventory and skills show up but nohing could be chnaged. It always threw error messages that the companion is not interacted with and nothing dragged & dropped, equipped, skills etc. was updated properly.

ZosDanBatson told me this is normal as you manually need to run to the companion and talk (chatter) + initiate the interaction via that chatter menu as else the server internal interaction is not registered.

If this is working without the actual interaction now they changed the server code, nice.

Originally Posted by FlatBadger
Originally Posted by FlatBadger
Did you try this? Does it really work? ZOs told us there is no workaround so your scenegroup showing should also be just "visual".
Actually both myself and a friend have just tried this and it appears to work just fine.
Report comment to moderator  
Reply With Quote
Unread 01/15/22, 09:22 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4973
File comments: 6038
Uploads: 78
de.lua file contents for German translation:
Code:
-- German localisation
ZO_CreateStringId("FOB_DISMISS_COMPANION", "Aktiven Gefähten wegschicken")
ZO_CreateStringId("FOB_COMPANION_MENU", "Öffne Gefährten Menü")
ZO_CreateStringId("FOB_TOGGLE", "De- / Aktiviere FOB temporär")
ZO_CreateStringId("FOB_DISABLED", "FOB ist temporär deaktiviert")
ZO_CreateStringId("FOB_ENABLED", "FOB ist temporär aktiviert")
Report comment to moderator  
Reply With Quote
Unread 01/15/22, 09:30 AM  
Bolsen945
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 20
Uploads: 1
Just don't be alarmed, it doesn't work with Mirri Elendis for me.)
Report comment to moderator  
Reply With Quote
Unread 01/15/22, 09:45 AM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 364
Uploads: 5
Originally Posted by Baertram
de.lua file contents for German translation:
Code:
-- German localisation
ZO_CreateStringId("FOB_DISMISS_COMPANION", "Aktiven Gefähten wegschicken")
ZO_CreateStringId("FOB_COMPANION_MENU", "Öffne Gefährten Menü")
ZO_CreateStringId("FOB_TOGGLE", "De- / Aktiviere FOB temporär")
ZO_CreateStringId("FOB_DISABLED", "FOB ist temporär deaktiviert")
ZO_CreateStringId("FOB_ENABLED", "FOB ist temporär aktiviert")
Thanks for that - I'll add them to the next release. Any idea why I'm not receiving email notifications for posts here?
Report comment to moderator  
Reply With Quote
Unread 01/15/22, 09:47 AM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 364
Uploads: 5
Originally Posted by Bolsen945
Just don't be alarmed, it doesn't work with Mirri Elendis for me.)
Odd - works fine for me.

I'll change the way I get the companion names for the next release, see if that helps.

What language client are you using out of interest?
Report comment to moderator  
Reply With Quote
Unread 01/15/22, 10:05 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4973
File comments: 6038
Uploads: 78
Yes, there aren't any notifications
Only for forum threads and posts will notify you, but not for addon comments.
You need to check via menu -> Author -> My Addons list if there are new comments

Edit:
Please do not include the .git folders etc. files in the addon zip! thanks Only addon related files should be included

And the German texts do not show for the keybindings?
You need to use $(language) in your txt not ${language}
https://wiki.esoui.com/Addon_manifest_(.txt)_format#Variable_Expansion


Originally Posted by FlatBadger
Originally Posted by Baertram
de.lua file contents for German translation:
Code:
-- German localisation
ZO_CreateStringId("FOB_DISMISS_COMPANION", "Aktiven Gefähten wegschicken")
ZO_CreateStringId("FOB_COMPANION_MENU", "Öffne Gefährten Menü")
ZO_CreateStringId("FOB_TOGGLE", "De- / Aktiviere FOB temporär")
ZO_CreateStringId("FOB_DISABLED", "FOB ist temporär deaktiviert")
ZO_CreateStringId("FOB_ENABLED", "FOB ist temporär aktiviert")
Thanks for that - I'll add them to the next release. Any idea why I'm not receiving email notifications for posts here?
Last edited by Baertram : 01/15/22 at 10:23 AM.
Report comment to moderator  
Reply With Quote
Unread 01/15/22, 10:36 AM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 364
Uploads: 5
Originally Posted by Baertram
Yes, there aren't any notifications
Only for forum threads and posts will notify you, but not for addon comments.
You need to check via menu -> Author -> My Addons list if there are new comments

Edit:
Please do not include the .git folders etc. files in the addon zip! thanks Only addon related files should be included

And the German texts do not show for the keybindings?
You need to use $(language) in your txt not ${language}
https://wiki.esoui.com/Addon_manifes...able_Expansion


Originally Posted by FlatBadger
Originally Posted by Baertram
de.lua file contents for German translation:
Code:
-- German localisation
ZO_CreateStringId("FOB_DISMISS_COMPANION", "Aktiven Gefähten wegschicken")
ZO_CreateStringId("FOB_COMPANION_MENU", "Öffne Gefährten Menü")
ZO_CreateStringId("FOB_TOGGLE", "De- / Aktiviere FOB temporär")
ZO_CreateStringId("FOB_DISABLED", "FOB ist temporär deaktiviert")
ZO_CreateStringId("FOB_ENABLED", "FOB ist temporär aktiviert")
Thanks for that - I'll add them to the next release. Any idea why I'm not receiving email notifications for posts here?
Whoops - let me sort that now.
Report comment to moderator  
Reply With Quote
Unread 01/15/22, 12:12 PM  
Bolsen945
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 20
Uploads: 1
Originally Posted by FlatBadger
Originally Posted by Bolsen945
Just don't be alarmed, it doesn't work with Mirri Elendis for me.)
Odd - works fine for me.

I'll change the way I get the companion names for the next release, see if that helps.

What language client are you using out of interest?
Yes, this is the Russian locale, others are very good.
Report comment to moderator  
Reply With Quote
Unread 01/18/22, 12:04 PM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 364
Uploads: 5
Originally Posted by Bolsen945
Originally Posted by FlatBadger
Originally Posted by Bolsen945
Just don't be alarmed, it doesn't work with Mirri Elendis for me.)
Odd - works fine for me.

I'll change the way I get the companion names for the next release, see if that helps.

What language client are you using out of interest?
Yes, this is the Russian locale, others are very good.
Version 2.0.0 should hopefully resolve this problem.
Report comment to moderator  
Reply With Quote
Unread 01/19/22, 06:47 AM  
Bolsen945
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 20
Uploads: 1
[quote=FlatBadger]
Originally Posted by Bolsen945
Originally Posted by FlatBadger
Yes, this is the Russian locale, others are very good.
Version 2.0.0 should hopefully resolve this problem.
Now everything doesn't work ):



This is a fix Mirri for version 1.0.3

----------
local function degender(string)
local s = string.gsub(string, "%^Fx{1,2}", "") --wtf??!
return s
end

local FOB = _G.FOB
local enabled = true
local BASTIAN = GetCollectibleInfo(GetCompanionCollectibleId(1))
local MIRRI = degender(GetCollectibleInfo(GetCompanionCollectibleId(2)))
local companions = {
[BASTIAN] = true,
[MIRRI] = true
}

----------

ru.lua - file format - utf-8 NO BOM

-- Russian localisation / Русская локализация
ZO_CreateStringId("FOB_DISMISS_COMPANION", "Отозвать активного компаньона")
ZO_CreateStringId("FOB_COMPANION_MENU", "Открыть меню компаньона")
ZO_CreateStringId("FOB_TOGGLE", "Включить / Временно отключить FOB")
ZO_CreateStringId("FOB_DISABLED", "FOB временно отключен")
ZO_CreateStringId("FOB_ENABLED", "FOB включен")

-- actions / действия
ZO_CreateStringId("FOB_TALK", "Поговорить")
ZO_CreateStringId("FOB_TAKE", "Взять")
ZO_CreateStringId("FOB_CATCH", "Поймать")

-- settings / настройки
ZO_CreateStringId("FOB_IGNORE_INSECTS", "Игнорировать летающих насекомых с Мирри")
ZO_CreateStringId("FOB_PREVENT_CRIMINAL", "Блокировать преступную активность с Бастианом")

-- flying insects / летающие насекомые (translations req.)
Last edited by Bolsen945 : 01/19/22 at 11:01 AM.
Report comment to moderator  
Reply With Quote
Unread 01/19/22, 02:23 PM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 364
Uploads: 5
Originally Posted by Bolsen945
Now everything doesn't work ):
Ah sorry - the translations are what's needed here.

Many thanks for the ones you've done, I'll include them in the next release.

I tried to wander around Ttamriel looking at the insect translations - are you able to check/correct these for me please?

ZO_CreateStringId("FOB_BLACKREACH_JELLY","медуза черного предела")
ZO_CreateStringId("FOB_BRIGHT_MOONS_LUNAR_MOTH", "БПеднЫй мотылек ярких лун")
ZO_CreateStringId("FOB_BUTTERFLY", "Бабочка")
ZO_CreateStringId("FOB_DRAGONFLY", "Стрекоза")
ZO_CreateStringId("FOB_FETCHERFLY", "Мерзкая муха")
ZO_CreateStringId("FOB_FLESHFLIES", "Мясные мухи")
ZO_CreateStringId("FOB_NETCH_CALF", "Теленок нетча")
ZO_CreateStringId("FOB_SWAMP_JELLY", "Болотная медуза")
ZO_CreateStringId("FOB_TORCHBUG", "Светлячок")
ZO_CreateStringId("FOB_WASP", "Оса")
ZO_CreateStringId("FOB_WINTER_MOTH", "зимний мотылек")
Last edited by FlatBadger : 01/19/22 at 03:52 PM.
Report comment to moderator  
Reply With Quote
Unread 01/19/22, 07:09 PM  
Bolsen945
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 20
Uploads: 1
Yes!

ZO_CreateStringId("FOB_BLACKREACH_JELLY", "Медуза черного предела")
ZO_CreateStringId("FOB_BRIGHT_MOONS_LUNAR_MOTH", "Бледный мотылек ярких лун")
ZO_CreateStringId("FOB_BUTTERFLY", "Бабочка")
ZO_CreateStringId("FOB_DRAGONFLY", "Стрекоза")
ZO_CreateStringId("FOB_FETCHERFLY", "Мерзкая муха")
ZO_CreateStringId("FOB_FLESHFLIES", "Мясные мухи")
ZO_CreateStringId("FOB_NETCH_CALF", "Детёныш нетча")
ZO_CreateStringId("FOB_SWAMP_JELLY", "Болотная медуза")
ZO_CreateStringId("FOB_TORCHBUG", "Светлячок")
ZO_CreateStringId("FOB_WASP", "Оса")
ZO_CreateStringId("FOB_WINTER_MOTH", "Зимний мотылёк")
Last edited by Bolsen945 : 01/19/22 at 07:09 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.