Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get a succesful embed. #2

Open
baslack opened this issue Oct 28, 2015 · 3 comments
Open

Can not get a succesful embed. #2

baslack opened this issue Oct 28, 2015 · 3 comments

Comments

@baslack
Copy link

baslack commented Oct 28, 2015

Attempting to load this using the code below but I can't get a successful embed. Lua files for GT have been added to the TOC for the addon (lib subfolder). Gemini Hook works fine, but not this.

Apollo.GetPackage("Gemini:Addon-1.1").tPackage:NewAddon("SonOfKillroy", bHasConfigure, tDependencies, "Gemini:Timer-1.0")

Error Message:
...NCSOFT\WildStar\Addons\SonOfKillroy\SonOfKillroy.lua:15: Usage: EmbedPackage(oAddon, strPkgName, bSilent, nOffset): 'strPkgName' - Cannot find a package instance of 'Gemini:Timer-1.0'.
stack trace:
[C]: in function 'error'
...dons\CommodityStats\libs\GeminiAddon\GeminiAddon.lua:389: in function 'EmbedPackage'
...dons\CommodityStats\libs\GeminiAddon\GeminiAddon.lua:373: in function 'EmbedPackages'
...dons\CommodityStats\libs\GeminiAddon\GeminiAddon.lua:229: in function 'NewAddon'
...NCSOFT\WildStar\Addons\SonOfKillroy\SonOfKillroy.lua:15: in main chunk

@Togglebutton
Copy link

With the changes to ApolloTimers, this package is kind of obsolete. ApolloTimer library returns a timer as an object you can manipulate. In fact, much of the old Gemini stuff is obsolete.

The problem may stem from changes in API, or an incorrectly registered package in the package Lua file.

@coding-red-panda
Copy link

I'd mark this repository as obsolete or simply get rid of it.
As mentioned by Togglebutton, the new ApolloTimer functionality pretty much does everything that is needed now to properly handle timers.

We just need to update our documentation on the NASAwiki

@baslack
Copy link
Author

baslack commented Oct 29, 2015

KK, Went package crazy with this project. Will tone it back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants