Thread Tools Display Modes
03-10-07, 06:38 PM   #1
Riraito
An Aku'mai Servant
 
Riraito's Avatar
Join Date: Dec 2006
Posts: 32
hooking 'AddQuestWatch'

Im trying to hook the function AddQuestWatch, but when I put

oldAddWatch = AddQuestWatch
AddQuestWatch = NewAddQuestWatch

into an OnLoad function, the system locks up, and after about 5 minutes I get the error:

Interface\FrameXML\UIPanelTemplates.lua:167:stack overflow

and I find that the 'NewAddQuestWatch' function has run about 15,000 times, if I hook the functions manually, in game, everything works fine. anyone have any ideas on why this is happening, and/or how to get around it?
  Reply With Quote
03-11-07, 12:16 AM   #2
Riraito
An Aku'mai Servant
 
Riraito's Avatar
Join Date: Dec 2006
Posts: 32
nvm I figured it out
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » hooking 'AddQuestWatch'


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off