Download
(4 Kb)
Download
Updated: 06/11/24 05:14 PM
Pictures
File Info
Compatibility:
Gold Road (10.0.0)
Scions of Ithelia (9.3.0)
Endless Archive (9.2.5)
base-game patch (9.1.5)
Necrom (9.0.0)
Updated:06/11/24 05:14 PM
Created:05/03/24 04:13 PM
Monthly downloads:549
Total downloads:731
Favorites:1
MD5:
Categories:Bags, Bank, Inventory, Info, Plug-in Bars, Miscellaneous
10.0.0
How Many Fish  Updated this week!
Version: 1.3.0
by: VisioTempus [More]
How Many Fish

Optional dependency : LibSlashCommander


How Many Fish (or HMF) is an addon that counts how many fish(es) you... fished.

Many addons exists to count what you looted (Eso Farm Buddy, FarmManager) but I didn't find an addon that count fishes whatever the specie. How Many Fish doesn't care about the specie, if you loot a fish (not a rare one), counter goes up.

Additionnaly, How Many Fish try to estimate how many perfect roe you could have if you filet the fishes. Note that this is a BIG estimation and not a polished one.

Here is a preview :



Window is movable and the position is saved. Amount of fishes is also saved between load screens / multiple farming sessions.
  • You can show/hide it with the command (state not saved) :
    Code:
    /hmf
  • You can show the window with the command (state saved) :
    Code:
    /hmf show
  • You can hide it with the command (state saved) :
    Code:
    /hmf hide
  • You can show the window only when pointing at a fishing hole with the command (state saved) :
    Code:
    /hmf auto
  • You can reset the amount of fish with the command :
    Code:
    /hmf reset

Perfect to just loot the number of fish you want !



This addon is a beta version and may be improved if I feel the need. Only english supported.

Improvements that may come :
* Localization
* Estimated gold (for guild stores)
* Add icons
* If you have an idea please let me know.

You can make a donation in game (EU server) if you want : @Visiotempus

----------------------------------------------------------------------------------------

Updates :

* 2024/06/12 - V1.3.0 : Add the number of fish in inventory and estimated roe. Please note that it's impossible to retrieves bank number as ZOS ZO_GetNextBagSlotIndex() method doesn't allow me to get all fishes in bank.

* 2024/06/03 - V1.1.0 : Update for Gold Road. Enable auto show/hide window when pointing at a fishing hole.

* 2024/05/11 - V1.0.0 : Add sub-command help (start typying "/hmf" to show available options and their description) + save the visibility status.
* 2024/06/12 - V1.3.0 : Add the number of fish in inventory and estimated roe. Please note that it's impossible to retrieves bank number as ZOS ZO_GetNextBagSlotIndex() method doesn't allow me to get all fishes in bank.

* 2024/06/03 - V1.1.0 : Update for Gold Road. Enable auto show/hide window when pointing at a fishing hole.

* 2024/05/11 - V1.0.0 : Add sub-command help (start typying "/hmf" to show available options and their description) + save the visibility status.
Archived Files (3)
File Name
Version
Size
Uploader
Date
1.1.0
3kB
VisioTempus
06/03/24 03:02 PM
1.0.1
3kB
VisioTempus
05/10/24 04:24 PM
0.1.0
2kB
VisioTempus
05/03/24 04:13 PM


Post A Reply Comment Options
Unread 06/13/24, 10:20 AM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 377
Uploads: 5
Originally Posted by VisioTempus
Originally Posted by FlatBadger
Originally Posted by VisioTempus
Please note that it's impossible to retrieves number of fishes in bank as ZOS dosn't allow me to get all the fishes in bank.
Hi,
if all you want is a count of the fish in the bank, you can use the following:

Code:
local fishInBank = 0
local fishies = SHARED_INVENTORY:GenerateFullSlotData(
	function(itemdata)		
		return itemdata.itemType == ITEMTYPE_FISH
	end, 
	BAG_BANK, 
	BAG_SUBSCRIBER_BANK))

for _, item in pairs(fishies) do
	fishInBank = fishInBank + item.stackCount
end
Thanks FlatBadger !

Is it working with all the fishes ? When I try the same code as for bagpack it takes only 3 out of the 7 fishes (species not stack) I got.

If yes, can I add your code to the addon ?
I'd check the available bags as they will vary depending on whether the user is an ESO plus subscriber or not. It counted ok for me when I checked the backpack, but I didn't dig too far into it. You are of course free to use that code - I volunteered it as when you released your addon it gave me an idea for something in my addon, so just repaying the favour
Report comment to moderator  
Reply With Quote
Unread 06/12/24, 01:32 PM  
VisioTempus
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Originally Posted by FlatBadger
Originally Posted by VisioTempus
Please note that it's impossible to retrieves number of fishes in bank as ZOS dosn't allow me to get all the fishes in bank.
Hi,
if all you want is a count of the fish in the bank, you can use the following:

Code:
local fishInBank = 0
local fishies = SHARED_INVENTORY:GenerateFullSlotData(
	function(itemdata)		
		return itemdata.itemType == ITEMTYPE_FISH
	end, 
	BAG_BANK, 
	BAG_SUBSCRIBER_BANK))

for _, item in pairs(fishies) do
	fishInBank = fishInBank + item.stackCount
end
Thanks FlatBadger !

Is it working with all the fishes ? When I try the same code as for bagpack it takes only 3 out of the 7 fishes (species not stack) I got.

If yes, can I add your code to the addon ?
Report comment to moderator  
Reply With Quote
Unread 06/12/24, 08:46 AM  
FlatBadger
 
FlatBadger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 377
Uploads: 5
Originally Posted by VisioTempus
Please note that it's impossible to retrieves number of fishes in bank as ZOS dosn't allow me to get all the fishes in bank.
Hi,
if all you want is a count of the fish in the bank, you can use the following:

Code:
local fishInBank = 0
local fishies = SHARED_INVENTORY:GenerateFullSlotData(
	function(itemdata)		
		return itemdata.itemType == ITEMTYPE_FISH
	end, 
	BAG_BANK, 
	BAG_SUBSCRIBER_BANK))

for _, item in pairs(fishies) do
	fishInBank = fishInBank + item.stackCount
end
Last edited by FlatBadger : 06/12/24 at 08:49 AM.
Report comment to moderator  
Reply With Quote
Unread 06/11/24, 04:58 PM  
VisioTempus
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Originally Posted by WolfGangWag
Is it possible to make this mod show how many fish are in the inventory?
Hi WolfGangWag, done

Please note that it's impossible to retrieves number of fishes in bank as ZOS dosn't allow me to get all the fishes in bank.
Report comment to moderator  
Reply With Quote
Unread 06/10/24, 04:10 AM  
WolfGangWag

Forum posts: 0
File comments: 7
Uploads: 0
Is it possible to make this mod show how many fish are in the inventory?
Report comment to moderator  
Reply With Quote
Unread 06/02/24, 05:08 PM  
VisioTempus
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Originally Posted by loktai
I think it would be cool if there were a way to have it show up when you were looking at a fishing pool and disappear when you weren't - votan's fisherman has code to do this for rare fish tracker, so you might look at it for inspiration?
Sure, nice idea, will do that when I'll update for Gold Road
Report comment to moderator  
Reply With Quote
Unread 05/30/24, 10:39 AM  
loktai

Forum posts: 1
File comments: 29
Uploads: 0
I think it would be cool if there were a way to have it show up when you were looking at a fishing pool and disappear when you weren't - votan's fisherman has code to do this for rare fish tracker, so you might look at it for inspiration?
Report comment to moderator  
Reply With Quote
Unread 05/04/24, 03:29 AM  
VisioTempus
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Originally Posted by Lambogini2469
Note that this is a BIG estimation and not a polish one.

Can I get one that does a swedish one instead of polish? j/k

Am going to try this out.

Well I would but it doesn't seem to be listed in Minion yet.

Nevermind I had to restart Minion and it was there.
Maybe I will go first for spanish as I'm better at it - jk too

Let me know if you have some trouble or if you feel some improvements can be done.
Report comment to moderator  
Reply With Quote
Unread 05/03/24, 07:51 PM  
Lambogini2469

Forum posts: 0
File comments: 9
Uploads: 0
Note that this is a BIG estimation and not a polish one.

Can I get one that does a swedish one instead of polish? j/k

Am going to try this out.

Well I would but it doesn't seem to be listed in Minion yet.

Nevermind I had to restart Minion and it was there.
Last edited by Lambogini2469 : 05/03/24 at 07:55 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: