[Question] IsSwimming menu

User Tag List

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

    [Question] IsSwimming

    I have reverse the lua function IsSwimming and got this:

    Code:
    mov     eax, [eax+100h]
    test    dword ptr [eax+44h], 100000h
    jz      short loc_455B02
    it I put into into C# like this:
    Code:
            public int Flag(uint objptr)
            {
                 return (int)Helper.wow.ReadUInt((uint)objptr + 0x100 + 0x44); 
    }
    but I got return values like -200124.

    Anyone could help me out?

    [Question] IsSwimming
  2. #2
    xalcon's Avatar Contributor ふたなり
    Authenticator enabled
    Reputation
    198
    Join Date
    Oct 2008
    Posts
    291
    Thanks G/R
    20/58
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    well, according to your asm code, shouldn't it look like this?
    Code:
    return (int)Helper.wow.ReadUInt(Helper.wow.ReadUInt((uint)objptr + 0x100) + 0x44);
    *me not can code asm* :x

  3. #3
    Air0x's Avatar Member
    Reputation
    1
    Join Date
    Oct 2010
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xalcon View Post
    well, according to your asm code, shouldn't it look like this?
    Code:
    return (int)Helper.wow.ReadUInt(Helper.wow.ReadUInt((uint)objptr + 0x100) + 0x44);
    *me not can code asm* :x
    Yeah I also though that. But I have tried both and none of them work.

  4. #4
    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)
    You're only reading the value and not checking the flags... That's the movement state. You can cast it to an enum type which you can find in the constants sticky. You will then have to check if the bitfield contains the swimming flag, 0x100000.

  5. #5
    Jackchevalier's Avatar Member
    Reputation
    28
    Join Date
    Aug 2011
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    public Boolean IsSwimming
    {
         get
          {
             return (Helper.wow.ReadUInt(Helper.wow.ReadUInt((uint)objptr + 0x100) + 0x44) & 0x100000) != 0;
          }
    }

Similar Threads

  1. Model Changing Question
    By MasterYuke in forum World of Warcraft General
    Replies: 6
    Last Post: 09-17-2006, 09:56 PM
  2. Couple Private Server questions
    By Jboz in forum World of Warcraft General
    Replies: 21
    Last Post: 07-26-2006, 07:37 PM
  3. Sorry..newb mail question
    By nolbishop in forum World of Warcraft General
    Replies: 2
    Last Post: 06-07-2006, 07:21 PM
  4. Question..
    By janzi9 in forum Community Chat
    Replies: 3
    Last Post: 04-02-2006, 10:20 AM
  5. A GALB question
    By bassman in forum World of Warcraft General
    Replies: 4
    Last Post: 03-28-2006, 09:49 AM
All times are GMT -5. The time now is 09:28 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