Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: lungdesire
Forum: Lua/XML Help 01-02-21, 07:36 AM
Replies: 5
Views: 3,807
Posted By lungdesire
Thanks averyone. Use two-dimensional array

Thanks averyone. Use two-dimensional array
Forum: Lua/XML Help 12-29-20, 10:49 AM
Replies: 5
Views: 3,807
Posted By lungdesire
How print array?

mass = {"one", "two", "three"}

test = "mass"

for i, v in pairs(test) do
print(v)
end

Why this code dont work and where error?
Forum: Lua/XML Help 12-25-20, 12:04 AM
Replies: 2
Views: 2,314
Posted By lungdesire
You can show example? Thanks

You can show example? Thanks
Forum: Lua/XML Help 12-24-20, 07:42 AM
Replies: 2
Views: 2,314
Posted By lungdesire
How work function C_AuctionHouse.PostIte

Hey.
This code work in chat:

/run C_AuctionHouse.PostItem(ItemLocation:CreateFromBagAndSlot(0, 1), 1, 1, nil, 190080000)

but dont work in my addon:

local function OnEvent(self, event, ...)
if...
Forum: Lua/XML Help 11-08-20, 02:56 PM
Replies: 6
Views: 7,146
Posted By lungdesire
Thanks everyone for help.

Thanks everyone for help.
Forum: Lua/XML Help 11-08-20, 03:58 AM
Replies: 6
Views: 7,146
Posted By lungdesire
Thanks, but how send "hello" and "bye" from the...

Thanks, but how send "hello" and "bye" from the loop in OnEvent?
Forum: Lua/XML Help 11-07-20, 04:42 PM
Replies: 6
Views: 7,146
Posted By lungdesire
How to send arguments in OnEvent?

Hello everyone. How to send arguments in OnEvent?


h = { "hello", "bye" }

for key, val in pairs(h) do
-- How send "hello" and "bye" in OnEvent ?
end

local function OnEvent(self, event, ...)
Forum: Lua/XML Help 05-15-20, 06:29 AM
Replies: 13
Views: 24,075
Posted By lungdesire
Thanks, I will work with your code.

Thanks, I will work with your code.
Forum: Lua/XML Help 05-11-20, 12:06 AM
Replies: 13
Views: 24,075
Posted By lungdesire
But how print in chat minPrice and name seller? ...

But how print in chat minPrice and name seller? Need an example "Sealed Tome of the Lost Legion". Thanks
Forum: Lua/XML Help 05-10-20, 04:51 PM
Replies: 13
Views: 24,075
Posted By lungdesire
please talk to me how work tis code?

local auctions = {}

local function OnEvent(self, event)
if event == "AUCTION_HOUSE_SHOW" then
C_AuctionHouse.ReplicateItems()
elseif event == "REPLICATE_ITEM_LIST_UPDATE"...
Forum: Lua/XML Help 05-09-20, 07:34 AM
Replies: 13
Views: 24,075
Posted By lungdesire
Thank you i will try

Thank you i will try
Forum: Lua/XML Help 05-07-20, 09:33 AM
Replies: 13
Views: 24,075
Posted By lungdesire
Ok. Why this code dont work? local frame =...

Ok. Why this code dont work?

local frame = CreateFrame("Frame");
frame:RegisterEvent("AUCTION_HOUSE_SHOW");
frame:Hide();

frame:SetScript("OnEvent", function(self, event, ...)

if (event ==...
Forum: Lua/XML Help 05-06-20, 10:18 PM
Replies: 13
Views: 24,075
Posted By lungdesire
My LUA code dont work in new API 8.3.0 [ auction ] ]

Hello.
My LUA code work in old API.

local frame =...
Showing results 1 to 13 of 13