Thread: alter lua file?
View Single Post
07-16-13, 09:03 AM   #3
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Originally Posted by shyrotam View Post
I tried making a simple change to the .lua file of an addon in the saved variables folder but it didn't appear to have the effect i wanted.
SavedVariables are read when a character logs on and written when a character logs off. Any changes made while WoW is running with a character logged on will be lost.

The Interface\AddOns\<...> .toc files are read when WoW starts and the .lua and .xml files are read when a character logs on or /reload is issued while a character is logged on. This means that adding a new addon needs to be done while WoW is not running but changes to the code of an existing addon can be recognized when a /reload is issued or logging a character off and on again.

If this confuses you, then use this rule: Only make changes when WoW is not running!

The rules are complicated because Blizzard wants to prevent external programs from making real-time changes.
  Reply With Quote