What is LUA Unlocking? menu

User Tag List

Results 1 to 5 of 5
  1. #1
    sinomyth's Avatar Member
    Reputation
    2
    Join Date
    Sep 2006
    Posts
    18
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What is LUA Unlocking?

    im going to snipe the AH at Everlook. ive done it before the old school way, but theres a new method that involves unlocking the LUA. i have the program to unlock it, but im just curious, what does unlocking it exactly do? what else can i do with the lua unlocked?

    What is LUA Unlocking?
  2. #2
    l0l1dk's Avatar Elite User

    Reputation
    499
    Join Date
    Sep 2010
    Posts
    342
    Thanks G/R
    1/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are functions in WoW's addon API which are "protected", and can only be called from secure (Blizzard) Lua code. These protected functions do things such as control movement, spell casting, etc.. A Lua Unlock will allow insecure code (regular addons) to call these protected functions. Lua Unlocks are usually used for AH sniping, or for automating your rotation. You can find macros and scripts which use a Lua Unlock for your class here.
    Last edited by l0l1dk; 08-23-2011 at 05:51 PM.

  3. #3
    sinomyth's Avatar Member
    Reputation
    2
    Join Date
    Sep 2006
    Posts
    18
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    interesting, thanks =) sounds like you could do some crazy shit with unlocking the lua.

  4. #4
    Zefoxxer's Avatar Member
    Reputation
    1
    Join Date
    Jul 2015
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for necroposting.
    I've been thinking about this whole unlocking thing, got me very curious. Can't really understand how you can "unlock" protected methods while bypassing the interface rules. I mean i always thought this is pretty much impossible without altering the source code.
    I'm not familiar with lua and wow api, but if anyone can briefly (if possible at all) explain how this whole thing works, i'd be very thankful.

  5. #5
    Numba1stunna1's Avatar Active Member
    Reputation
    70
    Join Date
    Dec 2013
    Posts
    182
    Thanks G/R
    1/34
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LUA unlocker simply reads the function's value. Using a reverse engineering program such as IDA, a programmer tries to isolate the offset which triggers such value. WoW is one of the more easier games to read, because the offsets usually has a specific string, such as "Obj_TargetGUID". Once you find these offsets, you can use a client-sided program, a bot, to run these functions. Here is a video of what I mean: https://www.youtube.com/watch?v=hABj_mrP-no

    Here is an example of using a protected function. The non-protected API is the range check of the spell. The protected API is casting the spell:

    Code:
    if IsSpellInRange(GetSpellInfo(53),"target") -- not protected
     then
    CastSpellByID(53,"target") -- protected API
    end
    Last edited by Numba1stunna1; 10-20-2015 at 02:35 PM.

Similar Threads

  1. [Question] what lua unlocker working right now?
    By ztnko in forum WoW Bots Questions & Requests
    Replies: 2
    Last Post: 07-20-2016, 11:34 AM
  2. 4.3 LUA unlocker?
    By thenthelies in forum WoW Bots Questions & Requests
    Replies: 9
    Last Post: 01-05-2012, 06:36 PM
  3. [Request]LUA unlock Macro to pick up a Flag
    By broly7 in forum WoW UI, Macros and Talent Specs
    Replies: 7
    Last Post: 09-10-2011, 04:01 AM
  4. Where can I get a Lua unlock program
    By gongmang1 in forum WoW UI, Macros and Talent Specs
    Replies: 1
    Last Post: 09-01-2011, 02:07 AM
  5. What if Lua would work with spells aswell ?
    By Wheeze201 in forum World of Warcraft Emulator Servers
    Replies: 19
    Last Post: 08-17-2009, 10:35 PM
All times are GMT -5. The time now is 11:07 AM. 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