Thread Tools Display Modes
07/20/15, 12:23 AM   #1
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
What is this skulls?

appear at different context menus





  Reply With Quote
07/20/15, 12:56 AM   #2
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577

Hi QuadroTony,

I don't know why someone would have done that, but:
The skulls are coming from LibCustomMenu:
--[[
-- uncomment this, if you want to see where and when "insecure" controls get re-used.
function AddCustomMenuItem(mytext, myfunction, itemType, myfont, normalColor, highlightColor, itemYPad)

This part is intended to debug the "Access private function ...."
Just remove the second AddCustomMenuItem or get an original LibCustomMenu.

Edit 1: If the lib is used in different addons, you may have to find the one, that removed the comment: --[[

Last edited by votan : 07/20/15 at 01:01 AM.
  Reply With Quote
07/20/15, 05:26 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
I only know 2 addons so far using this library so far and these are
FCOItemSaver
Circonians FilterIt

Both latest versions got the text still commented.
So either another of your 300 addons is using this library and chanegd the comment line or you changed it by yourself

You can use the windows search inside the addons folder to search for "libCustomMenu" and you'll quickly find all of the addons that are using it.
  Reply With Quote
07/20/15, 06:13 AM   #4
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
and Votan's fish fillet

FCO IS disabled, FilterIt already uncommented

Last edited by QuadroTony : 07/20/15 at 06:15 AM.
  Reply With Quote
07/21/15, 02:09 AM   #5
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
nop
it was filterit

LibCustomMenu.lua
  Reply With Quote
07/21/15, 02:14 AM   #6
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
and error everytime after i commented them...





how to disable skull bug and not get an errors?
  Reply With Quote
07/21/15, 03:12 AM   #7
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by QuadroTony View Post
and error everytime after i commented them...


how to disable skull bug and not get an errors?
Try a text search for AddMenuItem and replace it with AddCustomMenuItem in MM.
  Reply With Quote
07/21/15, 09:44 AM   #8
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
If I download FilterIt the source code lines are properly commented and everything seems to work.
Maybe you need to delete and redownload the addon.
  Reply With Quote
07/22/15, 01:43 AM   #9
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
Originally Posted by Baertram View Post
If I download FilterIt the source code lines are properly commented and everything seems to work.
Maybe you need to delete and redownload the addon.
i reinstall filterit

  Reply With Quote
07/22/15, 01:46 AM   #10
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
Originally Posted by votan View Post
Try a text search for AddMenuItem and replace it with AddCustomMenuItem in MM.
still the same
  Reply With Quote
07/22/15, 02:20 AM   #11
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by QuadroTony View Post
still the same
Yep. Sorry. I did not read the screenshot right.
I took a look to FilterIt 2.4:
In the LibCustomMenu.lua, in there, both AddCustomMenuItem are commented!
But the first one should not.
Remove the --[[ and --]] above and below the first AddCustomMenuItem.
  Reply With Quote
07/22/15, 02:43 AM   #12
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
Originally Posted by votan View Post
Yep. Sorry. I did not read the screenshot right.
I took a look to FilterIt 2.4:
In the LibCustomMenu.lua, in there, both AddCustomMenuItem are commented!
But the first one should not.
Remove the --[[ and --]] above and below the first AddCustomMenuItem.
i just download 2.4 manually
open all files in notepad andsearch
first match commented
2nd - uncommented
  Reply With Quote
07/22/15, 03:06 AM   #13
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by QuadroTony View Post
i just download 2.4 manually
open all files in notepad andsearch
first match commented
2nd - uncommented
Only have PSPad without Lua lexer here. :/ It looks like both are commented, but ok. If ---[[ is not taken as comment, it's still wrong

The first should not commented, and the second should, unless you want to see the skulls

BTW: You could copy the file from FCO Item Saver or from LibCustomMenu.
  Reply With Quote
07/22/15, 03:42 PM   #14
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Hm, 2.4 shouldn't have even been up there I uploaded version 2.5 about a week ago.
At one point I was talking with someone else about that problem & uncommented it to test something. I must have uploaded the wrong zip.

EDIT: Yeah, it looks like version 2.5 actually had a link to 2.4. I re-uploaded it, download it again & it should be ok.

Last edited by circonian : 07/22/15 at 03:52 PM.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » What is this skulls?


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