Astrolabe

Astrolabe is an embeddable library for placing icons on the Minimap, and on World Maps. Icons that are placed on the Minimap using Astrolabe are placed in a special buffer and their positions are continuously updated for player movement, based on the world map coordinates provided when the icon was initially placed. Icons remain in this buffer until they are removed.

Astrolabe also provides functions to compute the in-game distance between two points and translate a point from one zoom level of the map another.  

For full documentation, see: http://wiki.esamynn.org/Astrolabe

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

  • Avatar of Esamynn Esamynn Feb 05, 2014 at 16:23 UTC - 0 likes

    At request I've posted a zipped form of the most recent revision.

    Please be aware that copies hosted here are not considered to be the official source of releases. For the latest version, please always reference http://svn.esamynn.org/astrolabe/trunk/

    Last edited Feb 05, 2014 by Esamynn
  • Avatar of JamesAllenPowell JamesAllenPowell Nov 26, 2013 at 02:29 UTC - 0 likes

    I was playing WoW and got this pop-up:

    Message: ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:864: invalid key to 'next' Time: 11/25/13 20:08:24 Count: 1 Stack: [C]: ? ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:864: in function `UpdateMinimapIconPositions' ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1115: in function `OnUpdate' ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1333: in function <...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1332>

    Locals: = <no value>

  • Avatar of DigitalUtopia DigitalUtopia Nov 03, 2012 at 02:47 UTC - 0 likes

    There seems to be an issue with Astrolabe getting the proper location for the micro-dungeon faction hubs in Vale of the Eternal Blossom - at the very least, for Shrine of Two Moons.

    When tracking a single point, the direction seems to be off by about 30 degrees while in Shrine of Two Moons - however, upon stepping outside (Vale of the Eternal Blossom), it will immediately calculate the correct direction.

  • Avatar of Everdreamer Everdreamer Nov 01, 2012 at 22:13 UTC - 0 likes

    Just my two cents...

    The CPU usage of Astrolabe (on CPU profiling) is relatively high, and I believe the most loading is contributed by Astrolabe:OnUpdate. May you consider to lower the frequency of running the actual updating code? For instance, to me every 0.1 sec is smooth enough, every 0.25 sec is a bit zigzag but still acceptable.

  • Avatar of Esamynn Esamynn Aug 10, 2012 at 18:48 UTC - 0 likes

    Please note that as of the most recent patch to the MoP beta, Astrolabe rev 146 or higher is required.

  • Avatar of Esamynn Esamynn Aug 09, 2012 at 18:29 UTC - 0 likes

    @Vulpem: Go

    Turns out there was a bug on line 203 which allowed your calculation to proceed to the point of error. Attempting to calculate a distance between Azeroth and Outland should simply return nil since there is no common reference for the two "worlds."

    Edit: I will likely post a new beta with the fix in the next few days. In the meantime, the fix is available in the Subversion repository.

    Last edited Aug 09, 2012 by Esamynn
  • Avatar of Vulpem Vulpem Aug 05, 2012 at 20:20 UTC - 0 likes

    Thanks for updating this helpful library

    I'm getting the following error whenever I path through ComputeDistance using one map within the Outland system (530) and one in Azeroth: Astrolabe.lua:215: attempt to index local 'cont2' (a nil value)

    It seems to be looking for WorldMapSize[0][530], which is nil.

  • Avatar of Esamynn Esamynn Aug 02, 2012 at 20:53 UTC - 1 like

    First beta version for MoP has been posted to CurseForge.

    The latest WoW 5.0 version is always available from the subversion repository: http://svn.esamynn.org/astrolabe/branches/WoW_5.0/

  • Avatar of Esamynn Esamynn Jul 23, 2012 at 21:42 UTC - 0 likes

    The wiki is now back online, and almost completely up-to-date for Astrolabe 1.0.

    I will continue to make updates as development progresses for MoP.

  • Avatar of Endar_Ren Endar_Ren Jul 19, 2012 at 13:15 UTC - 0 likes

    @Esamynn: Go

    Thank you for all of your hard work!

Facts

Date created
Oct 13, 2010
Categories
Last update
Feb 05, 2014
Development stage
Mature
Language
  • deDE
  • enUS
  • esES
  • esMX
  • frFR
  • itIT
  • koKR
  • ptBR
  • ruRU
  • zhCN
  • zhTW
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)
Curse link
Astrolabe
Downloads
9,589
Recent files

Authors