ESOUI

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

Garkin 02/03/15 04:58 PM

Pts 1.6.0 -> 1.6.1
 
UI source code: EsoUI-1.6.1-PTS.zip
Patch notes: http://forums.elderscrollsonline.com/discussion/149987

Most of the changes between 1.6.0 and 1.6.1 were in gamepad portion. As I have never used gamepad code, I will not list any changes related to gamepad in here.

Big change is in AlertText, now it's not just a few global functions, there are two separate objects for keyboard (ALERT_MESSAGES) and gamepad (ALERT_MESSAGES_GAMEPAD) and new ALERT_EVENT_MANAGER object.

Interesting could be new global constant for currency type "crowns":
Code:

CURRENCY_TYPE_CROWNS = 7
and of course new name, texture and color for this currency type:
Code:

name = GetString(SI_CURRENCY_CROWN)
texture = "EsoUI/Art/currency/currency_crown.dds"
color = ZO_ColorDef:New( GetInterfaceColor(INTERFACE_COLOR_TYPE_CURRENCY, CURRENCY_COLOR_GOLD) )


There is a new keybinding for player emotes:
XML Code:
  1. <Action name="UI_SHORTCUT_EMOTES_QUICK_SLOTS">
  2.     <Down>PLAYER_EMOTE_QUICKSLOT:StartInteraction()</Down>
  3.     <Up>PLAYER_EMOTE_QUICKSLOT:StopInteraction()</Up>
  4. </Action>


New global constant:
Code:

ZO_NO_TEXTURE_FILE = "/esoui/art/icons/icon_missing.dds"

After months of using colored pins (originaly introduced in Shinni's HarvestMap) ZOS added their own method of colorization. Pin layout has new optional key "tint" which can contain either ZO_ColorDef object or function which returns this object. Hooks and workarounds used in my LibMapPins are no longer needed.


There is a new option to enable/disable compass pins for quest givers.


Removed global constant ITEMFILTERTYPE_MOUNT.


function GetStoreEntryInfo has a new return value - entryType:
Lua Code:
  1. local icon, name, stack, price, sellPrice, meetsRequirementsToBuy, meetsRequirementsToEquip, quality, questNameColor, currencyType1, currencyId1, currencyQuantity1, currencyIcon1, currencyName1, currencyType2, currencyId2, currencyQuantity2, currencyIcon2, currencyName2, entryType = GetStoreEntryInfo(entryIndex)


I will make exception and list one of gamepad objects - there is new ingame "LootDrop" called LOOT_HISTORY_GAMEPAD.

Garkin 02/03/15 05:04 PM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 18495)
They have been made local internally and the appropriate parties have been shamed.

New code, new leaking variables:

manager:
Lua Code:
  1. function ZO_AlertText_Manager:New()
  2.     manager = ZO_Object.New(self)
  3.     manager:Initialize()
  4.     return manager
  5. end
  6.  
  7. function ZO_AlertText_Base:New(...)
  8.     manager = ZO_Object.New(self)
  9.     manager:Initialize(...)
  10.     return manager
  11. end

alertData:
Lua Code:
  1. function ZO_AlertText_Keyboard:InternalPerformAlert(category, soundId, message)
  2.     local color = self:GetAlertColor(category)
  3.  
  4.     alertData = {
  5.         lines = {
  6.             {text = message, category = category, color = color, soundId = soundId}
  7.         }
  8.     }
  9.  
  10.     self.alerts:AddEntry(DEFAULT_KEYBOARD_ALERT_TEMPLATE, alertData)
  11. end

emoteSlashName, emoteCategory, emoteId:
Lua Code:
  1. function ZO_PlayerEmoteManager:InitializeEmoteList()
  2.     self.emoteList = {}
  3.     self.emoteCategories = {}
  4.     self.slottedEmoteList = {}
  5.  
  6.     self:InitializeSlottedEmotes()
  7.  
  8.     for emoteIndex = 1, GetNumEmotes() do
  9.         emoteSlashName, emoteCategory, emoteId = GetEmoteInfo(emoteIndex)
  10.  
  11.     --rest of the code

Ayantir 02/10/15 04:16 PM

1.6.2 is now on PTS.
It will be last testing version before 1.6 goes live 23/02 for NA and 24/02 for EU server.

1.6.2 Source Code Download

1.6.2 Patch Notes

Garkin 02/10/15 04:28 PM

Pts 1.6.1 -> 1.6.2
 
Source: EsoUI-1.6.2-PTS.zip
Patch notes: http://forums.elderscrollsonline.com/discussion/151058/

Most of the changes are because of gamepad support and changing styles between keyboard and gamepad prefered modes.

By the way leaking variables listed in previous my post wasn't fixed.

QuadroTony 02/10/15 04:41 PM

1.6.2 is now on PTS.
It will be last testing version before 1.6 goes live 23/02 for NA and 24/02 for EU server.

Harven 02/14/15 07:25 PM

Hey!
I don't know if you noticed, but they are working on chat bubbles. Here are some screens:




Garkin 02/14/15 07:29 PM

Quote:

Originally Posted by Harven (Post 18830)
Hey!
I don't know if you noticed, but they are working on chat bubbles. Here are some screens:

Do you know that this is in game since October when Update 5 went to PTS? ;)
http://forums.elderscrollsonline.com/discussion/135688/

Harven 02/14/15 07:44 PM

Gaaaa! :eek: I didn't know that... or maybe I did but forgot about it. Anyways, nice feature ;)

joshmiller83 02/14/15 09:30 PM

Quote:

Originally Posted by QuadroTony (Post 18786)
1.6.2 is now on PTS.
It will be last testing version before 1.6 goes live 23/02 for NA and 24/02 for EU server.

Actually this is wrong per ZOS on Livestream. They are putting 1.63 on the PTS next week and then Releasing to Live the following/last week of February.

Garkin 02/18/15 12:41 AM

Pts 1.6.3
 
Source: EsoUI-1.6.3-PTS.zip
Patch notes: http://forums.elderscrollsonline.com/discussion/152188/

Harven 02/18/15 03:36 AM

Hey,
Here's a list of differences between 1.6.2 and 1.6.3 globals:
  • New Functions:
    Warning: Spoiler
  • Removed Functions:
    Warning: Spoiler
  • New Protected Functions:
    Warning: Spoiler
  • No Removed Protected Functions:
  • New Constants:
    Warning: Spoiler
  • Removed Constants:
    Warning: Spoiler
  • New Tables:
    Warning: Spoiler
  • Removed Tables:
    Warning: Spoiler
  • New Userdata:
    Warning: Spoiler
  • Removed Userdata:
    Warning: Spoiler

sirinsidiator 02/18/15 01:06 PM

Quote:

SaveCachedSettings
is this what I hope it is?

ZOS_ChipHilseberg 02/18/15 01:10 PM

Quote:

Originally Posted by sirinsidiator (Post 18876)
is this what I hope it is?

It's used for flushing out a couple settings that aren't updated immediately when the settings are set. So probably not =P.

Garkin 02/18/15 01:13 PM

Quote:

Originally Posted by sirinsidiator (Post 18876)
is this what I hope it is?

I didn't test it, however I believe it is not for saving saved variables, but just for console variables (CVars). It is used in this function:

Lua Code:
  1. function ZO_SharedOptions:SaveCachedClientSettings()
  2.     -- We only care about saving the cached settings ingame, so this function will be nil in pregame
  3.     if (SaveCachedSettings ~= nil) then
  4.         SaveCachedSettings()
  5.     end
  6. end

sirinsidiator 02/18/15 01:26 PM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 18877)
It's used for flushing out a couple settings that aren't updated immediately when the settings are set. So probably not =P.

So fast in crushing my dreams :(

joshmiller83 02/18/15 02:38 PM

Quote:

ADD_ON_MANAGER
Really? is this new? :)

Harven 02/19/15 03:08 AM

It's a new global variable. It isn't the AddOnManager which you can get by calling GetAddOnManager(), it's just the UI object.

Pre 1.6.3:
Lua Code:
  1. function ZO_MainMenuManager:Initialize(control)
  2.      local addOnManager = ZO_AddOnManager:New(true)

1.6.3:
Lua Code:
  1. function ZO_MainMenuManager:Initialize(control)
  2.      ADD_ON_MANAGER = ZO_AddOnManager:New(true)

Halja 02/19/15 05:25 PM

Quote:

Originally Posted by Harven (Post 18889)
It's a new global variable. It isn't the AddOnManager which you can get by calling GetAddOnManager(), it's just the UI object.

Pre 1.6.3:
Lua Code:
  1. function ZO_MainMenuManager:Initialize(control)
  2.      local addOnManager = ZO_AddOnManager:New(true)

1.6.3:
Lua Code:
  1. function ZO_MainMenuManager:Initialize(control)
  2.      ADD_ON_MANAGER = ZO_AddOnManager:New(true)


So, they renamed it and leaked it into the Global memory space....:eek: Or was the removal of local scope intentional?

Garkin 02/19/15 05:47 PM

Quote:

Originally Posted by Halja (Post 18904)
So, they renamed it and leaked it into the Global memory space....:eek: Or was the removal of local scope intentional?

It's intentional.

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 18760)
These should be global before the live 1.6 patch launches as ADD_ON_MANAGER and CAMPAIGN_BROWSER. We also fixed the infinite loop with the meta-method but that may take a little longer.


Halja 02/20/15 08:18 AM

:cool: Now that looked a little closer, those are going to be handy they are global.
Thanks to Chip and the clarification Garkin.


All times are GMT -6. The time now is 02:04 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI