Download
(17 Kb)
Download
Updated: 10/15/23 02:46 AM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
Updated:10/15/23 02:46 AM
Created:06/27/14 12:58 PM
Monthly downloads:33,517
Total downloads:3,302,146
Favorites:1,762
MD5:
LibGPS  Popular! (More than 5000 hits)
Version: 3.3.2
by: sirinsidiator, votan
Have you ever tried to save or send a position on the map with your addon? You might have noticed that this is not as easy as it sounds.
This library efficiently converts a position on any map into a global position that you can save or share. This is made possible by measuring maps once when they are encountered for the first time during a play session and only doing simple calculations afterwards.

Dependencies
Make sure to install the following required libraries in order to use LibGPS.


Quick Start
Add the necessary statements in your addon manifest to load the files:
Code:
## DependsOn: LibGPS>=30
NOTE: The >=30 tells the game to require AddOnVersion 30 or greater, which happens to be the first version with the 3.0 API and has nothing to do with the semantic version. It is simply a build number provided by the build script used to package the library.

In order to use the library you have to get an instance from the global variable:
Code:
local gps = LibGPS3
Next you can convert a position on the currently active map into a global position on the Tamriel map by calling LocalToGlobal.
For example you can convert the local player position into a global position with the following line of code:
Code:
local x, y = gps:LocalToGlobal(GetMapPlayerPosition("player"))
The resulting x and y can be saved, sent or whatever else you want to do with it.
NOTE: For some locations the global coordinates can be outside the bounds for normalized coordinates, for example Coldharbour has negative x coordinates as it is to the left of Tamriel in the global coordinate space.

After you have loaded or received a global position you just need to call GlobalToLocal to get the position on the current map.
Code:
local x, y = gps:GlobalToLocal(x, y)


Migrating from LibGPS2
LibGPS3 offers full backwards compatibility to LibGPS2 (see compatibility.lua), but it's still highly recommended to migrate to the new API.
In order to use the new API, simply access the library via the "LibGPS3" global variable instead of "LibGPS2" or LibStub.
Most functions stayed the same between v2 and v3, but there are a few breaking changes. The following list shows how to migrate those cases.

Renamed functions
Some function names have been changed to better reflect the return value.
  • ClearCurrentMapMeasurements -> ClearCurrentMapMeasurement
  • GetCurrentMapMeasurements -> GetCurrentMapMeasurement
  • CalculateMapMeasurements -> CalculateMapMeasurement

Measurement object
GetCurrentMapMeasurement now returns an object with some convenience methods instead of a plain table. See the description below in the API reference for details on what it can do.

LocalToGlobal
The mapIndex return value has been removed as our understanding of what a map is has changed and it was deemed unnecessary for most use cases.
If you still need it, you can use GetCurrentMapMeasurement() to fetch the measurement object and retrieve it from there.

ZoneToGlobal
This method was used a long time ago to offer a way to migrate LibGPS1 coordinates. Since then it has become effectivly unnecessary and only causes confusion. As such it has been removed without replacement.

PanToMapPosition
This has become easily possible via ingame functionality since the time it was initially added to the library. Simply use "ZO_WorldMap_GetPanAndZoom():PanToNormalizedPosition(x, y)" instead.

OnLibGPS2MeasurementChanged callback
There is now a constant LIB_EVENT_STATE_CHANGED for the callback name, which should be used instead of the plain string.



API Reference
Here is a complete list of the functionality that is provided by LibGPS:

IsReady
Returns true as long as the player exists.
Code:
lib:IsReady()
IsMeasuring
Returns true if the library is currently doing any measurements.
Code:
lib:IsMeasuring()
ClearMapMeasurements
Removes all cached measurement values.
Code:
lib:ClearMapMeasurements()
ClearCurrentMapMeasurement
Removes the cached measurement for the map that is currently active.
Code:
lib:ClearCurrentMapMeasurement()
GetCurrentMapMeasurement
Returns a measurement object for the active map or nil if the measurement could not be calculated for some reason.
See the description of the Measurement object for details.
Code:
Measurement measurement = lib:GetCurrentMapMeasurement()
GetMapMeasurementByMapId
Returns a measurement object for the requested map id or nil if the measurement could not be calculated for some reason.
See the description of the Measurement object for details.
Code:
Measurement measurement = lib:GetMapMeasurementByMapId(mapId)
GetCurrentMapParentZoneIndices
Returns the mapIndex, zoneIndex and zoneId of the parent zone for the currently set map.
Code:
number mapIndex, number zoneIndex, number zoneId = lib:GetCurrentMapParentZoneIndices()
CalculateMapMeasurement
Calculates the measurement for the current map and all parent maps.
This method does nothing if there is already a cached measurement for the active map.
Returns a boolean to indicate if the measurement was successful and a SetMapResultCode indicating if the map has changed independently of the actual result of the measurement.
Code:
boolean isSuccess, SetMapResultCode result = lib:CalculateMapMeasurement()
LocalToGlobal
Converts the given map coordinates on the current map into coordinates on the Tamriel map.
Returns x and y on the world map or nil if the measurements of the active map are not available.
Code:
number x, number y = lib:LocalToGlobal(number x, number y)
GlobalToLocal
Converts the given global coordinates into a position on the active map.
Returns x and y on the current map or nil if the measurements of the active map are not available.
Code:
number x, number y = lib:GlobalToLocal(number x, number y)
SetPlayerChoseCurrentMap
This function sets the current map as player chosen so it won't snap back to the previous map.
Code:
lib:SetPlayerChoseCurrentMap()
SetMapToRootMap
Sets the best matching root map on the given global position: Tamriel, Cold Harbour or Clockwork City and what ever will come.
Returns SET_MAP_RESULT_FAILED, SET_MAP_RESULT_MAP_CHANGED depending on the result of the API calls.
Code:
SetMapResultCode result = lib:SetMapToRootMap(number globalX, number globalY)
MapZoomInMax
Repeatedly calls ProcessMapClick on the given global position starting on the root map (using the function above) until nothing more would happen.
Returns SET_MAP_RESULT_FAILED, SET_MAP_RESULT_MAP_CHANGED or SET_MAP_RESULT_CURRENT_MAP_UNCHANGED depending on the result of the API calls.
Code:
SetMapResultCode result = lib:MapZoomInMax(number globalX, number globalY)
PushCurrentMap
This function stores information about how to return to the current map on a stack.
Code:
lib:PushCurrentMap()
PopCurrentMap
Switches to the last map that was put on the stack.
Returns SET_MAP_RESULT_FAILED, SET_MAP_RESULT_MAP_CHANGED or SET_MAP_RESULT_CURRENT_MAP_UNCHANGED depending on the result of the API calls.
Code:
SetMapResultCode result = lib:PopCurrentMap()
GetCurrentWorldSize
Returns the current size of Tamriel in world-units.
Code:
number scale = lib:GetCurrentWorldSize()
GetLocalDistanceInMeters
Returns the distance in meters of given local coords.
Code:
number distance = lib:GetLocalDistanceInMeters(number lx1, number ly1, number lx2, number ly2)
GetGlobalDistanceInMeters
Returns the distance in meters of given global coords.
Code:
number distance = lib:GetGlobalDistanceInMeters(number gx1, number gy1, number gx2, number gy2)
GetWorldGlobalRatio
Returns how much greater the level is compared to its size on the map.
Code:
number ratio = lib:GetWorldGlobalRatio()
GetGlobalWorldRatio
Returns how much smaller global scaled values must be to fit the current level.
Code:
number ratio = lib:GetGlobalWorldRatio()
lib.LIB_EVENT_STATE_CHANGED
This callback is fired on the global CALLBACK_MANAGER when a map measurement begins or ends and passes the same value as lib:IsMeasuring().
If you have a custom handler for player waypoints in EVENT_MAP_PING you may want to ignore these events while a measurement is active.
Code:
CALLBACK_MANAGER:RegisterCallback(lib.LIB_EVENT_STATE_CHANGED, function(boolean isMeasuring) end)


Measurement
This object returned by GetCurrentMapMeasurement() contains all the data about a map measurement and offers some convenience functions to interact with them.

GetId
Returns a unique id for the measurement which is used to store it in the saved variables. Details are implementation specific and may change between versions.
Code:
local id = measurement:GetId()
GetMapIndex
Returns the mapIndex or nil if the measured map doesn't have one.
Code:
local mapIndex = measurement:GetMapIndex()
GetZoneId
Returns the zoneId for the measurement. Keep in mind that a map can have multiple zoneIds within its borders and a zoneId can also span multiple maps.
Code:
local zoneId = measurement:GetZoneId()
GetScale
Returns the scale in the global coordinate space for the current map.
Code:
local scaleX, scaleY = measurement:GetScale()
GetOffset
Returns the offset in the global coordinate space for the current map.
Code:
local offsetX, offsetY = measurement:GetOffset()
IsValid
Returns true if the measurement contains valid data.
Code:
local valid = measurement:IsValid()
ToGlobal
Converts and returns global coordinates for a given local coordinate pair. Used by LocalToGlobal.
Code:
local gx, gy = measurement:ToGlobal(x, y)
ToLocal
Converts and returns local coordinates for a given global coordinate pair. Used by GlobalToLocal.
Code:
local x, y = measurement:ToLocal(gx, gy)
GetCenter
Returns the center of the measured map as global coordinates.
Code:
local cx, cy = measurement:GetCenter()
Contains
Returns true if the given global coordinates are inside the measured map.
Code:
local inside = measurement:Contains(gx, gy)
version 3.3.2:
- API bump for U40.
- Handle ingame missing map bug in GetLocalDistanceInMeters().

version 3.3.1:
- Fixed typo. Thanks to @M-ree.
- Fixed missing parameter. Thanks to @HansK.
- Better "sub-zone without own map" handling.

version 3.3.0 - votan
Update for Necrom:
  • New extra dimension: Aphocrypha.
  • Better world size calculation.
  • Replaced GetPlayerPosition with GetNormalizedPositionFromWorld where possible to get around the "frozen" positions.
  • No need to persist world size measurements. One variable file less to load and save.
  • Fixed sub-zones without own map, but different world scale.
  • Removed unused code: WaypointManager.

version 3.2.0 - sirinsidiator
  • Added new api to GetMeasurementByMapId (#17, thanks Thal-J!)
  • Updated API version in manifest

version 3.1.0 - votan
  • Update to API 101032.
  • Use GetUniversallyNormalizedMapInfo.
  • New root maps: Fargrave and Deathlands.

version 3.0.3 - sirinsidiator & votan
  • Fixed nil error in some locations
  • Fixed incorrect world size in some locations

version 3.0.2 - sirinsidiator & votan
  • Added hook for SetMapToMapId
  • Fixed some problems regarding Blackreach
  • Simplified some internal code utilizing new API functions
  • Updated API version in manifest

version 3.0.1 - sirinsidiator
  • Added hook for SetMapToDigSitePosition (#10, thanks Shinni!)
  • Fixed compatibility assertion when LibStub is not loaded

version 3.0.0 - sirinsidiator & votan
  • Updated code structure and split it into multiple files
  • Changed saved variable format to be more compact
  • Switched to semantic versioning
  • Switched to LibDebugLogger and LibChatMessage for debug and chat output respectively
    • NOTE: Make sure you have them installed separately!
  • Introduced a new API v3 and added compatibility layer for LibGPS2 ->
    • NOTE: Check the migration guide on the description tab to see what has changed and how to switch to the new API
  • Added experimental support for calculating distances in world space
    • NOTE: Let us know if you find any problems
  • Fixed some bugs and introduced new ones
  • Updated API version in manifest


version 2.0 r21 - sirinsidiator
  • Reverted a change that would cause measurements to be incorrect in combination with mini map addons
    • NOTE: Persisted measurements will be wiped automatically

version 2.0 r20 - sirinsidiator
  • Fixed error when LibStub is not loaded

version 2.0 r19 - sirinsidiator
  • Fixed version updates for persistent measurements not working correctly in some cases
  • Fixed ClearMapMeasurements not removing persistent data
  • Fixed map measurements producing illegal values when the player pin is near the world origin for some reason, which could result in inaccurate measurements or even errors on load.
    • NOTE: The error will still show up on the first load after updating the library, but should be gone after that

version 2.0 r18 - votan
  • Persist measurements. Do not do them on every (re-)load again.
  • API version update.
  • Hook SetMapToAutoMapNavigationTargetPosition, too.
  • LibMapPing not bundled anymore.

version 2.0 r17 - votan
  • Update to API 100027 "Elsweyr".

version 2.0 r16 - sirinsidiator
  • fixed error due to renamed methods in Murkmire

version 2.0 r15 - votan
  • Handling the new zone "Artaeum".

version 2.0 r14 - votan
  • Fixed MapZoomInMax. Now working for Cold Harbour and Clockwork City aswell.
  • New function SetMapToRootMap(x, y) using global coordinates to choose the right root map.
  • LibMapPing rev 6
    • Fixed map ping events can cause wrong waypoint/rally pins in combination with addons changing the current map.

version 2.0 r13 - votan
  • Fixed issue with missing waypoint pin, if addons use different revisions. Thanks to @babylon.
  • Fully compatible with Morrowind+, now.
  • Restore pan & zoom after measurement as well.

version 2.0 r12 - votan
  • Handling the new zone "Clockwork City".

version 2.0 r11 - votan
  • Fixed issue, which was fixed in rev9 and lost in rev10, again. e.g. "Show on Map"
  • Update API version in manifest
  • Make use of new API functions to get pin manager and pan to location.

version 2.0 r10 - sirinsidiator
  • added new method GetCurrentMapParentZoneIndices
  • update API version in manifest

version 2.0 r9 - votan
  • Fixed issue with maps like "Blackwood Borderlands".
  • update API version in manifest

version 2.0 r8 - sirinsidiator
  • updated LibMapPing to r5
  • update API version in manifest

version 2.0 r7.1 - sirinsidiator
  • fixed issue in PopCurrentMap where it would throw an error on some maps

version 2.0 r7a - sirinsidiator
  • updated the bundled LibMapPing to r4
  • no other changes

version 2.0 r7 - sirinsidiator
  • fixed player waypoints not showing on the map in some cases
  • removed some compatibility code for old API

version 2.0 r6 - sirinsidiator
  • Prepared library for API version 100014
  • Improved measurement algorithm for better addon compatibility
  • Added LibMapPing to handle silent setting of map pings
    • Note: This is a required dependency and you need to include it in your addon and load it before LibGPS
  • Added two new functions PushCurrentMap and PopCurrentMap to handle returning to a previous map

version 2.0 r5.4 - votan
  • Fixed muting waypoint click sound can get stucked. (you need to place the waypoint more times until it is working again)
  • Hooked ProcessClick to get map measurement while clicking down to a (sub-)zone already.

version 2.0 r5.3 - votan
  • Restore player waypoint correctly. Broken since ESO 2.2.5???

version 2.0 r5.2 - votan
  • New functions IsReady() and IsMeasuring()
  • Earlier initialization: LibGPS is ready at player activation.

version 2.0 r5.1 - votan
  • New origin map location detection does not use localized names (GetMapName, GetPlayerLocationName) anymore. Instead working with SetMapToPlayerLocation. Thanks to circonian for inspiring idea.

version 2.0 r5 - votan
  • Origin map location detection: isPlayerLocation uses in-string search and exception list.
  • Hook all SetMapTo* functions, for a deterministic last action
Both changes hopefully fixing problems with dungeons.

version 2.0 r4.3 - votan
  • Fixed map measurement for dungeons like "The Harborage".
  • Removed code for API 100011.

version 2.0 r4.2 - votan
  • Fix for recent changes to EVENT_MAP_PING behavior. (Update 7)

version 2.0 r4.1 - votan
  • Fixed minor bug with Transitus Shrine of alliance base: Depending on when LibGPS does its measurement, you got locked to the alliance base subzone, because map navigation is disabled while interacting with a Transitus Shrine.

version 2.0 r4 - votan
  • ESO 2.1 API 100012 ready
  • Event name is public now: lib.LIB_EVENT_STATE_CHANGED
  • Fixing issue if near a wayshrine sub-zone: Map was not detected as current player location
  • For devs: new switch to enable debug: lib.debugMode = 1

version 2.0 r3 - votan
  • Rewrote calculation of map measurements to get rid of using zo_callLater to prevend timing issues
  • Introduced new event callback to get notified when measurement starts and ends

version 2.0.1 - sirinsidiator
features
  • updated to latest API version

version 2.0 - sirinsidiator
features
  • rewrote calculation of map measurements to be more robust and efficient fixing many cases where calculations where not working as intended
  • changed library to use real global positions (tamriel coordinates)
  • added counter measure against a bug in the game where the waypoint is lost when entering or leaving some dungeons
  • fixed libGPS interfering with manually changing the map to one that has not been measured yet
  • changed how the waypoint sounds are muted to prevent the whole UI from being muted permanently in some cases
  • added error messages with attached debug information that can be copied to clipboard
  • split off CalculateCurrentMapMeasurements function from GetCurrentMapMeasurements
  • added ZoneToGlobal function to convert from old global coordinates to new format
  • added ClearCurrentMapMeasurements function to clear measurements of only the current map
  • added PanToMapPosition function which allows to pan to any position on the current map
  • added MapZoomInMax function which zooms in as far as possible (map wise) for a given global position
  • added SetPlayerChoseCurrentMap function which allows you to set the current map as player chosen, thus preventing the map from automatically snapping back.

version 1.0.1 - sirinsidiator
features
  • renamed zoneIndex to mapIndex to avoid confusion (thanks Garkin)
Optional Files (0)


Archived Files (40)
File Name
Version
Size
Uploader
Date
3.3.1
17kB
votan
08/26/23 07:01 AM
3.3.0
16kB
votan
05/17/23 12:51 PM
3.2.0
18kB
sirinsidiator
06/06/22 02:02 PM
3.1.0
18kB
votan
10/02/21 11:38 AM
3.0.3
18kB
sirinsidiator
11/11/20 06:00 AM
3.0.2
18kB
sirinsidiator
11/09/20 11:50 AM
3.0.1
18kB
sirinsidiator
04/25/20 11:44 AM
3.0.0
18kB
sirinsidiator
04/24/20 03:36 AM
2.0 r21
11kB
sirinsidiator
02/28/20 04:10 PM
2.0 r20
11kB
sirinsidiator
02/27/20 01:51 PM
2.0 r19
11kB
sirinsidiator
02/26/20 03:26 PM
2.0_r18
11kB
votan
01/11/20 04:23 PM
r17
20kB
sirinsidiator
05/15/19 01:15 PM
r16
28kB
sirinsidiator
09/19/18 10:48 AM
r15
19kB
votan
04/29/18 01:35 PM
r14
19kB
votan
11/07/17 12:25 PM
r13
19kB
votan
10/08/17 09:52 AM
r12
19kB
votan
09/29/17 11:32 AM
r11
19kB
sirinsidiator
02/13/17 12:57 PM
r10
19kB
sirinsidiator
01/28/17 01:49 PM
r9
18kB
votan
09/30/16 11:04 AM
r8
19kB
sirinsidiator
07/14/16 02:47 PM
r7.1
18kB
sirinsidiator
04/24/16 12:55 PM
r7a
18kB
sirinsidiator
03/19/16 09:00 AM
r7
18kB
sirinsidiator
03/14/16 10:45 AM
r6
18kB
sirinsidiator
02/20/16 11:43 AM
2.0 r5.4
11kB
votan
12/06/15 02:53 PM
2.0 r5.3
11kB
votan
11/25/15 03:10 PM
2.0 r5.2
11kB
votan
11/08/15 09:24 AM
2.0 r5.1
11kB
votan
10/01/15 10:56 AM
2.0 r5
11kB
votan
09/19/15 07:39 AM
2.0 r4.3
10kB
votan
09/06/15 01:39 AM
2.0 r4.2
10kB
votan
08/30/15 12:13 PM
2.0 r4.1
10kB
votan
08/21/15 11:03 AM
2.0 r4
10kB
votan
08/13/15 01:05 PM
2.0 r3
8kB
votan
04/23/15 12:33 PM
2.0.1
7kB
sirinsidiator
08/06/14 09:14 AM
2.0
7kB
sirinsidiator
07/30/14 01:58 PM
1.0.1
3kB
sirinsidiator
06/28/14 06:44 AM
1.0
3kB
sirinsidiator
06/27/14 12:58 PM


Post A Reply Comment Options
Unread 04/12/21, 04:50 PM  
manwoodsal

Forum posts: 0
File comments: 115
Uploads: 0
Error at login

I started to get this error at every login

EsoUI/Ingame/Map/WorldMap.lua:2235: attempt to index a nil value
stack traceback:
EsoUI/Ingame/Map/WorldMap.lua:2235: in function 'SetMapWindowSize'
|caaaaaa<Locals> newWidth = 690, newHeight = 708 </Locals>|r
EsoUI/Ingame/Map/WorldMap.lua:2664: in function 'ZO_MapPanAndZoom:SetCurrentNormalizedZoomInternal'
|caaaaaa<Locals> self = [table:1]{canZoomInFurther = T, allowPanPastMapEdge = F, canZoomOutFurther = F, maxZoom = 5, minZoom = 1, mapMax = 5, mapMin = 1, currentNormalizedZoom = 0, reachedTargetOffset = T}, normalizedZoom = 0 </Locals>|r
EsoUI/Ingame/Map/WorldMap.lua:2651: in function 'ZO_MapPanAndZoom:SetCurrentNormalizedZoom'
|caaaaaa<Locals> self = [table:1], zoom = 0 </Locals>|r
(tail call): ?
(tail call): ?
user:/AddOns/LibGPS/MapStack.lua:54: in function 'MapStack:Pop'
|caaaaaa<Locals> self = [table:2]{}, mapStack = [table:3]{}, data = [table:4]{1 = 1287}, adapter = [table:5]{}, meter = [table:6]{measuring = T, unitZoneId = 0}, mapId = 1287, zoom = 0, offsetX = 0, offsetY = 0, result = 2 </Locals>|r
(tail call): ?
user:/AddOns/LibGPS/TamrielOMeter.lua:201: in function 'TamrielOMeter:CalculateMapMeasurement'
|caaaaaa<Locals> self = [table:6], returnToInitialMap = T, adapter = [table:5], mapId = "Art/maps/vvardenfell/viviccity...", localX = 0.27980795502663, localY = 0.47166007757187, waypointManager = [table:7]{x = 0, playerY = 0, y = 0, playerX = 0, suppressCount = 1}, hasWaypoint = F, mapIndex = 30 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:128: in function 'TamrielOMeter:GetCurrentMapMeasurement'
|caaaaaa<Locals> self = [table:6], mapId = "Art/maps/vvardenfell/viviccity..." </Locals>|r
(tail call): ?
user:/AddOns/LibGPS/MapAdapter.lua:43: in function 'orgSetMapToPlayerLocation'
|caaaaaa<Locals> result = 2 </Locals>|r
user:/AddOns/MapCoordinates/Libs/LibGPS/LibGPS.lua:331: in function 'NewSetMapToPlayerLocation'
user:/AddOns/MapCoordinates/Libs/LibGPS/LibGPS.lua:440: in function 'Initialize'
user:/AddOns/MapCoordinates/Libs/LibGPS/LibGPS.lua:739: in function '(main chunk)'
|caaaaaa<Locals> LIB_NAME = "LibGPS2", lib = [table:8]{suppressCount = 0, LIB_EVENT_STATE_CHANGED = "OnLibGPS2MeasurementChanged"}, LMP = [table:9]{MAP_PING_SET_PENDING = 2, MAP_PING_SET = 3, MAP_PING_NOT_SET = 0, MAP_PING_NOT_SET_PENDING = 1}, DUMMY_PIN_TYPE = "LibGPS2DummyPin", LIB_IDENTIFIER_FINALIZE = "LibGPS2_Finalize", LOG_WARNING = "Warning", LOG_NOTICE = "Notice", LOG_DEBUG = "Debug", POSITION_MIN = 0.085, POSITION_MAX = 0.915, TAMRIEL_MAP_INDEX = 1, COLDHARBOUR_MAP_INDEX = 23, mapMeasurements = [table:10]{}, mapStack = [table:11]{}, MAP_PIN_TYPE_PLAYER_WAYPOINT = 182, currentWaypointX = 0, currentWaypointY = 0, needWaypointRestore = F, orgSetMapToMapListIndex = user:/AddOns/LibGPS/MapAdapter.lua:41, orgSetMapToQuestCondition = user:/AddOns/LibGPS/MapAdapter.lua:41 </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 02/14/21, 12:12 PM  
Tobbe

Forum posts: 2
File comments: 25
Uploads: 0
Re: Re: Error at every login

Originally Posted by sirinsidiator
Originally Posted by Tobbe
Hi

Every time i login i get a with below error.
How do i get rid of this?

Code:
EsoUI/Ingame/Map/WorldMap.lua:2232: attempt to index a nil value
stack traceback:
EsoUI/Ingame/Map/WorldMap.lua:2232: in function 'SetMapWindowSize'
EsoUI/Ingame/Map/WorldMap.lua:2661: in function 'ZO_MapPanAndZoom:SetCurrentNormalizedZoomInternal'
EsoUI/Ingame/Map/WorldMap.lua:2648: in function 'ZO_MapPanAndZoom:SetCurrentNormalizedZoom'
(tail call): ?
(tail call): ?
user:/AddOns/HarvestMap/Libs/LibGPS/MapStack.lua:54: in function 'MapStack:Pop'
(tail call): ?
user:/AddOns/HarvestMap/Libs/LibGPS/TamrielOMeter.lua:201: in function 'TamrielOMeter:CalculateMapMeasurement'
user:/AddOns/HarvestMap/Libs/LibGPS/TamrielOMeter.lua:128: in function 'TamrielOMeter:GetCurrentMapMeasurement'
(tail call): ?
user:/AddOns/HarvestMap/Libs/LibGPS/MapAdapter.lua:43: in function 'orgSetMapToPlayerLocation'
user:/AddOns/LibGroupSocket/LibGPS/LibGPS.lua:325: in function 'NewSetMapToPlayerLocation'
user:/AddOns/LibGroupSocket/LibGPS/LibGPS.lua:423: in function 'Initialize'
user:/AddOns/LibGroupSocket/LibGPS/LibGPS.lua:712: in function '(main chunk)'
In the error you posted you can see that the game runs 2 different versions of LibGPS at the same time from within LibGroupSocket and HarvestMap, which is bound to fail.
Try to search and delete all LibGPS folders in your AddOns folder that are inside other addons and make sure you install the latest version of LibGPS separately.
Ok, thanks.
So then the authors of LibGroupSocket and HarvestMap should probably also convert to external dependencies instead of bundling it?

All installed addons i have is latest versions according to Minion and i got LibGPS installed separately
Last edited by Tobbe : 02/14/21 at 12:12 PM.
Report comment to moderator  
Reply With Quote
Unread 02/14/21, 09:39 AM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1566
File comments: 1117
Uploads: 41
Re: Error at every login

Originally Posted by Tobbe
Hi

Every time i login i get a with below error.
How do i get rid of this?

Code:
EsoUI/Ingame/Map/WorldMap.lua:2232: attempt to index a nil value
stack traceback:
EsoUI/Ingame/Map/WorldMap.lua:2232: in function 'SetMapWindowSize'
EsoUI/Ingame/Map/WorldMap.lua:2661: in function 'ZO_MapPanAndZoom:SetCurrentNormalizedZoomInternal'
EsoUI/Ingame/Map/WorldMap.lua:2648: in function 'ZO_MapPanAndZoom:SetCurrentNormalizedZoom'
(tail call): ?
(tail call): ?
user:/AddOns/HarvestMap/Libs/LibGPS/MapStack.lua:54: in function 'MapStack:Pop'
(tail call): ?
user:/AddOns/HarvestMap/Libs/LibGPS/TamrielOMeter.lua:201: in function 'TamrielOMeter:CalculateMapMeasurement'
user:/AddOns/HarvestMap/Libs/LibGPS/TamrielOMeter.lua:128: in function 'TamrielOMeter:GetCurrentMapMeasurement'
(tail call): ?
user:/AddOns/HarvestMap/Libs/LibGPS/MapAdapter.lua:43: in function 'orgSetMapToPlayerLocation'
user:/AddOns/LibGroupSocket/LibGPS/LibGPS.lua:325: in function 'NewSetMapToPlayerLocation'
user:/AddOns/LibGroupSocket/LibGPS/LibGPS.lua:423: in function 'Initialize'
user:/AddOns/LibGroupSocket/LibGPS/LibGPS.lua:712: in function '(main chunk)'
In the error you posted you can see that the game runs 2 different versions of LibGPS at the same time from within LibGroupSocket and HarvestMap, which is bound to fail.
Try to search and delete all LibGPS folders in your AddOns folder that are inside other addons and make sure you install the latest version of LibGPS separately.
Report comment to moderator  
Reply With Quote
Unread 02/14/21, 07:31 AM  
Tobbe

Forum posts: 2
File comments: 25
Uploads: 0
Error at every login

Hi

Every time i login i get a with below error.
How do i get rid of this?

Code:
EsoUI/Ingame/Map/WorldMap.lua:2232: attempt to index a nil value
stack traceback:
EsoUI/Ingame/Map/WorldMap.lua:2232: in function 'SetMapWindowSize'
EsoUI/Ingame/Map/WorldMap.lua:2661: in function 'ZO_MapPanAndZoom:SetCurrentNormalizedZoomInternal'
EsoUI/Ingame/Map/WorldMap.lua:2648: in function 'ZO_MapPanAndZoom:SetCurrentNormalizedZoom'
(tail call): ?
(tail call): ?
user:/AddOns/HarvestMap/Libs/LibGPS/MapStack.lua:54: in function 'MapStack:Pop'
(tail call): ?
user:/AddOns/HarvestMap/Libs/LibGPS/TamrielOMeter.lua:201: in function 'TamrielOMeter:CalculateMapMeasurement'
user:/AddOns/HarvestMap/Libs/LibGPS/TamrielOMeter.lua:128: in function 'TamrielOMeter:GetCurrentMapMeasurement'
(tail call): ?
user:/AddOns/HarvestMap/Libs/LibGPS/MapAdapter.lua:43: in function 'orgSetMapToPlayerLocation'
user:/AddOns/LibGroupSocket/LibGPS/LibGPS.lua:325: in function 'NewSetMapToPlayerLocation'
user:/AddOns/LibGroupSocket/LibGPS/LibGPS.lua:423: in function 'Initialize'
user:/AddOns/LibGroupSocket/LibGPS/LibGPS.lua:712: in function '(main chunk)'
Report comment to moderator  
Reply With Quote
Unread 01/06/21, 06:46 AM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1566
File comments: 1117
Uploads: 41
Hey. Looking at everything you posted so far, this error shouldn't be possible. If it happens again, could you please upload your LibDebugLogger.lua file from the Saved Variables folder to https://sir.insidi.at/or/logviewer/ and pm the link to votan or me?
You should also check if there are other copies of LibGPS bundled with some of your addons. Maybe one of them gets loaded over the latest version for some reason. You can see that in the log viewer for yourself too when you switch to the sessions tab.
Report comment to moderator  
Reply With Quote
Unread 01/05/21, 08:02 PM  
Armodeniz
 
Armodeniz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 28
Uploads: 3
This is the second half of the savedvariable file. It is too long, i have to split it.
Lua Code:
  1. ["Art/maps/skyrim/westernskryim_base_0.dds"] =
  2. {
  3. ["scaleY"] = 0.1586712015,
  4. ["scaleX"] = 0.1586711756,
  5. ["zoneIndex"] = 743,
  6. ["offsetY"] = 0.1524700035,
  7. ["mapIndex"] = 38,
  8. ["offsetX"] = 0.3421924150,
  9. },
  10. ["Art/maps/clockwork/evergloam_base_0.dds"] =
  11. {
  12. ["scaleY"] = 0.0039147997,
  13. ["scaleX"] = 0.0039147999,
  14. ["zoneIndex"] = 589,
  15. ["offsetY"] = 1.0537735800,
  16. ["mapIndex"] = 31,
  17. ["offsetX"] = 0.3232007985,
  18. },
  19. ["Art/maps/summerset/summerset_base_0.dds"] =
  20. {
  21. ["scaleY"] = 0.2635414601,
  22. ["scaleX"] = 0.2635416170,
  23. ["zoneIndex"] = 616,
  24. ["offsetY"] = 0.6064645820,
  25. ["mapIndex"] = 32,
  26. ["offsetX"] = -0.0035352139,
  27. },
  28. ["Art/maps/darkbrotherhood/goldcoast_base_0.dds"] =
  29. {
  30. ["scaleY"] = 0.0999999557,
  31. ["scaleX"] = 0.1000000042,
  32. ["zoneIndex"] = 448,
  33. ["offsetY"] = 0.5180393745,
  34. ["mapIndex"] = 29,
  35. ["offsetX"] = 0.2867492014,
  36. },
  37. ["Art/maps/craglorn/UI_Map_FalkreathsDemise_base_0.dds"] =
  38. {
  39. ["scaleY"] = 0.0018979828,
  40. ["scaleX"] = 0.0018980114,
  41. ["zoneIndex"] = 500,
  42. ["offsetY"] = 0.3745320018,
  43. ["mapIndex"] = 25,
  44. ["offsetX"] = 0.4622871909,
  45. },
  46. ["Art/maps/Glenumbra/glenumbra_base_0.dds"] =
  47. {
  48. ["scaleY"] = 0.1484375803,
  49. ["scaleX"] = 0.1484375713,
  50. ["zoneIndex"] = 2,
  51. ["offsetY"] = 0.2739843986,
  52. ["mapIndex"] = 2,
  53. ["offsetX"] = 0.0200001553,
  54. },
  55. ["Art/maps/shadowfen/shadowfen_base_0.dds"] =
  56. {
  57. ["scaleY"] = 0.1199999363,
  58. ["scaleX"] = 0.1200000170,
  59. ["zoneIndex"] = 19,
  60. ["offsetY"] = 0.5138282285,
  61. ["mapIndex"] = 9,
  62. ["offsetX"] = 0.6914844699,
  63. },
  64. ["Art/maps/deshaan/deshaan_base_0.dds"] =
  65. {
  66. ["scaleY"] = 0.1599199346,
  67. ["scaleX"] = 0.1599199974,
  68. ["zoneIndex"] = 10,
  69. ["offsetY"] = 0.4291602154,
  70. ["mapIndex"] = 10,
  71. ["offsetX"] = 0.6935999860,
  72. },
  73. ["Art/maps/clockwork/clockwork_base_0.dds"] =
  74. {
  75. ["scaleY"] = 0.1997304035,
  76. ["scaleX"] = 0.1997302921,
  77. ["zoneIndex"] = 589,
  78. ["offsetY"] = 0.9602148100,
  79. ["mapIndex"] = 31,
  80. ["offsetX"] = 0.1575575037,
  81. },
  82. ["Art/maps/craglorn/UI_Map_FalkreathsDemise_b_base_0.dds"] =
  83. {
  84. ["scaleY"] = 0.0001591991,
  85. ["scaleX"] = 0.0001592019,
  86. ["zoneIndex"] = 500,
  87. ["offsetY"] = 0.3758539991,
  88. ["mapIndex"] = 25,
  89. ["offsetX"] = 0.4628408027,
  90. },
  91. ["Art/maps/eastmarch/eastmarch_base_0.dds"] =
  92. {
  93. ["scaleY"] = 0.1599998300,
  94. ["scaleX"] = 0.1600000000,
  95. ["zoneIndex"] = 15,
  96. ["offsetY"] = 0.2206040035,
  97. ["mapIndex"] = 13,
  98. ["offsetX"] = 0.5540955925,
  99. },
  100. ["Art/maps/craglorn/UI_Map_FalkreathsDemise_i_base_0.dds"] =
  101. {
  102. ["scaleY"] = 0.0006583836,
  103. ["scaleX"] = 0.0006584112,
  104. ["zoneIndex"] = 500,
  105. ["offsetY"] = 0.3741455913,
  106. ["mapIndex"] = 25,
  107. ["offsetX"] = 0.4618603927,
  108. },
  109. ["Art/maps/clockwork/basilica_01_base_0.dds"] =
  110. {
  111. ["scaleY"] = 0.0134971935,
  112. ["scaleX"] = 0.0134971976,
  113. ["zoneIndex"] = 589,
  114. ["offsetY"] = 1.0123091622,
  115. ["mapIndex"] = 31,
  116. ["offsetX"] = 0.2502099946,
  117. },
  118. ["Art/maps/clockwork/ccq5_FL1_base_0.dds"] =
  119. {
  120. ["scaleY"] = 0.0178791716,
  121. ["scaleX"] = 0.0178791936,
  122. ["zoneIndex"] = 589,
  123. ["offsetY"] = 1.0289068386,
  124. ["mapIndex"] = 31,
  125. ["offsetX"] = 0.2742316117,
  126. },
  127. ["Art/maps/clockwork/ccunderground_base_0.dds"] =
  128. {
  129. ["scaleY"] = 0.0059355993,
  130. ["scaleX"] = 0.0059355972,
  131. ["zoneIndex"] = 589,
  132. ["offsetY"] = 1.0341743837,
  133. ["mapIndex"] = 31,
  134. ["offsetX"] = 0.2545259900,
  135. },
  136. ["Art/maps/thievesguild/hewsbane_base_0.dds"] =
  137. {
  138. ["scaleY"] = 0.0901315700,
  139. ["scaleX"] = 0.0901316056,
  140. ["zoneIndex"] = 442,
  141. ["offsetY"] = 0.4633529480,
  142. ["mapIndex"] = 28,
  143. ["offsetX"] = 0.1900015975,
  144. },
  145. ["Art/maps/tamriel/Tamriel_0.dds"] =
  146. {
  147. ["scaleY"] = 1,
  148. ["scaleX"] = 1,
  149. ["mapIndex"] = 1,
  150. ["offsetY"] = 0,
  151. ["zoneIndex"] = 4294967296,
  152. ["offsetX"] = 0,
  153. },
  154. ["Art/maps/vvardenfell/vvardenfell_base_0.dds"] =
  155. {
  156. ["scaleY"] = 0.1799815923,
  157. ["scaleX"] = 0.1799815508,
  158. ["mapIndex"] = 30,
  159. ["offsetY"] = 0.2212420050,
  160. ["zoneIndex"] = 467,
  161. ["offsetX"] = 0.6811404109,
  162. },
  163. ["Art/maps/craglorn/craglorn_base_0.dds"] =
  164. {
  165. ["scaleY"] = 0.1287999832,
  166. ["scaleX"] = 0.1287999868,
  167. ["zoneIndex"] = 500,
  168. ["offsetY"] = 0.2922399957,
  169. ["mapIndex"] = 25,
  170. ["offsetX"] = 0.3444400375,
  171. },
  172. ["Art/maps/clockwork/ccunderground02_base_0.dds"] =
  173. {
  174. ["scaleY"] = 0.0059356151,
  175. ["scaleX"] = 0.0059355957,
  176. ["zoneIndex"] = 589,
  177. ["offsetY"] = 1.0341743991,
  178. ["mapIndex"] = 31,
  179. ["offsetX"] = 0.2545259883,
  180. },
  181. ["Art/maps/vvardenfell/viviccity_base_0.dds"] =
  182. {
  183. ["scaleY"] = 0.0317432004,
  184. ["scaleX"] = 0.0317431905,
  185. ["mapIndex"] = 30,
  186. ["offsetY"] = 0.3652052033,
  187. ["zoneIndex"] = 467,
  188. ["offsetX"] = 0.7591915890,
  189. },
  190. ["Art/maps/clockwork/brassfortress_base_0.dds"] =
  191. {
  192. ["scaleY"] = 0.0713483903,
  193. ["scaleX"] = 0.0713483661,
  194. ["zoneIndex"] = 589,
  195. ["offsetY"] = 0.9924866839,
  196. ["mapIndex"] = 31,
  197. ["offsetX"] = 0.2217562431,
  198. },
  199. },
  200. }
Report comment to moderator  
Reply With Quote
Unread 01/05/21, 07:49 PM  
Armodeniz
 
Armodeniz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 28
Uploads: 3
Thanks for your reply, i deleted that file and everything goes well now.
This is the content of that file:
Lua Code:
  1. LibGPS_Data =
  2. {
  3.     ["version"] = 4,
  4.     ["zoneIdWorldSize"] =
  5.     {
  6.         [512] = 24600472,
  7.         [513] = 2500004,
  8.         [515] = 13939196,
  9.         [1028] = 30683772,
  10.         [11] = 10000036,
  11.         [22] = 2500000,
  12.         [1051] = 2096124,
  13.         [1052] = 33222208,
  14.         [1055] = 49999152,
  15.         [38] = 24999984,
  16.         [1066] = 68255544,
  17.         [306] = 3768792,
  18.         [821] = 24654472,
  19.         [823] = 2499992,
  20.         [1080] = 56874148,
  21.         [1081] = 49973084,
  22.         [1082] = 44463564,
  23.         [327] = 12500020,
  24.         [330] = 12500020,
  25.         [843] = 59104204,
  26.         [332] = 12500020,
  27.         [848] = 49999152,
  28.         [849] = 2559784,
  29.         [1109] = 24178144,
  30.         [1121] = 49797700,
  31.         [1122] = 19290528,
  32.         [1123] = 49999152,
  33.         [882] = 16539868,
  34.         [1139] = 41990756,
  35.         [632] = 7535740,
  36.         [1146] = 2591756,
  37.         [635] = 5000000,
  38.         [124] = 2500000,
  39.         [126] = 2500008,
  40.         [383] = 2615124,
  41.         [1152] = 56569492,
  42.         [897] = 34036184,
  43.         [130] = 3897420,
  44.         [131] = 12499904,
  45.         [1161] = 82146712,
  46.         [907] = 31283572,
  47.         [396] = 24999808,
  48.         [910] = 3364548,
  49.         [144] = 5701276,
  50.         [913] = 3586868,
  51.         [914] = 16666796,
  52.         [916] = 24999576,
  53.         [405] = 42062828,
  54.         [918] = 23770492,
  55.         [919] = 1155608,
  56.         [920] = 6756728,
  57.         [921] = 34566572,
  58.         [1178] = 41359428,
  59.         [924] = 78618632,
  60.         [925] = 53005412,
  61.         [926] = 20832848,
  62.         [927] = 20725724,
  63.         [928] = 31250488,
  64.         [929] = 37132108,
  65.         [1186] = 3265200,
  66.         [931] = 2499992,
  67.         [676] = 7399684,
  68.         [934] = 4294888,
  69.         [935] = 2956644,
  70.         [936] = 2500000,
  71.         [681] = 53992284,
  72.         [1197] = 2224443184,
  73.         [176] = 11307128,
  74.         [1201] = 49999152,
  75.         [947] = 11361000,
  76.         [948] = 11797908,
  77.         [181] = 5555576,
  78.         [950] = 14285776,
  79.         [951] = 21872388,
  80.         [952] = 35923988,
  81.         [1209] = 2430368,
  82.         [1210] = 3110116,
  83.         [955] = 20221732,
  84.         [956] = 15360936,
  85.         [958] = 49999152,
  86.         [959] = 36226400,
  87.         [960] = 72674152,
  88.         [449] = 2500000,
  89.         [962] = 33886516,
  90.         [963] = 14771528,
  91.         [964] = 57864776,
  92.         [965] = 5691364,
  93.         [966] = 14648480,
  94.         [968] = 2500000,
  95.         [969] = 24999576,
  96.         [970] = 5980116,
  97.         [971] = 19615592,
  98.         [972] = 17768472,
  99.         [973] = 35715200,
  100.         [974] = 49999152,
  101.         [975] = 35713300,
  102.         [977] = 2500000,
  103.         [725] = 46100744,
  104.         [726] = 2587848,
  105.         [983] = 8333448,
  106.         [982] = 7142888,
  107.         [985] = 10576568,
  108.         [986] = 24999808,
  109.         [688] = 25000040,
  110.         [988] = 37212,
  111.         [989] = 2499996,
  112.         [643] = 47171732,
  113.         [639] = 12500020,
  114.         [992] = 1274468,
  115.         [993] = 1531296,
  116.         [954] = 20837700,
  117.         [638] = 25000040,
  118.         [1153] = 67046028,
  119.         [31] = 39888764,
  120.         [908] = 30205280,
  121.         [146] = 6326208,
  122.         [1233] = 2760164,
  123.         [1211] = 21910592,
  124.         [930] = 9445976,
  125.         [932] = 2499996,
  126.         [1004] = 16667004,
  127.         [1265] = 14883312,
  128.         [750] = 11419384,
  129.         [949] = 69173952,
  130.         [961] = 25000508,
  131.         [1009] = 25000040,
  132.         [1010] = 24999808,
  133.         [148] = 2927780,
  134.         [756] = 24999808,
  135.         [284] = 25006504,
  136.         [981] = 1255900,
  137.         [759] = 24999576,
  138.         [760] = 25000508,
  139.         [678] = 49999152,
  140.         [636] = 27682696,
  141.         [763] = 6261760,
  142.         [508] = 24999576,
  143.         [509] = 25000040,
  144.         [1227] = 49999152,
  145.         [511] = 6706896,
  146.     },
  147.     ["apiVersion"] = 100033,
  148.     ["measurements"] =
  149.     {
  150.         ["Art/maps/housing/antiquariansalpineext_base_0.dds"] =
  151.         {
  152.             ["scaleY"] = 0.0070620003,
  153.             ["scaleX"] = 0.0070619987,
  154.             ["zoneIndex"] = 743,
  155.             ["offsetY"] = 0.2620024077,
  156.             ["mapIndex"] = 38,
  157.             ["offsetX"] = 0.4264515998,
  158.         },
  159.         ["Art/maps/therift/therift_base_0.dds"] =
  160.         {
  161.             ["scaleY"] = 0.1599999433,
  162.             ["scaleX"] = 0.1600000000,
  163.             ["zoneIndex"] = 16,
  164.             ["offsetY"] = 0.2992126134,
  165.             ["mapIndex"] = 12,
  166.             ["offsetX"] = 0.5346092033,
  167.         },
  168.         ["Art/maps/clockwork/CCQ5_FL2_base_0.dds"] =
  169.         {
  170.             ["scaleY"] = 0.0177607242,
  171.             ["scaleX"] = 0.0177656022,
  172.             ["zoneIndex"] = 589,
  173.             ["offsetY"] = 1.0289776283,
  174.             ["mapIndex"] = 31,
  175.             ["offsetX"] = 0.2743060143,
  176.         },
  177.         ["Art/maps/murkmire/murkmire_base_0.dds"] =
  178.         {
  179.             ["scaleY"] = 0.0978399861,
  180.             ["scaleX"] = 0.0978399674,
  181.             ["zoneIndex"] = 407,
  182.             ["offsetY"] = 0.7222979310,
  183.             ["mapIndex"] = 34,
  184.             ["offsetX"] = 0.6912031046,
  185.         },
  186.         ["Art/maps/craglorn/belkarth_base_0.dds"] =
  187.         {
  188.             ["scaleY"] = 0.0181199999,
  189.             ["scaleX"] = 0.0181199982,
  190.             ["zoneIndex"] = 500,
  191.             ["offsetY"] = 0.3719999988,
  192.             ["mapIndex"] = 25,
  193.             ["offsetX"] = 0.4074799934,
  194.         },
Report comment to moderator  
Reply With Quote
Unread 01/05/21, 05:29 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by Armodeniz
I install the newest dependencies, and get this error:
Code:
Checking type on argument stringToSplit failed in SplitString_lua
stack traceback:
[C]: in function 'SplitString'
user:/AddOns/LibGPS/Measurement.lua:135: in function 'Measurement:Deserialize'
|caaaaaa<Locals> self = [table:1]{offsetX = 0, zoneId = 0, mapIndex = 0, scaleX = 1, scaleY = 1, offsetY = 0, id = ""}, id = "Art/maps/vvardenfell/viviccity...", data = [table:2]{zoneIndex = 467, offsetX = 0.7591916056, scaleX = 0.0317431973, scaleY = 0.0317432018, offsetY = 0.3652052118, mapIndex = 30} </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:78: in function 'TamrielOMeter:GetMeasurement'
|caaaaaa<Locals> self = [table:3]{unitZoneId = 0, measuring = F}, id = "Art/maps/vvardenfell/viviccity...", measurement = [table:1] </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:124: in function 'TamrielOMeter:GetCurrentMapMeasurement'
|caaaaaa<Locals> self = [table:3], mapId = "Art/maps/vvardenfell/viviccity..." </Locals>|r
(tail call): ?
user:/AddOns/LibGPS/MapAdapter.lua:43: in function 'SetMapToPlayerLocation'
|caaaaaa<Locals> result = 1 </Locals>|r
user:/AddOns/LibGPS/StartUp.lua:95: in function '(anonymous)'
|caaaaaa<Locals> event = 65536, name = "LibGPS" </Locals>|r
Exit the client and delete the saved variable of LibGPS "live\SavedVariables\LibGPS.lua". But first post its content here.
Last edited by votan : 01/05/21 at 05:30 AM.
Report comment to moderator  
Reply With Quote
Unread 01/05/21, 04:57 AM  
Armodeniz
 
Armodeniz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 28
Uploads: 3
I install the newest dependencies, and get this error:
Code:
Checking type on argument stringToSplit failed in SplitString_lua
stack traceback:
[C]: in function 'SplitString'
user:/AddOns/LibGPS/Measurement.lua:135: in function 'Measurement:Deserialize'
|caaaaaa<Locals> self = [table:1]{offsetX = 0, zoneId = 0, mapIndex = 0, scaleX = 1, scaleY = 1, offsetY = 0, id = ""}, id = "Art/maps/vvardenfell/viviccity...", data = [table:2]{zoneIndex = 467, offsetX = 0.7591916056, scaleX = 0.0317431973, scaleY = 0.0317432018, offsetY = 0.3652052118, mapIndex = 30} </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:78: in function 'TamrielOMeter:GetMeasurement'
|caaaaaa<Locals> self = [table:3]{unitZoneId = 0, measuring = F}, id = "Art/maps/vvardenfell/viviccity...", measurement = [table:1] </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:124: in function 'TamrielOMeter:GetCurrentMapMeasurement'
|caaaaaa<Locals> self = [table:3], mapId = "Art/maps/vvardenfell/viviccity..." </Locals>|r
(tail call): ?
user:/AddOns/LibGPS/MapAdapter.lua:43: in function 'SetMapToPlayerLocation'
|caaaaaa<Locals> result = 1 </Locals>|r
user:/AddOns/LibGPS/StartUp.lua:95: in function '(anonymous)'
|caaaaaa<Locals> event = 65536, name = "LibGPS" </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 11/13/20, 02:50 AM  
ectoninja

Forum posts: 0
File comments: 8
Uploads: 0
Originally Posted by sirinsidiator
Hey. This error means you don't have the latest version of LibDebugLogger installed. Please update it and it should go away.
Huh. I didn't have any versions of that installed - none of my addons ever said they needed it. Go figure. It's working now, thanks!
Report comment to moderator  
Reply With Quote
Unread 11/12/20, 05:05 AM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1566
File comments: 1117
Uploads: 41
Originally Posted by ectoninja
I have the most recent version and am still getting errors. This was thrown on entering Deshaan:

user:/AddOns/LibGPS/MapStack.lua:29: function expected instead of nil
stack traceback:
user:/AddOns/LibGPS/MapStack.lua:29: in function 'MapStack:Push'
|caaaaaa<Locals> self = [table:1]{}, adapter = [table:2]{}, mapId = 205, zoom = 0, offsetX = 0, offsetY = 0 </Locals>|r
(tail call): ?
user:/AddOns/LibGPS/api.lua:119: in function 'lib:PushCurrentMap'
|caaaaaa<Locals> self = [table:3]{LIB_EVENT_STATE_CHANGED = "OnLibGPSMeasurementChanged"} </Locals>|r
user:/AddOns/AwesomeGuildStore/guildstorelist/StoreLocationHelper.lua:474: in function 'StoreLocationHelper:UpdateKioskAndStore'
|caaaaaa<Locals> self = [table:4]{}, kioskName = "Hayaia" </Locals>|r
user:/AddOns/AwesomeGuildStore/guildstorelist/GuildStoreList.lua:527: in function 'RefreshKioskOwner'
|caaaaaa<Locals> kioskName = "Hayaia", now = 540.0632595, hasKioskData = T, ownerName = "Ancient Traders", guildId = 375495 </Locals>|r
EsoUI/Libraries/Utility/ZO_Hook.lua:18: in function 'SetText'
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1360: in function 'UnitFrame:UpdateName'
|caaaaaa<Locals> self = [table:5]{hasTarget = T, hidden = F, lastPowerType = 0, neverHideStatusBar = T, unitTag = "reticleover", barTextMode = 0, animateShowHide = T, style = "ZO_TargetUnitFrame", templateName = "ZO_TargetUnitFrame"}, name = "Hayaia", tag = "reticleover" </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1044: in function 'UnitFrame:RefreshControls'
|caaaaaa<Locals> self = [table:5] </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1002: in function 'UnitFrame:RefreshVisible'
|caaaaaa<Locals> self = [table:5], instant = F, hidden = F </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:985: in function 'UnitFrame:SetHasTarget'
|caaaaaa<Locals> self = [table:5], hasTarget = T, ANIMATED = F </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1083: in function 'UnitFrame:RefreshUnit'
|caaaaaa<Locals> self = [table:5], unitChanged = T, validTarget = T </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1454: in function 'ZO_UnitFrames_UpdateWindow'
|caaaaaa<Locals> unitTag = "reticleover", unitChanged = T, unitFrame = [table:5] </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1876: in function 'OnReticleTargetChanged'
|caaaaaa<Locals> _ = 131119 </Locals>|r

I get this anytime I point my cursor at a guild trader, but also have errors randomly throughout the world.
Hey. This error means you don't have the latest version of LibDebugLogger installed. Please update it and it should go away.
Report comment to moderator  
Reply With Quote
Unread 11/12/20, 02:49 AM  
ectoninja

Forum posts: 0
File comments: 8
Uploads: 0
I have the most recent version and am still getting errors. This was thrown on entering Deshaan:

user:/AddOns/LibGPS/MapStack.lua:29: function expected instead of nil
stack traceback:
user:/AddOns/LibGPS/MapStack.lua:29: in function 'MapStack:Push'
|caaaaaa<Locals> self = [table:1]{}, adapter = [table:2]{}, mapId = 205, zoom = 0, offsetX = 0, offsetY = 0 </Locals>|r
(tail call): ?
user:/AddOns/LibGPS/api.lua:119: in function 'lib:PushCurrentMap'
|caaaaaa<Locals> self = [table:3]{LIB_EVENT_STATE_CHANGED = "OnLibGPSMeasurementChanged"} </Locals>|r
user:/AddOns/AwesomeGuildStore/guildstorelist/StoreLocationHelper.lua:474: in function 'StoreLocationHelper:UpdateKioskAndStore'
|caaaaaa<Locals> self = [table:4]{}, kioskName = "Hayaia" </Locals>|r
user:/AddOns/AwesomeGuildStore/guildstorelist/GuildStoreList.lua:527: in function 'RefreshKioskOwner'
|caaaaaa<Locals> kioskName = "Hayaia", now = 540.0632595, hasKioskData = T, ownerName = "Ancient Traders", guildId = 375495 </Locals>|r
EsoUI/Libraries/Utility/ZO_Hook.lua:18: in function 'SetText'
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1360: in function 'UnitFrame:UpdateName'
|caaaaaa<Locals> self = [table:5]{hasTarget = T, hidden = F, lastPowerType = 0, neverHideStatusBar = T, unitTag = "reticleover", barTextMode = 0, animateShowHide = T, style = "ZO_TargetUnitFrame", templateName = "ZO_TargetUnitFrame"}, name = "Hayaia", tag = "reticleover" </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1044: in function 'UnitFrame:RefreshControls'
|caaaaaa<Locals> self = [table:5] </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1002: in function 'UnitFrame:RefreshVisible'
|caaaaaa<Locals> self = [table:5], instant = F, hidden = F </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:985: in function 'UnitFrame:SetHasTarget'
|caaaaaa<Locals> self = [table:5], hasTarget = T, ANIMATED = F </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1083: in function 'UnitFrame:RefreshUnit'
|caaaaaa<Locals> self = [table:5], unitChanged = T, validTarget = T </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1454: in function 'ZO_UnitFrames_UpdateWindow'
|caaaaaa<Locals> unitTag = "reticleover", unitChanged = T, unitFrame = [table:5] </Locals>|r
EsoUI/Ingame/UnitFrames/UnitFrames.lua:1876: in function 'OnReticleTargetChanged'
|caaaaaa<Locals> _ = 131119 </Locals>|r

I get this anytime I point my cursor at a guild trader, but also have errors randomly throughout the world.
Report comment to moderator  
Reply With Quote
Unread 11/11/20, 06:02 AM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1566
File comments: 1117
Uploads: 41
Re: I don't use EHT

Originally Posted by Honestaly
I had to google what EHT is. That said it's not installed. Up until the latest update of LibGPS I had never had it throw an error.

I've received errors like this on going into the final main story quest (both the fight with Molag Bal, and the afterward with Meridia). As well as when I zoned into BlackHeart Haven.

Code:
user:/AddOns/LibGPS/TamrielOMeter.lua:274: attempt to index a nil value
stack traceback:
user:/AddOns/LibGPS/TamrielOMeter.lua:274: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1]{unitZoneId = 38, measuring = T}, mapId = "Art/maps/coldharbor/coldharbou...", localX = 2.1823246479034, localY = -1.1926789283752, adapter = [table:2]{}, wpX = 2.1775629520416, wpY = -1.1879172325134, measurementPositions = [table:3]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.1825276017189, y2 = -0.054329600185156, mapIndex = 23, zoneId = 347, scaleX = 0.16800708491889, scaleY = 0.16800708491889, offsetX = -0.18331840208098, offsetY = 0.14524891117434, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 23, rootMapId = "Art/maps/coldharbor/coldharbou..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = 0.18332760035992, y = -0.05512959882617, rootMapIndex = 23, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/clockwork/clockwork_b...", localX = 0.12902592122555, localY = -5.0835747718811, adapter = [table:2], wpX = 0.13303132355213, wpY = -5.0795693397522, measurementPositions = [table:4]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.18412759900093, y2 = -0.054329600185156, mapIndex = 31, zoneId = 980, scaleX = 0.19972990870468, scaleY = 0.19972842261905, offsetX = 0.157557264893, offsetY = 0.96020477162763, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 31, rootMapId = "Art/maps/clockwork/clockwork_b..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = 0.18332760035992, y = -0.05512959882617, rootMapIndex = 31, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/summerset/artaeum_bas...", localX = -2.4745044708252, localY = 0.36032637953758, adapter = [table:2], wpX = -2.4708182811737, wpY = 0.36401268839836, measurementPositions = [table:5]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.18412759900093, y2 = -0.054329600185156, mapIndex = 33, zoneId = 1027, scaleX = 0.2170259038872, scaleY = 0.21701888561912, offsetX = 0.72035916981367, offsetY = -0.13332722817259, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 33, rootMapId = "Art/maps/summerset/artaeum_bas..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = 0.18332760035992, y = -0.05512959882617, rootMapIndex = 33, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/skyrim/blackreachworl...", localX = -2.5138790607452, localY = -9.7478399276733, adapter = [table:2], wpX = -2.5087792873383, wpY = -9.7427406311035, measurementPositions = [table:6]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.18412759900093, y2 = -0.054329600185156, mapIndex = 24, zoneId = 0, scaleX = 1.7517293134952, scaleY = 1.7517864717591, offsetX = -0.38630604435607, offsetY = -0.38296685964839, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 40, rootMapId = "Art/maps/skyrim/blackreachworl..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = 0.18332760035992, y = -0.05512959882617, rootMapIndex = 40, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/bangkorai/blackhearth...", localX = 0.47879999876022, localY = 0.54799997806549, adapter = [table:2], wpX = 0.74546664953232, wpY = 0.2813333272934, measurementPositions = [table:7]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.18412759900093, y2 = -0.055929601192474, mapIndex = 6, zoneId = 92, scaleX = 0.12992164094224, scaleY = 0.12992539011074, offsetX = 0.23070307127472, offsetY = 0.26930528011672, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:191: in function 'TamrielOMeter:CalculateMapMeasurement'
|caaaaaa<Locals> self = [table:1], returnToInitialMap = T, adapter = [table:2], mapId = "Art/maps/bangkorai/blackhearth...", localX = 0.47879999876022, localY = 0.54799997806549, waypointManager = [table:8]{playerY = 0, playerX = 0, x = 0, suppressCount = 5, y = 0}, hasWaypoint = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:128: in function 'TamrielOMeter:GetCurrentMapMeasurement'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/bangkorai/blackhearth..." </Locals>|r
(tail call): ?
user:/AddOns/LibGPS/MapAdapter.lua:43: in function 'SetMapToPlayerLocation'
|caaaaaa<Locals> result = 2 </Locals>|r
user:/AddOns/HarvestMap/Libs/Lib3D/Lib3D.lua:92: in function 'lib:RefreshZoneMeasurement'
|caaaaaa<Locals> self = [table:9]{currentZoneId = 38, currentZoneIndex = 8, DEFAULT_GLOBAL_TO_WORLD_FACTOR = 25000}, zoneIndex = 8, zoneId = 38, originalMapTexture = "Art/maps/bangkorai/blackhearth...", hasMapPing = F, originalPinX = 0, originalPinY = 0, centerX = 45193, _ = 0, centerY = 121773, success = T </Locals>|r
user:/AddOns/HarvestMap/Libs/Lib3D/Lib3D.lua:125: in function 'OnPlayerActivated'
|caaaaaa<Locals> zoneIndex = 8, zoneId = 38, newWorld = T </Locals>|r
I've just uploaded a new version. Please install it (once it is approved) and let me know if the error is gone.

@Duir Thanks for the additional information!
Report comment to moderator  
Reply With Quote
Unread 11/11/20, 05:42 AM  
Honestaly

Forum posts: 3
File comments: 59
Uploads: 0
I don't use EHT

I had to google what EHT is. That said it's not installed. Up until the latest update of LibGPS I had never had it throw an error.

I've received errors like this on going into the final main story quest (both the fight with Molag Bal, and the afterward with Meridia). As well as when I zoned into BlackHeart Haven.

Code:
user:/AddOns/LibGPS/TamrielOMeter.lua:274: attempt to index a nil value
stack traceback:
user:/AddOns/LibGPS/TamrielOMeter.lua:274: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1]{unitZoneId = 38, measuring = T}, mapId = "Art/maps/coldharbor/coldharbou...", localX = 2.1823246479034, localY = -1.1926789283752, adapter = [table:2]{}, wpX = 2.1775629520416, wpY = -1.1879172325134, measurementPositions = [table:3]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.1825276017189, y2 = -0.054329600185156, mapIndex = 23, zoneId = 347, scaleX = 0.16800708491889, scaleY = 0.16800708491889, offsetX = -0.18331840208098, offsetY = 0.14524891117434, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 23, rootMapId = "Art/maps/coldharbor/coldharbou..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = 0.18332760035992, y = -0.05512959882617, rootMapIndex = 23, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/clockwork/clockwork_b...", localX = 0.12902592122555, localY = -5.0835747718811, adapter = [table:2], wpX = 0.13303132355213, wpY = -5.0795693397522, measurementPositions = [table:4]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.18412759900093, y2 = -0.054329600185156, mapIndex = 31, zoneId = 980, scaleX = 0.19972990870468, scaleY = 0.19972842261905, offsetX = 0.157557264893, offsetY = 0.96020477162763, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 31, rootMapId = "Art/maps/clockwork/clockwork_b..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = 0.18332760035992, y = -0.05512959882617, rootMapIndex = 31, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/summerset/artaeum_bas...", localX = -2.4745044708252, localY = 0.36032637953758, adapter = [table:2], wpX = -2.4708182811737, wpY = 0.36401268839836, measurementPositions = [table:5]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.18412759900093, y2 = -0.054329600185156, mapIndex = 33, zoneId = 1027, scaleX = 0.2170259038872, scaleY = 0.21701888561912, offsetX = 0.72035916981367, offsetY = -0.13332722817259, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 33, rootMapId = "Art/maps/summerset/artaeum_bas..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = 0.18332760035992, y = -0.05512959882617, rootMapIndex = 33, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/skyrim/blackreachworl...", localX = -2.5138790607452, localY = -9.7478399276733, adapter = [table:2], wpX = -2.5087792873383, wpY = -9.7427406311035, measurementPositions = [table:6]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.18412759900093, y2 = -0.054329600185156, mapIndex = 24, zoneId = 0, scaleX = 1.7517293134952, scaleY = 1.7517864717591, offsetX = -0.38630604435607, offsetY = -0.38296685964839, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 40, rootMapId = "Art/maps/skyrim/blackreachworl..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = 0.18332760035992, y = -0.05512959882617, rootMapIndex = 40, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/bangkorai/blackhearth...", localX = 0.47879999876022, localY = 0.54799997806549, adapter = [table:2], wpX = 0.74546664953232, wpY = 0.2813333272934, measurementPositions = [table:7]{}, x1 = 0.18332760035992, y1 = -0.05512959882617, x2 = 0.18412759900093, y2 = -0.055929601192474, mapIndex = 6, zoneId = 92, scaleX = 0.12992164094224, scaleY = 0.12992539011074, offsetX = 0.23070307127472, offsetY = 0.26930528011672, wZoneId = 38, pwx = 45191 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:191: in function 'TamrielOMeter:CalculateMapMeasurement'
|caaaaaa<Locals> self = [table:1], returnToInitialMap = T, adapter = [table:2], mapId = "Art/maps/bangkorai/blackhearth...", localX = 0.47879999876022, localY = 0.54799997806549, waypointManager = [table:8]{playerY = 0, playerX = 0, x = 0, suppressCount = 5, y = 0}, hasWaypoint = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:128: in function 'TamrielOMeter:GetCurrentMapMeasurement'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/bangkorai/blackhearth..." </Locals>|r
(tail call): ?
user:/AddOns/LibGPS/MapAdapter.lua:43: in function 'SetMapToPlayerLocation'
|caaaaaa<Locals> result = 2 </Locals>|r
user:/AddOns/HarvestMap/Libs/Lib3D/Lib3D.lua:92: in function 'lib:RefreshZoneMeasurement'
|caaaaaa<Locals> self = [table:9]{currentZoneId = 38, currentZoneIndex = 8, DEFAULT_GLOBAL_TO_WORLD_FACTOR = 25000}, zoneIndex = 8, zoneId = 38, originalMapTexture = "Art/maps/bangkorai/blackhearth...", hasMapPing = F, originalPinX = 0, originalPinY = 0, centerX = 45193, _ = 0, centerY = 121773, success = T </Locals>|r
user:/AddOns/HarvestMap/Libs/Lib3D/Lib3D.lua:125: in function 'OnPlayerActivated'
|caaaaaa<Locals> zoneIndex = 8, zoneId = 38, newWorld = T </Locals>|r
Last edited by Honestaly : 11/11/20 at 05:48 AM.
Report comment to moderator  
Reply With Quote
Unread 11/11/20, 01:52 AM  
Duir

Forum posts: 6
File comments: 15
Uploads: 0
Re: Re: Error after updating

Originally Posted by sirinsidiator
Originally Posted by Duir
So first off, I am not using EHT.

Logged in without issue but got this zoning into Coldharbour to do main quest on alt.
Had no issues prior to updating to LibGPS v3.0.2 just before logging in today.

Code:
user:/AddOns/LibGPS/TamrielOMeter.lua:274: attempt to index a nil value
stack traceback:
user:/AddOns/LibGPS/TamrielOMeter.lua:274: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1]{measuring = T, unitZoneId = 381}, mapId = "Art/maps/coldharbor/coldharbou...", localX = -1.5095400810242, localY = -0.1621470451355, adapter = [table:2]{}, wpX = -1.4619232416153, wpY = -0.11453025788069, measurementPositions = [table:3]{}, x1 = -0.43693518638611, y1 = 0.11800800263882, x2 = -0.42893519997597, y2 = 0.12600800395012, mapIndex = 23, zoneId = 347, scaleX = 0.1680075055265, scaleY = 0.16800800248223, offsetX = -0.18332112288097, offsetY = 0.14525000380043, wZoneId = 809, pwx = 2662 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 23, rootMapId = "Art/maps/coldharbor/coldharbou..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = -0.43693518638611, y = 0.11800800263882, rootMapIndex = 23, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/clockwork/clockwork_b...", localX = -2.9764742851257, localY = -4.2167181968689, adapter = [table:2], wpX = -2.9364202022552, wpY = -4.176664352417, measurementPositions = [table:4]{}, x1 = -0.43693518638611, y1 = 0.11800800263882, x2 = -0.42893519997597, y2 = 0.12600800395012, mapIndex = 31, zoneId = 980, scaleX = 0.19972961148578, scaleY = 0.19973117239491, offsetX = 0.15755486617948, offsetY = 0.96021807175839, wZoneId = 809, pwx = 2662 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 31, rootMapId = "Art/maps/clockwork/clockwork_b..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = -0.43693518638611, y = 0.11800800263882, rootMapIndex = 31, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/summerset/artaeum_bas...", localX = -5.3326106071472, localY = 1.1581263542175, adapter = [table:2], wpX = -5.295747756958, wpY = 1.1212632656097, measurementPositions = [table:5]{}, x1 = -0.43693518638611, y1 = 0.11800800263882, x2 = -0.42893519997597, y2 = 0.11000800132751, mapIndex = 33, zoneId = 1027, scaleX = 0.21702028923642, scaleY = 0.21701928984898, offsetX = 0.72034950996219, offsetY = -0.13332775630886, wZoneId = 809, pwx = 2662 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 33, rootMapId = "Art/maps/summerset/artaeum_bas..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = -0.43693518638611, y = 0.11800800263882, rootMapIndex = 33, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/skyrim/blackreachworl...", localX = -6.4679017066956, localY = -8.6441307067871, adapter = [table:2], wpX = -6.4169039726257, wpY = -8.5931329727173, measurementPositions = [table:6]{}, x1 = -0.43693518638611, y1 = 0.11800800263882, x2 = -0.42893519997597, y2 = 0.12600800395012, mapIndex = 24, zoneId = 0, scaleX = 1.7517943313121, scaleY = 1.7517897347212, offsetX = -0.38632805929938, offsetY = -0.38296676541723, wZoneId = 809, pwx = 2662 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:145: in function 'TamrielOMeter:TryCalculateRootMapMeasurement'
|caaaaaa<Locals> self = [table:1], rootMapIndex = 40, rootMapId = "Art/maps/skyrim/blackreachworl..." </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:290: in function 'TamrielOMeter:FindRootMapMeasurementForCoordinates'
|caaaaaa<Locals> self = [table:1], x = -0.43693518638611, y = 0.11800800263882, rootMapIndex = 40, measurement = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:273: in function 'TamrielOMeter:CalculateMeasurementsInternal'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/coldharbor/wailingpri...", localX = 0.10189189016819, localY = 0.34324324131012, adapter = [table:2], wpX = 1.0027928352356, wpY = 1.2441442012787, measurementPositions = [table:7]{}, x1 = -0.43693518638611, y1 = 0.11800800263882, x2 = -0.42893519997597, y2 = 0.12600800395012, mapIndex = 1, zoneId = 809, scaleX = 0.0088799844799169, scaleY = 0.0088800008733272, offsetX = -0.43783998478943, offsetY = 0.11496000235622, wZoneId = 809, pwx = 2662 </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:191: in function 'TamrielOMeter:CalculateMapMeasurement'
|caaaaaa<Locals> self = [table:1], returnToInitialMap = T, adapter = [table:2], mapId = "Art/maps/coldharbor/wailingpri...", localX = 0.10189189016819, localY = 0.34324324131012, waypointManager = [table:8]{x = 0, playerX = 0, suppressCount = 5, y = 0, playerY = 0}, hasWaypoint = F </Locals>|r
user:/AddOns/LibGPS/TamrielOMeter.lua:128: in function 'TamrielOMeter:GetCurrentMapMeasurement'
|caaaaaa<Locals> self = [table:1], mapId = "Art/maps/coldharbor/wailingpri..." </Locals>|r
user:/AddOns/LibGPS/compatibility.lua:81: in function 'lib:LocalToGlobal'
|caaaaaa<Locals> self = [table:9]{LIB_EVENT_STATE_CHANGED = "OnLibGPSMeasurementChanged"}, x = 0.10189189016819, y = 0.34324324131012 </Locals>|r
user:/AddOns/HarvestMap/Modules/HarvestMap/Main/MapTools.lua:110: in function 'MapTools:GetViewedMapMetaDataAndPlayerGlobalPosition'
|caaaaaa<Locals> self = [table:10]{lastMapTexture = "Art/maps/coldharbor/wailingpri...", lastMap = "coldharbor/wailingprison1_base..."}, localX = 0.10189189016819, localY = 0.34324324131012, heading = 4.7819933891296 </Locals>|r
user:/AddOns/HarvestMap/Modules/HarvestMap/Pins/MapPins.lua:390: in function 'MapPins:PinTypeRefreshCallback'
|caaaaaa<Locals> self = [table:11]{lastViewedY = 4162.43, currentMap = "auridon/vulkhelguard_base", visibleDistance = 300, lastViewedX = 2497.52}, validMapMode = F, validMinimapMode = [table:12]{zoomMode = "subZoneZoom", scale = 0.75, cameraAngleRad = 0, limitedScale = 0.8, cameraAngle = 0, name = "VotansMiniMap", lastTitleFont = "BOLD_FONT", isSpecialZoom = F} </Locals>|r
user:/AddOns/HarvestMap/Modules/HarvestMap/Pins/MapPins.lua:228: in function 'PIN_CALLBACKS'
user:/AddOns/HarvestMap/Modules/HarvestMap/Pins/QuickPins.lua:401: in function 'lib:RedrawPinsOfPinType'
|caaaaaa<Locals> self = [table:13]{numRequestedPins = 0, maxZoom = 4.428, initialized = T, minZoom = 1, numCreatedPins = 22, MAP_WIDTH = 1280, MAP_HEIGHT = 1280}, pinType = 0 </Locals>|r
user:/AddOns/HarvestMap/Modules/HarvestMap/Pins/QuickPins.lua:377: in function 'lib.RedrawPins'
|caaaaaa<Locals> pinType = 0, callback = user:/AddOns/HarvestMap/Modules/HarvestMap/Pins/MapPins.lua:228 </Locals>|r
EsoUI/Libraries/Utility/ZO_Hook.lua:18: in function 'ZO_WorldMap_UpdateMap'
EsoUI/Ingame/Map/WorldMap.lua:5034: in function 'callback'
EsoUI/Libraries/Utility/ZO_CallbackObject.lua:116: in function 'ZO_CallbackObject:FireCallbacks'
|caaaaaa<Locals> self = [table:14]{fireCallbackDepth = 1}, eventName = "OnWorldMapChanged", registry = [table:15]{}, callbackInfoIndex = 22, callbackInfo = [table:16]{3 = F}, callback = EsoUI/Ingame/Map/WorldMap.lua:5028, deleted = F </Locals>|r
EsoUI/Ingame/Map/WorldMap.lua:4640: in function '(anonymous)'
Neither votan nor me can reproduce the issue. Could you please provide some additional steps and pm me your LibDebugLogger.lua (simply upload it here, click share and send me the link)?
To specify, it was Wailing Prison, for the "Soul Shriven in Coldharbour" quest.
I logged out in that map after getting the error to try a clean install of LibGPS 3.0.2 and after logging in got an error immediately which I didn't grab but when I hit ESC to bring up the game menu my entire UI went away until I hit ESC again and none of my abilities worked. I had to ALT+F4 out of the game since the UI/Menu wouldn't show. I uninstalled LibGPS 3.0.2 again (deleting saved vars) and installed 3.0.1 and everything was fine again when I logged in and was able to play fine.

File uploaded as requested.
Last edited by Duir : 11/11/20 at 01:55 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.