Thread Tools Display Modes
02/03/15, 04:58 PM   #21
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
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.

Last edited by Garkin : 02/03/15 at 05:12 PM.
  Reply With Quote
02/03/15, 05:04 PM   #22
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by ZOS_ChipHilseberg View Post
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
  Reply With Quote
02/10/15, 04:16 PM   #23
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
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

Last edited by Ayantir : 02/10/15 at 04:19 PM.
  Reply With Quote
02/10/15, 04:28 PM   #24
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
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.
  Reply With Quote
02/10/15, 04:41 PM   #25
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
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.
  Reply With Quote
02/14/15, 07:25 PM   #26
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 135
Hey!
I don't know if you noticed, but they are working on chat bubbles. Here are some screens:



  Reply With Quote
02/14/15, 07:29 PM   #27
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Harven View Post
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/
  Reply With Quote
02/14/15, 07:44 PM   #28
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 135
Gaaaa! I didn't know that... or maybe I did but forgot about it. Anyways, nice feature
  Reply With Quote
02/14/15, 09:30 PM   #29
joshmiller83
AddOn Super User
 
joshmiller83's Avatar
Premium Member
Join Date: Mar 2014
Posts: 70
Originally Posted by QuadroTony View Post
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.
  Reply With Quote
02/18/15, 12:41 AM   #30
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Pts 1.6.3

Source: EsoUI-1.6.3-PTS.zip
Patch notes: http://forums.elderscrollsonline.com/discussion/152188/
  Reply With Quote
02/18/15, 03:36 AM   #31
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 135
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
  Reply With Quote
02/18/15, 01:06 PM   #32
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,567
SaveCachedSettings
is this what I hope it is?
  Reply With Quote
02/18/15, 01:10 PM   #33
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
Originally Posted by sirinsidiator View Post
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.
  Reply With Quote
02/18/15, 01:13 PM   #34
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by sirinsidiator View Post
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
  Reply With Quote
02/18/15, 01:26 PM   #35
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,567
Originally Posted by ZOS_ChipHilseberg View Post
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
  Reply With Quote
02/18/15, 02:38 PM   #36
joshmiller83
AddOn Super User
 
joshmiller83's Avatar
Premium Member
Join Date: Mar 2014
Posts: 70
Question

ADD_ON_MANAGER
Really? is this new?
  Reply With Quote
02/19/15, 03:08 AM   #37
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 135
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)
  Reply With Quote
02/19/15, 05:25 PM   #38
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
Originally Posted by Harven View Post
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.... Or was the removal of local scope intentional?
  Reply With Quote
02/19/15, 05:47 PM   #39
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Halja View Post
So, they renamed it and leaked it into the Global memory space.... Or was the removal of local scope intentional?
It's intentional.

Originally Posted by ZOS_ChipHilseberg View Post
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.
  Reply With Quote
02/20/15, 08:18 AM   #40
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
Now that looked a little closer, those are going to be handy they are global.
Thanks to Chip and the clarification Garkin.
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » 1.6 update

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