• Runes of Magic Addons
  • Runes of Magic
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Sol

 

Project Updated:
Files Updated: Tue, Jul 28 2009
Supports Game Version: Unknown
Category: Libraries, and Development Tools
Tags:

[Edit Tags]

Project Manager: Alleris2_0
Additional Authors: No additional authors
Current Version: v1.31
License: Creative Commons License By-Nc-Sa 3.0
Development Site: CurseForge
Avg Daily DL (last 30 days): 14
Downloads Total: 8,711
Favorites: 21
Comments: 6
  • Curse Giveaways
  • Alganon

    Alganon

    Alganon Open Beta Key Giveaway Alganon is an upcoming fantasy-based MMORPG that allows thousands of people to play together in a virtual world that features a rich history dominated by commanding deities...

    Get Key

  • Contests
  • About Sol
  •  

Description

Sol is a library of useful functions and ways to get game data. It is intended to to help addon developers with common tasks.

See the API for details

Packages currently include

  • Sol.animation
  • Sol.chat
  • Sol.color
  • Sol.config
  • Sol.hooks
  • Sol.io
  • Sol.math
  • Sol.string
  • Sol.timers
  • Sol.table
  • Sol.tooltip
  • Sol.util
  • Sol.data
    • Sol.data.crafts
    • Sol.data.frames
    • Sol.data.items
    • Sol.data.quests
    • Sol.data.skills

To use Sol

  • Include Sol.lua and LibStub.lua with your addon's files
  • Add LibStub.lua followed by Sol.lua to your .toc, before any files that use Sol
  • Place this line at the top any files that use Sol: local Sol = LibStub("Sol")

Example

File stucture

  • MyAddon/Libs/LibStub.lua
  • MyAddon/Libs/Sol.lua
  • MyAddon/MyAddon.toc
  • MyAddon/MyAddon.lua
  • MyAddon/MyAddon.xml

MyAddon.toc

  • Libs/LibStub.lua
  • Libs/Sol.lua
  • MyAddon.lua
  • MyAddon.xml

MyAddon.lua

  • local Sol = LibStub("Sol")
  • ...

Sol takes inspiration from many other libraries. Its name is a play on the WoW Sea and Sky addons. However, at the moment I'm the sole developer. There are undoubtedly things that I've done suboptimally and many areas for expansion and optimization. I welcome any and all help with testing, maintaining, and adding to Sol.

  • Downloads (7)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  Sol v1.31 Release Unknown 2,391 7/28/2009
  Sol v1.29 Release 1825 1,261 6/26/2009
  Sol v1.28 Release 1825 832 6/9/2009
  Sol v1.27 Release 1825 53 6/8/2009
  Sol v1.25 Release 1825 1,385 5/15/2009
  • Comments

Add Comment

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Alleris2_0 said

    Changes in v1.31:
    - ParseItemData works with latest version (new stacked items fix)
    - Can now hook tables that aren't frames (must specify an additional parameter - tableName)
    - SaveFrameBounds no longer needs to be called every game session (as long as RestoreFrameBounds is called)

    Reply Report Permalink
  • Item Type gets readed wrong for stacked items. I modded it myself so my own lib works with it.

    Reply Report Permalink
  • Any chance you could release your changes? I've been dying to have that problem fixed.

    Reply Report Permalink
  • iladrion said

    After udating to v1.21 i cant relog anymore, i can now only use game exit and restart to switch Chars.

    Error:
    call GameMenuButtonExit's OnClick, line: [string "?"]:2003: stack overflow

    Reply Report Permalink
  • Alleris2_0 said

    Hmm, what version were you using before that? What other versions do you have in your addons directory?

    There was a change that had to do with logout in an earlier version, but not in 1.21.

    Reply Report Permalink
  • Alleris2_0 said

    Also, do you have any other addons that hook Logout, maybe?

    Reply Report Permalink
  • Alleris2_0 said

    Sure I wish I could edit these. Are there any specific steps to reproduce the problem or does it happen every time? Or does it only happen after you've ReloadUI once?

    Reply Report Permalink
  • iladrion said

    I use 37 different AddOns, all was working fine until the Curse-Client updated Sol to v1.21. Before i used the previous version, must have been v1.19.

    I'm not sure, but i think there are no other AddOns using hooks on Relog (Logout is working fine, only Relog is getting the mentioned error).

    The Bug happened every time i did try to relog, on 3 different Accounts with >10 Chars.

    Meanwhile i went back to v1.19 and now all works fine again.

    Reply Report Permalink
  • Alleris2_0 said

    What do you mean by Relog? There's no function by that name ^^ Do you mean when you logout everything's ok, but when you try to log back in you get problems?

    Reply Report Permalink
  • iladrion said

    Logout -> back to windows, exit game
    Relog -> back to the screen where you choose a toon

    And i can't go to the charakter-screen, because when i choose that option, the error appears and nothing more happens, i stay ingame. I can only exit the game and restart it completely.

    Maybe i should also mention, that i use the German client

    Reply Report Permalink
  • Alleris2_0 said

    Ah! Temporary fix: Rename the new Sol folder to !Sol

    Reply Report Permalink
  • Alleris2_0 said

    Fixed in 1.22 =)

    Thanks for the help and the quick replies

    Reply Report Permalink
  • iladrion said

    Really annoying there's no edit function here :D

    Forgot:
    There are no other Sol versions in the AddOns-Folder.
    I never used ReloadUI beforde the bug appeared.

    Reply Report Permalink
  • Alleris2_0 said

    Sol usage has been SIGNIFICANTLY changed. Please update your addons accordingly.

    Reply Report Permalink
  • Graves666 said

    i had similar issues with my addon too when i changed it from being placed in worldxml to a real standalone addon, but i guess its better to do such changes now (and inform the addon developers that use your library) then never change it at all. the sol.lua in the base Addons folder might be a problem but i guess lua files in subfolders are loaded after those in the base folder, so even if the old sol.lua would still be there all of its functions will be overwritten with those from the correct one... you should test this by the way. what i know is that addons are loaded in alphabetical order of their folder names, but not sure if lua in the main folder is loaded before or after subfolders...

    Reply Report Permalink
  • Graves666 said

    finally you moved it to a separate folder... thanks a bunch.

    the description on this page does not reflect that change yet, would be good to change the path in the include line for the lua in the description asap ;)

    Reply Report Permalink
  • Graves666 said

    this library never gets automatically updated via curse client because it does not have a toc file (which curse client uses to match local version against latest version on curse) ... and the circumstance that the lua file lies directly in \Interface\AddOns\ is not very tempting as well.

    why not have it in a subfolder like every other addon? i mean if developers using this addon put "../Sol.lua" or "../Sol/Sol.lua" into their toc is not that much of a difference, is it?

    Reply Report Permalink
  • Alleris2_0 said

    I really wish I'd known that earlier =\

    Changing it now would break any existing addons, though, and it would likely leave the version in the Addons folder, which could cause conflicts with new versions

    Reply Report Permalink
  • Alleris2_0 said

    I could just add a toc in the Addons folder =| It sucks, but it's the best option I can think of.

    Thanks for letting me know, btw.

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 294 StatRating Tooltip, Bags & Inventory...
  2. 135 AddonManager Map & Minimap, and Development...
  3. 25 BossHelperMod Quests & Leveling, Libraries...
  4. 20 DevTools Libraries, and Development...
  5. 20 ABugCatcher Development Tools, Chat &...