Thread Tools Display Modes
Unread 07-20-12, 11:13 AM   #1
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 565
[5.0.3.15851-15882] API changes

and another ugly dump of the _G changes
Lua Code:
  1. GetBuildInfo() => "5.0.3", "15882", "Jul 16 2012", 50001

Global API functions
New
  1. wowpedia, wowprog, CanAbandonQuest() -- unused
  2. wowpedia, wowprog, framexml, IsMasterLooter() -- 1 hit
Removed
  1. wowpedia, wowprog GetCompanionCooldown() -- previously deprecated

FrameXML functions
New
  1. go-hero, BattlePetTooltipJournalClick_OnClick()
  2. go-hero, BattlePetTooltipTemplate_SetBattlePet()
  3. go-hero, BattlePetTooltip_OnLoad()
  4. go-hero, FloatingBattlePet_Show()
  5. go-hero, MountJournalMountButton_UpdateTooltip() -- loadondemand
  6. go-hero, PetBattleAbilityButton_UpdateBetterIcon()
  7. go-hero, PetJournalListItem_OnClick() -- loadondemand
  8. go-hero, PetJournalPetCard_OnClick() -- loadondemand
  9. go-hero, PetJournalPetLoadoutDragButton_OnClick() -- loadondemand
  10. go-hero, PetJournalRequirement_ShowRequirementToolTip() -- loadondemand
  11. go-hero, PetJournal_SelectSpecies() -- loadondemand
  12. go-hero, SharedPetBattleAbilityTooltip_GetInfoTable()
Removed
  1. go-hero, PetJournalRequirementButton_ShowRequirementToolTip() -- renamed to PetJournalRequirement_ShowRequirementToolTip()

C_* functions
New
  1. wowpedia, framexml, C_PetBattles.GetBattlePetLink() -- 4 hits in 1 file

Last edited by Ketho : 08-03-12 at 12:20 AM.
Ketho is offline  
Unread 07-20-12, 11:13 AM   #2
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 565
New String Variables
Lua Code:
  1. ARCANE_CHARGES_COST_PER_TIME_NO_BASE = "%d Arcane Charges per sec"
  2. BATTLE_PET_PUT_IN_CAGE_HEALTH = "Put In Cage (Health)"
  3. BATTLE_PET_PUT_IN_CAGE_SLOTTED = "Put In Cage (Battle Slot)"
  4. BATTLE_PET_TOOLTIP_CLICK = "[Click here to view in journal]"
  5. BURNING_EMBERS_COST_PER_TIME_NO_BASE = "%d Burning Ember per sec"
  6. CHI_COST_PER_TIME_NO_BASE = "%d Energy per sec"
  7. DARK_FORCE_COST_PER_TIME_NO_BASE = "%d Dark Force per sec"
  8. DEMONIC_FURY_COST_PER_TIME_NO_BASE = "%d Demonic Fury per sec"
  9. ENERGY_COST_PER_TIME_NO_BASE = "%d Energy per sec"
  10. ERR_PETBATTLE_NOT_WHILE_IN_MATCHED_BATTLE = "You can't do that in a matched pet battle."
  11. FOCUS_COST_PER_TIME_NO_BASE = "%d Focus per sec"
  12. HEALTH_COST_PER_TIME_NO_BASE = "%d Health per sec"
  13. LIGHT_FORCE_COST_PER_TIME_NO_BASE = "%d Chi per sec"
  14. MAC_USE_COMMAND_AS_CONTROL = "Use Command key as Control key"
  15. MAC_USE_COMMAND_AS_CONTROL_TOOLTIP = "Use Command key and Control key interchangeably."
  16. MAC_USE_COMMAND_LEFT_CLICK_AS_RIGHT_CLICK = "Command left click as right click"
  17. MAC_USE_COMMAND_LEFT_CLICK_AS_RIGHT_CLICK_TOOLTIP = "Hold down Command key and left click to simulate a right click."
  18. MANA_COST_LARGE_PER_TIME_NO_BASE = "%s Mana per sec"
  19. MANA_COST_PER_TIME_NO_BASE = "%d Mana per sec"
  20. MOUNT_JOURNAL_CANT_USE = "You do not meet the requirements for this mount."
  21. PET_JOURNAL_CARD_NAME_DEFAULT = "Select a pet from the list on the left."
  22. POWER_DISPLAY_COST_PER_TIME_NO_BASE = "%d %s per sec"
  23. RAGE_COST_PER_TIME_NO_BASE = "%d Rage per sec"
  24. RUNIC_POWER_COST_PER_TIME_NO_BASE = "%d Runic Power per sec"
  25. SHADOW_ORBS_COST_PER_TIME_NO_BASE = "%d Shadow Orbs per sec"
  26. SOUL_SHARDS_COST_PER_TIME_NO_BASE = "%d Soul Shards per sec"
  27. SPELL_FAILED_CANT_ADD_BATTLE_PET = "Can't Add Companion To Your Account"
Removed String Variables
Lua Code:
  1. MAC_SWAP_CONTROL_AND_COMMAND = "Use Command instead of Control for key bindings"

----------

New Number Variables
Lua Code:
  1. PET_BATTLE_EVENT_ON_ABILITY = 9
  2. PET_BATTLE_EVENT_ON_AURA_REMOVED = 5
  3. PET_BATTLE_EVENT_ON_ROUND_END = 7
  4. PET_BATTLE_EVENT_ON_ROUND_START = 6
  5. PET_BATTLE_EVENT_ON_SWAP_IN = 10
  6. PET_BATTLE_EVENT_ON_SWAP_OUT = 11
  7. PET_BATTLE_EVENT_ON_TURN = 8

----------

New Tables
Code:
DEFAULT_PET_BATTLE_ABILITY_INFO
FloatingBattlePetTooltip
MacOptionsFrameCheckButton11
MacOptionsFrameCheckButton11Text
PetJournalLoadoutPet1Requirement
PetJournalLoadoutPet1RequirementStr
PetJournalLoadoutPet2Requirement
PetJournalLoadoutPet2RequirementStr
PetJournalLoadoutPet3Requirement
PetJournalLoadoutPet3RequirementStr
Removed Tables
Code:
PetJournalLoadoutPet1RequirementButton
PetJournalLoadoutPet2RequirementButton
PetJournalLoadoutPet3RequirementButton
Ketho is offline  
Unread 07-20-12, 11:16 AM   #3
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 565
and as Vladinator already mentioned, there is the new "battlepet" hyperlink

Last edited by Ketho : 07-20-12 at 11:32 AM.
Ketho is offline  
Unread 07-20-12, 12:29 PM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,006
Originally Posted by Ketho View Post
... there is the new "battlepet" hyperlink
Putting multiple links on different pieces of a word may be confusing. Here's to split up the links.

"battlepet" hyperlink (WoWProgramming | WoWPedia)
Note: Neither of these sites have a description of this specific link type yet.
__________________
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
SDPhantom is offline  
Unread 07-20-12, 12:38 PM   #5
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 760
Originally Posted by SDPhantom View Post
<snip> Note: Neither of these sites have a description of this specific link type yet.
True, but he referenced my post and it does!

By the way about the build, keep getting an crash "File: src\lstorminterface.cpp | Line: 9 | Expr: exp" and can't play or test the new pet battle quests (that they said were now fixed)... :'(
Vlad is offline  
Unread 07-20-12, 12:52 PM   #6
jeffy162
Premium Member
 
jeffy162's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 1,826
Originally Posted by Vladinator View Post
True, but he referenced my post and it does!

By the way about the build, keep getting an crash "File: src\lstorminterface.cpp | Line: 9 | Expr: exp" and can't play or test the new pet battle quests (that they said were now fixed)... :'(
THIS IS NOT AN ATTEMPT TO HIJACK THIS THREAD!!!!

That being said: I was getting the same error, but I found that disabling ALL of my addons stopped it.

THAT IS ALL!

You can go about your regular business now. (Those last two lines are a feeble attempt at humor.)
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?

jeffy162 is online now  
Unread 07-21-12, 07:21 PM   #7
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,234
Build 15882 GlobalStrings.lua for all locales:
https://github.com/phanx/wow-globalstrings
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline  
 

Go BackWoWInterface » WoD Beta » MoP archived threads » [5.0.3.15851-15882] API changes

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