WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Can someone write me a simple add-on? (https://www.wowinterface.com/forums/showthread.php?t=58751)

Soyier 05-26-21 09:32 AM

I have a Teaching Addon repo that I use for this very purpose. It's a fully stubbed out repo, and all you have to do is fill in the blanks so to speak.

https://github.com/brittyazel/TeachingAddon

It may be helpful

markc1999 01-13-22 10:34 AM

I was looking for this too, and had been trying to get RunBinding("INTERACTTARGET"[, "up"]) to work
At least in Classic, where does it say this is Protected?
https://vanilla-wow-archive.fandom.c...ding_Functions
says "PROTECTED" before api commands that are protected, and this doesnt have that?
https://wowwiki-archive.fandom.com/wiki/API_RunBinding same thing

DahkCeles 01-16-22 04:15 PM

You are looking at archived wikis from long ago. The community has consolidated on Wowpedia.

https://wowpedia.fandom.com/wiki/Wor...I#Key_Bindings

Mastalock 01-16-22 09:34 PM

Wierd... it was saying I could not reply? I had to make a new account
Not sure why.. doesnt make any sense and had no notices in mail/here

Anyway, reguardless of which of those many sites.. why do none of them (including the one u linked) have the PROTECTED flag?

Dridzt 01-17-22 10:31 AM

The detail page for RunBinding has that info
Quote:

RunBinding cannot be used to call a Protected Function from insecure execution paths.

Mastalock 01-17-22 01:53 PM

So it's because InteractTarget is protected that it wont work?

phage 03-27-22 04:40 AM

Quote:

Originally Posted by Mastalock (Post 340214)
So it's because InteractTarget is protected that it wont work?

You won't be able to perform this within one keybind but having a function that first the targets the NPC, then interacts with NPC works. I modified the script that was posted here and bound it to my space bar. Whenever I log in, I'm able to spam my space bar to interface with my auction house NPC, which is what my goal was from the beginning.


All times are GMT -6. The time now is 05:19 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI