Go to Page... |
Compatibility: | Gold Road (10.0.0) Scions of Ithelia (9.3.0) |
Updated: | 05/19/24 07:17 AM |
Created: | 07/11/15 10:51 AM |
Monthly downloads: | 55,172 |
Total downloads: | 4,429,353 |
Favorites: | 1,976 |
MD5: |
local entries = { { label = "Test 1", callback = function() d("Test 1") end, }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) ShowMenu()
local function GetEntries(rootMenu) d("run") return { { label = function() return GetTimeStamp() end, callback = function() d("Test 1") end, }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } end ClearMenu() AddCustomSubMenuItem("Sub Menu", GetEntries) ShowMenu()
local entries = { { label = "Test 1", callback = function() d("Test 1") end, }, { label = "-", }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) ShowMenu()
local myState = true local entries = { { label = "Test 1", callback = function(state) myState = state df("Test 1: %s", tostring(myState)) end, checked = function() return myState end, itemType = MENU_ADD_OPTION_CHECKBOX, }, { label = "Test 1b", callback = function() d("Test 1b") end, itemType = MENU_ADD_OPTION_LABEL, }, { label = "-", }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) ShowMenu()
local function func(inventorySlot, slotActions) end
local function func() end
ZO_CreateStringId("SI_BINDING_NAME_SHOW_POPUP", "Show in Popup") local function AddItem(inventorySlot, slotActions) local valid = ZO_Inventory_GetBagAndIndex(inventorySlot) if not valid then return end slotActions:AddCustomSlotAction(SI_BINDING_NAME_SHOW_POPUP, function() local bagId, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot) local itemLink = GetItemLink(bagId, slotIndex) ZO_PopupTooltip_SetLink(itemLink) end , "") end LibCustomMenu:RegisterContextMenu(AddItem, LibCustomMenu.CATEGORY_PRIMARY)
local function AddItem(inventorySlot, slotActions) local bagId, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot) if not CanItemBePlayerLocked(bagId, slotIndex) then return end local locked = IsItemPlayerLocked(bagId, slotIndex) slotActions:AddCustomSlotAction(locked and SI_ITEM_ACTION_UNMARK_AS_LOCKED or SI_ITEM_ACTION_MARK_AS_LOCKED, function() SetItemIsPlayerLocked(bagId, slotIndex, not locked) end, "keybind2") -- you can use: "primary", "secondary", "keybind1", "keybind2" end local menu = LibCustomMenu --menu:RegisterContextMenu(AddItem, menu.CATEGORY_PRIMARY) menu:RegisterKeyStripEnter(AddItem, menu.CATEGORY_LATE)
local function func(control, inside) end
local myState = true local entries = { { label = "Test 1", callback = function(state) myState = state df("Test 1: %s", tostring(myState)) end, checked = function() return myState end, itemType = MENU_ADD_OPTION_CHECKBOX, tooltip = "This is Test 1", }, { label = "Test 1b", callback = function() d("Test 1b") end, itemType = MENU_ADD_OPTION_LABEL, tooltip = "This is Test 2", }, { label = "-", }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) AddCustomMenuTooltip("A sub-menu") AddCustomMenuItem("-", function() d("soso") end) AddCustomMenuItem("Button", function() d("jojo") end) AddCustomMenuTooltip(function(control, inside) if inside then d("A great button") end end) AddCustomMenuItem("CheckBox", function() d("soso") end, MENU_ADD_OPTION_CHECKBOX) ShowMenu()
local index = AddCustomMenuItem("CheckBox", function() <your callback> end, MENU_ADD_OPTION_CHECKBOX) if needToCheckIt then ZO_CheckButton_SetChecked(ZO_Menu.items[index].checkbox) end
local function func(inventorySlot, slotActions, ctrl, alt, shift, command) end
local function func(playerName, rawName) end
local function func(rowData) end
local function AddItem(data) AddCustomMenuItem("Example", function() d(data.displayName) end) end local menu = LibCustomMenu menu:RegisterFriendsListContextMenu(AddItem, menu.CATEGORY_EARLY) menu:RegisterFriendsListContextMenu(AddItem, menu.CATEGORY_LAST)
File Name |
Version |
Size |
Uploader |
Date |
7.2.1 |
8kB |
votan |
03/13/23 03:24 PM |
|
7.2.0 |
8kB |
votan |
03/11/23 11:59 AM |
|
7.1.3 |
8kB |
votan |
04/24/22 09:04 AM |
|
7.1.2 |
8kB |
votan |
10/24/21 07:44 AM |
|
7.1.1 |
8kB |
votan |
09/05/21 07:30 AM |
|
7.1.0 |
8kB |
votan |
09/04/21 09:32 AM |
|
7.0.1 |
8kB |
votan |
07/04/21 04:46 AM |
|
7.0.0 |
8kB |
votan |
04/28/21 11:21 AM |
|
6.9.5 |
7kB |
votan |
02/20/21 09:09 AM |
|
6.9.4 |
7kB |
votan |
11/02/20 04:41 AM |
|
6.9.3 |
7kB |
votan |
08/22/20 04:55 AM |
|
6.9.2 |
7kB |
votan |
04/21/20 03:12 PM |
|
6.9.1 |
7kB |
votan |
04/04/20 06:22 AM |
|
6.9.0 |
7kB |
votan |
04/03/20 11:43 AM |
|
6.8.2 |
7kB |
votan |
02/15/20 11:44 AM |
|
6.8.1 |
7kB |
votan |
10/03/19 04:37 AM |
|
6.8.0 |
7kB |
votan |
08/07/19 01:15 PM |
|
6.7.1 |
7kB |
votan |
07/30/19 11:57 AM |
|
6.7.0 |
7kB |
votan |
05/18/19 08:07 AM |
|
6.6.3 |
16kB |
votan |
02/23/19 10:15 AM |
|
6.6.2 |
8kB |
votan |
10/21/18 09:31 AM |
|
6.6.1 |
7kB |
votan |
10/19/18 12:13 PM |
|
6.6 |
14kB |
votan |
08/13/18 11:17 AM |
|
6.5 |
8kB |
votan |
04/22/18 05:21 AM |
|
6.4 |
7kB |
votan |
04/16/18 11:45 AM |
|
6.3 |
7kB |
votan |
03/03/18 10:58 AM |
|
6.2 |
8kB |
votan |
02/02/18 12:35 AM |
|
5 |
7kB |
votan |
01/27/18 03:11 PM |
|
5 |
7kB |
votan |
08/15/17 12:34 PM |
|
4.3 |
6kB |
votan |
07/15/17 01:00 PM |
|
4.2.0 |
6kB |
votan |
10/12/16 12:56 PM |
|
4.1.1 |
6kB |
votan |
03/07/16 12:13 PM |
|
4.1.0 |
6kB |
votan |
11/22/15 02:24 PM |
|
4.0.0 |
6kB |
votan |
08/06/15 10:48 AM |
|
3.0.0 |
6kB |
votan |
07/25/15 05:36 AM |
|
2.0.0 |
5kB |
votan |
07/11/15 10:51 AM |
Comment Options |
Niwasaka |
View Public Profile |
Send a private message to Niwasaka |
Find More Posts by Niwasaka |
Add Niwasaka to Your Buddy List |
04/28/21, 05:30 PM | |
|
The same 'duplicate name' error happens with the SetTracker add-on. Commenting out the lib command in the SetTracker.txt file like the example below corrects it.
|
|
wyndstryke |
View Public Profile |
Send a private message to wyndstryke |
Find More Posts by wyndstryke |
Add wyndstryke to Your Buddy List |
04/28/21, 06:09 PM | ||
|
||
|
YesImBattman |
View Public Profile |
Send a private message to YesImBattman |
Send email to YesImBattman |
Visit YesImBattman's homepage! |
Find More Posts by YesImBattman |
Add YesImBattman to Your Buddy List |
04/28/21, 10:37 PM | |
Forum posts: 3
File comments: 88
Uploads: 0
|
error with latest update & can't list on broker
After updating today to latest, get these error popups, and can't list any item on broker (select to list is gone as option, and R for list is perma greyed out)
Reverted to 6.9.5 and problem went away. 1st msg box Failed to create control 'LibCustomMenuSubmenu'. Duplicate name. 2nd msg box user:/AddOns/DolgubonsLazyWritCreator/libs/LibCustomMenu/LibCustomMenu.lua:111: attempt to index a nil value stack traceback: user:/AddOns/DolgubonsLazyWritCreator/libs/LibCustomMenu/LibCustomMenu.lua:111: in function 'Submenu:Initialize' |caaaaaa<Locals> self = [table:1]{}, name = "LibCustomMenuSubmenu" </Locals>|r user:/AddOns/DolgubonsLazyWritCreator/libs/LibCustomMenu/LibCustomMenu.lua:103: in function 'Submenu:New' |caaaaaa<Locals> self = [table:2]{}, object = [table:1] </Locals>|r user:/AddOns/DolgubonsLazyWritCreator/libs/LibCustomMenu/LibCustomMenu.lua:766: in function 'OnAddonLoaded' |caaaaaa<Locals> event = 65536, name = "LibDebugLogger" </Locals>|r
Last edited by jacozilla : 04/28/21 at 10:44 PM.
|
|
jacozilla |
View Public Profile |
Send a private message to jacozilla |
Send email to jacozilla |
Visit jacozilla's homepage! |
Find More Posts by jacozilla |
Add jacozilla to Your Buddy List |
04/28/21, 10:54 PM | |
Forum posts: 0
File comments: 11
Uploads: 0
|
same here :
7.0.0 is broken with addons related to brokers 6.9.5 is OK Is there a (simple) way to find and list the addons depending on LibCustomMenu but only when they need to be edited as shown below ? (#libs\LibCustomMenu\LibCustomMenu.lua)
Last edited by lohworm : 04/28/21 at 11:57 PM.
|
|
lohworm |
View Public Profile |
Send a private message to lohworm |
Send email to lohworm |
Visit lohworm's homepage! |
Find More Posts by lohworm |
Add lohworm to Your Buddy List |
04/29/21, 12:10 AM | |
Forum posts: 2
File comments: 18
Uploads: 0
|
woah my right-click menu is completely messed up now... what do I need to update/change?
|
|
papahuge |
View Public Profile |
Send a private message to papahuge |
Send email to papahuge |
Visit papahuge's homepage! |
Find More Posts by papahuge |
Add papahuge to Your Buddy List |
04/29/21, 01:17 AM | ||
Forum posts: 0
File comments: 1
Uploads: 0
|
Fixed
|
|
|
AuntieMame |
View Public Profile |
Send a private message to AuntieMame |
Send email to AuntieMame |
Visit AuntieMame's homepage! |
Find More Posts by AuntieMame |
Add AuntieMame to Your Buddy List |
04/29/21, 02:15 AM | |
Forum posts: 0
File comments: 5
Uploads: 0
|
Submenu
Hey there... Does someone have a solution for the following message?
Failed to create control 'LibCustomMenuSubmenu'. Duplicate name. I can't choose anything for selling in guild shops... Thank you in advance! |
|
Alvathyra |
View Public Profile |
Send a private message to Alvathyra |
Send email to Alvathyra |
Visit Alvathyra's homepage! |
Find More Posts by Alvathyra |
Add Alvathyra to Your Buddy List |
04/29/21, 02:21 AM | |
Forum posts: 0
File comments: 40
Uploads: 0
|
Getting these same errors too.
Can't list items in trader and right click menu is messed up. Do I edit the text file as below (is that related? I can't tell!). Thank you |
|
ClevaTreva |
View Public Profile |
Send a private message to ClevaTreva |
Send email to ClevaTreva |
Visit ClevaTreva's homepage! |
Find More Posts by ClevaTreva |
Add ClevaTreva to Your Buddy List |
04/29/21, 02:26 AM | ||
Forum posts: 0
File comments: 5
Uploads: 0
|
Re: Submenu
I installed the version before, now it works again. But thats not the greatest way
|
|
|
Alvathyra |
View Public Profile |
Send a private message to Alvathyra |
Send email to Alvathyra |
Visit Alvathyra's homepage! |
Find More Posts by Alvathyra |
Add Alvathyra to Your Buddy List |
04/29/21, 05:13 AM | ||
Forum posts: 0
File comments: 4
Uploads: 0
|
I.e.: SetTracker - UPDATED |
|
|
T3Am3R |
View Public Profile |
Send a private message to T3Am3R |
Send email to T3Am3R |
Visit T3Am3R's homepage! |
Find More Posts by T3Am3R |
Add T3Am3R to Your Buddy List |
04/29/21, 05:32 AM | |
Restoring the latest version libCostumMenu 6.9.5 is the easiest solution.
|
|
|
Schrappe |
View Public Profile |
Send a private message to Schrappe |
Send email to Schrappe |
Visit Schrappe's homepage! |
Find More Posts by Schrappe |
Add Schrappe to Your Buddy List |
04/29/21, 05:49 AM | ||
Forum posts: 0
File comments: 40
Uploads: 0
|
I assume there will be an update to cover this? |
|
|
ClevaTreva |
View Public Profile |
Send a private message to ClevaTreva |
Send email to ClevaTreva |
Visit ClevaTreva's homepage! |
Find More Posts by ClevaTreva |
Add ClevaTreva to Your Buddy List |
04/29/21, 06:42 AM | |||
|
Please read and follow if you get any Double control error message with e. G. SetTracker or Dolgubon Lazy Writ Crafter
You should learn how dependencies work (check the addon help forum for the sticky post e. G. https://www.esoui.com/forums/showthread.php?t=9149 ) and votan already told you guys what to do if addons like LazyWritCrafter include libraries the wrong way (hard-coded in the txt file of that addon). Please tell the addon devs of the other addons to fix this (we did already weeks ago...) and for the meantime just delete the lines to LibCustomMenu in the other addon's txt file, e. G. LazyWritCrafter.txt or SetTracker.txt Btw SetTracker is outdated and should not be used any longer (since 2020) as it's code throws error because of old libraries and code.
Last edited by Baertram : 04/29/21 at 06:54 AM.
|
||
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Visit Baertram's homepage! |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
04/29/21, 06:59 AM | |||
Forum posts: 0
File comments: 31
Uploads: 0
|
Last edited by Ratinira : 04/29/21 at 06:59 AM.
|
||
|
Ratinira |
View Public Profile |
Send a private message to Ratinira |
Send email to Ratinira |
Visit Ratinira's homepage! |
Find More Posts by Ratinira |
Add Ratinira to Your Buddy List |