Archy - Archaeology Assistant

490 - Carbonite compatibility improvement

Expected behavior: if you use Carbonite and have its TomTom emulation turned on, Archy will use Carbonite's waypoint system.
In the mean time Archy doesn't actually know anything about Carbonite because of the Carbonite delayed load.

In the file Archy.lua there is a table local CONFIG_UPDATE_FUNCTIONS (line 968)
and there is a tomtom = function(option) ...
at the very begining of the function (about line 1002) please add the folowing line:

private.tomtomExists = (_G.TomTom and _G.TomTom.AddZWaypoint and _G.TomTom.RemoveWaypoint and true or false

so despite the fact that Carbonite loaded later You can still able to enable it in the config section, for the current session.

User When Change
Torhal Feb 05, 2015 at 22:42 UTC Changed status from New to Fixed
Kaboca Oct 31, 2013 at 17:05 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Kaboca Kaboca Feb 05, 2015 at 22:07 UTC - 0 likes

    After every addon update I have to insert this line to use Carbonite instead of TomTom ... Carbonite is working very well with Archy if you can enable it.

  • Avatar of myrroddin myrroddin May 03, 2014 at 18:05 UTC - 1 like

    I suppose adding an Optional Dep to Carbonite in the Archy's ToC would also fix this. Or even to the pkgmeta.



Last updated
Feb 05, 2015
Oct 31, 2013
Fixed - Developer made requested changes. QA should verify.
Patch - Source code patch for review
Medium - Normal priority.

Reported by

Possible assignees