Go to Page... |
Updated: | 04/26/22 05:27 PM |
Created: | 02/17/22 05:53 AM |
Monthly downloads: | 29 |
Total downloads: | 6,941 |
Favorites: | 12 |
MD5: |
Comment Options |
02/17/22, 10:09 AM | |
|
addon doesnt work
always errors on reloadui or login |
|
Marazota |
View Public Profile |
Send a private message to Marazota |
Find More Posts by Marazota |
Add Marazota to Your Buddy List |
CookiePlaysGames |
View Public Profile |
Send a private message to CookiePlaysGames |
Find More Posts by CookiePlaysGames |
Add CookiePlaysGames to Your Buddy List |
02/17/22, 09:32 AM | ||||
Re: Re: Re: Re: Re: two errors
|
||||
|
Masteroshi430 |
View Public Profile |
Send a private message to Masteroshi430 |
Find More Posts by Masteroshi430 |
Add Masteroshi430 to Your Buddy List |
02/17/22, 09:31 AM | |||
Forum posts: 0
File comments: 7
Uploads: 0
|
Re: Re: Re: Re: two errors
|
||
|
CookiePlaysGames |
View Public Profile |
Send a private message to CookiePlaysGames |
Find More Posts by CookiePlaysGames |
Add CookiePlaysGames to Your Buddy List |
02/17/22, 09:17 AM | ||
Re: Re: Re: two errors
|
||
|
Masteroshi430 |
View Public Profile |
Send a private message to Masteroshi430 |
Find More Posts by Masteroshi430 |
Add Masteroshi430 to Your Buddy List |
02/17/22, 09:15 AM | |||
Forum posts: 0
File comments: 7
Uploads: 0
|
Re: Re: two errors
|
||
|
CookiePlaysGames |
View Public Profile |
Send a private message to CookiePlaysGames |
Find More Posts by CookiePlaysGames |
Add CookiePlaysGames to Your Buddy List |
02/17/22, 09:05 AM | ||
|
||
|
Masteroshi430 |
View Public Profile |
Send a private message to Masteroshi430 |
Find More Posts by Masteroshi430 |
Add Masteroshi430 to Your Buddy List |
02/17/22, 08:59 AM | ||
Re: two errors
|
||
|
Masteroshi430 |
View Public Profile |
Send a private message to Masteroshi430 |
Find More Posts by Masteroshi430 |
Add Masteroshi430 to Your Buddy List |
02/17/22, 08:57 AM | |
Forum posts: 0
File comments: 7
Uploads: 0
|
two errors
Seems to not work for me, causes two lua errors. AddOn is shown as loaded in the AddOn menu, but doesn't show up in settings at all,
Code:
LootDropGui_Initialized:2: function expected instead of nil stack traceback: LootDropGui_Initialized:2: in function '(main chunk)' <Locals> self = ud </Locals> Code:
user:/AddOns/LootDrop/LootDrop.lua:10: attempt to index a nil value stack traceback: user:/AddOns/LootDrop/LootDrop.lua:10: in function '(main chunk)'
Last edited by CookiePlaysGames : 02/17/22 at 08:59 AM.
|
|
CookiePlaysGames |
View Public Profile |
Send a private message to CookiePlaysGames |
Find More Posts by CookiePlaysGames |
Add CookiePlaysGames to Your Buddy List |
02/17/22, 08:06 AM | |||
|
I guess the version you are using is some custom changed one for the addon patch your addon here is based on. Maybe a comparison can help.
-> The officially released version 1 of the lib was missing features that Pawkette had added with an unofficial version 2.1 (only integrated into some of her addons in the past). The officially version 2.2 is based on that 2.1 (and not the officially released v1) and had removed LibStub + changes to the correct ZO_Object usage afai remember. Edit: Yeah, seems your version just stripped LibSub but did not fix the ZO_Object Subclass properly, to be compatible with the self pointer etc. But the released version 2.2. is missing the "global" LibAnimation (its local). So a mixture of both would be best. btw: The addon never unregisters theEVENT_ADD_ON_LOADED after the addon itself was found. You should add this to strip unnecessary calls to the function LootDrop:OnLoaded for any further loaded addon: Lua Code:
I'll build a version 2.3 trying to fix this and link it here for your testing: LibAnimAtion v2.3 with fixed global LibAnimation Tell me if you need an official update of that lib and we can do this.
Last edited by Baertram : 02/17/22 at 08:27 AM.
|
||
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
02/17/22, 07:08 AM | ||
|
||
|
Masteroshi430 |
View Public Profile |
Send a private message to Masteroshi430 |
Find More Posts by Masteroshi430 |
Add Masteroshi430 to Your Buddy List |
02/17/22, 06:21 AM | |
|
Please do not include libraries hardcoded anymore!
Add it as dependency to your addon's txt file via ## DependsOn: LibAnimation-1.0>=022 The lib was released on esoui for that case on purpose: https://www.esoui.com/downloads/info...-1.0.html#info This is important to keep addons and libraries running if any lib needs an update, else the hardcoded call to the lib from your addon's txt file will always be loaded and thus destroy newer versions! How to make libraries ship with your addon the proper way (if included, include with it's txt file!!!) Please add the dependency to the addon description too. Thank you
Last edited by Baertram : 02/17/22 at 06:25 AM.
|
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |