Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Xrystal
Forum: AddOn Help/Support Today, 07:29 AM
Replies: 4
Views: 97
Posted By Xrystal
Not quite - I wasn't sure what the following was...

Not quite - I wasn't sure what the following was for so my updated version doesn't have it in
if IsShiftKeyDown() then return end


Give this a go. As a reminder, event watching only frames...
Forum: AddOn Help/Support Today, 06:43 AM
Replies: 4
Views: 97
Posted By Xrystal
It might be because it is processing things a bit...

It might be because it is processing things a bit too soon.

You could see if using the MERCHANT_UPDATE event ( at least the first time around ) will be the best time to do any semi automatic...
Forum: Lua/XML Help Yesterday, 12:16 PM
Replies: 2
Views: 127
Posted By Xrystal
That is a good point. I totally forgot it didn't...

That is a good point. I totally forgot it didn't have a height either.

But, I somehow managed to get things to work again as a status bar.

Can't think what is different outside of using a...
Forum: Lua/XML Help Yesterday, 10:58 AM
Replies: 2
Views: 127
Posted By Xrystal
StatusBar / Texture - Width/Coloring issues

I've been slowly working on the nUI replacement. But I have hit a snag with creating a simple health bar.

I tried StatusBar control which correctly resized the bar according to the min/max and...
Forum: AddOn Help/Support Yesterday, 02:30 AM
Replies: 25
Views: 682
Posted By Xrystal
Well my test addon doesn't save it .. but,...

Well my test addon doesn't save it .. but, testing bugsack and it does. So something in its code must be saving it in some form.

edit: Okay figured it out ..

Files Changed:
TestAddonSettings.toc...
Forum: AddOn Help/Support Yesterday, 01:56 AM
Replies: 25
Views: 682
Posted By Xrystal
That I don't know as I never really used the...

That I don't know as I never really used the minimap icon.

bugsack uses it but it doesn't save anything to it apart from whether it shows it on the minimap or not.


Okay, looking at a few query...
Forum: AddOn Help/Support 04-13-24, 08:19 AM
Replies: 25
Views: 682
Posted By Xrystal
Look at what I changed in the files, they were...

Look at what I changed in the files, they were copies of what you posted. So, you should see what I changed and why I changed it because of the notes I put in there.

If it doesn't work after you...
Forum: AddOn Help/Support 04-13-24, 08:06 AM
Replies: 25
Views: 682
Posted By Xrystal
Yes the first part sets the panel up as part of...

Yes the first part sets the panel up as part of the settings system - you just need to add your controls to it as you did.

The second part, will open to your addon page ( all going well - it did...
Forum: AddOn Help/Support 04-13-24, 06:38 AM
Replies: 25
Views: 682
Posted By Xrystal
Remember the code I attached just has the addon...

Remember the code I attached just has the addon settings panel and the minimap button code. The rest of your addon code will need to be added to the toc file if you use my version of the code as the...
Forum: AddOn Help/Support 04-13-24, 06:34 AM
Replies: 25
Views: 682
Posted By Xrystal
Okay. These are all the files I needed to make...

Okay. These are all the files I needed to make it work. Remember order in the toc is important with separate files.

TOC File - Remember to change Title/Author/Version/SavedVariables/Notes to suit...
Forum: AddOn Help/Support 04-13-24, 05:50 AM
Replies: 25
Views: 682
Posted By Xrystal
That's understandable. ChatGPT may not be wise...

That's understandable.

ChatGPT may not be wise enough to realise new addons are probably best to use new functions rather than ones that will be gone by the next expansion.

Looking at your code I...
Forum: AddOn Help/Support 04-13-24, 04:40 AM
Replies: 25
Views: 682
Posted By Xrystal
I would suggest you try creating a simple addon...

I would suggest you try creating a simple addon that just shows a settings panel, using the example code on the wiki.gg page I linked. Once you have seen how that works, you can add your addon's...
Forum: AddOn Help/Support 04-13-24, 04:19 AM
Replies: 25
Views: 682
Posted By Xrystal
Your code must still be missing something which...

Your code must still be missing something which is why I asked to see the code where you create your settings panel. How you create that will determine how you display it.
Forum: AddOn Help/Support 04-13-24, 01:28 AM
Replies: 25
Views: 682
Posted By Xrystal
So is it working as you wanted or not ? Is it...

So is it working as you wanted or not ?

Is it opening to your addon's settings panel ?
Is it showing all the controls you set up for it ?
Is it saving the settings between play sessions ( if you...
Forum: AddOn Help/Support 04-12-24, 07:22 AM
Replies: 25
Views: 682
Posted By Xrystal
Yes, my last example, 2 lines in the OnClick...

Yes, my last example, 2 lines in the OnClick script will open the settings panel to the addon list page. There doesn't seem to be a way addons can open to their own section of the settings by code. ...
Forum: AddOn Help/Support 04-12-24, 04:47 AM
Replies: 25
Views: 682
Posted By Xrystal
Just copied the Dragonflight Settings example and...

Just copied the Dragonflight Settings example and tested a button click to open and Fizzles code works. It won't go straight to your addon page, but it will go to the addon page list section.

This...
Forum: AddOn Help/Support 04-12-24, 03:09 AM
Replies: 25
Views: 682
Posted By Xrystal
Okay. Which one of these were you hoping to...

Okay.

Which one of these were you hoping to implement ? Each one will involve different set up and calls to show up.

1. Display Panel in pre Dragonflight InterfaceOptionsFrame

Use example in...
Forum: Lua/XML Help 04-11-24, 10:40 AM
Replies: 2
Views: 311
Posted By Xrystal
You have to assign which unit ( at creation...

You have to assign which unit ( at creation usually ) is allocated to that cell. And then probably some code to tell the game to show it if that unit exists and hide if not.

The built in mouseover...
Forum: AddOn Help/Support 04-11-24, 10:37 AM
Replies: 25
Views: 682
Posted By Xrystal
I've personally not used the Wow Options system,...

I've personally not used the Wow Options system, but I would try to use the example in the wiki page below. If you were aiming to have a panel inside the wow options screen like several addons have...
Forum: AddOn Help/Support 04-11-24, 06:11 AM
Replies: 25
Views: 682
Posted By Xrystal
Your toggle function only displays text in the...

Your toggle function only displays text in the chat frame - did you check to see if it appeared ?

function MyAddonOptionsPanel_Toggle()
-- Add code to open or close the options panel here
...
Forum: AddOn Help/Support 04-08-24, 05:12 AM
Replies: 8
Views: 429
Posted By Xrystal
What does it do ? What did you expect it to do ?...

What does it do ?
What did you expect it to do ?

It doesn't work doesn't explain what is happening in your case.

Looking at your code you are still only setting the information on PLAYER_LOGIN. ...
Forum: Tutorials & Other Helpful Info. 04-07-24, 10:48 AM
Replies: 2
Views: 326
Posted By Xrystal
People do a variety of things. Some do as you...

People do a variety of things.

Some do as you thought, hide the Blizzard frames and create their own ones.
Other's change the visuals of the Blizzard frames but keep the functionality as is.
Many...
Forum: AddOn Help/Support 04-07-24, 07:42 AM
Replies: 8
Views: 429
Posted By Xrystal
Also, you could forego on the localization of the...

Also, you could forego on the localization of the quest name as you could use the following :

C_QuestLog.GetTitleForQuestID(questID)

https://warcraft.wiki.gg/wiki/API_C_QuestLog.GetTitleForQuestID...
Forum: AddOn Help/Support 04-07-24, 06:51 AM
Replies: 8
Views: 429
Posted By Xrystal
Did you check to make sure that the event...

Did you check to make sure that the event triggered when you clicked on the complete button for the quest ?

It is also possible that the IsQuestFlaggedCompleted function doesn't know about the just...
Forum: AddOn Help/Support 04-06-24, 10:29 AM
Replies: 8
Views: 429
Posted By Xrystal
You could use the update function for the frame -...

You could use the update function for the frame - you've used that in the past for other projects if memory serves.

I personally identify an event that would trigger for it and use that, and only...
Showing results 1 to 25 of 500