Call LUA[Classic] menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    34D's Avatar Member
    Reputation
    3
    Join Date
    May 2020
    Posts
    42
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by aeo View Post
    the state/context is a global variable.
    thanks for reply, i'm trying to find it.

    These ads disappear when you log in.

  2. #17
    silverpieces's Avatar Member
    Reputation
    1
    Join Date
    Nov 2020
    Posts
    11
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by 34D View Post
    thanks for reply, i'm trying to find it.
    Can the lua context (FrameScriptGetContext) from the client be cast to the lua_State struct pointer? The offsets are simple to find, but I really want to know if I can achieve working with L from a 5.1 static lib. I tried casting in a lot of ways, but I'm guessing it's a size mismatch. It would be really cool if I could get some help with this, then I would need only a few offsets to work with my bot.

  3. #18
    ChrisIsMe's Avatar Active Member
    Reputation
    63
    Join Date
    Apr 2017
    Posts
    97
    Thanks G/R
    44/25
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by silverpieces View Post
    Can the lua context (FrameScriptGetContext) from the client be cast to the lua_State struct pointer? The offsets are simple to find, but I really want to know if I can achieve working with L from a 5.1 static lib. I tried casting in a lot of ways, but I'm guessing it's a size mismatch. It would be really cool if I could get some help with this, then I would need only a few offsets to work with my bot.
    The luaState is set in Framescript_Initialize() by lua_newstate()

    assembly is like

    call lua_newstate
    lea xxx, framescript_panic // stack var
    mv s_Context, xxx

  4. #19
    aeo's Avatar Contributor Authenticator enabled
    Reputation
    106
    Join Date
    Apr 2007
    Posts
    227
    Thanks G/R
    45/51
    Trade Feedback
    5 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by silverpieces View Post
    Can the lua context (FrameScriptGetContext) from the client be cast to the lua_State struct pointer? The offsets are simple to find, but I really want to know if I can achieve working with L from a 5.1 static lib. I tried casting in a lot of ways, but I'm guessing it's a size mismatch. It would be really cool if I could get some help with this, then I would need only a few offsets to work with my bot.
    Blizzard has made changes to the state. The static lib has to be modified to match it and that’s even harder after recent changes

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Call Lua callback in DLL cause some Error
    By rafaelcn in forum WoW Memory Editing
    Replies: 3
    Last Post: 08-04-2010, 03:32 AM
  2. Calling Lua Functions from DLL
    By Viano in forum WoW Memory Editing
    Replies: 19
    Last Post: 07-28-2009, 07:56 PM
  3. Call LUA and poppin that stack
    By ggg898 in forum WoW Memory Editing
    Replies: 1
    Last Post: 02-16-2009, 04:41 PM
  4. Calling LUA Functions
    By cloud_wizard in forum WoW Memory Editing
    Replies: 7
    Last Post: 01-04-2009, 08:24 AM
  5. Call lua function and get result
    By starfish99 in forum WoW Memory Editing
    Replies: 4
    Last Post: 12-26-2008, 05:15 AM
All times are GMT -5. The time now is 01:24 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search