[Question][C#][ASM] Object -> Interact (VMT 38) menu

User Tag List

Results 1 to 6 of 6
  1. #1
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Solved][C#][ASM] Object -> Interact (VMT 38)

    Hello... I am trying to Interact using VMT 38

    Here is my code:

    Code:
            public static void Objinteract(uint obj)
            {
                Logging.Write(Color.Red, "Objinteract(VMT)" + obj);
                uint codeCave = WoW.EndScene.BlackMagic.AllocateMemory(0x1000);
                uint VMT38 = WoW.Memory.ReadUInt((WoW.Memory.ReadUInt(obj)) + (38 * 4));
                var objectManagerBase = Offsets.ObjectManager.ObjectManagerBase;
                
                WoW.EndScene.Hook_AsmAddLine("fs mov eax, [0x2C]");
                WoW.EndScene.Hook_AsmAddLine("mov eax, [eax]");
                WoW.EndScene.Hook_AsmAddLine("add eax, 0x10");
                WoW.EndScene.Hook_AsmAddLine("mov dword [eax], " +  objectManagerBase);
                WoW.EndScene.Hook_AsmAddLine("mov ecx, " + obj);
                WoW.EndScene.Hook_AsmAddLine("call " + VMT38);
                WoW.EndScene.Hook_AsmAddLine("retn");
    
                WoW.EndScene.Hook_AsmInject();
    
                WoW.EndScene.BlackMagic.FreeMemory(codeCave);
            }
    I send the gameobjects base address to the function. It doesn't work. My character just stands there :S
    Last edited by -Ryuk-; 05-10-2010 at 02:32 PM.
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

    [Question][C#][ASM] Object -> Interact (VMT 38)
  2. #2
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Inb4infractions.

  3. #3
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    Inb4infractions.
    What?

    (filler)
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  4. #4
    WannaBeProgrammer's Avatar Member
    Reputation
    2
    Join Date
    Feb 2009
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by -Ryuk- View Post
    What?

    (filler)
    He ment that he wanned to post b4 this thread got closed etc.

  5. #5
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by WannaBeProgrammer View Post
    He ment that he wanned to post b4 this thread got closed etc.
    Ah well, it is now solved! However I don't see what rule I broke.

    For others who want this info change the VMT38 to VMT44
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  6. #6
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by -Ryuk- View Post
    Ah well, it is now solved! However I don't see what rule I broke.

    For others who want this info change the VMT38 to VMT44
    And I think that was exactly what Cypher meant.

Similar Threads

  1. [Question]Custom Game Objects
    By RedFox4 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 09-12-2010, 08:25 AM
  2. [Question] About spawning objects
    By maldritgameworld in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 01-03-2009, 06:37 PM
  3. Object.Interact() VMT 34
    By Nesox in forum WoW Memory Editing
    Replies: 15
    Last Post: 10-28-2008, 11:00 PM
  4. Question about Game Objects and NPCs
    By Bloodrazer1876 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 09-20-2008, 01:52 PM
  5. [Question] Invisible Game objects
    By Sonic Waffle in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 02-18-2008, 05:04 PM
All times are GMT -5. The time now is 12:09 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