How to manage objectlist by wow? menu

User Tag List

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

    How to manage objectlist by wow?

    Hi,all.When I find some Object in memory,sometimes can found,sometimes can't thought i Stand on the sidelines of the object which i would to find.So i think there have a CRITICAL_SECTION ,i can't find the object when the wow thread is deleteobject, but i don't know which address is the CRITICAL_SECTION pointer.
    If there are not CRITICAL_SECTION ,why sometimes i can't find the object.Who can tell me. Sorry by my poor english.

    How to manage objectlist by wow?
  2. #2
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry I'm a little lost.

    WoW DOES use critical sections for certain things, but none of them should be affecting your ability to perform object enumeration.

    Would you mind posting an example? Sample code? Test cases? Something? Anything???

    Sorry but trying to help you with zero information is about effective as me labeling a dartboard with arbitrary "solutions", getting shitfaced, then throwing Kynox's pindick at the board to pick them out.

  3. #3
    luacoder's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    Sorry I'm a little lost.

    WoW DOES use critical sections for certain things, but none of them should be affecting your ability to perform object enumeration.

    Would you mind posting an example? Sample code? Test cases? Something? Anything???

    Sorry but trying to help you with zero information is about effective as me labeling a dartboard with arbitrary "solutions", getting shitfaced, then throwing Kynox's pindick at the board to pick them out.
    thanks.

    void SearchObject( int nType,int nFlag1,int nFlag2)
    {

    __asm
    {

    mov ecx,fs:[2Ch]
    mov edx,[ecx]
    mov ecx,[edx+8h]

    mov eax,[ecx+24h]
    cmp eax,-1
    jnz Next
    xor eax,eax
    xor edx,edx
    ret
    Next:
    mov edx,[ecx+1Ch]
    mov eax,nType
    lea eax,[eax+eax*2]
    lea eax,[edx+eax*4+4]
    mov eax,[eax+4]

    ContinueSearch:

    test al,1
    jnz ErrExit

    test eax,eax
    jz ErrExit


    mov esi,[eax+8]
    mov edi,[esi+8]
    mov edx,nFlag1
    cmp edi,edx
    jnz SearchNext
    mov edi,[esi+5Dh]
    mov edx,nFlag1
    cmp edi,edx
    jz Success

    SearchNext:
    mov ebx,[ecx+1Ch]
    mov edx,nType
    lea edx,[edx+edx*2]
    lea edx,[ebx+edx*4]
    mov edx,[edx]
    add edx,eax
    mov eax,[edx+4]
    jmp ContinueSearch

    ErrExit:
    xor eax,eax
    xor edx,edx
    ret
    Success:
    mov esi,eax
    mov eax,[esi+30h]
    mov edx,[esi+34h]
    ret
    }

    }


    ULONGLONG SearchMailBox()
    {
    DWORD dwLow,dwHight;
    ULONGLONG MailBoxID = 0;
    ULONGLONG *pMailBoxID = &MailBoxID;
    for( int i = 0; i < 0x100; i++ )
    {
    __try
    {
    SearchObject( i,33,19);
    __asm
    {
    mov dwLow,eax
    mov dwHight,edx
    }
    if( dwLow != 0 || dwHight != 0)
    {
    *( (DWORD*)(DWORD)(pMailBoxID )) = dwLow;
    *( (DWORD*)((DWORD)(pMailBoxID ) + 4) ) = dwHight;
    break;
    }
    }
    __except(EXCEPTION_EXECUTE_HANDLER)
    {
    __asm
    {
    xor eax,eax
    xor edx,edx
    }
    }
    }
    return MailBoxID;
    }

    When i call SearchMailBox() ,sometimes can get mailboxid,but sometimes mailboxid is zero, and my character is standing next the mailbox.

  4. #4
    kynox's Avatar Member
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What the ****? Why are you using inline ASM?

    You're using C++, use the code already posted here!

  5. #5
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ummm. Wow...

    How about you try rewriting your code in C++? Would make it a lot easier to work with.

  6. #6
    cenron's Avatar Member
    Reputation
    12
    Join Date
    Mar 2008
    Posts
    93
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LOL! Awesome!

  7. #7
    g3gg0's Avatar Active Member
    Reputation
    32
    Join Date
    Mar 2008
    Posts
    86
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "luacoder" writes inline asm.
    i love that irony
    scnr

Similar Threads

  1. [Easy] How to Make Your Own WoW Forum Avatar!
    By Roflcopterzzz in forum Art & Graphic Design
    Replies: 21
    Last Post: 05-28-2007, 10:09 AM
  2. Where and how should I sell My wow account safely ?
    By Keeper in forum World of Warcraft General
    Replies: 7
    Last Post: 01-08-2007, 09:59 PM
  3. (Another) How to Record Your On WoW Videos. - Full Guide + Images
    By impulse102 in forum World of Warcraft Guides
    Replies: 9
    Last Post: 11-26-2006, 03:08 AM
  4. how do i swap my wow sounds?
    By agrestic in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 11-22-2006, 11:31 PM
  5. How do you run a wow server with out editing wow?
    By Mike3667 in forum World of Warcraft General
    Replies: 2
    Last Post: 09-24-2006, 05:37 PM
All times are GMT -5. The time now is 10:51 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