Thread Tools Display Modes
04/28/16, 04:03 AM   #1
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 135
PTS 2.4 API changes (2.3.9 to 2.4.0 diff)

Hey!

Here you go, as usual Look here for official api changelog. Also see 2.4 Update discussion thread. The following data is produced by comparing 2.3.9 and 2.4.0 global variables.
  • New Functions:
    Warning: Spoiler
  • Removed Functions:
    Warning: Spoiler
  • No changes in 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

Previous diff: PTS 2.3 API changes (2.2.10.1258783 to 2.3.0.1262254 diff)
  Reply With Quote
04/28/16, 08:59 AM   #2
haggen
 
haggen's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2015
Posts: 137
Awesome! Thank you Harven.
  Reply With Quote
04/29/16, 05:51 AM   #3
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,566
Thanks!
It looks like the variables "level" and "rank" are leaked into global space in ingame/lfg/keyboard/zo_activityfindertemplate_keyboard.lua line 213 and 214. They do not seem to get used, so maybe someone forgot to remove them?
  Reply With Quote
04/29/16, 07:01 AM   #4
@AlphaLemming
 
@AlphaLemming's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 122
Thanks you!

Oh, new styles and a new Armor/Weapon trait:

RA_GADA
AKATOSH
DROMOTHRA
MINOTAUR
SKINCHANGER
ASSASSINS
MORAG_TONG

ARMOR_PROSPEROUS
WEAPON_DECISIVE
  Reply With Quote
04/29/16, 08:52 AM   #5
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,566
The traits were just renamed:
The item trait ITEM_TRAIT_TYPE_ARMOR_EXPLORATION has been replaced with ITEM_TRAIT_TYPE_ARMOR_PROSPEROUS, and the item trait ITEM_TRAIT_TYPE_WEAPON_WEIGHTED has been replaced with ITEM_TRAIT_TYPE_WEAPON_DECISIVE.
  Reply With Quote
04/29/16, 02:35 PM   #6
prasoc
 
prasoc's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 24
Thanks for the dev changelog, Harven!

Also, does anyone know what happened to "ZO_GamepadSubMenuEntryTemplate_Setup"? My addon uses this quite extensively - is this removal due to the new item locking feature?
  Reply With Quote
04/29/16, 03:16 PM   #7
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,566
It says "This function shouldn't be used anymore (update GamepadProvisioner.lua)" in the source code for 2.3, so I guess it was replaced with a different way to set it up?
EDIT: SharedGamepadEntryTemplateSetup does still exist, so you could just replace it?
  Reply With Quote
04/29/16, 03:31 PM   #8
prasoc
 
prasoc's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 24
Ah, I see - the "ZO_" function is just a dummy, easy to update also, what API version is your github repo currently at? Has it been updated to the newest PTS release?
  Reply With Quote
04/29/16, 04:07 PM   #9
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,566
The master branch is always at the level of the live server, but we have a pts branch too. Unfortunately github search does not support searching different branches.
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » PTS 2.4 API changes (2.3.9 to 2.4.0 diff)

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