Is it safe to use Lua DoString function now? menu

User Tag List

Results 1 to 11 of 11
  1. #1
    codedemen's Avatar Member CoreCoins Purchaser
    Reputation
    1
    Join Date
    Jan 2013
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it safe to use Lua DoString function now?

    I am scared by last banwave - as I understood there is some sort of warden update to monitor lua functionality/ Is here somebody who knows if it is safe now to use DoString(CastSpellByName("spellname")) function or is it better to do it a tricky way with emulating keypresses? Thank you for your time!

    Is it safe to use Lua DoString function now?
  2. #2
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1511
    Join Date
    May 2008
    Posts
    2,432
    Thanks G/R
    81/333
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Depends on your implementation. Post your code for "DoString."

  3. #3
    codedemen's Avatar Member CoreCoins Purchaser
    Reputation
    1
    Join Date
    Jan 2013
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    Depends on your implementation. Post your code for "DoString."
    Here it is:

    Code:
    "call " + (Memory.ClientProcess.WowModule + 15118u),
    "test eax, eax",
    "je @out",
    "mov eax, " + aloc,
    "push 0",
    "push eax",
    "push eax",
    "mov eax, " + (Memory.ClientProcess.WowModule + 151869u),
    "call eax",
    "add esp, 0xC",
    "@out:",
    "retn"
    Im using customized version of blackmagik. The hook is located inside the endscene function(exactly how it is done by fraps).

    Ah. And of course the GetLocalizedText call:


    Code:
    "call " + (Memory.ClientProcess.WowModule + 15118u),
    "test eax, eax",
    "je @out",
    "call " + (Memory.ClientProcess.WowModule + 15118u),
    "mov ecx, eax",
    "push -1",
    "mov edx, " + aloc,
    "push edx",
    "call " + (Memory.ClientProcess.WowModule + 3055698u),
    "@out:",
    "retn"
    Last edited by codedemen; 04-02-2015 at 08:50 AM.

  4. #4
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1511
    Join Date
    May 2008
    Posts
    2,432
    Thanks G/R
    81/333
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by codedemen View Post
    Im using customized version of blackmagik. The hook is located inside the endscene function(exactly how it is done by fraps).
    You should not run Lua from within EndScene. This sounds exactly like what Blizzard has looked for in the last few days.

    Whether this detection method is still activated now, I couldn't say. But I'd reconsider your custom BlackMagic library.

  5. #5
    Master674's Avatar Elite User
    Reputation
    487
    Join Date
    May 2008
    Posts
    578
    Thanks G/R
    2/23
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The hook is located inside the endscene function(exactly how it is done by fraps).
    You're most likely detected because you're calling Lua code from EndScene.

    Darn, too slow

  6. #6
    provirus's Avatar Member
    Reputation
    3
    Join Date
    Mar 2012
    Posts
    16
    Thanks G/R
    5/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello.
    What about calls from kernel32.dll (via CreateRemoteThread)? If it is not safe, what should I use? I really appreciate any help you can provide.

  7. #7
    mtz's Avatar Member
    Reputation
    1
    Join Date
    Sep 2012
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    since when is this check active? have they already banned people using this method or are we awaiting a banwave? and how does this check work?

  8. #8
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1511
    Join Date
    May 2008
    Posts
    2,432
    Thanks G/R
    81/333
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mtz View Post
    since when is this check active? have they already banned people using this method or are we awaiting a banwave? and how does this check work?
    It activated a couple weeks ago. I don't monitor it myself, but l0l1dk noticed and so did the Honorbuddy team.

    http://www.ownedcore.com/forums/worl...hod-added.html (New 32-bit Detection Method Added)

  9. #9
    csoldjb's Avatar Member Authenticator enabled
    Reputation
    7
    Join Date
    Jan 2015
    Posts
    20
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by WiNiFiX View Post
    Is there another way to run LUA without crashing the client randomly? (without using EndScene)
    CreateRemoteThread could do this.

  10. #10
    JamesHook's Avatar Member
    Reputation
    2
    Join Date
    May 2015
    Posts
    8
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CreateRemoteThread will crash LuaDoString after some time and also the calling code is not executed inside Wow.exe module. I guess that the next detection will also affect LuaDoString. (Its just a guess)

  11. #11
    VesperCore's Avatar Contributor
    Reputation
    127
    Join Date
    Feb 2012
    Posts
    392
    Thanks G/R
    2/17
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can hook pretty much anything, but if you are not hooking EndScene, it's going to appear in the Warden in a week or two.

    At the very beginning of our project, we used windows "GetThreadPriority()" to hook WoW, few days later, it was part of the Warden.

    Well, 3 years later, there is still a warden check for it xD

Similar Threads

  1. 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
  2. [Lua] how to use the mysql functions
    By trujillo in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 04-22-2010, 12:54 PM
  3. [GuaEngine][AddOn] Extra Useful LUA Functions
    By Claiver in forum WoW EMU General Releases
    Replies: 21
    Last Post: 05-16-2009, 05:13 PM
  4. Is Auto Clicker safe to use?
    By tekstorm in forum World of Warcraft General
    Replies: 0
    Last Post: 09-01-2007, 08:37 AM
  5. Is glider still safe to use in 1.12?
    By RichyG in forum World of Warcraft General
    Replies: 3
    Last Post: 08-26-2006, 05:45 PM
All times are GMT -5. The time now is 08:21 PM. 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