View Single Post
12-03-12, 01:04 AM   #3
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Originally Posted by Twink View Post
TBH its good for some people to just over-write. If the code is going to be pushed to live, everyone else isnt going to delete and start fresh, they are going to be lazy and overwrite.

Its better for people in the beta testing to flag the problem than to have everyone have the problem on the live version!

TL;DR

Updates need to work when over-written, not just clean install.
Deleting, rather then allowing an overwrite, makes sure there is no "old code" left when you install a newer version. If there is, that's what is referred to as "a bad overwrite", and can cause no end of odd problems when it happens. It's always better to delete, as opposed to allowing an overwrite, where addons are concerned.

Originally Posted by Xylan Trueheart View Post
<snip>
First completely delete the old addon file. Please don't be lazy to simply overwrite the older version. You never know if anything is left over from the older version of an addon lurking within the new version.

Second, delete the Saved Variables (SV) part of Carbonite. Be aware there are 2 Carbonite SV's. One is the per character SV and there's the account SV as well.<snip>
There is really no reason to delete any of the SavedVariables for Carbonite, unless you have a problem and it cannot be corrected. In that case, the only SavedVariable you should delete are the ones at the account level. IE: Path to your WoW folder\WTF\Account\ACCOUNT NAME\SavedVariables\. The Carbonite SavadVariables for your characters (Path to your WoW folder\WTF\Account\ACCOUNT NAME\ServerName\CharacterName\SavedVariables\) only contain flight points (Flight Master locations) that your character knows. You can open the .lua files with any plain text editor to see that for yourself. Although you can safely delete that particular file, and the game will rebuild it completely the first time that character visits a Flight Master, it's just not necessary to do so. It's also a real p.i.t.a. if you are doing that for 37 characters (like I would have to) for every time you update Carbonite.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!