Thread Tools Display Modes
05/30/18, 01:36 PM   #1
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
Help to fix pls

i updated libs for this addon - http://www.esoui.com/downloads/info1...Corp.html#info
and resolved some errors

but still when trying to load profile im getting this





help pls!
  Reply With Quote
05/31/18, 02:21 AM   #2
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
how to check version of libs?
  Reply With Quote
05/31/18, 05:24 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
The libs can be found in the addons section here too. Download the latest and replace them with the log in your addon.
You can use the addon Votans SettingsMenu which does loaded libs + version ingame in the lam menu.
  Reply With Quote
06/02/18, 04:25 AM   #4
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
Originally Posted by Baertram View Post
The libs can be found in the addons section here too. Download the latest and replace them with the log in your addon.
You can use the addon Votans SettingsMenu which does loaded libs + version ingame in the lam menu.
ok i checked i have latest versions
still got an error when tryin to load profile
btw settings was partially loaded, so its working
partially

any idea how to fix? or maybe there is an alternate addons?
  Reply With Quote
06/02/18, 06:02 AM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
First you should remove the exampleoptions.lua and the LibAddonMenu-2.0.txt from the libs folder.
No need for them as the library is called from the manifest txt of the addon.

Then:
In line 218 there is a variable "buttoN" which isn#t declared anywhere so it is nil and throws this error:
Lua Code:
  1. if profileValue ~= boolValue then
  2.         checkboxControl:GetHandler("OnClicked")(checkboxControl, button)
  3.     end

Try to change it to something like this and see if it works then:
Lua Code:
  1. if profileValue ~= boolValue then
  2.         checkboxControl:GetHandler("OnClicked")(checkboxControl)
  3.     end

Or try this:
Lua Code:
  1. if profileValue ~= boolValue then
  2.         local cbOnClickedHandler = checkboxControl:GetHandler("OnClicked")
  3.         cbOnClickedHandler(checkboxControl)
  4.     end
  Reply With Quote
06/03/18, 07:16 AM   #6
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
tried both suggestions
got errors in both scenarios



  Reply With Quote
06/03/18, 08:02 AM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Ok then some variable is not given properly as it seems.

Try the 2nd scenario again and change the code to this:

Lua Code:
  1. if profileValue ~= boolValue then
  2.         local cbOnClickedHandler = checkboxControl:GetHandler("OnClicked")
  3. if cbOnClickedHandler  == nil then
  4. d("<CheckboxControl OnClicked handler is nil! checkBoxName: " .. tostring(checkboxControl:GetName()))
  5. else
  6. cbOnClickedHandler(checkboxControl)
  7. end
  8.         end

You could check if checkboxControl got a function GetName() via the addon zgoo by moving the mouse over the checbox and do /zgoo mouse.
If there is no GetName() function available it is maybe somehwere below at an attribute like checkboxControl.name and you need to change the code above then to use this attribute.

This code above checks if the OnClicked handler function exists and if not says so in the chat.
You are able to find out which checkbox checkboxControl is this way and maybe get some more intel then.

I'm not using the addon and cannot help any further, sorry.
  Reply With Quote
06/05/18, 04:25 AM   #8
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
Originally Posted by Baertram View Post
Ok then some variable is not given properly as it seems.

Try the 2nd scenario again and change the code to this:

Lua Code:
  1. if profileValue ~= boolValue then
  2.         local cbOnClickedHandler = checkboxControl:GetHandler("OnClicked")
  3. if cbOnClickedHandler  == nil then
  4. d("<CheckboxControl OnClicked handler is nil! checkBoxName: " .. tostring(checkboxControl:GetName()))
  5. else
  6. cbOnClickedHandler(checkboxControl)
  7. end
  8.         end

You could check if checkboxControl got a function GetName() via the addon zgoo by moving the mouse over the checbox and do /zgoo mouse.
If there is no GetName() function available it is maybe somehwere below at an attribute like checkboxControl.name and you need to change the code above then to use this attribute.

This code above checks if the OnClicked handler function exists and if not says so in the chat.
You are able to find out which checkbox checkboxControl is this way and maybe get some more intel then.

I'm not using the addon and cannot help any further, sorry.
Hmm disregard my posts i deleted
i still have the same error
tried your latest fix - still the same on profile load ..
i doublechecked, i did everything right
some setting refuse to transfer and giving this error, looks like
  Reply With Quote
06/05/18, 04:29 AM   #9
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
GetName()= ""

i see it in a list from zgoo command
  Reply With Quote
06/05/18, 04:36 AM   #10
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
Originally Posted by Baertram View Post
This code above checks if the OnClicked handler function exists and if not says so in the chat.
im not seein anything in chat besides this lua error i posted before =((
  Reply With Quote
06/06/18, 01:25 PM   #11
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
can anyone teach me how to add more options to this addon? where to find all list of available base game settings?
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Help to fix pls

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off