Update SlowDialogs & TrueExploration mods
Hello!
Could someone update these two mods? Unfortunatly, they included LibAddonMenu-2.0 as a sublib and LibStub which is deprecated. Thanks in advance :) |
-> https://www.esoui.com/forums/showthread.php?t=9865
"If your addn needs to remove LibStub/included libraries": Will lead to -> https://www.esoui.com/forums/showthread.php?t=9149 You can easily do that yourself. Remove subfolder "/libs". Change txt file of the addon (e.g. live/Addons/SlowDialogs/SlowDialogs.txt) and remove all lines like /libs/LibAddonMenu ... /libs/LibStub ... Add line to the txt file's top, e.g. below the ## APIVersion: line: Code:
## DependsOn: LibAddonMenu-2.0>=32 Code:
local LAM2 = LibStub("LibAddonMenu-2.0") Lua Code:
the local LAM2 could be also local LAM or local LAM or addonName.lam or similar. Just keep the stuff in front of the = the same, and after the = exchange the LibStub("libraryname") (or LibStub:GetLibrary("libraryname) ) with the libraryname, here LibAddonMenu2. Should do the trick on ALL addons that still include LibAddonMenu-2.0 via LibStub. If other libraries are used via LibStub, like LibWhateverName just add the dependency to that lib via Code:
## DependsOn: LibWhateverName The global library variable is mentioned at the library's www.esoui.com description or changelog! If you think this is nothing you will get to work please check the addon comments first for already changed versions, search for "patched" "updated" "fixed" "improved" "revised" versions of the addons via Minion/esoui addon search or post a comment to the original/patched addons so that the dev will read and react to it. The devs do not get any notification on yoru forum posts here, but the comments will maybe trigger them. |
Thanks for the info :)
I tried to update TrueExploration with your explanations but there is so many libraries dependancy inside (6) that I'm pretty sure to make a mistake by editing the files. |
LibDAU got no own txt file on ESOUI (seems to not have been released here) so leave it in the TrueExploration.txt file.
All others should be removed from the libs subfolder and the txt file lines, and added as ##DependsOn: LibMapPing LibAddonMenu-2.0>=32 LibChatMessage LibDebugLogger LibGPS>=30 The global variables to use instead of lines like LibStub("LibGPS") can be found at the description of that libraries on ESOUI. e.g. LibGPS uses LibGPS3 as global variable! https://www.esoui.com/downloads/info601-LibGPS.html Code:
In order to use the library you have to get an instance from the global variable: To: local GPS = LibGPS3 I think the other libs are just using their name like LibDebugLogger, LibMapPing, LibChatMessage. LibAddonMenu-2.0 -> LibAddonMenu2 btw: All libraries in the subfolder "Libs" that contain a .txt file are okay to stay there!!! The txt file will make the addon manager of ESO load the files ONLY if there is not any other newer version somewhere else available. So install these libs as newest version to live/AddOns and it will detect the newest version there, ignoreing other older .txt files in /libs/ subfolders of any addon! Only libs that are included in a /libs/ subfolder WITHOUT their proper own txt file, and loaded via e.g. TrueExploration.txt directly (hardcoded call) will make the libs break if the included lib files in the /libs/ subfolder are old. So your TrueExploration.txt file should look like this in the end: Code:
## Title: TrueExploration Untested as I do not use this addon! |
SlowDialog:
https://www.esoui.com/downloads/info...atch.html#info This version does not contain any libs nor LibStub so try if this works please. |
Thanks for the explanation!
I will try your versions tonight & tell you the result. |
Hello
I have this error message at game launch: user:/AddOns/TrueExploration/TrueExploration.lua:318: function expected instead of nil stack traceback: user:/AddOns/TrueExploration/TrueExploration.lua:318: in function 'TrueExplor.Discover' user:/AddOns/TrueExploration/TrueExploration.lua:307: in function 'TrueExplor.OnUpdate' |
Seems to be a function of LibGPS
local measurement = GPS:GetCurrentMapMeasurements() Have you installed the version LibGPS 3 from esoui properly? v3.1 Check your live/AddOns/LibGPS folder. Maybe delete it and re-download fresh the newest version! https://www.esoui.com/downloads/info601-LibGPS.html And check ALL other addon's subfolders for /libs/ and remove the libs in there which got no own txt file included there in the same lib folder, especially any LibGPS! What zone and map (in a city or at overland?) are you in as the error happens? |
I reinstalled LibGPS but the error messages are still there directly after loading my character.
|
Please re-read and add the other asked question's answers for me so I can retry it myself in the same zone and map,
and check the subfolder of your addons for older LibGPS versions < 3.1 which get loaded -> delete them. I'm not getting that error so I assume it's an odler LibGPS interfering here, or any other addon, or the zone where it happens. Your client language is EN English? NA or EU server? And please test to ONLY enable TrueExploration, disable ALL other addons and not needed dependencies to be sure it's not any other addonc ausing this for you. Edit: Was able to get the same error in the current DLC zone Fargrave, maybe some data is missing for it. |
I found the problem, the function naem in TrueExploration is wrong!
Wrong: GetCurrentMapMeasurements Correct: GetCurrentMapMeasurement Just do a search and replace in the TrueExploration.lua file. I'll reupload the file with the fixed function name and change the downlaod link above. Link is updated above |
Thanks a lot it works perfectly now :)
Just a little remark: Minion detects that it is not the last version whereas you put version 2.0 in txt vs 1.9 for original mod... How can we remove this alert by editing mod file? |
I did not update it properly at the addon site, just in the comments unofficially, so Minion nor esoui website cannot know there is any newer version.
Right click it in Minion and choose "Ignore". You can unignore it once official updates come in, via the Minion settings -> Ignore list-> select and right click -> remove |
All times are GMT -6. The time now is 11:25 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI