Go to Page... |
Compatibility: | Endless Archive (9.2.5) |
Updated: | 10/15/23 02:46 AM |
Created: | 06/27/14 12:58 PM |
Monthly downloads: | 20,442 |
Total downloads: | 3,436,912 |
Favorites: | 1,817 |
MD5: |
## DependsOn: LibGPS>=30
local gps = LibGPS3
local x, y = gps:LocalToGlobal(GetMapPlayerPosition("player"))
local x, y = gps:GlobalToLocal(x, y)
lib:IsReady()
lib:IsMeasuring()
lib:ClearMapMeasurements()
lib:ClearCurrentMapMeasurement()
Measurement measurement = lib:GetCurrentMapMeasurement()
Measurement measurement = lib:GetMapMeasurementByMapId(mapId)
number mapIndex, number zoneIndex, number zoneId = lib:GetCurrentMapParentZoneIndices()
boolean isSuccess, SetMapResultCode result = lib:CalculateMapMeasurement()
number x, number y = lib:LocalToGlobal(number x, number y)
number x, number y = lib:GlobalToLocal(number x, number y)
lib:SetPlayerChoseCurrentMap()
SetMapResultCode result = lib:SetMapToRootMap(number globalX, number globalY)
SetMapResultCode result = lib:MapZoomInMax(number globalX, number globalY)
lib:PushCurrentMap()
SetMapResultCode result = lib:PopCurrentMap()
number scale = lib:GetCurrentWorldSize()
number distance = lib:GetLocalDistanceInMeters(number lx1, number ly1, number lx2, number ly2)
number distance = lib:GetGlobalDistanceInMeters(number gx1, number gy1, number gx2, number gy2)
number ratio = lib:GetWorldGlobalRatio()
number ratio = lib:GetGlobalWorldRatio()
CALLBACK_MANAGER:RegisterCallback(lib.LIB_EVENT_STATE_CHANGED, function(boolean isMeasuring) end)
local id = measurement:GetId()
local mapIndex = measurement:GetMapIndex()
local zoneId = measurement:GetZoneId()
local scaleX, scaleY = measurement:GetScale()
local offsetX, offsetY = measurement:GetOffset()
local valid = measurement:IsValid()
local gx, gy = measurement:ToGlobal(x, y)
local x, y = measurement:ToLocal(gx, gy)
local cx, cy = measurement:GetCenter()
local inside = measurement:Contains(gx, gy)
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 |
![]() |
Comment Options |
votan |
View Public Profile |
Send a private message to votan |
Find More Posts by votan |
Add votan to Your Buddy List |
![]() |
||
Re: new error
|
||
![]() |
![]() |
votan |
View Public Profile |
Send a private message to votan |
Find More Posts by votan |
Add votan to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 42
Uploads: 0
|
new error
Again an error in Clockworkcity. Can you please take a look?
Code:
user:/AddOns/LibGPS/TamrielOMeter.lua:298: attempt to index a nil value stack traceback: user:/AddOns/LibGPS/TamrielOMeter.lua:298: in function 'TamrielOMeter:GetLocalDistanceInMeters' (tail call): ? user:/AddOns/LibQuestData/LibQuestData.lua:105: in function 'internal:quest_in_range' user:/AddOns/LibQuestData/LibQuestData.lua:994: in function 'update_quest_information' user:/AddOns/LibQuestData/LibQuestData.lua:1069: in function 'OnPlayerActivatedQuestBuild' |
![]() |
![]() |
HansK |
View Public Profile |
Send a private message to HansK |
Find More Posts by HansK |
Add HansK to Your Buddy List |
![]() |
|
ESO crashing since LibGPS update
Since updating LibGPS today, ESO has been crashing. I backed up all addons then removed them from the addons folder, and I was able to log in without crashing. I then moved over all lib addons, and ESO crashed. So, since LibGPS was the only lib addon updated today, I removed it and I was able to log in without crashing. I restored all other addons and was able to log in. So it seems to be LibGPS that's causing the crashes.
If there's anything I can do to provide more information, please let me know. |
|
![]() |
![]() |
ggurman |
View Public Profile |
Send a private message to ggurman |
Find More Posts by ggurman |
Add ggurman to Your Buddy List |
![]() |
|||
Forum posts: 0
File comments: 42
Uploads: 0
|
![]()
|
||
![]() |
![]() |
HansK |
View Public Profile |
Send a private message to HansK |
Find More Posts by HansK |
Add HansK to Your Buddy List |
![]() |
||
Re: Error turning in quest
|
||
![]() |
![]() |
votan |
View Public Profile |
Send a private message to votan |
Find More Posts by votan |
Add votan to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 42
Uploads: 0
|
Error turning in quest
Got an error today turning in a Clockworkcity daily. Don't have enough knowledge to determine if LibGPS fails first and then LibQuestData or the other way around. So if someone can take a look at it please?
Code:
user:/AddOns/LibGPS/TamrielOMeter.lua:285: attempt to index a nil value stack traceback: user:/AddOns/LibGPS/TamrielOMeter.lua:285: in function 'TamrielOMeter:GetLocalDistanceInMeters' <Locals> self = [table:1]{measuring = F}, lx1 = 0.0010259747238404, ly1 = -0.0014856457774475, lx2 = 0.58850371837616, ly2 = 0.54274517297745, worldSizeX = 1, worldSizeY = 1 </Locals> (tail call): ? user:/AddOns/LibQuestData/LibQuestData_Scan.lua:611: in function 'OnQuestRemoved' <Locals> eventCode = 131095, isCompleted = T, journalIndex = 11, questName = "Inciting the Imperfect", zoneIndex = 589, poiIndex = 294967291, questID = 6076, quest_to_update = [table:2]{zone_name = "Clockwork City", name = "Inciting the Imperfect", x = 0.58850371837616, giver = "Clockwork Facilitator", lang = "en", gpsx = 0.26374479441336, quest_display_type = 0, poi_index = 294967291, y = 0.54274517297745, questID = 6076, quest_type = 1, api = 101039, gpsy = 1.0312107889382, repeat_type = 2, zone_index = 589}, the_zone = "clockwork/brassfortress_base_0...", the_entry = 2, giver_name_result = 100045, quest_info_changed = T, save_quest_location = T, temp_giver = [table:3]{}, temp_quest_name = "Inciting the Imperfect", currentApiVersion = 101039, the_quest_info = [table:4]{1 = 1}, temp_quest_info = [table:5]{1 = 1}, the_quest_loc_info = [table:6]{1 = 0.58850371837616}, regular_quest_list = [table:7]{} </Locals>
Last edited by HansK : 08/22/23 at 07:04 AM.
|
![]() |
![]() |
HansK |
View Public Profile |
Send a private message to HansK |
Find More Posts by HansK |
Add HansK to Your Buddy List |
![]() |
||
Re: SET_MAP_RESULT_MAP_FAILED
|
||
![]() |
![]() |
votan |
View Public Profile |
Send a private message to votan |
Find More Posts by votan |
Add votan to Your Buddy List |
![]() |
|
|
SET_MAP_RESULT_MAP_FAILED
should line 44 of MapAdapter.lua
Lua Code:
be Lua Code:
|
![]() |
![]() |
DakJaniels |
View Public Profile |
Send a private message to DakJaniels |
Send email to DakJaniels |
Find More Posts by DakJaniels |
Add DakJaniels to Your Buddy List |
![]() |
||||
|
Thanks for the tip
![]()
|
|||
![]() |
![]() |
AlbinoPython |
View Public Profile |
Send a private message to AlbinoPython |
Send email to AlbinoPython |
Find More Posts by AlbinoPython |
Add AlbinoPython to Your Buddy List |
![]() |
|||
If you want to work around this issue, you could check if GetMapFilterType returns 0 before running any map related code, since that value should not be possible unless the map system is not ready. However since this is purely a game bug and not an actual case that would exist outside of that, it may be better to just wait for the actual fix in the game itself. I'm also not sure if there is anything I could do in the lib, since this case is really just an addon interacting with the map at a wrong time. I could add the check in my code, but then I'd pretty much have to throw an assertion error myself, since the function was simply called at the wrong time and there is no correct result it could return at this moment. |
|||
![]() |
![]() |
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Send email to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
![]() |
||
|
@sirinsidiator, I am the author of Provinatus and I get this error when a player uses a wayshrine to go to another zone and also when entering a delve. Seems like an issue getting the current map measurements but not sure what it is. Do I need to wait for some 'zone loaded' event before calling this method?
|
|
![]() |
![]() |
AlbinoPython |
View Public Profile |
Send a private message to AlbinoPython |
Send email to AlbinoPython |
Find More Posts by AlbinoPython |
Add AlbinoPython to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 19
Uploads: 0
|
This occurs in the "Provinatus" addon every time I zone change, including into and out of houses, dungeons, etc. The error originates from LibGPS. I am not sure which addon needs to be addressed.
Link to Provinatus: https://esoui.com/downloads/info1943...UpDisplay.html Code:
user:/AddOns/LibGPS/TamrielOMeter.lua:288: attempt to index a nil value stack traceback: user:/AddOns/LibGPS/TamrielOMeter.lua:288: in function 'TamrielOMeter:GetLocalDistanceInMeters' |caaaaaa<Locals> self = [table:1]{measuring = F}, lx1 = 0, ly1 = 0, lx2 = 0, ly2 = 0, worldSizeX = 1, worldSizeY = 1 </Locals>|r (tail call): ? user:/AddOns/Provinatus/Projection.lua:18: in function 'ProvinatusProjection:Project' |caaaaaa<Locals> self = [table:2]{}, X = 0, Y = 0, Projection = [table:3]{} </Locals>|r user:/AddOns/Provinatus/Provinatus.lua:175: in function 'ProvinatusDriver:DrawElements' |caaaaaa<Locals> self = [table:4]{}, Layer = [table:5]{}, Elements = [table:6]{}, RenderedElements = [table:7]{}, Index = 1, Element = [table:8]{Alpha = 1, Height = 24, Width = 24, X = 0, Y = 0, Texture = "/esoui/art/icons/mapkey/mapkey..."} </Locals>|r user:/AddOns/Provinatus/Layers/PlayerOrientation.lua:19: in function 'ProvinatusPlayerOrientation:Update' |caaaaaa<Locals> self = [table:5], Elements = [table:6], Element = [table:8] </Locals>|r user:/AddOns/Provinatus/Provinatus.lua:144: in function 'ProvinatusDriver:OnUpdate' |caaaaaa<Locals> self = [table:9]{DisplayEnable = T, X = 0, GroupSize = 0, Heading = 0, __isAbstractClass = F, Y = 0}, Name = 15, Layer = [table:5] </Locals>|r user:/AddOns/Provinatus/Provinatus.lua:123: in function '(anonymous)' |
![]() |
![]() |
Paraselene Alqwi |
View Public Profile |
Send a private message to Paraselene Alqwi |
Send email to Paraselene Alqwi |
Find More Posts by Paraselene Alqwi |
Add Paraselene Alqwi to Your Buddy List |
![]() |
|||||
Forum posts: 0
File comments: 8
Uploads: 0
|
Re: Re: Re: Re: Constant error messages
|
||||
![]() |
![]() |
Jester13 |
View Public Profile |
Send a private message to Jester13 |
Send email to Jester13 |
Find More Posts by Jester13 |
Add Jester13 to Your Buddy List |
![]() |
||||
Re: Re: Re: Constant error messages
|
||||
![]() |
![]() |
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Send email to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
![]() |
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.