• 0

    posted a message on Macroproblem on WoD Beta
    Hi,

    on the liveserver i use the working macro to get the npc-id

    /run print(tonumber("0x"..(UnitGUID("target")or""):sub(6,10),16)or ERR_GENERIC_NO_TARGET)
    On the beta servers i get an error like "no target". Can anyone help me please? Where is the error?
    Posted in: Need Help?
  • 0

    posted a message on NPC-Silencer international - Official Topic
    NPC Silencer

    SORRY for my bad english but im german and my last english writing/speaking is over twenty years ago :( I hope you understand all.

    What does this addon do?
    With this addon you silence the says and shouts from many npcs. So u don't see the npc texts in your chatwindow. Npc's how tell u about a quest with /say or /yell will be shown in your chatwindow.

    The most annoying npc's are silenced. All missing npc's will follow when i find it or an user will report it. ;)

    You know annoying npc's?
    Please let an comment here so i can add them to the next update.
    Please tell us the city and npcname like 'Topper McNapp in Stormwind'

    Get NPC-Silencer international HERE
    Posted in: General AddOns
  • 0

    posted a message on implementing slash commands for (de)activating
    Hi guys,

    today i need your help

    I need in my addon an slash command to de- and activate the scanning of my addon.

    Can anyone help please? Thanks a lot!!!

    [LEFT][FONT=monospace]
    [numlist]
    [*]NPCSilencerData [COLOR=#66cc66]=[/COLOR] [COLOR=#66cc66]{[/COLOR][COLOR=#66cc66]}[/COLOR]
    [*][COLOR=#808080][I]-- Default Settings[/I][/COLOR]
    [*]NPCSilencerData.Enabled [COLOR=#66cc66]=[/COLOR] [COLOR=#b1b100]nil[/COLOR]
    [*]NPCSILENCER_DEBUG [COLOR=#66cc66]=[/COLOR] [COLOR=#ff0000]"Debug"[/COLOR]
    [*]NPCSILENCER_ERROR [COLOR=#66cc66]=[/COLOR] [COLOR=#ff0000]"Error"[/COLOR]
    [*]NPCSILENCER_ISNOWLOADED [COLOR=#66cc66]=[/COLOR] [COLOR=#ff0000]"is now loaded!"[/COLOR]
    [*]NPCSILENCER_TITLE [COLOR=#66cc66]=[/COLOR] [COLOR=#ff0000]"NPC-Silencer"[/COLOR]
    [*]NPCSILENCER_VERSION [COLOR=#66cc66]=[/COLOR] [COLOR=#ff0000]"50400.244"[/COLOR]
    [*][COLOR=#b1b100]function[/COLOR] npc_silencerFrame_OnLoad[COLOR=#66cc66]([/COLOR]self[COLOR=#66cc66])[/COLOR]
    [*]    DEFAULT_CHAT_FRAME:AddMessage[COLOR=#66cc66]([/COLOR][COLOR=#ff0000]"|cffff2020NPC-Silencer |rVersion "[/COLOR]..NPCSILENCER_VERSION..[COLOR=#ff0000]" loaded."[/COLOR], [COLOR=#cc66cc]1[/COLOR], [COLOR=#cc66cc]1[/COLOR], [COLOR=#cc66cc]1[/COLOR], [COLOR=#cc66cc]1[/COLOR], [COLOR=#cc66cc]10[/COLOR][COLOR=#66cc66])[/COLOR]
    [*]    DEFAULT_CHAT_FRAME:AddMessage[COLOR=#66cc66]([/COLOR][COLOR=#ff0000]"Please report non silenced npc's at [URL]http://www.wowinterface.com[/URL] - Please tell us the city and npcname like 'Topper McNapp in Stormwind', so we can add them to the next version. Thanks for your help!"[/COLOR], [COLOR=#cc66cc]1[/COLOR], [COLOR=#cc66cc]1[/COLOR], [COLOR=#cc66cc]1[/COLOR], [COLOR=#cc66cc]1[/COLOR], [COLOR=#cc66cc]10[/COLOR][COLOR=#66cc66])[/COLOR]
    [*]    self:RegisterEvent[COLOR=#66cc66]([/COLOR][COLOR=#ff0000]"ADDON_LOADED"[/COLOR][COLOR=#66cc66])[/COLOR]
    [*]    self:RegisterEvent[COLOR=#66cc66]([/COLOR][COLOR=#ff0000]"PLAYER_ENTERING_WORLD"[/COLOR][COLOR=#66cc66])[/COLOR]
    [*][COLOR=#b1b100]end[/COLOR]
    [*]    [COLOR=#b1b100]local[/COLOR] tip [COLOR=#66cc66]=[/COLOR] CreateFrame[COLOR=#66cc66]([/COLOR][COLOR=#ff0000]"GameTooltip"[/COLOR][COLOR=#66cc66])[/COLOR]
    [*]    tip.txt [COLOR=#66cc66]=[/COLOR] tip:CreateFontString[COLOR=#66cc66]([/COLOR][COLOR=#66cc66])[/COLOR]
    [*]    tip:AddFontStrings[COLOR=#66cc66]([/COLOR]tip.txt, tip:CreateFontString[COLOR=#66cc66]([/COLOR][COLOR=#66cc66])[/COLOR][COLOR=#66cc66])[/COLOR]
    [*]    [COLOR=#b1b100]function[/COLOR] tip:name[COLOR=#66cc66]([/COLOR]id[COLOR=#66cc66])[/COLOR]
    [*]    tip:SetOwner[COLOR=#66cc66]([/COLOR]WorldFrame, [COLOR=#ff0000]"ANCHOR_NONE"[/COLOR][COLOR=#66cc66])[/COLOR]
    [*]    tip:SetHyperlink[COLOR=#66cc66]([/COLOR][COLOR=#66cc66]([/COLOR][COLOR=#ff0000]"unit:0xF53%05X00000000"[/COLOR][COLOR=#66cc66])[/COLOR]:[COLOR=#b1b100]format[/COLOR][COLOR=#66cc66]([/COLOR]id[COLOR=#66cc66])[/COLOR][COLOR=#66cc66])[/COLOR]
    [*]    [COLOR=#b1b100]return[/COLOR] tip:IsShown[COLOR=#66cc66]([/COLOR][COLOR=#66cc66])[/COLOR] [COLOR=#b1b100]and[/COLOR] tip.txt:GetText[COLOR=#66cc66]([/COLOR][COLOR=#66cc66])[/COLOR]
    [*]    [COLOR=#b1b100]end[/COLOR]
    [*]    [COLOR=#808080][I]-- the events we wish to apply our filter on[/I][/COLOR]
    [*]    [COLOR=#b1b100]local[/COLOR] events [COLOR=#66cc66]=[/COLOR]
    [*]        [COLOR=#66cc66]{[/COLOR]
    [*]            [COLOR=#ff0000]"CHAT_MSG_MONSTER_EMOTE"[/COLOR],
    [*]            [COLOR=#ff0000]"CHAT_MSG_MONSTER_PARTY"[/COLOR],
    [*]            [COLOR=#ff0000]"CHAT_MSG_MONSTER_SAY"[/COLOR],
    [*]            [COLOR=#ff0000]"CHAT_MSG_MONSTER_WHISPER"[/COLOR],
    [*]            [COLOR=#ff0000]"CHAT_MSG_MONSTER_YELL"[/COLOR],
    [*]        [COLOR=#66cc66]}[/COLOR]
    [*]    [COLOR=#b1b100]local[/COLOR] database [COLOR=#66cc66]=[/COLOR]
    [*]    [COLOR=#66cc66]{[/COLOR]
    [*]    [COLOR=#66cc66][[/COLOR][COLOR=#ff0000]"2318"[/COLOR][COLOR=#66cc66]][/COLOR] [COLOR=#66cc66]=[/COLOR] [COLOR=#cc66cc]1[/COLOR],
    [*]    [COLOR=#66cc66]}[/COLOR]
    [*]    [COLOR=#b1b100]local[/COLOR] ignore [COLOR=#66cc66]=[/COLOR] [COLOR=#66cc66]{[/COLOR][COLOR=#66cc66]}[/COLOR]
    [*]    [COLOR=#b1b100]local[/COLOR] rescan [COLOR=#66cc66]=[/COLOR] [COLOR=#66cc66]{[/COLOR][COLOR=#66cc66]}[/COLOR]
    [*]    [COLOR=#b1b100]local[/COLOR] [COLOR=#b1b100]function[/COLOR] scanTable[COLOR=#66cc66]([/COLOR]tbl[COLOR=#66cc66])[/COLOR]
    [*]        [COLOR=#b1b100]for[/COLOR] npcid, _ [COLOR=#b1b100]in[/COLOR] [COLOR=#b1b100]pairs[/COLOR][COLOR=#66cc66]([/COLOR]tbl[COLOR=#66cc66])[/COLOR] [COLOR=#b1b100]do[/COLOR]
    [*]            [COLOR=#b1b100]local[/COLOR] npcname [COLOR=#66cc66]=[/COLOR] tip:name[COLOR=#66cc66]([/COLOR]npcid[COLOR=#66cc66])[/COLOR]
    [*]            [COLOR=#b1b100]if[/COLOR] npcname [COLOR=#b1b100]then[/COLOR]
    [*]                ignore[COLOR=#66cc66][[/COLOR]npcname[COLOR=#66cc66]][/COLOR] [COLOR=#66cc66]=[/COLOR] [COLOR=#cc66cc]1[/COLOR]
    [*]                rescan[COLOR=#66cc66][[/COLOR]npcid[COLOR=#66cc66]][/COLOR] [COLOR=#66cc66]=[/COLOR] [COLOR=#b1b100]nil[/COLOR]
    [*]            [COLOR=#b1b100]else[/COLOR]
    [*]                rescan[COLOR=#66cc66][[/COLOR]npcid[COLOR=#66cc66]][/COLOR] [COLOR=#66cc66]=[/COLOR] [COLOR=#cc66cc]1[/COLOR]
    [*]            [COLOR=#b1b100]end[/COLOR]
    [*]        [COLOR=#b1b100]end[/COLOR]
    [*]    [COLOR=#b1b100]end[/COLOR]
    [*]    scanTable[COLOR=#66cc66]([/COLOR]database[COLOR=#66cc66])[/COLOR]
    [*]    [COLOR=#b1b100]local[/COLOR] [COLOR=#b1b100]function[/COLOR] filter[COLOR=#66cc66]([/COLOR]self, event, msg, sender, ...[COLOR=#66cc66])[/COLOR]
    [*]        scanTable[COLOR=#66cc66]([/COLOR]rescan[COLOR=#66cc66])[/COLOR] [COLOR=#808080][I]-- we scan leftovers on filter triggers[/I][/COLOR]
    [*]        [COLOR=#b1b100]return[/COLOR] ignore[COLOR=#66cc66][[/COLOR]sender[COLOR=#66cc66]][/COLOR] [COLOR=#b1b100]and[/COLOR] [COLOR=#b1b100]true[/COLOR] [COLOR=#b1b100]or[/COLOR] [COLOR=#b1b100]false[/COLOR]
    [*]    [COLOR=#b1b100]end[/COLOR]
    [*]    [COLOR=#b1b100]for[/COLOR] _, event [COLOR=#b1b100]in[/COLOR] [COLOR=#b1b100]pairs[/COLOR][COLOR=#66cc66]([/COLOR]events[COLOR=#66cc66])[/COLOR] [COLOR=#b1b100]do[/COLOR]
    [*]        ChatFrame_AddMessageEventFilter[COLOR=#66cc66]([/COLOR]event, filter[COLOR=#66cc66])[/COLOR]
    [*]    [COLOR=#b1b100]end[/COLOR]
    [/numlist]
    [/FONT]
    [/LEFT]
    Posted in: Need Help?
  • 0

    posted a message on Grid
    Hi,

    how can i change the buttons, so i can see 10 letters ot the nicks?
    Posted in: Grid & Grid2
  • 0

    posted a message on Problem with SVN
    Hi,

    when i upload my files to svn i get ever errors :(

    Yesterday i uploadet without any probs.

    I DON'T changed the configuration.

    Can anyone PLEASE help me?

    Error: (i deleted the file and directory here)
    F?ge hinzu: <deleted>.enUS.txt
    Sende Inhalt: <deleted>.txt
    Fehler: Commit failed (details follow):
    Fehler: MERGE request failed on '/wowace/trunk/<deleted>'
    Fehler: 'pre-commit' hook failed with error output:
    Fehler: /var/repos/pre-commit.d/check-mime-type:
    Fehler: trunk/<deleted>/<deleted>.txt : svn:eol-style is not set
    Fehler: Every added text file must have the svn:eol-style property set.
    Fehler: We also -advise- that svn:mime-type be set, but it is not a
    Fehler: requirement for text files.
    Fehler: See
    Fehler: http://www.wowace.com/wiki/SVN_Rules and
    Fehler: http://www.wowace.com/wiki/SVN_AutoProps for details and
    Fehler: instructions on how to set the properties in Linux and in
    Fehler: Windows with both TortoiseSVN and the command-line client.


    My config:
    ### Section for authentication and authorization customizations.
    [auth]

    ### Section for configuring external helper applications.
    [helpers]

    ### Section for configuring miscelleneous Subversion options.
    [miscellany]

    enable-auto-props = yes

    ### Section for configuring automatic properties.
    [auto-props]
    *.png = svn:mime-type=image/png
    *.jpg = svn:mime-type=image/jpeg
    *.tga = svn:mime-type=image/tga

    README = svn:mime-type=text/plain;svn:eol-style=native
    *.cmd = svn:mime-type=text/plain;svn:eol-style=CRLF
    *.bat = svn:mime-type=text/plain;svn:eol-style=CRLF
    *.lua = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Revision Date
    *.sh = svn:mime-type=text/plain;svn:eol-style=LF;svn:executable
    *.toc = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Revision Date
    *.txt = svn:mime-type=text/plain;svn:eol-style=native
    *.xml = svn:mime-type=text/xml;svn:eol-style=native

    # *.c = svn:eol-style=native
    # *.cpp = svn:eol-style=native
    # *.h = svn:eol-style=native
    # *.dsp = svn:eol-style=CRLF
    # *.dsw = svn:eol-style=CRLF
    # *.sh = svn:eol-style=native;svn:executable
    # *.txt = svn:eol-style=native
    # *.png = svn:mime-type=image/png
    # *.jpg = svn:mime-type=image/jpeg
    # Makefile = svn:eol-style=native
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.