View Single Post
05-08-14, 02:16 PM   #3
Nimhfree
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 267
Carbonite attempts to pretend to be TomTom, and unfortunately does not do a complete job of it. Therefore, the TomTom code that is being called in the OnUpdate handler which looks like:

if TomTom.profile.general.corpse_arrow then

is going to fail when the TomTom variable gets redefined in Carbonite with:

-- Emulate TomTom
if Nx.db.profile.Track.EmuTomTom and not Nx.RealTom then
TomTom = {}
Nx.EmulateTomTom()
end

The problem is Carbonite sets RealTom to be true only if TomTom is loaded before Cabonite is loaded. And unfortunately you seem to be in a situation where your Carbonite is loading first.

I would suggest a workaround that should help you is to modify the Carbonite.toc file to add a line that looks like:

# OptionalDeps: TomTom

up near the ## SavedVariables line.

This should make TomTom load before Carbonite, allowing Carbonite not to kill TomTom. I am hoping this will work for you, but I could be wrong. Good luck.