Morpher - Addon menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Morpher - Addon

    This addon will go through display IDs one-by-one automatically, with the user being able to stop it and manually change the displayid. It is designed to find decent display IDs you never would have found otherwise.





    I wrote this for myself, i'm sure someone else might want to use this as well.

    If you don't like it, don't post as I really don't care. Constructive criticism is fine.

    This addon is released under the WTFPL - Do What The **** You Want To Public License.


    Download here: Filebeam - Free Fast File Hosting

    Code posted for anyone who would just like to look.

    Code:
    -- Morpher
    -- Eradicator (2009)
    --
    --This addon is free software. It comes without any warranty, to
    -- the extent permitted by applicable law. You can redistribute it
    -- and/or modify it under the terms of the Do What The **** You Want
    -- To Public License, Version 2, as published by Sam Hocevar. See
    -- included LICENSE.txt for more details.
    
    local morph=false
    local morphid=0
    local morphtext=".modify displayid "
    
    morphFrame = CreateFrame("FRAME", nil, UIParent)
    morphFrame:SetMovable(true)
    morphFrame:EnableMouse(true)
    morphFrame:SetWidth(200)
    morphFrame:SetHeight(30)
    morphFrame:SetPoint("CENTER", UIParent, "CENTER")
    morphFrame:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", tile = true, tileSize = 16, edgeSize = 16, insets = { left = 4, right = 4, top = 4, bottom = 4 }})
    morphFrame:SetBackdropColor(0,0,0,1)
    morphFrame:Hide()
    
    function morph_StopMoving()
    	if morphFrame.isMoving then
    		morphFrame:StopMovingOrSizing()
    		morphFrame.isMoving = false
    	end
    end
    
    function morph_StartMoving()
    	if arg1 == "RightButton" then
    		morphFrame:StartMoving()
    		morphFrame.isMoving = true
    	end
    end
    
    morphFrame.titletxt = morphFrame:CreateFontString(nil, "OVERLAY", "GameTooltipText")
    morphFrame.titletxt:SetText("Morpher")
    morphFrame.titletxt:SetPoint("CENTER", morphFrame, "LEFT", 35, 0)
    
    morphFrame.closebtn = CreateFrame("BUTTON", nil, morphFrame, "UIPanelCloseButton")
    morphFrame.closebtn:SetPoint("CENTER", morphFrame, "RIGHT", -14, 0)
    morphFrame.closebtn:Show()
    
    morphFrame.nextbtn = CreateFrame("BUTTON", nil, morphFrame, "UIPanelButtonTemplate ")
    morphFrame.nextbtn:SetWidth(15)
    morphFrame.nextbtn:SetHeight(19)
    morphFrame.nextbtn:SetText(">")
    morphFrame.nextbtn:SetPoint("CENTER", morphFrame.closebtn, "LEFT", -3, 0)
    morphFrame.nextbtn:SetAlpha(1)
    morphFrame.nextbtn:Show()
    
    morphFrame.stopbtn = CreateFrame("BUTTON", nil, morphFrame, "UIPanelButtonTemplate ")
    morphFrame.stopbtn:SetWidth(34)
    morphFrame.stopbtn:SetHeight(19)
    morphFrame.stopbtn:SetText("Stop")
    morphFrame.stopbtn:SetPoint("CENTER", morphFrame.nextbtn, "LEFT", -18, 0)
    morphFrame.stopbtn:SetAlpha(1)
    morphFrame.stopbtn:Show()
    
    morphFrame.startbtn = CreateFrame("BUTTON", nil, morphFrame, "UIPanelButtonTemplate ")
    morphFrame.startbtn:SetWidth(34)
    morphFrame.startbtn:SetHeight(19)
    morphFrame.startbtn:SetText("Start")
    morphFrame.startbtn:SetPoint("CENTER", morphFrame.stopbtn, "LEFT", -18, 0)
    morphFrame.startbtn:SetAlpha(1)
    morphFrame.startbtn:Show()
    
    morphFrame.prevbtn = CreateFrame("BUTTON", nil, morphFrame, "UIPanelButtonTemplate ")
    morphFrame.prevbtn:SetWidth(15)
    morphFrame.prevbtn:SetHeight(19)
    morphFrame.prevbtn:SetText("<")
    morphFrame.prevbtn:SetPoint("CENTER", morphFrame.startbtn, "LEFT", -9, 0)
    morphFrame.prevbtn:SetAlpha(1)
    morphFrame.prevbtn:Show()
    
    function NextMorph()
    	morphid=morphid+1
    	SendChatMessage(morphtext .. tostring(morphid), "SAY", nil)
    	morphFrame.titletxt:SetText("Morpher - " .. tostring(morphid))
    	morphFrame:SetWidth(148 + morphFrame.titletxt:GetWidth())
    	morphFrame.titletxt:ClearAllPoints()
    	morphFrame.titletxt:SetPoint("CENTER",morphFrame,"LEFT", morphFrame.titletxt:GetWidth()/2+10, 0)
    end
    
    function PrevMorph()
    	morphid=morphid-1
    	if morphid < 1 then
    		DEFAULT_CHAT_FRAME:AddMessage("MorphID cannot be lower than one.",1,0,0,1)
    		return
    	end
    	SendChatMessage(morphtext .. tostring(morphid), "SAY", nil)
    	morphFrame.titletxt:SetText("Morpher - " .. tostring(morphid))
    	morphFrame:SetWidth(148 + morphFrame.titletxt:GetWidth())
    	morphFrame.titletxt:ClearAllPoints()
    	morphFrame.titletxt:SetPoint("CENTER",morphFrame,"LEFT", morphFrame.titletxt:GetWidth()/2+10, 0)
    end
    
    function SetMorph(i)
    	if i < 1 then
    		DEFAULT_CHAT_FRAME:AddMessage("MorphID cannot be lower than one.",1,0,0,1)
    		return
    	end
    	morphid=i
    	morphFrame.titletxt:SetText("Morpher - " .. tostring(morphid))
    	morphFrame:SetWidth(148 + morphFrame.titletxt:GetWidth())
    	morphFrame.titletxt:ClearAllPoints()
    	morphFrame.titletxt:SetPoint("CENTER",morphFrame,"LEFT", morphFrame.titletxt:GetWidth()/2+10, 0)
    end
    
    morphFrame:SetScript("OnMouseDown", morph_StartMoving)
    morphFrame:SetScript("OnMouseUp", morph_StopMoving)
    morphFrame:SetScript("OnHide", morph_StopMoving)
    morphFrame.closebtn:SetScript("OnClick", function()
    	morph=false
    	morphFrame:Hide() end)
    morphFrame.startbtn:SetScript("OnClick", function() morph=true end)
    morphFrame.stopbtn:SetScript("OnClick", function() morph=false end)
    morphFrame.nextbtn:SetScript("OnClick", NextMorph)
    morphFrame.prevbtn:SetScript("OnClick", PrevMorph)
    
    morphFrame:SetScript("OnUpdate", function(self, elapsed)
    	self.elapsed = self.elapsed + elapsed
    	if self.elapsed >= 1 then
    		self.elapsed = 0
    		if morph==true then
    			NextMorph()
    		end
    	end
    end)
    morphFrame.elapsed = 0
    
    local morpher_scm_hook = SendChatMessage
    
    function SendChatMessage(msg,type,lang,chan)
    	if string.sub(msg,1,1)=="#" and string.sub(msg,2,2)~="#" then
    		if msg == "#morph toggle" then
    			if morphFrame:IsVisible() then
    				DEFAULT_CHAT_FRAME:AddMessage("Morpher frame has been hidden.",0,1,0,1)
    				morph=false
    				morphFrame:Hide()
    			else
    				DEFAULT_CHAT_FRAME:AddMessage("Morpher frame has been shown.",0,1,0,1)
    				morphFrame:Show()
    			end
    		elseif msg == "#morph show" then
    			if not morphFrame:IsVisible() then
    				DEFAULT_CHAT_FRAME:AddMessage("Morpher frame has been shown.",0,1,0,1)
    				morphFrame:Show()
    			end
    		elseif msg == "#morph hide" then
    			if morphFrame:IsVisible() then
    				DEFAULT_CHAT_FRAME:AddMessage("Morpher frame has been hidden.",0,1,0,1)
    				morph=false
    				morphFrame:Hide()
    			end
    		elseif string.sub(msg,1,6)=="#morph" then
    			if string.len(msg)==6 then
    				DEFAULT_CHAT_FRAME:AddMessage("You must enter a number.",1,0,0,1)
    				return
    			end
    			
    			local id = tonumber(string.sub(msg,7))
    			
    			if id ~= nil then
    				SetMorph(id)
    			else
    				DEFAULT_CHAT_FRAME:AddMessage("You must enter a number.",1,0,0,1)
    			end
    		else
    			morpher_scm_hook(msg,type,lang,chan)
    		end
    	else
    		morpher_scm_hook(msg,type,lang,chan)
    	end
    end
    Frequently Asked Questions (FAQ)

    It is doing the wrong command for my server. How do I fix this?
    Open Morpher.lua, at the top of the script change it from ".modify displayid " to whatever you would like to use. Make sure to include a space.

    Sometimes Morpher delays on display IDs and I don't change for several seconds. You suck at coding.
    Actually, WoW has thousands of unused display ID numbers. They do not morph you. However, I have no way of determining what these numbers are, so the addon will try those numbers anyway.

    How do I install this addon?
    Download Morpher.rar from the above Filebeam link. Extract it to your World of Warcraft\Interface\Addons folder.

    What version of WoW does this work on?
    It was designed on 3.0.9, but it works for all versions. Simply check 'Load out-of-date addons' on the Addons window, on the Character Select screen.

    How do I use this addon?
    There are several commands, as well as several self-explanatory buttons in the frame.

    • #morph toggle - Toggles the frame.
    • #morph show - Shows the frame.
    • #morph hide - Hides the frame.
    • #morph set <ID> - Sets the current ID to <ID>.



    Enjoy.

    Morpher - Addon
  2. #2
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hawwwwwt. +10 rep
    Life Puzzler WoW - Website | Forums

  3. #3
    y2kss66's Avatar Member
    Reputation
    104
    Join Date
    Jan 2008
    Posts
    778
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow very nice work. +RepX2
    (not quite the X10 that gastric gave but....)

  4. #4
    Dr. Livingstone's Avatar Member
    Reputation
    113
    Join Date
    Mar 2008
    Posts
    290
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +Rep x2 for a very nice release. More addons like this would make me soo happy.

  5. #5
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Dr. Livingstone View Post
    +Rep x2 for a very nice release. More addons like this would make me soo happy.
    Throw out some ideas, i'd be happy to code them.

  6. #6
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think I can rep you again, but this is awesome. Great work bro.

    I live in a shoe

  7. #7
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice, man +Rep x3 from me XD nice release
    Lunar Gaming - Reaching For The Stars

  8. #8
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    New addon in the works - MassItem. It puts the results of an item lookup in a frame, with mass select + add at once, instantly. Built for MaNGOS, if someone could PM me what an item lookup on Ascent-based cores looks like, that would be much appreciated.

  9. #9
    Vindicated's Avatar Contributor
    Reputation
    226
    Join Date
    Aug 2008
    Posts
    1,067
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Finally a REAL lua release! +rep if I can!


  10. #10
    Hellgawd's Avatar Member
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't WoW Addons go in the programs section?

  11. #11
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It was approved and commented on by a mod so I guess its staying here. :P

    I live in a shoe

  12. #12
    pryd's Avatar Member
    Reputation
    182
    Join Date
    Dec 2008
    Posts
    215
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great Job, Love the mod and it was so easy to customize for Mangos.

    +Rep when I can and Thanks.

    Request:

    A mod that allows streaming music in wow ( with a selection, tab )
    from external sources and can be edited to have as many streams,
    or as few as needed.

  13. #13
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Hellgawd View Post
    Don't WoW Addons go in the programs section?
    It's not actually a program, so I put it here.

    Originally Posted by pryd View Post
    A mod that allows streaming music in wow ( with a selection, tab )
    from external sources and can be edited to have as many streams,
    or as few as needed.
    As awesome as that would be, i'm fairly positive that's not possible. Blizzard doesn't give us the functions required to do that, because it would be a security risk for anyone running the addon. Sorry. =(

  14. #14
    pryd's Avatar Member
    Reputation
    182
    Join Date
    Dec 2008
    Posts
    215
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm wondering if it would be possible to add onto this program.
    Considering it uses .commands, maybe possible to allow this
    to search through sounds, cinemas, movies in the same fashion?

    Looking at the code, off the bat, I wouldn't know how to allow a second command.

    Still great work

  15. #15
    gimmeurlife's Avatar Member
    Reputation
    12
    Join Date
    Aug 2008
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesomely Epic! xD This will help me to be even more lazy at 5am when i'm trying to finish making some custom npc's and don't feel like moving lol +Rep when I'm off cooldown

Page 1 of 2 12 LastLast

Similar Threads

  1. wow_kings list of best addons
    By Elites360 in forum World of Warcraft Bots and Programs
    Replies: 20
    Last Post: 11-20-2006, 01:33 PM
  2. Your favorite addons!
    By bloodofwar in forum World of Warcraft General
    Replies: 7
    Last Post: 11-06-2006, 11:26 AM
  3. Addon/Program
    By phoenix in forum World of Warcraft General
    Replies: 3
    Last Post: 07-22-2006, 07:07 AM
  4. Handy Auction addon
    By Shanaar in forum World of Warcraft General
    Replies: 7
    Last Post: 07-20-2006, 05:04 PM
  5. Addon!
    By evancooleo in forum World of Warcraft General
    Replies: 8
    Last Post: 07-14-2006, 02:33 PM
All times are GMT -5. The time now is 05:19 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search