Library: Zasurus' Carbonite fixes (LibZasCarboniteFixs)

Abandoned
This library is to control the displaying of messages to the user and also the control of debugging messages.

LOOKING FOR SOMEONE TO TAKE OVER

I am now looking for someone who loves this addon to take it over as I no longer play. :( Contact me if your interested (Zasurus).

Origins: I created this to fix Carbonite's code as it doesn't allow you to control the colour of icon's added. I have posted on Carbonite's forums asking if the TINY code change could be added (as it doesn't affect anything that doesn't pass the colour to the icon) but nobody has replied so until they fix it I have created this small fix/library.

Description: This replaces some of Carbonite's functions with an almost identical copy with a slight changes:

1-3 - Small changes to the public API to get it usable again (guess it worked at some point!)

4-6 - These are three new public API's I believe are needed. They are just pass-thought's really but reduce the likely hood of problems if Carbonite changes it's code

7 - "Nx.Map:UpI(dNG)" changed from hard coded icon colours to use the icon colours you can already pass and are stored with the icon. If no colour is passed/stored then this function will work exactly the same as before.

8 - "Nx.Map:IOMD(but)" changed so that it doesn't ignore right clicks on objects on the map that aren't valid types. Instead it clicks though them to the map below. I can't see this being a problem as before it did nothing on a right click on these objects and now it just lets the user access the map hidden behind the object!

As this replaces some functions it could cause problems if another addon does the same or when Carbonite change that function and this fix isn't updated (or hopefully removed if they integrate the suggested code change!). Therefore if you intend to use this in your code ether make sure you keep it up to date or contact me and I will send you updates for your addon every time I update it!

Use: Add this file to your TOC file BEFORE the .lua files that will use it are loaded and make sure your addon has Carbonite as an optional dependency.

The Library: Zasurus' Carbonite fixes (LibZasCarboniteFixs) Team

profile avatar
  • 19
    Projects
  • 837.8K
    Downloads

More from Forge_User_19205249View all

  • LibBabble-SubZone-3.0 project image

    LibBabble-SubZone-3.0

    • 185.2K
    • Addons

    A library to help with localization of in-game subzone names.

    • 185.2K
    • March 20, 2023
    • Addons
    • +1
  • HandyNotes Special NPCs Etc project image

    HandyNotes Special NPCs Etc

    • 465.3K
    • Addons

    This creates a database of Special NPCs etc (like banks, trainers etc) locations for HandyNotes

    • 465.3K
    • September 28, 2015
    • Addons
    • +2
  • Level Revealer project image

    Level Revealer

    • 3.1K
    • Addons

    Moves the Combat and Rest icons around your players frame to ensure you can always easily see your current level at all times!

    • 3.1K
    • July 16, 2012
    • Addons
    • +1
  • MiniHugeHUD project image

    MiniHugeHUD

    • 28.8K
    • Addons

    MiniHugeHUD moves the minimap trackers over the main screen causing the minimap to be hidden and the tracking points to cover...

    • 28.8K
    • May 10, 2012
    • Addons
    • +4
  • LibBabble-SubZone-3.0 project image

    LibBabble-SubZone-3.0

    • 185.2K
    • Addons

    A library to help with localization of in-game subzone names.

    • 185.2K
    • March 20, 2023
    • Addons
    • +1
  • HandyNotes Special NPCs Etc project image

    HandyNotes Special NPCs Etc

    • 465.3K
    • Addons

    This creates a database of Special NPCs etc (like banks, trainers etc) locations for HandyNotes

    • 465.3K
    • September 28, 2015
    • Addons
    • +2
  • Level Revealer project image

    Level Revealer

    • 3.1K
    • Addons

    Moves the Combat and Rest icons around your players frame to ensure you can always easily see your current level at all times!

    • 3.1K
    • July 16, 2012
    • Addons
    • +1
  • MiniHugeHUD project image

    MiniHugeHUD

    • 28.8K
    • Addons

    MiniHugeHUD moves the minimap trackers over the main screen causing the minimap to be hidden and the tracking points to cover...

    • 28.8K
    • May 10, 2012
    • Addons
    • +4