[Release] LuaNinja - Run protected Lua code menu

User Tag List

Page 13 of 70 FirstFirst ... 9101112131415161763 ... LastLast
Results 181 to 195 of 1048
  1. #181
    antis0c's Avatar Member
    Reputation
    2
    Join Date
    Aug 2009
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    RunMacroText("/cast Healing Wave") is also better than CastSpellByName("Healing Wave") (less bugs, UI-like).
    Curious, is there a reason why for that statement? What does "less bugs, UI-like" actually mean? Everything I've written using CastSpellByName seems to work flawlessly.

    However the targetting one is good stuff, as all of those functions are still protected sadly =(

    [Release] LuaNinja - Run protected Lua code
  2. #182
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by antis0c View Post
    Curious, is there a reason why for that statement? What does "less bugs, UI-like" actually mean? Everything I've written using CastSpellByName seems to work flawlessly.

    However the targetting one is good stuff, as all of those functions are still protected sadly =(
    Which API do you believe is still protected?

    I will check and see whether it's clientside or serverside.

  3. #183
    U_dont_kno_me?'s Avatar Active Member
    Reputation
    74
    Join Date
    Jun 2008
    Posts
    164
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    worked great for my interrupt macro to exploit the twin valkyrs heal.

    loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitCastingInfo(\"target\"); if UnitCastingInfo(\"target\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Wind Shear\") end")()

    when their special ability is nearing casting i spam that macro on one of the valkyr's.

  4. #184
    armen's Avatar Member
    Reputation
    5
    Join Date
    Oct 2009
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey guys, I am hoping someone could shed some light on what is preventing this set of macros from executing:

    Code:
    Macro 1: "1"
    /run loadstring("local _,_,_,_,_,_,dur,_,_=UnitBuff("player","Slice and Dice")
    _,_,_,_,_,_,_,c,_=UnitDebuff("target", "Rupture")
    p=GetComboPoints("player", "target");
    if(p==3 and dur>=9 and c=="player") then CastSpellByName("Eviscerate")
    else
    RunMacro(2)
    end
    
    Macro 2: "2":
    /run loadstring("local _,_,_,_,_,_,dur,_,_=UnitBuff("player","Slice and Dice")
    _,_,_,_,_,_,_,c,_=UnitDebuff("target", "Rupture")
    p=GetComboPoints("player", "target")
    if(p==5 and dur>=9 and c~="player") then
    CastSpellByName("Rupture")
    else
    RunMacro(3)
    end
    
    Macro 3: "3":
    /run loadstring("local _,_,_,_,_,_,dur,_,_=UnitBuff("player","Slice and Dice")
    p=GetComboPoints("player", "target")
    if(p==3 and dur<9) then
    CastSpellByName("Slice and Dice")
    else
    CastSpellByName("Mutilate")
    end
    I had no problem converting this macro (Mutilate spam) from the August /dump posts however:

    Code:
    Macro:
    #show Mutilate
    /run RunMacro(1)
    /run RunMacro(2)
    /run RunMacro(3)
    /run RunMacro(4)
    /startattack
    /cast Mutilate
    
    Macro 1: "1":
    /run loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitCastingInfo(\"target\"); if UnitCastingInfo(\"target\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Kick\") end")()
    
    Macro 2: "2":
    /run loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitChannelInfo(\"target\"); if UnitChannelInfo(\"target\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Kick\") end")()
    
    Macro 3: "3":
    /run loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitCastingInfo(\"focus\"); if UnitCastingInfo(\"focus\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Kick\",\"focus\") end")()
    
    Macro 4: "4":
    /run loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitChannelInfo(\"focus\"); if UnitChannelInfo(\"focus\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Kick\",\"focus\") end")()
    Thanks in advance!

  5. #185
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    This hack has nothing to do with WoWInfinity.

    I am in no way affiliated with WoWInfinity.
    WoWInfinity is in no way affiliated with this hack.
    but kynox?, he figured how to patch the movement packet handlers for the 'Superfly' mode right?

  6. #186
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nesox View Post
    but kynox?, he figured how to patch the movement packet handlers for the 'Superfly' mode right?
    What the ****? lol.

  7. #187
    Elitetech's Avatar Contributor
    Reputation
    98
    Join Date
    Oct 2008
    Posts
    279
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kildare View Post
    one tip for the others searching for real use of this nice piece of program....


    get addon feralbynight ( rogue and druid feral optimal dps tool)


    open file FeralbyNight.lua and search for the lines:
    local spell = ""
    local nextspell = ""
    local aoespell = ""
    local miscspell = ""
    local intspell = ""


    just delete first local word:
    spell = ""
    local nextspell = ""
    local aoespell = ""
    local miscspell = ""
    local intspell = ""

    save, and go write a macro with :
    /Run temp=spell
    /Run CastSpellByName(""..temp.."")


    and you are done, one button to do all the hard work with rotation for max dps.

    This will work with others addons like facesmash ones.


    enjoy ...
    hey man, +rep for the great post. can you tell me how to do it with addons like ShotandAwe or Faceshooter? ( FaceShooter : WoWInterface Downloads : Hunter )
    Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.

  8. #188
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    What the ****? lol.
    Well someone said that liek 7 months ago or something..!.

  9. #189
    spudstar99'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)
    @elitetech

    hey man, +rep for the great post. can you tell me how to do it with addons like ShotandAwe or Faceshooter? ( FaceShooter : WoWInterface Downloads : Hunter )

    should be ... but not for sure

    /Run temp=FS.data.nextSpellName
    /Run CastSpellByName(""..temp.."")


    the addon ShotandAwe works a little bit different .. it shows some cd's and stuff ... it don't determind which spell to use next ...as far as i can see in a short overfiew.
    sincery spud
    Last edited by spudstar99; 10-28-2009 at 04:47 PM. Reason: added stuff ...

  10. #190
    Elitetech's Avatar Contributor
    Reputation
    98
    Join Date
    Oct 2008
    Posts
    279
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by spudstar99 View Post
    @elitetech




    should be ... but not for sure

    /Run temp=FS.data.nextSpellName
    /Run CastSpellByName(""..temp.."")


    the addon ShotandAwe works a little bit different .. it shows some cd's and stuff ... it don't determind which spell to use next ...as far as i can see in a short overfiew.
    sincery spud
    Hmm, that didn't work at all. Also tried FS.sn and FS.shots. Nothing
    Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.

  11. #191
    antis0c's Avatar Member
    Reputation
    2
    Join Date
    Aug 2009
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Which API do you believe is still protected?

    I will check and see whether it's clientside or serverside.
    I can't seem to get most of the targeting functions working, such as:

    PROTECTED AssistUnit("unit") - Instructs your character to assist the specified unit.
    PROTECTED TargetUnit("unit") - Selects the specified unit as the current target.

    Both trigger the macro/UI protected blah blah dialog box. Unlike what others have noted, simply clicking the dialog box doesn't cause it to perform the action, the target is never set.

    Edit: Looks like FocusUnit("unit") is also protected. A work around obviously is to use RunMacroText("/target "..targetName), but it feels cheap doing it that way =)
    Last edited by antis0c; 10-29-2009 at 12:56 AM.

  12. #192
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by antis0c View Post
    I can't seem to get most of the targeting functions working, such as:

    PROTECTED AssistUnit("unit") - Instructs your character to assist the specified unit.
    PROTECTED TargetUnit("unit") - Selects the specified unit as the current target.

    Both trigger the macro/UI protected blah blah dialog box. Unlike what others have noted, simply clicking the dialog box doesn't cause it to perform the action, the target is never set.

    Edit: Looks like FocusUnit("unit") is also protected. A work around obviously is to use RunMacroText("/target "..targetName), but it feels cheap doing it that way =)
    Those APIs don't seem to be protected in the same way most other APIs are. However I have identified how they have been protected and will work on a fix for the next version.*

    Thank you for the report.

    * Note: Fixing these in a safe manner is more difficult than the rest of the APIs so it may take a tad longer than expected for me to get it working and tested properly, however it shouldn't take too long.


  13. #193
    spudstar99'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)
    @Elitetech

    i took a second look the code of the addon Faceshooter ...
    i determind i made last time a fault ..

    try to delete the local @ line 1849 [should look like "local nameList{}" change to "nameList{}" ]

    Macro Code:
    Code:
    /Run temp=nameList[1]
    /Run CastSpellByName(""..temp.."")
    if this doesn't work (because i can't test this stuff ...) try this code below ... if you get an error .. inform me...

    Code:
    /run if (nameList[1]~=nil) then SendChatMessage("test "..nameList[1]) end;
    if it looks like
    test "Arcaneshot_or_what_ever"
    then the /run macro should changed to

    CastSpellByName("temp")

    sincery spud (who hates the programmer of this faceshooter addon, which works very well but in a wiered style)
    Last edited by spudstar99; 10-29-2009 at 08:11 AM. Reason: i'm a looser - and can't post propper

  14. #194
    Xiozakacav's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    spudstar99 would you mind looking at the code of SpellPriority? I'm trying to do as you say but it just gives me lua errors.

    edit: http://wow.curse.com/downloads/wow-a...lpriority.aspx
    The addon im talking about.

  15. #195
    spudstar99'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)
    @ Xiozakacav

    look in SpellPriority_core.lua for
    SpellPriority_Texture:SetTexture(select(3,GetSpellInfo(5)))
    log("set spell to: NO SPELLID RETURNED FROM TACTICFILE! set to skull icon")
    else
    local name, rank, icon = GetSpellInfo(spDB.best_spell)
    SpellPriority_Texture:SetTexture(icon)
    add line (dmgdmg = name) like
    SpellPriority_Texture:SetTexture(select(3,GetSpellInfo(5)))
    log("set spell to: NO SPELLID RETURNED FROM TACTICFILE! set to skull icon")
    else
    local name, rank, icon = GetSpellInfo(spDB.best_spell)
    dmgdmg = name
    SpellPriority_Texture:SetTexture(icon)
    macro
    /Run temp=dmgdmg
    /Run CastSpellByName(""..temp.."")

Similar Threads

  1. Replies: 8
    Last Post: 07-13-2010, 01:36 AM
  2. [3.3.2] AUTOIT - Run Protected LUA
    By satia in forum WoW Memory Editing
    Replies: 46
    Last Post: 06-19-2010, 08:58 AM
  3. Run Protected Lua in 3.3.3a
    By thefarmer in forum WoW Bots Questions & Requests
    Replies: 3
    Last Post: 04-30-2010, 08:03 PM
  4. Protected LUA Code and Chat Addons
    By Ultraviolence in forum WoW UI, Macros and Talent Specs
    Replies: 0
    Last Post: 04-20-2010, 12:01 AM
  5. [Release] LuaHobo - Run protected LUA
    By Seifer in forum World of Warcraft Bots and Programs
    Replies: 50
    Last Post: 01-18-2010, 06:06 PM
All times are GMT -5. The time now is 03:39 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