Addresses for core lua functions menu

User Tag List

Results 1 to 5 of 5
  1. #1
    ggg898's Avatar Member
    Reputation
    10
    Join Date
    Jan 2009
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Addresses for core lua functions

    Hi all,

    Im in the process of moving my bot logics from c# to lua, with a supportive backend in a native dll in order to make som extra lua functions that i need and so on.

    I wonder if some friendly soul have addresses for the core lua functions (Not CastBySpellName and such, but the lua_* functions), I have thew ones that is regularely floating around hare , like lua_pushinteger and so on, but does any one have a complete list? I am especially looking for lua_newtable and other table manipulation functions.

    I have looked at the lua 5.1 dll in IDA and compared the functions in order to find them in Wow, but even though they are similar, they differ too much for me to do it reasonable fast, so therefore im taking the easy way out asking here...

    Has someone used any of the OOP libs for lua out there in order to get it more object orientated? Any pointers to a nice working one is also very appretiated...

    Thanks a lot

    Addresses for core lua functions
  2. #2
    testout's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    44
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.mmowned.com/forums/wow-me...er-8000-a.html

    0x0091A7B0 (lua_gettop)
    0x0091A7D0 (lua_settop)
    0x0091A830 (lua_remove)
    0x0091A8A0 (lua_insert)
    0x0091A950 (lua_replace)
    0x0091AA30 (lua_pushvalue)
    0x0091AA90 (lua_type)
    0x0091AAB0 (lua_typename)
    0x0091AAD0 (lua_iscfunction)
    0x0091AB00 (lua_isnumber)
    0x0091AB40 (lua_isstring)
    0x0091AB70 (lua_rawequal)
    0x0091ABC0 (lua_equal)
    0x0091AC10 (lua_tonumber)
    0x0091AC50 (lua_tointeger)
    0x0091AC90 (lua_toboolean)
    0x0091ACC0 (lua_tolstring)
    0x0091AD30 (lua_objlen)
    0x0091ADA0 (lua_tocfunction)
    0x0091ADD0 (lua_tothread)
    0x0091ADF0 (lua_topointer)
    0x0091AE60 (lua_pushnil)
    0x0091AE80 (lua_pushnumber)
    0x0091AEB0 (lua_pushinteger)
    0x0091AEE0 (lua_pushlstring)
    0x0091AF30 (lua_pushstring)
    0x0091AF80 (lua_pushvfstring)
    0x0091AFB0 (lua_pushfstring)
    0x0091AFE0 (lua_pushcclosure)
    0x0091B0B0 (lua_pushboolean)
    0x0091B0E0 (lua_pushthread)
    0x0091B4E0 (lua_setfield)
    0x00919B60 (lua_getfield)

    Don;t think these have changed since that patch

  3. #3
    goderion's Avatar Active Member
    Reputation
    25
    Join Date
    Oct 2008
    Posts
    54
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Some have changed...

    0x00499700 (Lua_GetState)
    0x0046ED80 (Lua_InvalidPtrCheck)
    0x0049AAB0 (Lua_Dostring)
    0x004998E0 (Lua_Register)
    0x00401A30 (Lua_Reload)
    0x005A82F0 (Lua_GetLocalizedText)

    0x0091A8B0 (lua_gettop)
    0x0091A8D0 (lua_settop)
    0x0091A930 (lua_remove)
    0x0091A9A0 (lua_insert)
    0x0091AA50 (lua_replace)
    0x0091AB30 (lua_pushvalue)
    0x0091AB90 (lua_type)
    0x0091ABB0 (lua_typename)
    0x0091ABD0 (lua_iscfunction)
    0x0091AC00 (lua_isnumber)
    0x0091AC40 (lua_isstring)
    0x0091AC70 (lua_rawequal)
    0x0091ACC0 (lua_equal)
    0x0091AD10 (lua_tonumber)
    0x0091AD50 (lua_tointeger)
    0x0091AD90 (lua_toboolean)
    0x0091ADC0 (lua_tolstring)
    0x0091AE30 (lua_objlen)
    0x0091AEA0 (lua_tocfunction)
    0x0091AED0 (lua_tothread)
    0x0091AEF0 (lua_topointer)
    0x0091AF60 (lua_pushnil)
    0x0091AF80 (lua_pushnumber)
    0x0091AFB0 (lua_pushinteger)
    0x0091AFE0 (lua_pushlstring)
    0x0091B030 (lua_pushstring)
    0x0091B080 (lua_pushvfstring)
    0x0091B0B0 (lua_pushfstring)
    0x0091B0E0 (lua_pushcclosure)
    0x0091B1B0 (lua_pushboolean)
    0x0091B1E0 (lua_pushthread)
    0x0091B5E0 (lua_setfield)
    0x00919C60 (lua_getfield)

  4. #4
    ggg898's Avatar Member
    Reputation
    10
    Join Date
    Jan 2009
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot guys, missed that thread.

  5. #5
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is very easy to find these functions. First look at the LUA registration array(list of strings and pointers). Find one that's protected to find lua_protect... Find one that takes a param of a string for lua_toString...Etc. For Push... functions, just find the returns of some of them. find one that returns each of the functions. pretty easy, although time-consuming. i'd recommend a pattern scanner.

Similar Threads

  1. Lua function addresses
    By barthencito in forum Elder Scrolls Online Memory Editing
    Replies: 2
    Last Post: 05-02-2015, 05:45 AM
  2. [Tool] Ida script for rename lua functions (wow 64)
    By RivaLfr in forum WoW Memory Editing
    Replies: 0
    Last Post: 03-27-2013, 02:12 PM
  3. Replies: 22
    Last Post: 05-29-2008, 03:52 PM
  4. [Question] Lua functions
    By Lich King in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 04-10-2008, 07:39 PM
  5. Looking for gastrics Lua enabled server
    By Kiev in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 01-08-2008, 12:03 PM
All times are GMT -5. The time now is 10:41 AM. 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