[Lua] Detect if Lua is unlocked menu

User Tag List

Results 1 to 4 of 4
  1. #1
    lordaplala's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    3
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua] Detect if Lua is unlocked

    Hello guys !

    Using lua in script/addon, is it somehow possible to test if we can actually call protected functions?
    I'm using an Lua unlocker tool and would like to detect if it is running (or detect the error and prevent it from display).

    Something like this :

    Code:
    if canUse("castSpellByName") then
     return true
    else
     return false
    end
    Thank you!

    [Lua] Detect if Lua is unlocked
  2. #2
    uzzy13u's Avatar Active Member
    Reputation
    40
    Join Date
    Oct 2008
    Posts
    100
    Thanks G/R
    21/20
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    // edit - removed
    Last edited by uzzy13u; 03-24-2022 at 07:26 AM.

  3. #3
    lordaplala's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    3
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi uzzy13u

    What i want to achieve here is detecting if /run Jump() works using code instead of manual test.
    I tried to call it inside a pcall() but it doesn't seem to be the solution since wow is blocking here, not lua.

    I'm using this tool to disable protection : Lua Unlocker (1.12.1, 2.4.3 & 3.3.5a) (Lua Unlocker (1.12.1, 2.4.3 & 3.3.5a))

    Maybe.. it could be modified to inject a global lua variable into wow so i can then test it inside my lua script. I don't have any idea about how to achieve this or even if it possible. Any advise / trick appreciated

  4. #4
    CrazyCo's Avatar Member
    Reputation
    13
    Join Date
    Apr 2017
    Posts
    19
    Thanks G/R
    6/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Leaving this here incase someone will need.

    Blizzard has simple function for this:

    if ( issecure() ) then DoStuff() end

    if issecure returns true you can always use any lua function, including ones that require hardware event from user (on 3.3.5a at least).

  5. Thanks lordaplala (1 members gave Thanks to CrazyCo for this useful post)

Similar Threads

  1. What is LUA Unlocking?
    By sinomyth in forum World of Warcraft General
    Replies: 4
    Last Post: 10-20-2015, 02:26 PM
  2. 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
  3. Can Lua detect when a player gets an honorable kill?
    By Wheeze201 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 07-31-2009, 07:22 AM
  4. Unlock Protected LUA with a Patch? (Without Injecting code?)
    By Zeroi9 in forum WoW Memory Editing
    Replies: 15
    Last Post: 03-30-2009, 05:58 PM
  5. Unlock all Potected Lua API
    By berserk85 in forum WoW Memory Editing
    Replies: 8
    Last Post: 02-24-2009, 06:53 AM
All times are GMT -5. The time now is 06:59 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