Go to Page... |
Compatibility: | Deadlands (7.2.5) Greymoor (6.0.5) |
Updated: | 10/01/21 09:52 AM |
Created: | 04/09/14 06:55 PM |
Monthly downloads: | 13,652 |
Total downloads: | 2,761,910 |
Favorites: | 1,959 |
MD5: |
COMPASS_PINS:AddCustomPin( pinType, pinCallback, layout )
function( pinManager ) for _, pin in pairs( pins ) do pinManager:CreatePin( pinType, pinTag, pin.x, pin.y ) end end
File Name |
Version |
Size |
Uploader |
Date |
1.31 |
4kB |
Shinni |
05/25/20 11:47 AM |
|
1.30 |
4kB |
Shinni |
03/26/20 12:18 PM |
|
1.29 |
4kB |
Shinni |
10/23/18 05:15 PM |
|
1.29 |
4kB |
Shinni |
03/23/16 11:05 AM |
|
1.28.1 |
4kB |
Shinni |
03/10/16 12:18 PM |
|
1.26 |
4kB |
Garkin |
06/25/14 07:39 AM |
|
1.25 |
4kB |
Garkin |
06/12/14 04:42 AM |
|
1.24 |
4kB |
Garkin |
06/07/14 08:15 AM |
|
1.23 |
4kB |
Garkin |
06/07/14 07:17 AM |
|
1.20 |
3kB |
Garkin |
05/29/14 06:16 PM |
|
1.19 |
3kB |
Garkin |
05/14/14 05:11 PM |
|
1.18 |
3kB |
Garkin |
05/13/14 09:31 PM |
|
1.17 |
3kB |
Garkin |
05/11/14 05:50 AM |
|
1.16 |
3kB |
Garkin |
05/09/14 07:04 AM |
|
1.15 |
3kB |
Garkin |
05/07/14 08:09 PM |
|
1.14 |
3kB |
Shinni |
04/26/14 02:58 PM |
|
1.13 |
3kB |
Shinni |
04/26/14 02:31 PM |
|
1.13 |
2kB |
Shinni |
04/09/14 08:27 PM |
|
1.1 |
2kB |
Shinni |
04/09/14 06:55 PM |
Comment Options |
MakemSalty_ZOID |
View Public Profile |
Send a private message to MakemSalty_ZOID |
Send email to MakemSalty_ZOID |
Find More Posts by MakemSalty_ZOID |
Add MakemSalty_ZOID to Your Buddy List |
MrPikPik |
View Public Profile |
Send a private message to MrPikPik |
Send email to MrPikPik |
Find More Posts by MrPikPik |
Add MrPikPik to Your Buddy List |
Marazota |
View Public Profile |
Send a private message to Marazota |
Send email to Marazota |
Find More Posts by Marazota |
Add Marazota to Your Buddy List |
Anceane |
View Public Profile |
Send a private message to Anceane |
Send email to Anceane |
Find More Posts by Anceane |
Add Anceane to Your Buddy List |
11/01/21, 08:39 AM | |
|
Have you updated to the most recent version?
This should have been fixed in version 1.32
Last edited by Shinni : 11/01/21 at 08:39 AM.
|
|
Shinni |
View Public Profile |
Send a private message to Shinni |
Send email to Shinni |
Find More Posts by Shinni |
Add Shinni to Your Buddy List |
Anceane |
View Public Profile |
Send a private message to Anceane |
Send email to Anceane |
Find More Posts by Anceane |
Add Anceane to Your Buddy List |
11/04/21, 07:40 AM | |
Forum posts: 0
File comments: 1
Uploads: 0
|
I managed to find out what the problem was. ESO was looking at my ESO Live folder in OneDrive and Minion was updated to my D:\......\ESO\Live\Addon folder. It was only when I checked the version in the lua files that I realised the problem.
So no need to worry. Thanks ___________________________________________________________________ Hi Shinni, I have almost the same issue as Marazota. I have the latest version, V1.32 and I have uninstalled the file a number of times. Please let me know what I need to do to fix this. I can't use any wayshrine or map add-on that requires this library. Thank you. Code:
bad argument #1 to 'pairs' (table/struct expected, got nil) stack traceback: [C]: in function 'pairs' /EsoUI/Libraries/Utility/ZO_ObjectPool.lua:187: in function 'ZO_ObjectPool:ReleaseAllObjects' |caaaaaa<Locals> self = [table:1]{defaultAngle = 1} </Locals>|r user:/AddOns/CustomCompassPins/CustomCompassPins.lua:231: in function 'CompassPinManager:RemovePins' |caaaaaa<Locals> self = [table:1] </Locals>|r user:/AddOns/CustomCompassPins/CustomCompassPins.lua:120: in function 'COMPASS_PINS:RefreshPins' |caaaaaa<Locals> self = [table:2]{version = 1.31, distanceCoefficient = 2.4494897427832, defaultFOV = 1.8849555921539} </Locals>|r user:/AddOns/CustomCompassPins/CustomCompassPins.lua:84: in function 'callback' |caaaaaa<Locals> currentMap = "deadlands/u32_fargrave" </Locals>|r /EsoUI/Libraries/Utility/ZO_CallbackObject.lua:107: in function 'ZO_CallbackObjectMixin:FireCallbacks' |caaaaaa<Locals> self = [table:3]{fireCallbackDepth = 2}, eventName = "CustomCompassPins_MapChanged", registry = [table:4]{}, callbackInfoIndex = 1, callbackInfo = [table:5]{3 = F}, callback = user:/AddOns/CustomCompassPins/CustomCompassPins.lua:81, deleted = F </Locals>|r user:/AddOns/CustomCompassPins/CustomCompassPins.lua:76: in function 'layoutCallback' |caaaaaa<Locals> currentMap = "deadlands/u32_fargrave" </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:1478: in function 'ZO_WorldMapPins:RefreshCustomPins' |caaaaaa<Locals> self = [table:6]{nextCustomPinType = 230, m_NextControlId = 0, m_NextFree = 5}, pinTypeId = 230, pinData = [table:7]{enabled = T, pinTypeString = "CustomCompassPins_MapChangeDet..."} </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:3842: in function 'ZO_WorldMap_UpdateMap' |caaaaaa<Locals> mapTitle = "Fargrave City District" </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:6577: in function 'ZO_WorldMapManager:SetToMode' |caaaaaa<Locals> self = [table:8]{autoNavigationState = 1, antiquityDigSiteAnimationState = 1, mode = 2, inSpecialMode = F}, mode = 2, transientModeData = [table:9]{}, initialNormalizedZoom = 0, smallMap = F, layout = [table:10]{paddingX = 0, offsetY = 0, offsetX = 0, paddingY = 0} </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:6494: in function 'ZO_WorldMapManager:SetUserMode' |caaaaaa<Locals> self = [table:8], mode = 2 </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:5330: in function 'OnAddOnLoaded' |caaaaaa<Locals> eventCode = 65536, addOnName = "ZO_Ingame", defaults = [table:11]{userMode = 2}, smallCustom = [table:12]{x = 0, height = 550, point = 128, relPoint = 128, keepSquare = T, width = 488, y = 0, mapSize = 2}, uiWidth = 1920, uiHeight = 1080 </Locals>|r
Last edited by Archie2021 : 11/04/21 at 10:16 AM.
|
|
Archie2021 |
View Public Profile |
Send a private message to Archie2021 |
Send email to Archie2021 |
Find More Posts by Archie2021 |
Add Archie2021 to Your Buddy List |
11/10/21, 11:09 AM | |
Forum posts: 0
File comments: 1
Uploads: 0
|
I keep getting a UI error with this addon turned on that I can't dismiss when I log into the game. The addon files are in the correct folder and I've confirmed the lua shows version 1.32. I've also reinstalled both the addon and the game and still get stuck. Any ideas?
bad argument #1 to 'pairs' (table/struct expected, got nil) stack traceback: [C]: in function 'pairs' /EsoUI/Libraries/Utility/ZO_ObjectPool.lua:187: in function 'ZO_ObjectPool:ReleaseAllObjects' |caaaaaa<Locals> self = [table:1]{defaultAngle = 1} </Locals>|r user:/AddOns/CustomCompassPins/CustomCompassPins.lua:231: in function 'CompassPinManager:RemovePins' |caaaaaa<Locals> self = [table:1] </Locals>|r user:/AddOns/CustomCompassPins/CustomCompassPins.lua:120: in function 'COMPASS_PINS:RefreshPins' |caaaaaa<Locals> self = [table:2]{distanceCoefficient = 1.1532562594671, defaultFOV = 1.8849555921539, version = 1.31} </Locals>|r user:/AddOns/CustomCompassPins/CustomCompassPins.lua:84: in function 'callback' |caaaaaa<Locals> currentMap = "shadowfen/shadowfen_base" </Locals>|r /EsoUI/Libraries/Utility/ZO_CallbackObject.lua:107: in function 'ZO_CallbackObjectMixin:FireCallbacks' |caaaaaa<Locals> self = [table:3]{fireCallbackDepth = 1}, eventName = "CustomCompassPins_MapChanged", registry = [table:4]{}, callbackInfoIndex = 1, callbackInfo = [table:5]{3 = F}, callback = user:/AddOns/CustomCompassPins/CustomCompassPins.lua:81, deleted = F </Locals>|r user:/AddOns/CustomCompassPins/CustomCompassPins.lua:76: in function 'layoutCallback' |caaaaaa<Locals> currentMap = "shadowfen/shadowfen_base" </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:1478: in function 'ZO_WorldMapPins:RefreshCustomPins' |caaaaaa<Locals> self = [table:6]{m_NextFree = 67, nextCustomPinType = 231, m_NextControlId = 0}, pinTypeId = 231, pinData = [table:7]{pinTypeString = "CustomCompassPins_MapChangeDet...", enabled = T} </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:3842: in function 'ZO_WorldMap_UpdateMap' |caaaaaa<Locals> mapTitle = "Shadowfen" </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:6577: in function 'ZO_WorldMapManager:SetToMode' |caaaaaa<Locals> self = [table:8]{mode = 2, autoNavigationState = 1, inSpecialMode = F, antiquityDigSiteAnimationState = 1}, mode = 2, transientModeData = [table:9]{}, initialNormalizedZoom = 0, smallMap = F, layout = [table:10]{paddingY = 0, offsetY = 0, paddingX = 0, offsetX = 0} </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:6494: in function 'ZO_WorldMapManager:SetUserMode' |caaaaaa<Locals> self = [table:8], mode = 2 </Locals>|r /EsoUI/Ingame/Map/WorldMap.lua:5330: in function 'OnAddOnLoaded' |caaaaaa<Locals> eventCode = 65536, addOnName = "ZO_Ingame", defaults = [table:11]{userMode = 2}, smallCustom = [table:12]{y = 0, width = 488, mapSize = 2, height = 550, x = 0, relPoint = 128, point = 128, keepSquare = T}, uiWidth = 1920, uiHeight = 1080 </Locals>|r |
|
lcsmarsh |
View Public Profile |
Send a private message to lcsmarsh |
Send email to lcsmarsh |
Find More Posts by lcsmarsh |
Add lcsmarsh to Your Buddy List |
11/10/21, 09:56 PM | ||
|
Make sure you installed the most recent version in the correct location. If Windows OneDrive is active, then the game will load the addons from OneDrive\Documents\Elder Scrolls Online\live\AddOns folder instead of Documents\Elder Scrolls Online\live\AddOns
Last edited by Shinni : 11/10/21 at 10:00 PM.
|
|
|
Shinni |
View Public Profile |
Send a private message to Shinni |
Send email to Shinni |
Find More Posts by Shinni |
Add Shinni to Your Buddy List |
11/22/21, 07:48 AM | |
Forum posts: 0
File comments: 1
Uploads: 0
|
What am I doing wrong?
I'm not too tech savy when it comes to this stuff. From what I can tell Im updated to the newest version. Minion says Deadlands vs 1.32. I get this error that refuses to close and have to do a hard shutdown of the game. I've tried reinstaling the addon but nothing seems to work. Any suggestions on what I'm doing wrong?
bad argument #1 to 'pairs' (table/struct expected, got nil) stack traceback: [C]: in function 'pairs' /EsoUI/Libraries/Utility/ZO_ObjectPool.lua:187: in function 'ZO_ObjectPool:ReleaseAllObjects' user:/AddOns/CustomCompassPins/CustomCompassPins.lua:231: in function 'CompassPinManager:RemovePins' user:/AddOns/CustomCompassPins/CustomCompassPins.lua:120: in function 'COMPASS_PINS:RefreshPins' user:/AddOns/CustomCompassPins/CustomCompassPins.lua:84: in function 'callback' /EsoUI/Libraries/Utility/ZO_CallbackObject.lua:107: in function 'ZO_CallbackObjectMixin:FireCallbacks' user:/AddOns/CustomCompassPins/CustomCompassPins.lua:76: in function 'layoutCallback' /EsoUI/Ingame/Map/WorldMap.lua:1478: in function 'ZO_WorldMapPins:RefreshCustomPins' user:/AddOns/LibMapPins-1.0/LibMapPins-1.0.lua:372: in function 'lib:RefreshPins' user:/AddOns/Destinations/Destinations.lua:1544: in function 'RedrawAllPins' user:/AddOns/Destinations/Destinations.lua:1563: in function 'check_map_state' user:/AddOns/Destinations/Destinations.lua:1581: in function 'on_zone_changed' Thanks, Glamdering |
|
Glamdering |
View Public Profile |
Send a private message to Glamdering |
Send email to Glamdering |
Find More Posts by Glamdering |
Add Glamdering to Your Buddy List |
11/30/21, 02:42 PM | ||
Forum posts: 0
File comments: 1
Uploads: 0
|
Re: What am I doing wrong?
I had this same issue. Minion showed the addon was fully updated to 1.32, but when I checked the addons folder - it said I was still using 1.31. Download the add on from the main page and manually install it to your addons folder, choosing to overwrite the existing files. That should fix your problem, at least it did for me. |
|
|
[email protected] |
View Public Profile |
Send a private message to [email protected] |
Send email to [email protected] |
Find More Posts by [email protected] |
Add [email protected] to Your Buddy List |
07/23/22, 04:48 PM | |
|
I'm creating an addon that puts pins on the compass for group members and some town services (stables and banks). The pins themselves work ok but I cannot get the sizeCallback or additionalLayout callback functions to work, which means I can't change the size or colour of the pins. I always get the error "function expected instead of nil" from inside the callback functions if I try to call any method on the pin argument. Using debug messages, it seems that the 'pin' userdata object passed to these functions has no methods (ie pin.SetColor == nil where it should be a function).
However I've looked at the source for Skyshards, and I can't see what I'm doing differently, since that addon obviously works. Can anyone see what I'm doing wrong? Code:
local COLOR_WHITE = ZO_ColorDef:New("#ffffff") local COLOR_MINT_GREEN = ZO_ColorDef:New("c8ffd2") local COLOR_GOLD = ZO_ColorDef:New("#ffcc66") local COLOR_TAN = ZO_ColorDef:New("#f9d286") local COLOR_LAVENDER = ZO_ColorDef:New("#f9e6ff") function XCP.Initialize() XCP.settings = ZO_SavedVars:NewAccountWide("ExtraCompassPins_SV", 1, nil, XCP.defaultSettings) XCP.SetupSettings() -- LibAddonMenu stuff AddColouredPin("XCP.stable", 0.1, "esoui/art/icons/servicemappins/servicepin_stable.dds", COLOR_TAN) AddColouredPin("XCP.bank", 0.1, "esoui/art/icons/servicemappins/servicepin_bank.dds", COLOR_GOLD) AddColouredPin("XCP.refuge", 0.1, "esoui/art/icons/servicemappins/servicepin_fence.dds") AddColouredPin("groupmember", 1.0, "esoui/art/compass/groupleader.dds", COLOR_LAVENDER) AddColouredPin("groupleader", 1.0, "esoui/art/compass/groupleader.dds", COLOR_GOLD) end function AddColouredPin(pintype, maxDist, texture, colour) COMPASS_PINS:AddCustomPin(pintype, function() XCP.pinCallback() end, { maxDistance = maxDist, texture = texture, sizeCallback = function(pin, angle, normAngle, normDistance) if normDistance < 0.05 then -- baseline icon size is 32x32 -- increase size when close to icon, up to double (64x64) dim = 32 + (32 * (0.05 - normDistance)/normDistance) pin:SetDimension(dim, dim) -- error else pin:SetDimension(32, 32) -- error end end, additionalLayout = { -- "decorator" function, called on each pin after it's created function (pin, angle, normAngle, normDistance) -- r,g,b,a if pin and colour then pin:SetColor(colour:UnpackRGBA()) -- error end end, -- cleanup function, must undo any special decoration such as colours function (pin) -- reset colour to white if pin and colour then pin:SetColor(COLOR_WHITE:UnpackRGBA()) -- error end end }}) end |
|
trollusk |
View Public Profile |
Send a private message to trollusk |
Send email to trollusk |
Find More Posts by trollusk |
Add trollusk to Your Buddy List |