WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   SecureHook - Attempting to hook a non existing target (https://www.wowinterface.com/forums/showthread.php?t=59393)

AeroMaxxD 12-05-22 12:04 PM

SecureHook - Attempting to hook a non existing target
 
Is there a list somewhere of what I can hook into?

I'm wanting to hook into the AchievementFrame, but I have been unable to find what exactly I need to hook into to do this.

What was previously working with an older version of world of warcraft no longer works as the target of the original hooks seems to have been removed.

See below for the line which is giving me the error "Attempting to hook a non existing target" error.

SecureHook("AchievementFrameCategories_GetCategoryList"

Xrystal 12-05-22 01:53 PM

That is likely because the function you are hooking into has been renamed. Many of the functions have been renamed or moved around.

There is this line in https://www.townlong-yak.com/framexm...ievementUI.lua that might be what you want

categories = AchievementFrameCategories_MakeCategoryList(GetCategoryList(), "summary"),
The function itself is immediately above it at : https://www.townlong-yak.com/framexm...mentUI.lua#111

Ah never mind, if this is the same function you hooked into before it is now local and unhookable. You may have to make your own version which looking at the code in the function may be as easy as copy and pasting it.

AeroMaxxD 12-06-22 06:34 AM

Thank you for the reply, that website looks incredibly useful and handy.

As that doesn't look like it is from Blizzard or has anything to do with them, how did someone manage to get all those files? Were they ripped from the client somehow?

Kanegasi 12-06-22 07:35 AM

https://wowpedia.fandom.com/wiki/Console

https://wowpedia.fandom.com/wiki/Vie...interface_code


All times are GMT -6. The time now is 06:32 AM.

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