[help] reading lua memory menu

Shout-Out

User Tag List

Results 1 to 8 of 8
  1. #1
    anon145236's Avatar Private
    Reputation
    1
    Join Date
    Oct 2011
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    EDIT: Removed

    EDIT: Removed
    Last edited by anon145236; 02-22-2012 at 09:52 AM. Reason: EDIT: Removed

    [help] reading lua memory
  2. #2
    streppel's Avatar Active Member
    Reputation
    78
    Join Date
    Mar 2007
    Posts
    196
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by anon145236 View Post
    (i thought of filling the variable in a loop with one data after the other. but i have no clue how my c# application could reliably catch hundreds of different values per second.)
    if you really wanna do it this way,you'll have to do it with getting each value in a loop

    Originally Posted by anon145236 View Post
    in case my plan wont work: what other method could you recommend to make easy use of the values which are provided by the wow api?
    the much easier way would be to hook endscene(dx9 only) or the dx11 equivalent(can't remember the name right now,check the first page here), and in this hook,execute your stuff using framescript_execute(aka lua_dostring). then you can get the return values of the methods via getlocalizedtext(or something like this).

    sorry if the method names are not correct,i'm not into wow,but this would be the way to go outlined with a few words. do a quick search on hooking endscene here on mmowned and you'll get plenty threads that are about this

  3. #3
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I strongly recommend dll injection for things like this.

    But if you're hellbent on staying out of the wow process, someone reversed most of the LUA structures to use in such a manner - it's on this board somewhere.

    If you want to win the ugly price you can always use tables, sentinel values and memory scanners.
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  4. #4
    anon145236's Avatar Private
    Reputation
    1
    Join Date
    Oct 2011
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    EDIT: Removed
    Last edited by anon145236; 02-22-2012 at 09:50 AM. Reason: EDIT: Removed

  5. #5
    Aftiagouras's Avatar Member
    Reputation
    2
    Join Date
    Mar 2008
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think CVars are store in a Hash Table. Take a look at CVar__Lookup (wow.exe + 0x249DD0).
    In theory you could register CVars with API RegisterCVar - WoWWiki - Your guide to the World of Warcraft and store data in them.
    Then you can search for them from your bot using your implemetation of the Lookup function.

    Or Inject and make your life easier

  6. #6
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    I dont see why you just dont allocate memory and use that...

    Code:
    AllocateAddress = AllocateMemory(0x256);
    
    WriteByte((DWORD)AllocateAddress, (Byte)b);
    Code:
    LPVOID AllocateMemory(int size)
    {
          return VirtualAllocEx(hProcess,NULL,size,MEM_COMMIT,0x40);
    }
    Code:
    bool WriteByte(DWORD addr, DWORD buffer)
    {		
         VirtualProtectEx(hProcess,(LPVOID)addr,sizeof(Byte),0x40,&old);
         if(!WriteProcessMemory(hProcess,(LPVOID)addr,&buffer,sizeof(Byte),NULL)) return false;
         return true;
    }
    Last edited by DarkLinux; 10-24-2011 at 07:53 PM.

  7. #7
    anon145236's Avatar Private
    Reputation
    1
    Join Date
    Oct 2011
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    EDIT: Removed
    Last edited by anon145236; 02-22-2012 at 09:50 AM. Reason: EDIT: Removed

  8. #8
    streppel's Avatar Active Member
    Reputation
    78
    Join Date
    Mar 2007
    Posts
    196
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by anon145236 View Post
    despite i am very scared of a ban, i would probably try it out, but for now my knowledge of hooking, reversing, injecting .. is at a verrry low level.
    no reason to be scared of a ban. if you stay private with your stuff it's as safe as being out of process. if you are going to release it the chance might be bigger to be caught, but some nice tools here on ownedcore really proof that the other side(of being not banned) is there too with mem writing,injection etc etc
    and half a year ago when i started reversing etc i didn't know about anything,just read lots of threads here and tryed to understand what's going on inside the process.
    after that it was all trial and error but now i have a good overall knowledge of what's happening,how to call methods with just asm injection,why i have to hook things and now just create another thread etc etc

Similar Threads

  1. Can someone help me to memory read my hatred/health/disc. Thanks.
    By rimmi2002 in forum Diablo 3 Memory Editing
    Replies: 3
    Last Post: 12-18-2012, 01:48 AM
  2. Need help reading memory in autoit
    By pinny in forum SWTOR Hacks
    Replies: 6
    Last Post: 01-20-2012, 09:20 PM
  3. [C#]Need help with some memory reading
    By jazerix in forum Programming
    Replies: 1
    Last Post: 10-29-2010, 09:49 AM
  4. LUA Help (reading from/writing to files)
    By tagala in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 10-05-2009, 06:48 PM
  5. Need help reading Memory, Writing too memory
    By Neer in forum Programming
    Replies: 0
    Last Post: 08-17-2009, 12:11 PM
All times are GMT -5. The time now is 05:24 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