[MoP Beta] Debuff crash dirty fix menu

User Tag List

Results 1 to 1 of 1
  1. #1
    DrakeFish's Avatar Lazy Leecher

    Reputation
    634
    Join Date
    Nov 2008
    Posts
    569
    Thanks G/R
    0/14
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [MoP Beta] Debuff crash dirty fix

    Hi there. I was getting annoyed by the fact that I couldn't cast what I wanted on the beta because some debuffs would just crash the client, so I decided to write a quick and dirty "fix" to this problem. The problem is basically caused by the UnitDebuff lua function, so what I'm doing is disabling the visibility of units debuffs. The function will just replace the real one with a "trampoline" that won't let the real function get called when the requested unit is your target.

    The script doesn't guarantee you not to have any more crash, but it helped me to be able to use all of my spells.

    For this script to run, you will have to use the macro posted by _Mike that enables scripts (source (MoP beta - enabling /run /script)):
    Code:
    /dump (function() RunScript=function(a) loadstring(a)(); end; end)()
    Here's the macro code to disable target debuffs:
    Code:
    /script function fixFunc(a, b, c) if not a == "target" then return oldFunc(a, b, c) end end if oldFunc == nill then oldFunc = UnitDebuff end UnitDebuff = fixFunc
    Here's a simple macro to re-enable debuffs without doing a /reload:
    Code:
    /script UnitDebuff = oldFunc
    This will have to be done every time the UI is reloaded.

    Have fun, feel free to tell me if I was wrong and this doesn't fix anything for you
    Last edited by DrakeFish; 04-15-2012 at 07:52 PM.

    [MoP Beta] Debuff crash dirty fix

Similar Threads

  1. [Release] MoP beta - Crash fix for build 15640
    By TOM_RUS in forum World of Warcraft Bots and Programs
    Replies: 33
    Last Post: 08-03-2012, 11:52 PM
  2. [MoP Beta] Army of NPCs - 1 mil dps - Crash Realm (please dont)
    By Bossqwerty in forum World of Warcraft Exploits
    Replies: 18
    Last Post: 06-20-2012, 07:47 AM
  3. [Selling] Awesome Account With Annual Pass + 1 Cata + 1 Burning Crusade + D3 + MOP Beta
    By Nice8Guy in forum WoW-US Account Buy Sell Trade
    Replies: 1
    Last Post: 06-05-2012, 02:29 PM
  4. [Buying] WTB Account with Annual Pass (Tyrael's Charger/MoP Beta/D3)
    By onlyjjp in forum WoW-US Account Buy Sell Trade
    Replies: 1
    Last Post: 01-31-2012, 08:44 PM
  5. Fallout 3 Crash/Freeze Fix
    By TheDusted in forum Gaming Chat
    Replies: 4
    Last Post: 11-05-2008, 05:36 AM
All times are GMT -5. The time now is 01:54 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search