Object->Interact() Does nothing? menu

User Tag List

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

    Object->Interact() Does nothing?

    Code:
    LUASetTarget(pThis->GUID);
    				//Sleep(50);
    				DWORD Stage1 = RInt(dwCurObj);
    				DWORD Stage2 = RInt((Stage1+(36*4)));
    				DWORD MGR = this->dwCurMgr;
    				DWORD ProcessId            = GetCurrentProcessId();
        			DWORD ProcessThreadId    = GetProcessThreadId( ProcessId );
        			HANDLE hThread = OpenThread( THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME, TRUE, ProcessThreadId );
    				SuspendThread(hThread);
    				__asm
    				{
    					mov edx, dword ptr ds:[MGR]
    					mov eax, dword ptr fs:[0x2C]
    					add eax, 8
    					mov dword ptr ds:[eax], edx//put MGR into TIB
    					mov ecx, dword ptr ds:[dwCurObj]
    					call [Stage2]
    				}
    				ResumeThread(hThread);
    				return;
    Any ideas why the code could execute yet not actually interact? All addy's and offsets seem to be correct...
    LUASetTarget works fine, no need for concern over that, just that even after putting curMgr into the Therad Information Block and calling ->Interact() nothing happens. No crash, nada.

    Thanks,
    Leo

    Object->Interact() Does nothing?
  2. #2
    jjaa's Avatar Contributor
    Reputation
    245
    Join Date
    Dec 2006
    Posts
    562
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interact is at 42 not 36

  3. #3
    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)
    What the ****?

    You're using C++.... Why aren't you just calling it as a virtual member function...

    Also, what the **** is all the thread suspending shit for? Just hook EndScene or Present and run all your code in there...

  4. #4
    xLeo123's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, jjaa

Similar Threads

  1. Replies: 7
    Last Post: 06-11-2013, 05:24 AM
  2. [Help Request] Interact with Object (CTM)
    By Mr.Zunz in forum WoW Memory Editing
    Replies: 7
    Last Post: 09-03-2009, 08:06 PM
  3. Interacting with object
    By miceiken in forum WoW Memory Editing
    Replies: 29
    Last Post: 06-05-2009, 08:51 AM
  4. Object.Interact() VMT 34
    By Nesox in forum WoW Memory Editing
    Replies: 15
    Last Post: 10-28-2008, 11:00 PM
All times are GMT -5. The time now is 01:12 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