Showing results 1 to 25 of 186
Search took 0.01 seconds.
Search: Posts Made By: Phinix
Forum: Tutorials & Other Helpful Info 06/06/22, 09:53 PM
Replies: 32
Views: 18,079
Posted By Phinix
Thanks for everything Dan, sirinsidiator,...

Thanks for everything Dan, sirinsidiator, Baertram et al. Your extensive documentation efforts made a pretty major API update a lot less of a hassle for all of us addon authors!
Forum: Lua/XML Help 05/05/22, 07:40 PM
Replies: 6
Views: 2,074
Posted By Phinix
So the 2nd firing of...

So the 2nd firing of EVENT_INVENTORY_SINGLE_SLOT_UPDATE appears to be when loot is shifted from your inventory to your craft bag. For loot where this happens automatically, it fires once when it hits...
Forum: Lua/XML Help 05/05/22, 03:00 PM
Replies: 6
Views: 2,074
Posted By Phinix
Intuitively that is what I would have thought as...

Intuitively that is what I would have thought as well. However I noticed LootDrop was passing bagId and slotId from EVENT_INVENTORY_SINGLE_SLOT_UPDATE to EVENT_LOOT_RECEIVED by setting a "last item"...
Forum: Lua/XML Help 05/05/22, 11:22 AM
Replies: 6
Views: 2,074
Posted By Phinix
I have another loosely related question....

I have another loosely related question.

Assuming shared loot conditions (new loot item added to player bags) will EVENT_INVENTORY_SINGLE_SLOT_UPDATE always register before EVENT_LOOT_RECEIVED?
Forum: Lua/XML Help 05/05/22, 09:17 AM
Replies: 6
Views: 2,074
Posted By Phinix
EVENT_LOOT_RECEIVED isStolen always false

As the title indicates, this field is returning false even for loot that is stolen from containers marked stealing or from bodies of dead innocent NPC's.

The isPickpocketLoot field appears to return...
Forum: Lua/XML Help 05/03/22, 06:36 PM
Replies: 11
Views: 2,984
Posted By Phinix
Good to hear. :)

Good to hear. :)
Forum: Lua/XML Help 05/03/22, 10:44 AM
Replies: 11
Views: 2,984
Posted By Phinix
This is the gist of the code: local function...

This is the gist of the code:

local function AddControl(parent, cType, level)
local c = WINDOW_MANAGER:CreateControl(nil, parent,...
Forum: Lua/XML Help 05/03/22, 08:19 AM
Replies: 11
Views: 2,984
Posted By Phinix
So far narrowed this down to DisplayFrame.lua,...

So far narrowed this down to DisplayFrame.lua, line 369...

The function CreateDragOverlay runs without problems until it gets to this line. Which is odd, because there is nothing in the...
Forum: Lua/XML Help 05/02/22, 07:43 PM
Replies: 11
Views: 2,984
Posted By Phinix
Never overwrote anything, just events and simple...

Never overwrote anything, just events and simple UI hooks using API functions.

It might help if the devs could give some examples of previously functional API calls that are affected by these major...
Forum: Lua/XML Help 05/02/22, 06:23 PM
Replies: 11
Views: 2,984
Posted By Phinix
Reason for instant crashes on PTS?

I have updated Srendarr to manually set the draw tier (self:SetDrawLayer(DL_CONTROLS)) on all mouse-enabled controls, verified no top level controls are set to any parent but GuiRoot, changed the...
Forum: Tutorials & Other Helpful Info 04/19/22, 09:19 PM
Replies: 32
Views: 18,079
Posted By Phinix
I notice changes in several events and functions...

I notice changes in several events and functions from "CombatMechanicType" to "CombatMechanicFlags," which I am assuming correlates to these powerType changes. From a functional standpoint, so long...
Forum: Tutorials & Other Helpful Info 04/19/22, 07:53 PM
Replies: 32
Views: 18,079
Posted By Phinix
OK, here are the values I get on Live vs....

OK, here are the values I get on Live vs. PTS:

LIVE: PTS (old constant): PTS (new constant):
----- ------------------- -------------------
POWERTYPE_INVALID: = -1 POWERTYPE_INVALID: =...
Forum: Tutorials & Other Helpful Info 04/19/22, 07:15 PM
Replies: 32
Views: 18,079
Posted By Phinix
@Baertram - Can you clarify this? On the...

@Baertram - Can you clarify this?


On the current High Isles PTS both the following return the same value:

/script local wPower = GetUnitPower('player', POWERTYPE_WEREWOLF) d(wPower)
/script local...
Forum: Lua/XML Help 04/14/22, 04:26 PM
Replies: 4
Views: 2,193
Posted By Phinix
No direct variables, however you could possibly...

No direct variables, however you could possibly create a custom function to track it.

You could use epoch time calculations to determine if the daily reset has occurred yet. Set a character...
Forum: Lua/XML Help 04/14/22, 04:23 PM
Replies: 4
Views: 1,909
Posted By Phinix
@ZOS_DanBatson - Thanks for clarifying. :)

@ZOS_DanBatson - Thanks for clarifying. :)
Forum: Lua/XML Help 04/09/22, 01:03 PM
Replies: 4
Views: 1,909
Posted By Phinix
OK, I think the IsConsoleUI() is actually more...

OK, I think the IsConsoleUI() is actually more like ZO_Keybindings_ShouldShowGamepadKeybind() in that it assumes gamepad mode without checking and is only looking at whether the user is in console...
Forum: Lua/XML Help 04/09/22, 11:06 AM
Replies: 4
Views: 1,909
Posted By Phinix
IsInGamepadPreferredMode vs. IsConsoleUI

Just wondering what is the difference and why do we have two separate functions to check this?

Are there cases where it is necessary to use one over the other?

I notice that...
Forum: Lua/XML Help 04/05/22, 05:47 PM
Replies: 3
Views: 1,920
Posted By Phinix
Thanks, Baertram. :) I'd been doing much the...

Thanks, Baertram. :)

I'd been doing much the same, leaning towards preferring SecurePostHook, however lately I am finding myself taking more of a similar tact to what you describe, using ZO_PostHook...
Forum: Lua/XML Help 04/05/22, 08:24 AM
Replies: 3
Views: 1,920
Posted By Phinix
ZO_PostHook vs. SecurePostHook

Are there any differences in terms of actual behavior?

As I understand it SecurePostHook is just a modified method of ZO_PostHook ZOS added for instances where the later was causing "from insecure...
Forum: AddOn Help/Support 11/21/21, 07:25 PM
Replies: 3
Views: 2,268
Posted By Phinix
Thanks guys. Oddly enough, after completely...

Thanks guys. Oddly enough, after completely exiting the game and logging back in, my EVENT_PLAYER_ACTIVATED registration is now firing when entering a house or place that requires a fade-to-black...
Forum: AddOn Help/Support 11/20/21, 05:10 PM
Replies: 3
Views: 2,268
Posted By Phinix
Changing zone or entering house.

Hey all,

I have tried several methods of detecting going from a zone containing a player house into that player house, but none of them seem to work.

I have tried EVENT_ZONE_CHANGED,...
Forum: Lua/XML Help 09/13/21, 09:48 PM
Replies: 6
Views: 7,543
Posted By Phinix
Thanks for clarifying. That link is very helpful...

Thanks for clarifying. That link is very helpful with the visual layout of the overlap of different functions.
Forum: Bug Reports 09/11/21, 07:48 PM
Replies: 0
Views: 6,103
Posted By Phinix
[open] Addon registered events not firing on AVA state change

It seems like the game has an internal delay built into the API that blocks sending callbacks to addons registered for certain/all (?) events upon joining a campaign, and possibly after the campaign...
Forum: Lua/XML Help 09/11/21, 05:46 PM
Replies: 6
Views: 7,543
Posted By Phinix
Will this return true for battlegrounds as well?

Will this return true for battlegrounds as well?
Forum: Wish List 08/16/21, 02:28 PM
Replies: 4
Views: 3,632
Posted By Phinix
[open] Return CURRENT order with GetCharacterInfo(i)

This function currently returns character CREATED order. However, it has not been updated since the ability to manually re-order characters was added to the game, rendering it largely useless (for...
Showing results 1 to 25 of 186