Thread Tools Display Modes
01/30/23, 11:05 AM   #1
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,589
Update 37 (Version 8.3)

The next dlc "Scribes of Fate" will be available on the PTS later today.

New API Version: 101037

Notable Changes
  • New dungeons, item sets, combat changes, etc.
  • Daily/Weekly Reset Timer Updates
  • Housing Quality-Of-Life Improvements
  • Screen Narration in Accessibility Mode
  • Software Occlusion Culling (Beta)
  • ResizeToFitDescendents changes

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 Matrix 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.

LinksI'll edit the OP with more useful information as you post it and add the links as they become available.

Last edited by sirinsidiator : 06/06/23 at 06:09 PM.
  Reply With Quote
01/30/23, 12:56 PM   #2
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 186
Update 37 ResizeToFitDescendents changes topic :
https://www.esoui.com/forums/showthread.php?t=10338
  Reply With Quote
01/30/23, 03:26 PM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,068
Originally Posted by Masteroshi430 View Post
Update 37 ResizeToFitDescendents changes topic :
https://www.esoui.com/forums/showthread.php?t=10338
Yeah, got that on PTS login e.g.
Code:
ResizeToFitDescendents: Enabling resizToFitDescendents is illegal for Label tbugGlobalInspectorContentsCount
And this happens because I have defined dimension constraints to it too? Or because there is no "child control" which would resize?
Code:
<Label name="$(parent)ContentsCount" font="TbugFontGameVerySmall" color="DDDDDDDD" verticalAlignment="CENTER"
					   wrapMode="ELLIPSIS" tier="LOW" layer="CONTROLS" level="1" resizeToFitDescendents="true">
					<DimensionConstraints maxX="50" maxY="20" minX="0" minY="20" />
					<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)Tabs" relativePoint="BOTTOMRIGHT" offsetX="-2" />
				</Label>
  Reply With Quote
01/30/23, 11:20 PM   #4
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 186
I won't jump on PTS before the API Patch Notes and updated doc because I know that in case of errors I will waste my time fixing them by trial and error.
  Reply With Quote
01/31/23, 04:32 AM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,068
The fix was easy and I think the problem was that there are no child controls to resize to, so the attribute was just "too much" or "not needed".
  Reply With Quote
02/01/23, 01:28 AM   #6
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 184
Originally Posted by Baertram View Post
The fix was easy and I think the problem was that there are no child controls to resize to, so the attribute was just "too much" or "not needed".
Not quite. Label's cannot be marked as resizeToFitDescendants anymore. In fact they never should have been allowing it, because they already do their own resize to fit logic, so it's competing intentions. But now they also use the same scaffolding under the hood to achieve the behavior, so marking a label resizeToFitDescendants is both wrong and can break the label. It doesn't matter whether or not it has children or how many.

TL;DR: You should never have done it, doing it now is even worse than before, and thus there's now an explicit warning about it.
  Reply With Quote
02/01/23, 01:25 AM   #7
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 184
Documentation
Attached Files
File Type: txt APIPatchNotesP37.txt (10.6 KB, 701 views)
File Type: txt ESOUIDocumentationP37.txt (900.0 KB, 677 views)
  Reply With Quote
02/01/23, 06:15 AM   #8
KLISK
 
KLISK's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2018
Posts: 21
@ZOS_DanBatson

SetGaussianBlur, SetMotionBlur, SetRadialBlur

This is what I think, now I can set the blur shader to control?
I mean the blur of the 3D scene behind the control.

Last edited by KLISK : 02/01/23 at 08:57 AM.
  Reply With Quote
02/01/23, 10:14 AM   #9
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 184
Originally Posted by KLISK View Post
@ZOS_DanBatson

SetGaussianBlur, SetMotionBlur, SetRadialBlur

This is what I think, now I can set the blur shader to control?
I mean the blur of the 3D scene behind the control.
These are things you can do on a Control, similar to how you can add waves, caustics, and masks. It has no effect on the 3D scene itself. But you can blur a control over top of the scene to achieve a large variety of visual effects.
  Reply With Quote
02/01/23, 11:37 AM   #10
KLISK
 
KLISK's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2018
Posts: 21
Originally Posted by ZOS_DanBatson View Post
These are things you can do on a Control, similar to how you can add waves, caustics, and masks. It has no effect on the 3D scene itself. But you can blur a control over top of the scene to achieve a large variety of visual effects.
Is it possible to add a shader to blur only the 3d scene behind the control? Like the full-screen blur effects that are used in the game?
  Reply With Quote
02/01/23, 12:37 PM   #11
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 184
Originally Posted by KLISK View Post
Is it possible to add a shader to blur only the 3d scene behind the control? Like the full-screen blur effects that are used in the game?
That blur is a specific post process effect, not a control pixel shader effect. You can use SetFullscreenEffect to do whatever you want within the parameters of what that provides if you want to make your own blur of the background in that way. But these new blurs aren't in any way related to that API and do not extend it.
  Reply With Quote
02/01/23, 02:01 AM   #12
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 186
The 2 new QuestRepeatableType :
* QUEST_REPEAT_MONTHLY
* QUEST_REPEAT_WEEKLY
It looks like a reworked quest system is coming sometime this year
  Reply With Quote
02/01/23, 06:15 AM   #13
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,068
Thanks for the API files and your explanation Dan.
  Reply With Quote
02/03/23, 04:23 PM   #14
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 186
OK, just tried the PTS and I have one addon with SetResizeToFitDescendents on labels that throws these "illegal" errors, if I comment it, all labels are superimposed so my question is what should I replace it with?

EDIT:
Ah I get it:
The controls using SetResizeToFitDescendents were parents of the CT_LABEL ones but were also CT_LABEL type controls, I changed them to CT_CONTROL type so they can still use SetResizeToFitDescendents.

Last edited by Masteroshi430 : 02/04/23 at 04:38 AM.
  Reply With Quote
02/06/23, 04:05 PM   #15
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 186
Update 37 Base Game
"Many daily timers have been aligned to the same time as the Daily Login Reward (3am UTC for European servers and 10am UTC for North American servers)"
So this means that addons calculating daily quests, Daily Writs and Hireling mails time before reset by an hardcoded maneer (e.g. Dolgubon's Lazy Writ Crafter) will be able to use:
Lua Code:
  1. GetTimeUntilNextDailyLoginRewardClaimS() --(seconds)

Last edited by Masteroshi430 : 03/13/23 at 09:43 PM.
  Reply With Quote
03/16/23, 12:52 PM   #16
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 184
Updated docs
Attached Files
File Type: txt ESOUIDocumentationP37_2.txt (900.3 KB, 516 views)
File Type: txt APIPatchNotesP37_2.txt (423 Bytes, 447 views)
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » Update 37 (Version 8.3)

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