Showing results 1 to 25 of 27
Search took 0.00 seconds.
Search: Posts Made By: Wukar
Forum: Lua/XML Help 04/15/14, 05:06 AM
Replies: 15
Views: 14,743
Posted By Wukar
I tried the PreHookHandler but unfortunately the...

I tried the PreHookHandler but unfortunately the inventory list data is updated afterwards
Forum: Wish List 04/14/14, 06:57 PM
Replies: 9
Views: 8,865
Posted By Wukar
Well, the search result for the current page is...

Well, the search result for the current page is stored:
ZO_TradingHouseItemPaneSearchResults.data
Each entry holds the information gained from calling GetTradingHouseSearchResultItemInfo
Not really...
Forum: Lua/XML Help 04/14/14, 06:09 PM
Replies: 15
Views: 14,743
Posted By Wukar
The EVENT_GLOBAL_MOUSE_UP did the trick, thanks...

The EVENT_GLOBAL_MOUSE_UP did the trick, thanks ;)

Anyway, the event chaining problem still ain't solved (at least for me :p)
Forum: Lua/XML Help 04/14/14, 02:20 PM
Replies: 6
Views: 4,186
Posted By Wukar
Iyanga pointed most of it out. Sometimes,...

Iyanga pointed most of it out.

Sometimes, functions are only callable (and work) with :FunctionName(params) instead of .FunctionName(params)

Most prominent typo for me is .SetHidden(false) instead...
Forum: Lua/XML Help 04/14/14, 02:12 PM
Replies: 15
Views: 14,743
Posted By Wukar
Thanks for the examples. The OnMouseUp, kills the...

Thanks for the examples. The OnMouseUp, kills the default operation, OnClicked is ignored. Maybe there's just something wrong with my event handler assignment:


local function...
Forum: Lua/XML Help 04/14/14, 01:04 PM
Replies: 15
Views: 14,743
Posted By Wukar
Event Chaining

Hi,

i try to attach actions to already defined ui event, for example inventory tab clicks, without killing the already assigned actions. I saw a solution inside the InventoryMod (by Cr4x) ;) but it...
Forum: Lua/XML Help 04/09/14, 05:14 AM
Replies: 18
Views: 17,621
Posted By Wukar
Or TryBankItem(inventorySlot) ...

Or

TryBankItem(inventorySlot)
TryPlaceInventoryItemInEmptySlot(targetBag)

along with PLAYER_INVENTORY:IsBanking()
Forum: Lua/XML Help 04/08/14, 12:37 PM
Replies: 11
Views: 8,651
Posted By Wukar
From what i found out, there is a...

From what i found out, there is a ZO_ScrollList_Commit(list) function which calls ZO_ScrollList_UpdateScroll(list) where list is for example ZO_PlayerInventoryBackpack.
Not sure if hidden elements...
Forum: Lua/XML Help 04/08/14, 08:33 AM
Replies: 11
Views: 8,651
Posted By Wukar
Thanks for the hint. I already was looking into...

Thanks for the hint. I already was looking into your code but didn't take a too close look at the PreHook. Trying to get some insights from the game.dat now.
Forum: Lua/XML Help 04/07/14, 09:54 AM
Replies: 11
Views: 8,651
Posted By Wukar
:OnTextChanged might be the most suitable for...

:OnTextChanged might be the most suitable for keystrokes.

Update method - interesting ;)
Which update method on what list? Currently not ingame - i remember a data table, containing the currently...
Forum: Lua/XML Help 04/07/14, 06:51 AM
Replies: 11
Views: 8,651
Posted By Wukar
One could learn alot on what is possible and have...

One could learn alot on what is possible and have a better overview of available functions.

I wonder if the standard UI is available in lua code?
Forum: Lua/XML Help 04/07/14, 02:54 AM
Replies: 12
Views: 11,578
Posted By Wukar
itemName = GetItemName(bagID, slotID) itemName...

itemName = GetItemName(bagID, slotID)

itemName isn't exactly the expected result. It contains the singular and plural item name
{singularName}^x|{pluralName}^y

The x and y are one or more letters...
Forum: Lua/XML Help 04/07/14, 02:29 AM
Replies: 12
Views: 8,326
Posted By Wukar
I assume, every TopLevelControl has the function...

I assume, every TopLevelControl has the function :IsHidden(), for example
if (ZO_PlayerInventory:IsHidden() == false) then { doMyStuff } end
Forum: Lua/XML Help 04/06/14, 11:48 AM
Replies: 11
Views: 10,496
Posted By Wukar
Try that myAddonFrame:SetAnchor(CENTER, {Parent},...

Try that
myAddonFrame:SetAnchor(CENTER, {Parent}, CENTER, 0, 0)
Forum: Lua/XML Help 04/06/14, 09:09 AM
Replies: 16
Views: 11,930
Posted By Wukar
Nice hint, thought of event delegation but was...

Nice hint, thought of event delegation but was wrong. But using TopLevel controlls makes perfect sense.

Still struggling with :SetAnchor and :SetDimensions after i changed an element's parent.
Forum: Lua/XML Help 04/06/14, 06:56 AM
Replies: 16
Views: 11,930
Posted By Wukar
Thanks for the event list, really helped out....

Thanks for the event list, really helped out. Only thing i miss now, is how to capture events for closing/opening bank/inventory/guildbank.

I came across that InventorySearchBox, too, but was...
Forum: Lua/XML Help 04/05/14, 07:02 PM
Replies: 11
Views: 8,651
Posted By Wukar
ZO_PlayerInventoryBackpack methods

According to my questions about adding an element to a ui, i am now stuck at updating the inventory/bank listing.


local backpack = ZO_PlayerInventoryBackpack
local invBackup = backpack.data

local...
Forum: Lua/XML Help 04/05/14, 03:42 PM
Replies: 2
Views: 3,932
Posted By Wukar
nil means nothing or not set at all where an...

nil means nothing or not set at all where an integer is expected. You missed something ;)
Forum: Lua/XML Help 04/05/14, 03:33 PM
Replies: 16
Views: 11,930
Posted By Wukar
Now i am stuck with setting appropriate handlers....

Now i am stuck with setting appropriate handlers. Is there a list of valid and fireing events for controls? OnKeyup as well as Onclicked or OnFocus is not working.


local function...
Forum: Lua/XML Help 04/05/14, 02:15 PM
Replies: 16
Views: 11,930
Posted By Wukar
Thanks for your effort in helping me ;) Nice...

Thanks for your effort in helping me ;)

Nice hint with the ADD_ON_LOADED_EVENT. Thought it was possible but not sure of it.

Yeah, suddenly noticed copying the following was not a good idea...
Forum: Lua/XML Help 04/05/14, 12:28 PM
Replies: 16
Views: 11,930
Posted By Wukar
So, the CreateControl doesn't seem to create a...

So, the CreateControl doesn't seem to create a visual UI element, or should it?

When is either or used? Couldn't find a list of valid virtual names.

CreateControl(string arg1, object parent,...
Forum: Lua/XML Help 04/05/14, 11:42 AM
Replies: 16
Views: 11,930
Posted By Wukar
Ok, raised an UI error previously - messed up...

Ok, raised an UI error previously - messed up syntax. But now i see neither an error, nor an added editbox...

function BBS_Initialize()
local backpack = ZO_PlayerInventoryBackpack
local wm =...
Forum: Lua/XML Help 04/05/14, 11:24 AM
Replies: 11
Views: 10,496
Posted By Wukar
WINDOW_MANAGER:CreateControl(name, parent,...

WINDOW_MANAGER:CreateControl(name, parent, type)
How is type (integer) used? Where is it useful/necessary?
Forum: Lua/XML Help 04/04/14, 01:18 PM
Replies: 16
Views: 11,930
Posted By Wukar
Thanks for the hints. I hate direct solutions and...

Thanks for the hints. I hate direct solutions and prefer learning by doing ;)
Forum: Lua/XML Help 04/03/14, 07:12 PM
Replies: 16
Views: 11,930
Posted By Wukar
*self-facepalm* configuration gui - got it...

*self-facepalm* configuration gui - got it ;)

But the UI elment question remains.
Showing results 1 to 25 of 27