Get an Epic Experience with Premium


Miscellaneous Login to Add Favorites
  • World of Warcraft
  • 84 Monthly Downloads
  • Supports: 6.2.0
  • 44,362 Total Downloads
  • Updated 08/23/2015
  • Created 05/09/2008
  • 244 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: 60200-1
Support development! **

About Cosplay

Adds a button to undress the model in the Dressing room, which makes viewing some items easier (eg. Checking out some new pants if you wear a robe).

tag 60200-1
phyber <phyber@wowace>
2015-08-23 18:09:58 +0100

Tagged as 60200-1


    - Update TOC to 60200


First Previous Page 1 of 2 Next Last
  • #25

    Thanks for the update but I'm still getting an error.

    345x FrameXML\DressUpFrames.lua:77: attempt to index local 'frame' (a nil value)
    FrameXML\DressUpFrames.lua:77: in function `SetDressUpBackground'
    Cosplay\Cosplay-50300-1.lua:104: in function `Reset'
    Cosplay\Cosplay-50300-1.lua:74: in function <Cosplay\Cosplay.lua:73>
    [C]: in function `Show'
    FrameXML\UIParent.lua:1843: in function `SetUIPanel'
    FrameXML\UIParent.lua:1751: in function `ShowUIPanel'
    FrameXML\UIParent.lua:1569: in function <FrameXML\UIParent.lua:1565>
    [C]: in function `SetAttribute'
    FrameXML\UIParent.lua:2286: in function `ShowUIPanel'
    FrameXML\DressUpFrames.lua:25: in function <FrameXML\DressUpFrames.lua:1>
    (tail call): ?
    [string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

    self = <table> {
     SetDefaultModuleLibraries = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:398
     Enable = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:325
     UnregisterAllEvents = <function> defined @AltTabber\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202
     EnableModule = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:363
     modules = <table> {
     GetModule = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:241
     IterateEmbeds = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:473
     DressUpTarget = <function> defined @Cosplay\Cosplay.lua:187
     SecureHook = <function> defined @Broker_Volume\Libs\AceHook-3.0\AceHook-3.0.lua:339
     defaultModuleLibraries = <table> {
     RawHookScript = <function> defined @Broker_Volume\Libs\AceHook-3.0\AceHook-3.0.lua:398
     SetDefaultModulePrototype = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:440
     name = "Cosplay"
     IsEnabled = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:482
     orderedModules = <table> {
     DisableModule = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:381
     CreateMainButtons = <function> defined @Cosplay\Cosplay.lua:49
     baseName = "Cosplay"
     OnEnable = <function> defined @Cosplay\Cosplay.lua:211
     RegisterMessage = <function> defined @AltTabber\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
     UnregisterMessage = <function> defined @AltTabber\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181
     OnInitialize = <function> defined @Cosplay\Cosplay.lua:202
     ToggleRotatable = <function> defined @Cosplay\Cosplay.lua:173
     IsHooked = <function> defined @Broker_Volume\Libs\AceHook-3.0\AceHook-3.0.lua:496
     Disable = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:345
     CreateAHButtons = <function> defined @Cosplay\Cosplay.lua:85
     IsModule = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:499
     db = <table> {
     SendMessage = <function> defined @AltTabber\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:87
     hooks = <table> {
     NewModule = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:266
     SetEnabledState = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:455
     Hook = <function> defined @Broker_Volume\Libs\AceHook-3.0\AceHook-3.0.lua:277
     enabledState = true
     UnhookAll = <function> defined @Broker_Volume\Libs\AceHook-3.0\AceHook-3.0.lua:480
     RegisterEvent = <function> defined @AltTabber\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
     UnregisterAllMessages = <function> defined @AltTabber\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202
     Unhook = <function> defined @Broker_Volume\Libs\AceHook-3.0\AceHook-3.0.lua:421
     SecureHookScript = <function> defined @Broker_Volume\Libs\AceHook-3.0\AceHook-3.0.lua:413
     HookScript = <function> defined @Broker_Volume\Libs\AceHook-3.0\AceHook-3.0.lua:369
     IterateModules = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:468
     SetDefaultModuleState = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:418
     RawHook = <function> defined @Broker_Volume\Libs\AceHook-3.0\AceHook-3.0.lua:316
     GetName = <function> defined @Broker_DualSpec\Libs\AceAddon-3.0\AceAddon-3.0.lua:310
     defaultModuleState = true
     UnregisterEvent = <function> defined @AltTabber\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181

  • #24

    Thanks for the update!

  • #23

    Getting the same error as Spiderkeg on 5.0.5.

    Date: 2012-09-28 21:36:02
    ID: -3
    Error occured in: Global
    Count: 2
    Message: ..\FrameXML\ModelFrames.lua line 311:
    attempt to index local 'frame' (a nil value)
    [C]: ?
    ..\FrameXML\ModelFrames.lua:311: SetDressUpBackground()
    Cosplay\Cosplay.lua:104: Reset()
    [C]: Show()
    ..\FrameXML\UIParent.lua:1738: SetUIPanel()
    ..\FrameXML\UIParent.lua:1582: ShowUIPanel()
    [C]: SetAttribute()
    [C]: ShowUIPanel()
    (tail call): ?
    [C]: pcall()
    (tail call): ?
    EasyDestroy\EasyDestroy.lua:335: ContainerFrameItemButton_OnModifiedClick()
    [string "*:OnClick"]:10:
    [string "*:OnClick"]:1
    frame = nil
    fileName = nil
    texture = "Interface\DressUpFrame\DressUpBackground-Orc"
    (*temporary) = "Orc"
    (*temporary) = "Interface\DressUpFrame\DressUpBackground-Orc"
    (*temporary) = "Orc"
    (*temporary) = nil
    (*temporary) = "attempt to index local 'frame' (a nil value)"

  • #22

    Working well, thanks for keeping this awesome addon up to date!

  • #20

    New error has of the 5.0.4 patch.


    Message: Interface\FrameXML\ModelFrames.lua:311: attempt to index local 'frame' (a nil value) Time: 08/30/12 08:45:04 Count: 1 Stack: Interface\FrameXML\ModelFrames.lua:311: in function `SetDressUpBackground' Interface\AddOns\Cosplay\Cosplay.lua:104: in function `Reset' Interface\AddOns\Cosplay\Cosplay.lua:74: in function <Interface\AddOns\Cosplay\Cosplay.lua:73> [C]: in function `Show' Interface\FrameXML\UIParent.lua:1738: in function `SetUIPanel' Interface\FrameXML\UIParent.lua:1572: in function `ShowUIPanel' Interface\FrameXML\UIParent.lua:1469: in function <Interface\FrameXML\UIParent.lua:1465> [C]: in function `SetAttribute' Interface\FrameXML\UIParent.lua:2179: in function `ShowUIPanel' Interface\FrameXML\ModelFrames.lua:259: in function <Interface\FrameXML\ModelFrames.lua:235> (tail call): ? [string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

    Locals: frame = nil fileName = nil texture = "Interface\DressUpFrame\DressUpBackground-Orc" (*temporary) = "Orc" (*temporary) = "Interface\DressUpFrame\DressUpBackground-Orc" (*temporary) = "Orc" (*temporary) = nil (*temporary) = "attempt to index local 'frame' (a nil value)"

  • #21

    The problem appears to be the "SetDressUpBackground()" function, line 104, that is causing the error I am experiencing.  I can only guess that with 5.0.4 new functionality was added to this function, resulting in the error being thrown. Commenting out the line appears to do nothing important, and the addon works fine.

    If someone has any idea what this function actually does, and how to fix it, I'd be happy to listen.

  • #19

    Update for patch 5.0.4 please!

  • #17

    Help137 thanks for the fixes!

  • #16

    And here is the fix for the Auction House errors

    Replace lines 85 - 100 with the following:



    function Cosplay:CreateAHButtons()
        if not AHButtonsCreated then
            local AuctionDUFUndressButton = CreateFrame("Button", "ADUFUndressButton", SideDressUpModel, "UIPanelButtonTemplate")        
            ADUFUndressButton:SetPoint("BOTTOM", "SideDressUpModelResetButton", "TOP", 0, 2)
            ADUFUndressButton:SetScript("OnClick", function()

            AHButtonsCreated = true

  • #15

    Assuming you're using the latest version, just comment out lines 141 & 142. If you don't have an editor with line numbers, look for the code below. Blizzard appears to have substantially changed the buttons in the paper doll window and it's no longer possible to hide them in this manor. Personally, having the buttons at the top doesn't bother me and it certainly bothers me less than an error every time I log in. If phyber doens't turn up here in another week or two to at least say hello, I'll post a fan update version on WI with the fix already in it.


    local function MakeRotatable()
        local f = DressUpModel
        -- Hide the rotation buttons
    --    DressUpModelRotateLeftButton:Hide()
    --    DressUpModelRotateRightButton:Hide()


  • #14

    Well Grizzly, I'm sure he's just terrified at that threat. I mean, think of all the money he'll loose if you stop using his add-ons... I'm sure he doesn't have a real life or anything else that might get in the way of him updating these.  And this one, I mean, you just can't raid without it! 

    Get Real.

    Get a Life.

    Don't let the door hit you on the way out.




  • #18

    Ever heard the saying about sarcasm being the lowest form of wit?

    I fully understand there can be any number of reasons for any addon author to be absent for a period of time, but in this case the simple fact that phyber updated 8 other addons when 4.3 released clearly showed activity! Lack of response from any addon author is generally not a good indication for continued future support. If addon authors want to release their creations into the public domain then they should be prepared to handle criticism from time to time!

    However, I certainly can accept that my previous comment was rather badly worded so I'll edit it to soften the comments to try and prevent causing any offence to anyone!

    Last edited by Grizzly_UK on 12/22/2011 10:37:25 PM
  • #13

    A week after patch 4.3 and this still hasn't been fixed and updated to work with patch 4.3! Checking the Project Site reveals a ticket from 14th November 2011 reporting the initial log-in error from the PTR but phyber hasn't even bothered to do anything about that ticket! I'm wondering why phyber appears to have chosen to ignore some of his addons, checking his Projects page shows a number of other addons that haven't been fixed and updated for patch 4.3 yet. Starting to think it may be time to just find alternatives that are actively maintained by their authors!

    Last edited by Grizzly_UK on 12/22/2011 10:34:45 PM
  • #12

    Seems that phyber has updated 8 of his other addons since 4.3 was released, so he's still active. Hopefully he'll get around to fixing this one in the next few days.

  • #11

    Ran into another error when logging in.

    Date: 2011-11-30 19:59:08
    ID: 2
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\Cosplay\Cosplay.lua line 91:
       ADUFUndressButton:SetPoint(): Couldn't find region named 'AuctionDressUpFrameResetButton'
       (tail call): ?
       [C]: SetPoint()
       Cosplay\Cosplay.lua:91: ?()
       [string "safecall Dispatcher[1]"]:4:
          [string "safecall Dispatcher[1]"]:4
       [C]: ?
       [string "safecall Dispatcher[1]"]:13: ?()
       ...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Star Trek Online Wiki Editing Contest