Use Blizzard UI-Protected Functions menu

Shout-Out

User Tag List

Page 17 of 19 FirstFirst ... 13141516171819 LastLast
Results 241 to 255 of 284
  1. #241
    i2lurchi's Avatar Member
    Reputation
    15
    Join Date
    Jun 2009
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by scub View Post
    Be pretty good for general in ulduar for lazy people.

    Any idea if you can make an interrupt on a certain cast / channel rather than any cast / channel? So far stuck with -

    /dump loadstring("local _, d, _ = GetSpellCooldown(\"kick\") if UnitCastingInfo(\"target\") and (d == 0) then SpellStopCasting() CastSpellByName(\"kick\") else CastSpellByName(\"sinister strike\") end")()

    Edit: Also anybody know what id do so it only casts SS at 65>energy so it will reserve kick energy?
    Code:
    /dump n,_,_,_,_,_,_,_,_=UnitCastingInfo("focus");_,d,_=GetSpellCooldown("Kick"); if n=="Searing Flames" and d==0 then TargetUnit("focus") CastSpellByName("Kick") elseif UnitPower("player")>=65 then CastSpellByName("Sinister Strike") end
    try it
    (but you have to use
    /dump loadstring("DevTools_DumpCommand = (function(msg) loadstring(msg)() end)")()
    everytime you relog/reload UI!)
    Last edited by i2lurchi; 08-18-2009 at 02:31 PM.

    Use Blizzard UI-Protected Functions
  2. #242
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Aeron` View Post
    Silent dump found:

    Execute this once per UI (re)load and it will replace the /dump handeling:
    Code:
    /dump loadstring("DevTools_DumpCommand = (function(msg) loadstring(msg)() end)")()
    or
    Code:
    /dump (function() DevTools_DumpCommand = (function(msg) loadstring(msg)() end) end)()
    This version doesn't need a
    Code:
    loadstring("")()
    or
    Code:
    (function()  end)()
    wrapper. Instead type the lua code directly after /dump. Example:
    Code:
    /dump if (UnitHealth("Player") > 15000) then CastSpellByName("Life Tap") end
    It also doesn't give a warning when there is a syntax error.
    Very nice find.
    This means that it is usable through addons, by calling DevTools_DumpCommand("lua").
    That's also very weird.
    It means that (even though all LUA runs in the main thread), for SOME reason this LUA runs outside the standard protection. Very weird.
    Can I ask where you found this?

    EDIT: Nvm., I found it myself.

    The reason as to why this work, is that /dump is a slash command that is run by a blizzard signed addon (it's in AddOns\Blizzard_DebugTools\Dump.lua) - blizzard signed addons have access to commands like this.
    This is a really easy fix, so it's probably fixed really soon.
    Last edited by MaiN; 08-18-2009 at 02:45 PM.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  3. #243
    Softmod's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MaiN View Post
    Very nice find.
    This means that it is usable through addons, by calling DevTools_DumpCommand("lua").
    That's also very weird.
    It means that (even though all LUA runs in the main thread), for SOME reason this LUA runs outside the standard protection. Very weird.
    Can I ask where you found this?

    EDIT: Nvm., I found it myself.

    The reason as to why this work, is that /dump is a slash command that is run by a blizzard signed addon (it's in AddOns\Blizzard_DebugTools\Dump.lua) - blizzard signed addons have access to commands like this.
    This is a really easy fix, so it's probably fixed really soon.
    In that case how would you go about using using these commands with Addons still enabled?

  4. #244
    Vonzom's Avatar Member
    Reputation
    7
    Join Date
    Aug 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sweet...hehe. +rep

  5. #245
    xipwnedux's Avatar Member
    Reputation
    4
    Join Date
    Nov 2008
    Posts
    129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    K here is my problem:
    I have the "Death Coil if >60 runic power" bound to my Death Strike and Heart Strike. I also want to bind the macro that casts mind freeze when the opponent is casting bound to HS and DS but putting both /dumps in one macro would exceed the limit. Can someone help me please.

  6. #246
    i2lurchi's Avatar Member
    Reputation
    15
    Join Date
    Jun 2009
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xipwnedux View Post
    K here is my problem:
    I have the "Death Coil if >60 runic power" bound to my Death Strike and Heart Strike. I also want to bind the macro that casts mind freeze when the opponent is casting bound to HS and DS but putting both /dumps in one macro would exceed the limit. Can someone help me please.
    Code:
    /dump _,_,_,_,_,_,_,_,i=UnitCastingInfo("target");c=CastSpellByName;if i==false then c("Mind Freeze") elseif UnitPower("player")>=60 then c("Death Coil") else c("Heart Strike") end
    Code:
    /dump _,_,_,_,_,_,_,_,i=UnitCastingInfo("target");c=CastSpellByName;if i==false then c("Mind Freeze") elseif UnitPower("player")>=60 then c("Death Coil") else c("Death Strike") end
    should work

    use
    Code:
    /dump loadstring("DevTools_DumpCommand = (function(msg) loadstring(msg)() end)")()
    everytime you relog/reload UI!

  7. #247
    xipwnedux's Avatar Member
    Reputation
    4
    Join Date
    Nov 2008
    Posts
    129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by i2lurchi View Post
    Code:
    /dump _,_,_,_,_,_,_,_,i=UnitCastingInfo("target");c=CastSpellByName;if i==false then c("Mind Freeze") elseif UnitPower("player")>=60 then c("Death Coil") else c("Heart Strike") end
    Code:
    /dump _,_,_,_,_,_,_,_,i=UnitCastingInfo("target");c=CastSpellByName;if i==false then c("Mind Freeze") elseif UnitPower("player")>=60 then c("Death Coil") else c("Death Strike") end
    should work

    use
    Code:
    /dump loadstring("DevTools_DumpCommand = (function(msg) loadstring(msg)() end)")()
    everytime you relog/reload UI!

    Is the last code necessary every time I log in?

    Anyway, thanks!


    Also I was wondering if there were any helpful macros for a level 10 paladin twink.
    Last edited by xipwnedux; 08-18-2009 at 07:43 PM.

  8. #248
    pyre's Avatar Active Member
    Reputation
    48
    Join Date
    Jun 2007
    Posts
    157
    Thanks G/R
    2/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just open a new chat window. Try it out. go to settings and check everything in the first window (BG chat, whispers etc)

  9. #249
    i2lurchi's Avatar Member
    Reputation
    15
    Join Date
    Jun 2009
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xipwnedux View Post
    Is the last code necessary every time I log in?

    Anyway, thanks!
    without using
    Code:
    /dump loadstring("DevTools_DumpCommand = (function(msg) loadstring(msg)() end)")()
    my macros won't work

  10. #250
    xipwnedux's Avatar Member
    Reputation
    4
    Join Date
    Nov 2008
    Posts
    129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea i tried opening a new window but i find just putting in the code is best.

  11. #251
    blazingangel's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Totem Stomping macro anywhere?

  12. #252
    jt12852's Avatar Member
    Reputation
    12
    Join Date
    May 2009
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by blazingangel View Post
    Totem Stomping macro anywhere?
    The same protected functions that target units by name will still fail even in a secure codepath for totems. So no, there are no obvious applications for totem stomping, in the traditional sense. You might be able to work something out using nameplates, however.

  13. #253
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Note to all;

    This 'exploit' will work until the next patch. (Most likely will be a minor patch, just to fix the silly Lua bug you're all exploiting).

    I suggest someone with decent Lua knowledge, writes a small addon to hook the PLAYER_ENTER_WORLD event to run some 'setup' commands for you guys. (Killing /dump spam, setting up some other variables, etc) And also register a 1 letter slash command (eg; /d) to use in macros. Possibly shorten some widely used function names so you can get more room in stuff. Or hell; just edit the Lua files to 'bot' with.

    Edit:

    I'm no Lua expert, but I *believe* this code should work. Just make it an addon or something and test it.

    Code:
    -- Handles silencing the /dump command for you. This executes any time the UI is reloaded or we change zones via UI load
    -- Also includes after login!
    local pewFrame = CreateFrame("dumpFrame")
    pewFrame:RegisterEvent("PLAYER_ENTERING_WORLD")
    pewFrame:SetScript("OnEvent", function(self,event,...)
            EL("DevTools_DumpCommand = (function(msg) loadstring(msg)() end)")
    end)
    
    -- ExecuteLua (Truncated to EL)
    function EL(lua)
        loadstring(lua);
    end
    
    -- CastSpellByName (Truncated to CSBN)
    function CSBN(name)
        EL("CastSpellByName(" .. name .. ")"))
    end
    Should automatically silence the /dump shit. Also lets you use EL("lua stuff here") in macros to avoid the loadstring() length, and also CSBN("Smite") to do CastSpellByName. (Just use EL("CSBN("Smite")") for example)

    /run EL("CSBN(\"Smite\")")

    ^ Should cast Smite. You guys may want to test it.
    Last edited by Apoc; 08-19-2009 at 01:34 AM.

  14. #254
    Comedian's Avatar Member
    Reputation
    1
    Join Date
    Jun 2009
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is possible to make a similar macro with use /dump ?

    #showtooltip Spell Reflect
    /stopcasting
    /equipslot 16 "Mainhend"
    /equipslot 17 "Shield"
    /cast [stance:3] Deff Stance
    /cast [stance:1/2] Spell Reflect

    Whether with use /dump spell Spell Reflect will be used with pressing of the button of 1 times

  15. #255
    Aeron`'s Avatar Member
    Reputation
    6
    Join Date
    Aug 2009
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Apoc made me thinking but his idea isn't possible yet.

    Addons are unsigned and everything you do with it makes it unsigned. They only way to execute protected commands are by use of a macro and /dump. Scripts can't run RunMacroText() because it's protected.
    Last edited by Aeron`; 08-19-2009 at 12:56 PM.

Similar Threads

  1. Easiest way to use "Blizzard UI" functions to /interact with a selected target?
    By b0nghitter in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 11-05-2012, 11:07 AM
  2. Finding Lua protection function using OllyDBG. (3.3.5a)
    By Ramono in forum WoW Memory Editing
    Replies: 5
    Last Post: 06-18-2011, 05:40 PM
  3. Auto Prospecting Macro (Using protected functions)
    By Mathmech in forum WoW UI, Macros and Talent Specs
    Replies: 2
    Last Post: 10-21-2009, 04:36 PM
  4. Working /dump for Protected functions in 3.2.0a
    By mach1920 in forum World of Warcraft Exploits
    Replies: 14
    Last Post: 08-19-2009, 09:10 PM
  5. Use Blizzard's Database of Choice: Oracle
    By Vindicated in forum WoW EMU Guides & Tutorials
    Replies: 18
    Last Post: 08-29-2008, 05:12 PM
All times are GMT -5. The time now is 05:53 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