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:543
Total downloads:30,034
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/24/22, 01:03 PM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 370
Uploads: 5
Originally Posted by Bolsen945
It will be like this )

ru.lua

Code:
ZO_CreateStringId("FOB_CHEESE_ALERT", "Внимание, сыр!") -- Текст предупреждения
ZO_Create String Id("FOB_ALERT_FONT", "Шрифт предупреждения")
ZO_Create String Id("FOB_ALERT_COLOUR", "Цвет шрифта")
ZO_Create String Id("FOB_ALERT_SIZE", "Размер шрифта")
ZO_Create String Id("FOB_ALERT_SHADOW", "Тень шрифта")
ZO_Create String Id("FOB_ALERT_ICON", "Значок предупреждения")
Thanks again. I'll put these into the next release
Report comment to moderator  
Reply With Quote
Unread 01/24/22, 11:28 AM  
Bolsen945
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 20
Uploads: 1
It will be like this )

ru.lua

Code:
ZO_CreateStringId("FOB_CHEESE_ALERT", "Внимание, сыр!") -- Текст предупреждения
ZO_Create String Id("FOB_ALERT_FONT", "Шрифт предупреждения")
ZO_Create String Id("FOB_ALERT_COLOUR", "Цвет шрифта")
ZO_Create String Id("FOB_ALERT_SIZE", "Размер шрифта")
ZO_Create String Id("FOB_ALERT_SHADOW", "Тень шрифта")
ZO_Create String Id("FOB_ALERT_ICON", "Значок предупреждения")
Last edited by Bolsen945 : 01/24/22 at 11:30 AM.
Report comment to moderator  
Reply With Quote
Unread 01/24/22, 09:37 AM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 370
Uploads: 5
Re: Companion menu

Originally Posted by DohNotAgain
Strange situation using the hot key to bring up the companion menu.

I can't change mounts or costumes on either companion if I used the hot key to pull up the companion menu.
A msg comes up saying I can't do that outside the companion menu.
If I temp disable FOB everything works normally.
Ah - this may be a restriction in the game itself - I thought all functions would work, but it seems not. I may have to remove this keybind for the next version.

Thanks for letting me know.
Report comment to moderator  
Reply With Quote
Unread 01/24/22, 08:42 AM  
DohNotAgain

Forum posts: 1
File comments: 111
Uploads: 0
Companion menu

Strange situation using the hot key to bring up the companion menu.

I can't change mounts or costumes on either companion if I used the hot key to pull up the companion menu.
A msg comes up saying I can't do that outside the companion menu.
If I temp disable FOB everything works normally.
Report comment to moderator  
Reply With Quote
Unread 01/22/22, 03:12 AM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 370
Uploads: 5
Originally Posted by nerfarious
Thanks for this awesome addon, can finally use companions now, as it was the silly interaction button interfering with the gameplay all the time!!
Totally agree - I found it very annoying
Report comment to moderator  
Reply With Quote
Unread 01/22/22, 03:12 AM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 370
Uploads: 5
Originally Posted by hotrockin
Thanks for this Addon.
Is there any temporarily switch to re-enable the interaction (e.g. for changing stuff)?
Yes there is - have a look in your in-game bindings (Controls). You can set a keybinding in there. A message will be printed in your chat window to confirm enabling / disabling.
Report comment to moderator  
Reply With Quote
Unread 01/22/22, 01:25 AM  
hotrockin

Forum posts: 0
File comments: 9
Uploads: 0
Thanks for this Addon.
Is there any temporarily switch to re-enable the interaction (e.g. for changing stuff)?
Report comment to moderator  
Reply With Quote
Unread 01/21/22, 01:01 PM  
nerfarious

Forum posts: 0
File comments: 16
Uploads: 0
Thanks for this awesome addon, can finally use companions now, as it was the silly interaction button interfering with the gameplay all the time!!
Report comment to moderator  
Reply With Quote
Unread 01/20/22, 09:40 AM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 370
Uploads: 5
Originally Posted by Baertram
This is not needed
I knew there had to be a 'proper' way to do this, but I couldn't find. Thanks again for the help, I'll get this into the next release.
Report comment to moderator  
Reply With Quote
Unread 01/20/22, 09:28 AM  
Bolsen945
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 20
Uploads: 1
Originally Posted by Baertram
...
This is not needed (and would also only remove any ^F suffix and not ^M right?) ! ZOs provides it's own function to remove the gender prefix and suffix to the strings.
zo_strformat or ZO_CachedStrFormat (if the string will be reused more often).

See here:
https://wiki.esoui.com/How_to_format...h_zo_strformat

...
Thank you, I didn't know what that was at all.
Just starting to figure it out ))
Last edited by Bolsen945 : 01/20/22 at 09:31 AM.
Report comment to moderator  
Reply With Quote
Unread 01/20/22, 09:19 AM  
Bolsen945
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 20
Uploads: 1
Originally Posted by FlatBadger
...
Version 2.0.0 should hopefully resolve this problem.

I don't know how, but it works:

...
local BASTIAN = zo_strformat("<<1>>", GetCollectibleInfo(GetCompanionCollectibleId(1)))
local MIRRI = zo_strformat("<<1>>", GetCollectibleInfo(GetCompanionCollectibleId(2)))
...

Found it here:
https://wiki.esoui.com/GetCharacterInfo
https://wiki.esoui.com/How_to_format...h_zo_strformat

Oops, took a long time to compile ))
Last edited by Bolsen945 : 01/20/22 at 09:22 AM.
Report comment to moderator  
Reply With Quote
Unread 01/20/22, 09:07 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5001
File comments: 6059
Uploads: 78
Code:
local function degender(string)
local s = string.gsub(string, "%^Fx{1,2}", "") --wtf??! 
return s
end
This is not needed (and would also only remove any ^F suffix and not ^M right?) ! ZOs provides it's own function to remove the gender prefix and suffix to the strings.
zo_strformat or ZO_CachedStrFormat (if the string will be reused more often).

See here:
https://wiki.esoui.com/How_to_format...h_zo_strformat

e.g. use
zo_strformat(SI_UNIT_NAME, GetUnitName("player"))

to remove and ^ms or ^f suffix

SI_UNIT_NAME is just a text constant for the GetString function (same like your translations work) which contains "<<C:1>>" (or <<1>> depending on the language used in the client) in that case.
See:
https://github.com/esoui/esoui/blob/...game.lua#L4430

<<C:1>> means capitalize the first charater.
You can use this for ~all names like player, group, companions, .... and itemnames etc.

So for your case:
Lua Code:
  1. local BASTIAN = ZO_CachedStrFormat(SI_UNIT_NAME, GetCollectibleInfo(GetCompanionCollectibleId(1)))
  2. local MIRRI = ZO_CachedStrFormat(SI_UNIT_NAME, GetCollectibleInfo(GetCompanionCollectibleId(2)))

Example code in ZOs code:
https://github.com/esoui/esoui/blob/...hared.lua#L100
Last edited by Baertram : 01/20/22 at 09:13 AM.
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
Unread 01/19/22, 02:23 PM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 370
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, 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
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.