Originally Posted by Randactyl
The "Travel to Player" and "Invite to Group" menu items are missing from the guild roster context menu. I can't test, because ZO_KeyboardGuildRosterManager is local, but I believe the issue is located in the function ZO_KeyboardGuildRosterManager:GuildRosterRow_OnMouseUp in the file guildroster_keyboard.lua.
The variable playerAlliance is used to check that the player and the target are in the same alliance, but playerAlliance is not declared within the scope of ZO_KeyboardGuildRosterManager:GuildRosterRow_OnMouseUp.
|
Ha, you're right. There is a typo in code.
EsoUI\Ingame\Guild\Keyboard\GuildRoster_Keyboard.lua, lines 232-237:
Lua Code:
if(dataIndex == playerIndex) then
ZO_AddLeaveGuildMenuItem(guildId)
else
if(data.hasCharacter and data.online) then
AddMenuItem(GetString(SI_SOCIAL_LIST_SEND_MESSAGE), function() StartChatInput("", CHAT_CHANNEL_WHISPER, data.displayName) end)
if(data.alliance == playerAlliance) then --here should be self.playerAlliance instead of just playerAlliance
AddMenuItem(GetString(SI_SOCIAL_MENU_INVITE), function()