Thread Tools Display Modes
04/15/19, 09:27 AM   #1
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,566
Update 5.0

The next chapter "Elsweyr" will be on the PTS today.

New API Version: 100027

PTS Dev Guild
We have created guilds on the EU and NA server for all addon developers, which get copied over during the PTS cycle for a new update, so we can test guild related things, ask for help with testing or just chat. If you need an invite, ask here or over on our Gitter channel. You are also free to join them on the live servers so you don't always have to be reinvited when the PTS is wiped.

Links
I'll edit the OP with more useful information as you post it and add the links as they become available.
Attached Files
File Type: txt ESOUIDocumentationP22-3.txt (702.6 KB, 1229 views)

Last edited by sirinsidiator : 05/21/19 at 09:13 AM.
  Reply With Quote
04/15/19, 11:48 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
ESOUI Documentation P22 txt file
Attached Files
File Type: txt ESOUIDocumentationP22.txt (699.8 KB, 1158 views)
  Reply With Quote
04/21/19, 02:08 PM   #3
Weolo
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 79
Add-On Library Flag
## IsLibrary: true

Is an amazing feature! love it
  Reply With Quote
04/21/19, 02:42 PM   #4
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
What special thing does that do?
  Reply With Quote
04/21/19, 05:00 PM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
It provides the info to the ingame addonmanager so you are able to detect if an "addon" is a library or not "ingame".
  Reply With Quote
04/21/19, 09:44 PM   #6
Weolo
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 79
Also it puts all the library addons to the bottom of the list of addons, making it much easier to see which addons you have again
  Reply With Quote
04/22/19, 01:19 PM   #7
Enodoc
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 52
I don't think Globals is fully up-to-date for 100027 like it claims. ObjectiveControlEvent is missing one entry; I don't know what it is, but OBJECTIVE_CONTROL_EVENT_MAX_VALUE is now 16, and whatever Global gives that value is not listed.
  Reply With Quote
04/22/19, 02:21 PM   #8
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2017
Posts: 50
Originally Posted by Baertram View Post
It provides the info to the ingame addonmanager so you are able to detect if an "addon" is a library or not "ingame".
I think we need a manifest file directive to identify library and/or support add-ons instead of using the "Lib" prefix in the add-on's name because, whenever I see a "Lib" prefix, I immediately think of add-ons that use the older LibStub versioning controls rather than the game's newer AddOnVersion directive versioning controls.
  Reply With Quote
04/22/19, 04:14 PM   #9
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
We really need to get away from LibStub entirely. In order to do that, though, we'll need a new LAM.
  Reply With Quote
04/22/19, 11:58 PM   #10
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Originally Posted by Drakanwulf View Post
I think we need a manifest file directive to identify library and/or support add-ons instead of using the "Lib" prefix in the add-on's name because, whenever I see a "Lib" prefix, I immediately think of add-ons that use the older LibStub versioning controls rather than the game's newer AddOnVersion directive versioning controls.

We already got one on PTS, that's what we are talking about here from "Weolo"'s post 3 to the bottom of this thread

Code:
Add-On Library Flag
## IsLibrary: true
  Reply With Quote
04/23/19, 12:21 AM   #11
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
Originally Posted by Rhyono View Post
What special thing does that do?
its breaking Votans Addon's List right now on PTS xD
  Reply With Quote
04/23/19, 03:11 AM   #12
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by Marazota View Post
its breaking Votans Addon's List right now on PTS xD
hehe. no. That is due to the changes ZOS added.

This is fixed "internally".
But I wait a few PTS update cycles, before releasing it.
  Reply With Quote
04/23/19, 07:04 AM   #13
AssemblerManiac
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 51
Originally Posted by Enodoc View Post
I don't think Globals is fully up-to-date for 100027 like it claims. ObjectiveControlEvent is missing one entry; I don't know what it is, but OBJECTIVE_CONTROL_EVENT_MAX_VALUE is now 16, and whatever Global gives that value is not listed.
I just checked the 100027 doc file from ZOS. That global is missing from it.

And after searching the whole file, there are no ..._MAX_VALUE entries at all. It is listed in the Constant_Values table though. I haven't re-done that for 100027 yet though, so it's still showing as being 15.
  Reply With Quote
04/24/19, 06:17 PM   #14
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2017
Posts: 50
Originally Posted by Drakanwulf View Post
I think we need a manifest file directive to identify library and/or support add-ons instead of using the "Lib" prefix in the add-on's name because, whenever I see a "Lib" prefix, I immediately think of add-ons that use the older LibStub versioning controls rather than the game's newer AddOnVersion directive versioning controls.
Once again, I am wrong and must eat humble pie. The API release notes for 5.0 include a new directive named, IsLibrary: whose values are "true" (in the example) and (I am guessing here) "false". According the the 5.0 API documentation text file, the GetAddonInfo() API function has been enhanced for API Version 100027 to return a boolean value for the IsLibrary directive which is why I am guessing that "false" is also a valid value.

Hope this helps, and I apologize again for typing spam before reading the documentation.
  Reply With Quote
05/02/19, 04:36 AM   #15
Gandalf
 
Gandalf's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2016
Posts: 28
Originally Posted by Enodoc View Post
I don't think Globals is fully up-to-date for 100027 like it claims. ObjectiveControlEvent is missing one entry; I don't know what it is, but OBJECTIVE_CONTROL_EVENT_MAX_VALUE is now 16, and whatever Global gives that value is not listed.
The definition is still missing in ESOUIDocumentation.txt of PTS5.0.2.

ObjectiveControlEvent with value 16 comes with EVENT_DAEDRIC_ARTIFACT_OBJECTIVE_STATE_CHANGED,
when the weapon returns to Oblivion aka despawns -> SI_DAEDRIC_ARTIFACT_DESPAWNED
  Reply With Quote
05/02/19, 05:07 AM   #16
Gandalf
 
Gandalf's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2016
Posts: 28
Event_daedric_artifact_objective_state_changed

EVENT_DAEDRIC_ARTIFACT_OBJECTIVE_STATE_CHANGED does not behave as expected:

https://forums.elderscrollsonline.co...log-pts#latest
  Reply With Quote
05/02/19, 06:18 AM   #17
Gandalf
 
Gandalf's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2016
Posts: 28
Daedric Hot Bar Abilities can be changed

While holding an artifact weapon the hotbar abilities can be changed with CallSecureProtected('SelectSlotAbility'...).

I assume this is not the indented behavior. Alought, replacing Accursed Charge with a heal was quiet handy


[[Nvm: fixed with pts5.0.3

Last edited by Gandalf : 05/08/19 at 06:32 AM.
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » Update 5.0

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off