ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Tutorials & Other Helpful Info (https://www.esoui.com/forums/forumdisplay.php?f=172)
-   -   Update 5.0 (https://www.esoui.com/forums/showthread.php?t=8465)

sirinsidiator 04/15/19 09:27 AM

Update 5.0
 
1 Attachment(s)
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.

Baertram 04/15/19 11:48 AM

1 Attachment(s)
ESOUI Documentation P22 txt file

Weolo 04/21/19 02:08 PM

Add-On Library Flag
## IsLibrary: true

Is an amazing feature! love it

Rhyono 04/21/19 02:42 PM

What special thing does that do?

Baertram 04/21/19 05:00 PM

It provides the info to the ingame addonmanager so you are able to detect if an "addon" is a library or not "ingame".

Weolo 04/21/19 09:44 PM

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

Enodoc 04/22/19 01:19 PM

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.

Drakanwulf 04/22/19 02:21 PM

Quote:

Originally Posted by Baertram (Post 37858)
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.

Rhyono 04/22/19 04:14 PM

We really need to get away from LibStub entirely. In order to do that, though, we'll need a new LAM.

Baertram 04/22/19 11:58 PM

Quote:

Originally Posted by Drakanwulf (Post 37866)
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.

:confused:
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 :D

Code:

Add-On Library Flag
## IsLibrary: true


Marazota 04/23/19 12:21 AM

Quote:

Originally Posted by Rhyono (Post 37857)
What special thing does that do?

its breaking Votans Addon's List right now on PTS xD

votan 04/23/19 03:11 AM

Quote:

Originally Posted by Marazota (Post 37871)
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".:p
But I wait a few PTS update cycles, before releasing it.

AssemblerManiac 04/23/19 07:04 AM

Quote:

Originally Posted by Enodoc (Post 37865)
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.

Drakanwulf 04/24/19 06:17 PM

Quote:

Originally Posted by Drakanwulf (Post 37866)
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.

Gandalf 05/02/19 04:36 AM

Quote:

Originally Posted by Enodoc (Post 37865)
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

Gandalf 05/02/19 05:07 AM

Event_daedric_artifact_objective_state_changed
 
EVENT_DAEDRIC_ARTIFACT_OBJECTIVE_STATE_CHANGED does not behave as expected:

https://forums.elderscrollsonline.co...log-pts#latest

Gandalf 05/02/19 06:18 AM

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


All times are GMT -6. The time now is 06:35 PM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2014 - 2019 MMOUI