Poster: Thorarin at 11/7/2005 3:29:18 AM PST Subject: WoW loads wrong Lua file. (slouken?) |
| |
For some time now us devs from the Auctioneer team have been receiving bug reports that couldn't be explained. Until finally one of our users figured out what was happening.
He had copied his SavedVariables\Auctioneer.lua to his main WoW directory for backup purposes. Not a location I would have chosen, but I didn't see the harm in it. However, when WoW attempts to load the Auctioneer addon, it would produce errors. As expected, the addon also contains an Interface\Auctioneer\Auctioneer.lua. Now for some reason WoW decides to load the backupped Auctioneer.lua in it's main directory instead of that file, as if it's part of the addon.
Why is it searching it's main directory for script files instead of loading from it's own directory? Auctioneer.lua is being loaded through the XML <Script/> tag.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=259201&p=#post259201 |
| |
Poster: slouken at 11/7/2005 3:48:26 PM PST Subject: Re: WoW loads wrong Lua file. (slouken?) |
| |
Q u o t e: I think this is a 'quirk' of the WoW file loading mechanism, there are other files that can be inadvertently shadowed by files in the WoW directory.
This will no longer be the case in 1.9, to avoid exactly these kinds of issues. :)
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=259201&p=#post259626 |