Quantcast
Download
(16 Kb)
Download
Updated: 04/26/19 06:55 PM
Updated:04/26/19 06:55 PM
Created:04/26/19 06:55 PM
Monthly downloads:16
Total downloads:718
Favorites:2
MD5:
Categories:Discontinued & Outdated, Discontinued & Outdated
AddonStub
Version: 1.0.0
by: Drakanwulf, hawkeye1889
PLEASE DO NOT DOWNLOAD THIS ADD-ON!

It has been replaced by the "LibManifest" add-on and a five line code snippet that you can find in the Comments section here.
1.0.0 Original release.

Includes the manifest table entry for the ## IsLibrary: directive which becomes effective on the Live megaservers when Release 5.0 (Elsweyr) goes public. Previews are available now on the PTS megaserver.

As of 30 April, 2019, this add-on is no longer in use
Post A Reply Comment Options
Unread 05/12/19, 05:50 PM  
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 49
Uploads: 6
LibManifest has gone Live!!!

With the addition of the LibManifest support add-on, there is no reason to use AddonStub any longer as it serves no useful purpose for anyone. So, please do not continue to download it as it will go OOD when Elsweyr (or the next release after Elsweyr) goes to the Live megaservers.

Please use the code snippet example in my previous message as a guide for bootstrapping your add-on. This includes any and all new libraries you may write. The example code snippet was developed by sirinsidiator, other developers, and myself. I use it in my MapTables and LibManifest support add-ons and it works.

Thank you for your cooperation.
__________________
Drakanwulf, the dire wolf that hunts dragons!
Report comment to moderator  
Reply With Quote
Unread 04/30/19, 03:33 PM  
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 49
Uploads: 6
No this add-on is no longer in use as it appears that the game code does almost everything that AddonStub does so far as loading add-ons is concerned. Use this code snippet instead of AddonStub to load your standalone add-on:

Lua Code:
  1. --[[-------------------------------------------------------------------------------------------------------------------
  2. Local variables shared by multiple functions within this add-on.
  3. ---------------------------------------------------------------------------------------------------------------------]]
  4. local ADDON_NAME = "theNameOfYourAddon"
  5. local addon = {}
  6.  
  7. --[[-------------------------------------------------------------------------------------------------------------------
  8. Bootstrap code to either load or fail this add-on.
  9. ---------------------------------------------------------------------------------------------------------------------]]
  10. assert( not _G[ADDON_NAME], ADDON_NAME.. ": is already loaded. Do NOT load add-ons multiple times!" )
  11.  
  12. _G[ADDON_NAME] = addon
  13. assert( _G[ADDON_NAME], ADDON_NAME.. ". The game failed to create a global control entry!" )

See this forum topic for more information about library and add-on loading changes:

https://www.esoui.com/forums/showthr...7955#post37955

I will keep the AddOnStub code in GitHub just in case the need arises for a support add-on that can generate add-on specific manifest tables.
__________________
Drakanwulf, the dire wolf that hunts dragons!
Last edited by Drakanwulf : 05/27/19 at 03:38 PM.
Report comment to moderator  
Reply With Quote
Unread 04/30/19, 12:36 AM  
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 49
Uploads: 6
Re: Is this

Originally Posted by Shadowshire
If this is a "library" that is used by any add-ons, then it must have the name LibAddonStub.

If add-on developers cannot get their system straight about this, then the wise ones will return to including all of the "libraries" which their specific add-on uses as sub-folders of the folder in which their specific add-on is stored in C:\Users\Username\Documents\Elder Scrolls Online\live\Addons.
That is the old way to start up Library add-ons; the method that uses LibStub(r5) to catalog the latest version of a library add-on. I suggest you read this forum post to learn more about how game improvements have changed how add-ons are loaded today.

https://www.esoui.com/forums/showthr...7950#post37950

The "## IsLibrary: true" directive will take effect whenever Elsweyr (100027) is released.
__________________
Drakanwulf, the dire wolf that hunts dragons!
Report comment to moderator  
Reply With Quote
Unread 04/30/19, 12:20 AM  
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 49
Uploads: 6
Originally Posted by Marazota
so all users must install it now?
No. As the Description and wiki both plainly state, you can opt to use AddonStub to start up your standalone add-on or you can opt to roll your own standalone start up stub to start up your add-on. It's your choice.

Read this post to learn more about what is the best way to remove the LibStub(r5) add-on from the game and some ongoing discussion about current methods.

https://www.esoui.com/forums/showthr...7950#post37950
__________________
Drakanwulf, the dire wolf that hunts dragons!
Last edited by Drakanwulf : 04/30/19 at 12:41 AM.
Report comment to moderator  
Reply With Quote
Unread 04/29/19, 12:50 AM  
Marazota

Forum posts: 148
File comments: 1146
Uploads: 0
so all users must install it now?
Report comment to moderator  
Reply With Quote
Unread 04/28/19, 09:42 PM  
Shadowshire

Forum posts: 1
File comments: 293
Uploads: 0
Arrow Is this

If this is a "library" that is used by any add-ons, then it must have the name LibAddonStub.

If add-on developers cannot get their system straight about this, then the wise ones will return to including all of the "libraries" which their specific add-on uses as sub-folders of the folder in which their specific add-on is stored in C:\Users\Username\Documents\Elder Scrolls Online\live\Addons.
__________________
---- Shadowshire ..... nil carborundum illegitimi
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: