LUA Reversing need help menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Pete550's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    LUA Reversing need help

    Hi

    I am looking for the flag LUA_IsSwimming and need some help.
    reversed with IDA:

    Code:
    test    dword ptr [eax+0B00h], 200000h
    jz      short loc_460159

    So in C#:

    Code:
    public bool IsSwimming
            {
                get
                {
                    return (Memory.Read<uint>(ObjectPointer + 0xB00)) & 0x200000) != 0;
                }
            }

    Now i get Ingame this Value for:
    not Swimming
    (ObjectPointer + 0xB00) = x:
    (342703568 + 0xB00) = 202179840

    Swimming
    (ObjectPointer + 0xB00) = x:
    (342703568 + 0xB00) = 204276992

    my question is how does it check with 0x200000 ?
    2097152
    Last edited by Pete550; 11-28-2010 at 12:07 PM.

    LUA Reversing need help
  2. #2
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It's basic math... How do you even able to reverse without knowing such basics...

  3. #3
    Pete550's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi TOM_RUS

    yes of course i can check it but sry my question was incorrectly worded.
    i ask becouse IsMounted is also 0xB00 but with the checksum 0x10000000
    Code:
    test    dword ptr [eax+0B00h], 10000000h
    jnz     short loc_460262
    but the value doesnt change when mounted (its the same like IsSwimming and Toon is not swimming)
    so something must be wrong with my memory reading.

  4. #4
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Pete550 View Post
    but the value doesnt change
    Values you provided above for IsSwimming says otherwise... (I mean
    202179840=0xC0D0500 and
    204276992=0xC2D0500)
    Last edited by TOM_RUS; 11-28-2010 at 03:15 PM.

  5. #5
    Pete550's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Tom
    mounted is also working i had something wrong in my code.

Similar Threads

  1. [Lua][ArcEmu] Need help with Lua will Rep
    By Pedregon in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 03-20-2010, 02:39 PM
  2. Boss Lua Script Need help
    By David2222 in forum World of Warcraft General
    Replies: 0
    Last Post: 01-25-2009, 04:22 PM
  3. [WTH?] Funny bug about lua... yet i need help to fix it
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 02-26-2008, 09:42 AM
  4. Simple Lua Script , not working need help!
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 12-30-2007, 02:06 PM
  5. Account sold, money reversed. Need help
    By odoacer in forum World of Warcraft General
    Replies: 14
    Last Post: 11-29-2007, 02:06 PM
All times are GMT -5. The time now is 06:22 PM. 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