Use Blizzard UI-Protected Functions menu

User Tag List

Page 5 of 19 FirstFirst 123456789 ... LastLast
Results 61 to 75 of 284
  1. #61
    Ssateneth's Avatar Contributor
    Reputation
    142
    Join Date
    May 2008
    Posts
    866
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OMG OMG OMG OMG OMG IT WORKSSSSSSSS. EXPLOIT BLOWN WIDE OPEN! Oh my god.

    Now to abuse it to the max. Hello automated gameplay.

    Edit: lol I got slam and heroic strike set to their own lower limits of rage for casting. Now how bout some love for casting a spell when looking for a debuff is present/not present? Such as..

    If your rend debuff does not exist on target, cast rend

    edit2: Another good automate macro would be... (Shaman) If you have 5 stacks of Maelstrom Weapon, cast Lightning Bolt, else do nothing. Nothing sucks more than doing it too early and losing out on autoattacks, do it too late and you lose out on maelstrom procs. Both of these ideas are assuming you are spamming the nuts out of that macro, either with an autoclicker, g15, xpadder, or something similar.
    Last edited by Ssateneth; 08-15-2009 at 01:50 PM.

    Use Blizzard UI-Protected Functions
  2. #62
    kyle2194's Avatar Member
    Reputation
    4
    Join Date
    Mar 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ssateneth View Post
    OMG OMG OMG OMG OMG IT WORKSSSSSSSS. EXPLOIT BLOWN WIDE OPEN! Oh my god.

    Now to abuse it to the max. Hello automated gameplay.

    Edit: lol I got slam and heroic strike set to their own lower limits of rage for casting. Now how bout some love for casting a spell when looking for a debuff is present/not present? Such as..

    If your rend debuff does not exist on target, cast rend

    edit2: Another good automate macro would be... (Shaman) If you have 5 stacks of Maelstrom Weapon, cast Lightning Bolt, else do nothing. Nothing sucks more than doing it too early and losing out on autoattacks, do it too late and you lose out on maelstrom procs. Both of these ideas are assuming you are spamming the nuts out of that macro, either with an autoclicker, g15, xpadder, or something similar.
    Would you mind posting your slam or heroic strike macro? A couple of us were trying to figure out how to use conditionals with the dump command, however we were unsuccessful.

  3. #63
    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)
    For you guys where it messes up, it's because you have an ACE addon installed. ACE-Console has a command called "/dump" which is used for debugging, but now Blizzard has one aswell in their interface files.

    Anyways, this works just like an addon/script.
    World of Warcraft API - WoWWiki - Your guide to the World of Warcraft

    So to check for a present buff:
    Code:
    /dump if not UnitBuff("player", "Mark of the Wild) then CastSpellByName("Mark of the Wild", true) end
    That would cast Mark of the Wild on yourself if you didn't have the buff already.
    Anyways, a list of some functions you can play around with:
    UnitHealth(unit) (unit is a string, for instance "target" or "player")
    UnitPower(unit[,type]) (use "UnitPower("player", UnitPowerType("player")) to get the current power (mana, rage, energy etc.) of the player)
    CastSpellByName(spellName[,onSelf]) to cast a spell by a spell name. Use CastSpellByName(spellName, true) to cast something on yourself.
    (Oh and for targeting, go here: World of Warcraft API - WoWWiki - Your guide to the World of Warcraft)

    Anyways, the only limit is that it can only be 255 characters max, and that it must be on one line (unless you create global variables and use multiple /dump's (which would be stupid))

    EDIT: Hmm, ok, weird, I thought that was how you would use it, but it seems like /dump only dumps out a variable. (d'oh, of course it only does that) - in that case you can probably use normal macro conditions only (/dump [swimming] CastSpellByName("Aquatic Form", true))

    EDIT 2: Ok, I found out how you can run a script and still have access to normal LUA.
    You need to use the loadstring() function, like this:
    Code:
    /dump loadstring("if (not UnitBuff(\"player\", \"Arcane Intellect\")) then TargetUnit(\"player\") CastSpellByName(\"Arcane Intellect\") TargetLastTarget() end")()
    That would cast Arcane Intellect on the player if it was'nt existing already and target the last target again. Tested and working 100%.
    Last edited by MaiN; 08-15-2009 at 02:44 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

  4. #64
    Legolas58's Avatar Active Member
    Reputation
    41
    Join Date
    Jan 2008
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    /dump if not UnitBuff("player", "Seal of Righteousness) then CastSpellByName("Seal of Righteousness", true) end
    
    /dump (function() if UnitHealth('player') >= 30 then CastSpellByName('Holy Light') else TargetNearestEnemy() AttackTarget() end end) ()
    that is where I am at for the top part i get error that symbol is too close to "if"

    The second part has no errors except I need to figure out how to make it approach the. and when i have 79/79 health it still wants to heal

  5. #65
    kyle2194's Avatar Member
    Reputation
    4
    Join Date
    Mar 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    /dump loadstring() you are a god

  6. #66
    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 Legolas58 View Post
    Code:
    /dump if not UnitBuff("player", "Seal of Righteousness) then CastSpellByName("Seal of Righteousness", true) end
    
    /dump (function() if UnitHealth('player') >= 30 then CastSpellByName('Holy Light') else TargetNearestEnemy() AttackTarget() end end) ()
    that is where I am at for the top part i get error that symbol is too close to "if"

    The second part has no errors except I need to figure out how to make it approach the. and when i have 79/79 health it still wants to heal
    >= means greater than or equal to. You want <= which is lesser than or equal to.
    [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

  7. #67
    Legolas58's Avatar Active Member
    Reputation
    41
    Join Date
    Jan 2008
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh yah my bad, thanks ha
    Do you know how to make it approach the target?

  8. #68
    kyle2194's Avatar Member
    Reputation
    4
    Join Date
    Mar 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heres a simple proof of concept for dks. If your target has >1 hp, it will icy touch, else it will chains of ice. To test it out, go to the training dummys, if you target the heroic dummy, it will cast icy touch, any other it will cast chains.
    Code:
    /dump loadstring("if UnitHealth(\"Target\") > 1 then CastSpellByName(\"Icy Touch\") else CastSpellByName(\"Chains of Ice\") end")()

  9. #69
    Gripen2's Avatar Contributor
    Reputation
    226
    Join Date
    Jan 2008
    Posts
    1,056
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How about , Cast spell Kick if the target is casting a spell?

  10. #70
    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 Legolas58 View Post
    Oh yah my bad, thanks ha
    Do you know how to make it approach the target?
    I do, but it's not as simple as you would think. (I've written a bot capable of doing it though (in LUA))

    Basicly you need to create a frame (can be done dynamically with loadstring) and use OnUpdate as a 'hoax' for sleep. It's fairly complicated and really ugly. :P
    Basicly you just set some vars to 'true', like "IsTurning", and check for it in OnUpdate.
    Then, for instance if IsTurning is true you check if your facing is what you want it to be, and if it is you set IsTurning to false and stop turning.

    Originally Posted by Gripen2 View Post
    How about , Cast spell Kick if the target is casting a spell?
    Use UnitCastingInfo("target").
    Code:
    /dump loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitCastingInfo(\"target\") if interruptAble then SpellStopCasting() CastSpellByName(\"Kick\") end")()
    Last edited by MaiN; 08-15-2009 at 04:05 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

  11. #71
    kyle2194's Avatar Member
    Reputation
    4
    Join Date
    Mar 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MaiN View Post
    Use UnitCastingInfo("target").
    Code:
    /dump loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitCastingInfo(\"target\") if interruptAble then SpellStopCasting() CastSpellByName(\"Kick\") end")()
    Well, actullay interruptAble returns true if it can not be interrupted.
    Last edited by kyle2194; 08-15-2009 at 04:20 PM.

  12. #72
    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 kyle2194 View Post
    Well, actullay interruptAble returns true if it can not be interrupted.
    Ok, but it doesn't really matter.
    You can just use "if not interruptAble", or just do it like this:
    Code:
    /dump loadstring("if UnitCastingInfo(\"target\") then SpellStopCasting() CastSpellByName(\"Kick\") end")()
    [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

  13. #73
    kyle2194's Avatar Member
    Reputation
    4
    Join Date
    Mar 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MaiN View Post
    Ok, but it doesn't really matter.
    You can just use "if not interruptAble", or just do it like this:
    Well i tried that, but that ends up kicking even if the target isnt casting.

  14. #74
    Gripen2's Avatar Contributor
    Reputation
    226
    Join Date
    Jan 2008
    Posts
    1,056
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it worked, But i got a "Addon error Ignore / Block". How can i prevent that except deactivating all addons?
    Last edited by Gripen2; 08-15-2009 at 04:40 PM.

  15. #75
    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 Gripen2 View Post
    I think it worked, But i got a "Addon error Ignore / Block". How can i prevent that except deactivating all addons?
    Go into each of your addons folder, and under "libs" or something there should be a file called "AceConsole.lua" in a folder called AceConsole or something.
    Search for 'dump' and replace it with something else, for instance 'acedump'.

    Originally Posted by kyle2194 View Post
    Well i tried that, but that ends up kicking even if the target isnt casting.
    Yes, that's normal. That's because 'not nil' returns true, so if interruptAble is nil, it will do the if's body. Just use what I posted.
    Last edited by MaiN; 08-15-2009 at 05:13 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

Page 5 of 19 FirstFirst 123456789 ... LastLast

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 02:40 PM. 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