Addon API pared down significantly

Post » Thu Mar 20, 2014 1:38 pm

There's an update to the API. There are API notes. Naturally, it's a bit jargon-y.

Spoiler


API Version Change: Version is now 100003. Update your addons with the “## APIVersion: ” tag in the appropriate .txt file.

Main changes: – Removed a number of deprecated events and functions. – Locked down access to Unit information and ability cast functionality. – Locked down access to combat events so that only your own outgoing spells can be monitored with any level of detail. Incoming damage and healing from spells have been restricted to only showing the value and not the name of the spell, type of damage or healing, or who is casting it.

Global Variable Changes: – Removed CastBarType enumeration

Added MouseDestroyItemFailedReason to help inform the user why an item couldn’t be destroyed
Removed TOOLTIP_GAME_DATA_SOCKET because much of the old item socketing API has been removed.
Removed a number of unused, irrelevant, or private ActionResults: ACTION_RESULT_BEGIN ACTION_RESULT_BEGIN_CHANNEL ACTION_RESULT_BUFF ACTION_RESULT_COMPLETE ACTION_RESULT_DEBUFF ACTION_RESULT_EFFECT_FADED ACTION_RESULT_EFFECT_GAINED ACTION_RESULT_EFFECT_GAINED_DURATION ACTION_RESULT_LINKED_CAST
Added ACTION_RESULT_MERCENARY_LIMIT (for errors from keep/siege messaging)
Added CampaignReassignmentErrorReason enumeration value for CAMPAIGN_REASSIGN_ERROR_CAMPAIGNS_DISABLED
Added QueueForCampaignResponseType enumeration values: QUEUE_FOR_CAMPAIGN_RESULT_CAMPAIGNS_DISABLED QUEUE_FOR_CAMPAIGN_RESULT_CAMPAIGN_FULL QUEUE_FOR_CAMPAIGN_RESULT_DESTINATION_NOT_UP QUEUE_FOR_CAMPAIGN_RESULT_GROUP_MEMBER_WITH_INSUFFICIENT_LEVEL QUEUE_FOR_CAMPAIGN_RESULT_INSUFFICIENT_LEVEL QUEUE_FOR_CAMPAIGN_RESULT_NOT_ONLINEGame API Changes:
Removed deprecated functions: DoesUnitHaveTooltip GetUnitFinesseRankInfo GetUnitXPDebt GetUnitPrimaryPowerType GetUnitPrimaryPowerIndex GetMaxPowerPools DoesUnitUsePowerType GetUnitCastingInfo GetUnitBuffSlot GetBuffEffectType GetBuffAbilityType GetBuffStatusEffectType CheckUnitBuffsForAbilityType GetPoisonEffectColorIndex GetPlayerBuffPriorities GetSynergyInfo GetNumSynergies GetSlotAbilityRank CheckSlotAbilityStatusLine HasOtherAbilityOngoingFailure GetActionSlotType IsSlotActionInRange IsSlotActionTooClose GetJournalQuestIsPushed GetQuestDailyCount SetUseInteractionCamera GetItemNumSockets GetItemSocketType GetMaxTransformPlugs GetPlugItemInfo GetPlugItemLink StartSocketingItem StartSocketingUnit ResetSocketing StopSocketing ApplySocketing ClearSocket ApplyPlugToSocket IsCurrentlySocketingItem IsCurrentlySocketingUnit CanPlayerModifySockets AreSocketingChangesPending SocketingChangesWillDestroyUpgrades CanPlugGoInSocket GetClosestKeep GetClosestKeepOfType GetAvAKeepsHeld GetKeepPvPSystem GetParentKeepForKeep GetActiveKeepId DepositBattleTokens GetBattleTokensForKeepUpgradePathLevel GetKeepInCombat RequestKeepInfoForKeep GetBattleTokens IsMapPinFilterSet SetMapPinFilter GetNumMapPinFilters GetSiegeAmmoIcon GetNumGuildReputationRanks GetGuildReputationRankInfo GetNumUsedPlayerAuras GetPlayerAuraInfo GetPlayerMaxLevel GetStatIncreasePerLevel GetNumWeaponSets GetCurrentWeaponSet GetWeaponSetInfo GetWeaponSetXPInfo GetNumWeaponSetRanks GetWeaponSetAbilityInfo RespecAbilityProgression GetNumAbilityProgressions GetNumAbilityProgressionRanks GetNumAttributePassives GetAttributePassiveInfo GetNumAttributeDerivedStats GetAttributeDerivedStatInfo GetNumActiveCombatTips GetGameCameraMinCameraDistance GetGameCameraMaxCameraDistance IsGameCameraTargetInMeleeRange IsGameCameraTargetOutOfRange IsGameCameraUnitHighlightedValid IsGameCameraPreferredTargetHighlightedByReticle IsGameCameraFirstPerson GetKeepWallInfo GetNumHookPoints GetHookPointInfo GetNumHookPointStoreEntries GetHookPointStoreInfo AddHookPointPurchase CompleteHookPointPurchase GetNumKeepPieceHealItems RepairKeepPiece PlaceInSocket IsFriendlyForwardCampAvailable
Removed Logpvssyxt entirely. The user can still create chat logs with the /chatlog command, however the logs are not flushed immediately. It’s no longer possible to log arbitrary data to that file.
Added new Synergy API: GetSynergyInfo: returns information about the currently available synergy. Arguments: None Returns: synergyName, iconFilename
Added GetPendingItemPost for information about an item that is being posted to the Guild Store. Arguments: None Returns: bag, slot, quantity
Restricted information that GetUnitBuffInfo has access to. It can now only be used to discover long term buffs about the local player. As such, the final return value “isLongTermBuff” has been removed since the API only returns long-term buffs.
Restricted access to the following functions. They are now private functions and cannot be called by AddOns. SendChatMessage GameCameraInteractStart GameCameraMouseFreeLookStart GameCameraMouseFreeLookStop CycleGameCameraPreferredEnemyTarget ClearGameCameraPreferredTarget ReleaseGameCameraSiegeControlled
Changed Synergy ability API to use a new function ActivateSynergy instead of the old API functions (Activate Buff, UseSynergyEffect, and UseMostRecentSynergyEffect)
Renamed InventoryContainsEmptySoulGem to DoesInventoryContainEmptySoulGem
The Emote API has been changed so that it no longer allows emotes that didn’t have slash commands to be used by the player.Game Event Changes:
Removed events: EVENT_ABILITY_PROGRESSION_FULL_UPDATE EVENT_ABILITY_RANGE_CHANGED EVENT_ACTION_PAGE_UPDATED EVENT_BATTLE_TOKEN_UPDATE EVENT_BEGIN_CAST EVENT_CAMERA_DISTANCE_SETTING_CHANGED EVENT_CHAT_MESSAGE_COMBAT EVENT_CLOSE_HOOK_POINT_STORE EVENT_CONTROLLED_SIEGE_SOCKETS_CHANGED EVENT_CURRENT_WEAPON_SET_UPDATE EVENT_DELAY_CAST EVENT_DROWN_TIMER_UPDATE EVENT_END_CAST EVENT_GAME_SCORE EVENT_GAME_STATE_CHANGED EVENT_GAME_TIMER_PAUSED EVENT_GUILD_REPUTATION_ADDED EVENT_GUILD_REPUTATION_LOADED EVENT_GUILD_REPUTATION_POINTS_UPDATED EVENT_GUILD_REPUTATION_RANK_UPDATED EVENT_HOOK_POINTS_UPDATED EVENT_INTERACTION_TRANSITION_PENDING EVENT_KEEP_BATTLE_TOKENS_UPDATE EVENT_KEEP_CAPTURE_REWARDS EVENT_KEEP_COMBAT_STATE_CHANGED EVENT_KEEP_RESOURCE_LOCK_UPDATE EVENT_KILL_SPAM EVENT_LEVEL_UP_INFO_UPDATED EVENT_LOCAL_PLAYER_ABILITY_OCCURED EVENT_LOCAL_PLAYER_CHARGEUP_BEGIN EVENT_LOCAL_PLAYER_CHARGEUP_COMPLETE EVENT_LOCAL_PLAYER_KICKOFF_CAST EVENT_LOCAL_PLAYER_WEAPON_ABILITY_WAIT_BEGIN EVENT_LOCAL_PLAYER_WEAPON_ABILITY_WAIT_END EVENT_MINIMAP_FILTERS_INITIALIZED EVENT_MOUSEOVER_CHANGED EVENT_NEW_DISCOVERY_AREA EVENT_NEW_REVEAL EVENT_OPEN_HOOK_POINT_STORE EVENT_PLAYER_AURA_UPDATE EVENT_PREFERRED_TARGET_HIGHLIGHT_UPDATE EVENT_PVP_FLAG_CHANGED EVENT_QUEST_DAILY_COUNT_CHANGED EVENT_QUEST_INTERACT_DIALOG EVENT_REASSIGN_CAMPAIGN_FAILED EVENT_SET_CHEVRON EVENT_SHOW_LINKED_CAST EVENT_SHOW_SCOREBOARD EVENT_SHOW_SCOREBUTTON EVENT_SHOW_TIME EVENT_SOCKETING_ITEM_ALREADY_HAS_PROPERTY EVENT_SOCKETING_UNIT_DESTROYED EVENT_SOCKETING_UNIT_SOCKETS_CHANGED EVENT_UPDATE_GAME_STATE EVENT_WEAPON_SET_FULL_UPDATE EVENT_WEAPON_SET_RANK_UPDATE EVENT_WEAPON_SET_XP_UPDATE
Added Event: EVENT_MOUSE_REQUEST_DESTROY_ITEM_FAILED (bagId, slotIndex, itemCount, name, reason)
Changed Event EVENT_SKILL_POINTS_CHANGED to pass information about partial point gains: EVENT_SKILL_POINTS_CHANGED (pointsBefore, pointsNow, partialPointsBefore, partialPointsNow)
Changed Synergy Event API replacing existing events with a single EVENT_SYNERGY_ABILITY_CHANGED that should be used to know when to query the Synergy API about changes to the current Synergy that will be used.UI Object API Changes:
Changed CompassDisplayControl API for GetCenterOveredPinInfo to return the draw level of the pin currently in the center of the compass. Returns: description, type, distance, drawLayer, (new field) drawLevel, suppressed
Removed TooltipControl API: SetAttributePassive SetHookPointStoreEntry SetPlugItem SetSiegeFire SetSocketingItem SetSynergyBuff SetUnit SetWeaponSetAbility

Long story short - you can only see information about yourself. When you get healed, you don't know what kind of heal it is - you just see the numbers. I think you're blocked from seeing debuffs on yourself. Addons are prevented from issuing in-game commands, such as chat text. I never got into modding for ESO, so I'm still browsing the note for details.

edit: Caveat, I may be misinterpreting the purpose of various function calls and events. Take the above with several grains of salt.

User avatar
Ashley Hill
 
Posts: 3516
Joined: Tue Jul 04, 2006 5:27 am

Post » Thu Mar 20, 2014 10:40 pm

Good.

User avatar
Neliel Kudoh
 
Posts: 3348
Joined: Thu Oct 26, 2006 2:39 am

Post » Fri Mar 21, 2014 1:27 am

They're talking about it on Twitch

http://www.twitch.tv/erlexx

User avatar
tannis
 
Posts: 3446
Joined: Sat Dec 09, 2006 11:21 pm

Post » Fri Mar 21, 2014 12:46 am

So the macro framework is useless for controlling other addon via chat function?


Nice to see that they remove information regarding other players and unit.
User avatar
Eileen Müller
 
Posts: 3366
Joined: Fri Apr 13, 2007 9:06 am

Post » Thu Mar 20, 2014 10:24 am

Gutted is the more accurate term. Take out seeing enemy info fine, but now we can't even see our OWN Info?

User avatar
BethanyRhain
 
Posts: 3434
Joined: Wed Oct 11, 2006 9:50 am

Post » Thu Mar 20, 2014 11:23 am

the raiders will NOT be pleased ^^

User avatar
roxanna matoorah
 
Posts: 3368
Joined: Fri Oct 13, 2006 6:01 am

Post » Thu Mar 20, 2014 12:51 pm

Nothing about own information is said to be removed from the general description. One Max to look at the actual function removed to see what is removed tho


Hmm. From the API. Only long term buff can be accessed from the API now it seems.
User avatar
Lilit Ager
 
Posts: 3444
Joined: Thu Nov 23, 2006 9:06 pm

Post » Thu Mar 20, 2014 6:44 pm

Lol, actually you can't see most of the info about yourself anymore either. Its pretty much dead now.

User avatar
Miss Hayley
 
Posts: 3414
Joined: Tue Jun 27, 2006 2:31 am

Post » Thu Mar 20, 2014 8:42 pm

Im on the PTS. Mod authors have confirmed it. API is gutted, GG.

User avatar
Kahli St Dennis
 
Posts: 3517
Joined: Tue Jun 13, 2006 1:57 am

Post » Fri Mar 21, 2014 12:38 am

You can't see your own cast bars, or short term buff info. Another knock for the bow.

User avatar
jason worrell
 
Posts: 3345
Joined: Sat May 19, 2007 12:26 am

Post » Thu Mar 20, 2014 11:51 am

Good news.

User avatar
Bad News Rogers
 
Posts: 3356
Joined: Fri Sep 08, 2006 8:37 am

Post » Thu Mar 20, 2014 5:06 pm

No, it was gutted, completely, you can no longer see information about what YOUR character does. Huge slap in the face to the whole community.

User avatar
Chloe Botham
 
Posts: 3537
Joined: Wed Aug 30, 2006 12:11 am

Post » Thu Mar 20, 2014 11:37 pm

I'll admit being amused at how now that the tes fans are long gone, they're making changes to appeal to them. O.o It's very strange indeed.

User avatar
Cameron Wood
 
Posts: 3384
Joined: Wed Oct 31, 2007 3:01 pm

Post » Thu Mar 20, 2014 4:46 pm


Yeah. I notice the function call to buff note only return long term buff.

Looks like they removed too much. And information like resistance should be accessible without ui mod
User avatar
Mrs shelly Sugarplum
 
Posts: 3440
Joined: Thu Jun 15, 2006 2:16 am

Post » Thu Mar 20, 2014 9:34 pm

ESO in it's present state is dead. 2months ago ESO was the most fun I have had in years gaming, 1 month ago until .18 it still was, now .. zero chance I will play it until it goes F2P.

User avatar
Curveballs On Phoenix
 
Posts: 3365
Joined: Sun Jul 01, 2007 4:43 am

Post » Thu Mar 20, 2014 9:45 am


Great.....

/sarcasm

How anyone can blanket this as "good news" is my best guess.

They might as well not have addons if you cant see thing like your own friggin cast bar.
User avatar
Wayne W
 
Posts: 3482
Joined: Sun Jun 17, 2007 5:49 am

Post » Thu Mar 20, 2014 3:49 pm

Many seem very invested in this. I don't mind, except where players were using the information retrieval from the API to allow other programs to automatically input commands. This was a really big issue that needed adjusted.

User avatar
rebecca moody
 
Posts: 3430
Joined: Mon Mar 05, 2007 3:01 pm

Post » Thu Mar 20, 2014 5:06 pm

That particular comment has come up and been disproven several times now. Sure there are TES fans against extreme addons, but there were MMO fans and addon developers that were saying "API is giving to much information". It is a split crowd, but by no means it the crowd against it entirely TES fans like a few of you want to make everyone believe.

User avatar
Roanne Bardsley
 
Posts: 3414
Joined: Wed Nov 08, 2006 9:57 am

Post » Thu Mar 20, 2014 5:10 pm

This. I had some very high hopes for ESO but everything they have done in the past month has been in the wrong direction.

User avatar
Natasha Callaghan
 
Posts: 3523
Joined: Sat Dec 09, 2006 7:44 pm

Post » Thu Mar 20, 2014 11:10 am

Poor ZoS. They never get the balance quite right.

I never really use mods, but knowing how long I have left on a buff, was always one mod that I've got - only to make me efficient. As it is in ESO, I can't access it in combat, because of the stupid "character zoom" when you open a menu.

Cast bars should be built in to the game anyway. I derp faced when I first played the beta and there wasn't one.

User avatar
Sweets Sweets
 
Posts: 3339
Joined: Tue Jun 13, 2006 3:26 am

Post » Thu Mar 20, 2014 3:06 pm

Yes and more YES! ZOS is kicking ass :D

User avatar
Chris Duncan
 
Posts: 3471
Joined: Sun Jun 24, 2007 2:31 am

Post » Thu Mar 20, 2014 6:49 pm

Not that I am in favor or not in favor of Add-ons. However I would of used it if it was in the game, now that it was excluded I dont really care.

User avatar
Spaceman
 
Posts: 3429
Joined: Wed May 23, 2007 10:09 am

Post » Thu Mar 20, 2014 5:03 pm

Most of us do not know many API commands are still left in ESO -- they will be addon's still. It will be interesting to see what DPS meter players react to this and what ZOS next move will be...

Chess anyone?

User avatar
Lillian Cawfield
 
Posts: 3387
Joined: Thu Nov 30, 2006 6:22 pm

Post » Thu Mar 20, 2014 5:17 pm

No, there are no addons, the ability to create them was taken away. It's not chess, if this is Chess then ZOS just moved themselves into checkmate.

User avatar
kelly thomson
 
Posts: 3380
Joined: Thu Jun 22, 2006 12:18 pm

Post » Thu Mar 20, 2014 12:35 pm

Good news for the most part. I think they removed a bit too much (information on self buffs/debuffs), but it's a step in the right direction.

Warning: extremely self-important elitists in there blurting out nonsense that they are the only ones entitled to an opinion. That they are "the core audience" and that Zenimax should listen primarily to them, and not feedback from elsewhere. The input they share about other subjects game-related is a lot more informative.

User avatar
Wayne Cole
 
Posts: 3369
Joined: Sat May 26, 2007 5:22 am

Next

Return to Othor Games