Showing results 1 to 25 of 60
Search took 0.00 seconds.
Search: Posts Made By: maqjav
Forum: Lua/XML Help 08-07-22, 12:58 AM
Replies: 0
Views: 763
Posted By maqjav
Playing with models

Hello.

This is something i've been struggling with for a long time, and I don't know if maybe nowsdays there is a solution to the problem.

I'm trying to display models dinamically in a frame and I...
Forum: Lua/XML Help 12-18-21, 12:10 PM
Replies: 1
Views: 3,102
Posted By maqjav
Ok so I found the problem and the solution. The...

Ok so I found the problem and the solution.

The method:

WorldMapFrame:AddOverlayFrame


Internally adds to a table the new frame:

tinsert(self.overlayFrames, frame);
Forum: Lua/XML Help 12-18-21, 11:21 AM
Replies: 1
Views: 3,102
Posted By maqjav
Fixing taint issues

Hello.

In my addon I was hooking several options to the ingame worldmap dropDownMenu and of course, this was producing taint issues. So, in order to solve them I have done the next changes:
1. No...
Forum: Lua/XML Help 09-04-21, 04:35 PM
Replies: 7
Views: 2,013
Posted By maqjav
Thanks for the code DahkCeles. I see that in...

Thanks for the code DahkCeles.

I see that in your example in order to process the loop in chunks I will have to split it and add it to the workload array splitted. I like the way you calculate the...
Forum: Lua/XML Help 09-04-21, 02:04 PM
Replies: 7
Views: 2,013
Posted By maqjav
This is the code I wrote with your ideas: local...

This is the code I wrote with your ideas:


local Routine = {} do
function Routine:Init(getterItems, chunkSize)
self.context, self.deadline = {}
self.context.currentIndex =...
Forum: Lua/XML Help 09-04-21, 09:11 AM
Replies: 7
Views: 2,013
Posted By maqjav
Ok, so I've been researching a little bit about...

Ok, so I've been researching a little bit about OnUpdate + coroutines and I think I understand how to do it, basically I have to set the Script "OnUpdate" to call a method where I start my own...
Forum: Lua/XML Help 09-04-21, 08:18 AM
Replies: 7
Views: 2,013
Posted By maqjav
Hey sezz, thanks for your answer. In the...

Hey sezz, thanks for your answer.

In the implementation I did the client freezes 1 second until the whole thing is done. Which is not so bad, but I wanted to do it properly so that doesn't happend...
Forum: Lua/XML Help 09-04-21, 04:19 AM
Replies: 7
Views: 2,013
Posted By maqjav
Pattern to manage heavy operations

Hello.

I'm planning on writing a piece of code that will process a lot of information and I'm afraid that this will freeze the users client. How can I avoid this situation?

Let's put it in an...
Forum: Lua/XML Help 12-17-20, 11:20 AM
Replies: 4
Views: 3,894
Posted By maqjav
It seems they get that virtualID from the...

It seems they get that virtualID from the CURSOR_CHANGED (https://wow.gamepedia.com/CURSOR_CHANGED) event:

Extracted from...
Forum: Lua/XML Help 12-17-20, 03:12 AM
Replies: 4
Views: 3,894
Posted By maqjav
Hey Xrystal. No I haven't although the name of...

Hey Xrystal.

No I haven't although the name of the method makes me think that it applies only to my collection.
I will give it a try, although I have to find out how to get that virtualID...
Forum: Lua/XML Help 12-15-20, 12:01 PM
Replies: 4
Views: 3,894
Posted By maqjav
Extract conduit information

Hello.
I'm trying to extract information of a conduit given it's ID, however checking the documentation I don't see a way to extract the conduit data of a conduit that I haven't learnt and it's not...
Forum: Lua/XML Help 09-13-20, 12:18 AM
Replies: 1
Views: 13,376
Posted By maqjav
World map overlay frame and SetMovable

Hello.

I'm adding a new overlay frame to my world map that contains one frame.
I'm trying to allow the user to move this frame on drag and drop.

The problem I'm finding is that if the frame is not...
Forum: Lua/XML Help 05-24-20, 09:58 AM
Replies: 6
Views: 10,853
Posted By maqjav
MunkDev, thank you very much for your...

MunkDev, thank you very much for your guide.
That's actually what I was looking for.

I've been reading about taint in other places and they make it sound so complicated, when actually is fairly...
Forum: Lua/XML Help 05-24-20, 08:28 AM
Replies: 6
Views: 10,853
Posted By maqjav
Hey Ketho. Thanks for your answer. The first...

Hey Ketho.

Thanks for your answer.

The first thing I did was to comment the parts of the code where I was using the "WorldMapFrame", which are in 2 places:
- WorldMapFrame:AddDataProvider()
-...
Forum: Lua/XML Help 05-24-20, 07:30 AM
Replies: 6
Views: 10,853
Posted By maqjav
How to deal with taint issues?

Hello!

I've been the whole morning trying to understand the taint logs and why I'm getting this error in my addon and it doens't make too much sence to me. This is the first time I have to deal with...
Forum: AddOn Help/Support 08-04-19, 09:06 AM
Replies: 3
Views: 3,421
Posted By maqjav
Hello! The idea is to know the quest ID before...

Hello!
The idea is to know the quest ID before using the item, but I'm starting to think that this is not possible.
Thanks!
Forum: AddOn Help/Support 07-31-19, 01:32 PM
Replies: 3
Views: 3,421
Posted By maqjav
Find quest ID from item that starts a quest

Hello.

I can't find any method that returns the questID of an item that starts a quest on use.
The method "GetItemInfo" doesn't return anything related.

Ideas?

Cheers!
Forum: AddOn Help/Support 07-27-19, 02:34 PM
Replies: 2
Views: 2,899
Posted By maqjav
Thank you Kanegasi. I actually found this older...

Thank you Kanegasi.

I actually found this older post where they talk about this: https://www.wowinterface.com/forums/showthread.php?t=56625

I thought that there would be another solution to track...
Forum: AddOn Help/Support 07-27-19, 09:25 AM
Replies: 2
Views: 2,899
Posted By maqjav
Find quest IDs associated to NPCs

Hello.

I'm trying to find a way to extract the quest IDs associated to NPCs that have a lockout.
For example, the NPC "Uncle T'Rog" has the associated quest ID "55538". Is there any function to help...
Forum: General Authoring Discussion 12-23-18, 01:27 AM
Replies: 4
Views: 2,959
Posted By maqjav
That's exactly what I was looking for! Thank you!

That's exactly what I was looking for! Thank you!
Forum: General Authoring Discussion 12-15-18, 01:38 AM
Replies: 4
Views: 2,959
Posted By maqjav
That's a smart solution. Does it apply the same...

That's a smart solution. Does it apply the same way for alts? I mean, if you are playing with a level 60 at Silithus, I guess that you won't be able to see Zidormi, right?

I cannot believe that...
Forum: General Authoring Discussion 12-12-18, 08:37 AM
Replies: 4
Views: 2,959
Posted By maqjav
How to know map phase

Hello.

Since the beggining of BFA and the new map API, I can't tell which version of a map I'm seeing. For example, in Silithus there is the old map version and the Legion version, but both of them...
Forum: AddOn Help/Support 08-09-18, 09:29 AM
Replies: 4
Views: 3,908
Posted By maqjav
I just tried your code and it works perfect!...

I just tried your code and it works perfect! Actually the method InitializeDropDown is invoked after loading my addon, so I can inyect my code just like you suggested.

Thanks again!
Forum: AddOn Help/Support 08-09-18, 07:59 AM
Replies: 4
Views: 3,908
Posted By maqjav
That looks promising, I'm going to give it a...

That looks promising, I'm going to give it a try.
Thank you very much! ;)
Forum: AddOn Help/Support 08-09-18, 04:15 AM
Replies: 4
Views: 3,908
Posted By maqjav
Hook mixin or override template

Hello.

I'm trying to do something... I think simple, which is to add a new option to the DropDownMenu that appears on the world map.

That button uses the Template...
Showing results 1 to 25 of 60