GoGoMount

840 - Option to exclude water-walking mounts

Hello. Could you add an option to exclude water-walking mounts (such as Water Striders) while not in water?

When I'm in water, GoGoMount summons Water Strider. But when I'm on the ground, GoGoMount still randomly summons a Water Strider along with my favourite ground and flying mounts.

User When Change
tiker Aug 12, 2015 at 15:30 UTC Changed status from New to Accepted
Vampik Aug 01, 2015 at 12:24 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of tiker tiker Aug 12, 2015 at 15:34 UTC - 0 likes

    I've added this to the new feature list to add.  I need to work out the details for other water mounts as well.

    Want to chat? You'll find me here if I'm online:
    [email protected]
    (XMPP / Jabber Group Chat)

  • Avatar of Vampik Vampik Aug 07, 2015 at 18:12 UTC - 0 likes

    I've made a quick patch just for myself. It excludes all mounts which water surface speed is not equal to 67 (all normal mounts) if we're not in a water.

    --- F:/Games/World of Warcraft/Interface/AddOns/GoGoMount/GoGoMount.lua.bak	Wed Jun 24 17:20:16 2015
    +++ F:/Games/World of Warcraft/Interface/AddOns/GoGoMount/GoGoMount.lua	Sat Aug 01 15:14:32 2015
    @@ -419,7 +419,8 @@
     	if IsSubmerged() then
     		GoGo_CheckSwimSurface()
     	else
    -		GoGo_Variables.FilteredMounts = GoGo_FilterMountsOut(GoGo_Variables.FilteredMounts, 53)
    +		GoGo_Variables.FilteredMounts = GoGo_FilterMountsOut(GoGo_Variables.FilteredMounts, 53)
    +		GoGo_Variables.FilteredMounts = GoGo_FilterMountsOutEx(GoGo_Variables.FilteredMounts, 10004, 67)
     	end --if
     
     	if (GoGo_Variables.Player.Level < 60) then
    @@ -699,6 +700,33 @@
     		local MountID = PlayerMounts[a]
     		if not GoGo_Variables.MountDB[MountID][FilterID] then
     			table.insert(GoGo_FilteringMounts, MountID)
    +		end --if
    +	end --for
    +	return GoGo_FilteringMounts
    +end --function
    +
    +---------
    +function GoGo_FilterMountsOutEx(PlayerMounts, FilterID, Value)
    +---------
    +	local GoGo_FilteringMounts = {}
    +	if not PlayerMounts then PlayerMounts = {} end --if
    +	if table.getn(PlayerMounts) == 0 then
    +		return GoGo_FilteringMounts
    +	end --if
    +	if Value == nil then
    +		local Value = true
    +	end --if
    +	if not GoGo_Variables.MountDB then
    +		GoGo_GetMountDB()
    +	end --if
    +	for a = 1, table.getn(PlayerMounts) do
    +		local MountID = PlayerMounts[a]
    +		if not GoGo_Variables.MountDB[MountID][FilterID] then
    +			table.insert(GoGo_FilteringMounts, MountID)
    +		else
    +			if Value and GoGo_Variables.MountDB[MountID][FilterID] == Value then
    +				table.insert(GoGo_FilteringMounts, MountID)
    +			end --if
     		end --if
     	end --for
     	return GoGo_FilteringMounts
    
  • 2 comments

Facts

Last updated
Aug 12, 2015
Reported
Aug 01, 2015
Status
Accepted - Problem reproduced / Need acknowledged.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees