Injecting Interact doesn't work menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    skra's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Injecting Interact doesn't work

    Hi everyone,

    I've been reading this forumsection for quite some time now and and i'd say it is a source of nearly infinite wisdome But i've one problem i couldn't solve through reading the related posts. I've managed to read all the things i need from wow's memory, but when i try to interact, nothing happens. the game doesn't even crash.

    Code:
                uint codeCave = wow.AllocateMemory();
                uint VMT38 = wow.ReadUInt((wow.ReadUInt(obj.BaseAddress)) + (38 * 4));
                wow.Asm.Clear();
    
                wow.Asm.AddLine("fs mov eax, [0x2C]");
                wow.Asm.AddLine("mov eax, [eax]");
                wow.Asm.AddLine("add eax, 8");
                wow.Asm.AddLine("mov dword [eax], {0}", objectManagerBase);
                wow.Asm.AddLine("mov ecx, {0}", obj.BaseAddress);
                wow.Asm.AddLine("call {0}", VMT38); 
                wow.Asm.AddLine("retn");
    
                suspendMainThread();
                wow.Asm.InjectAndExecute(codeCave);
    
                resumeMainThread();
                wow.FreeMemory(codeCave);
    This is how i try to do it. I'm sure that my suspend and resume functions work, because the rendering freezes, when i suspend the mainthread, but i have absolutely no clue, why there isn't anything happening.
    I would be glad to get evn a hint, it doesn't have to be a complete solution

    Thanks!

    Injecting Interact doesn't work
  2. #2
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Guess you didn't read everything... In the 3.1 patch the TLS offset changed from 0x8 to 0x10 as lanman pointed out. A quick look at GetObjectByGUID in a debugger would show you that

    wow.Asm.AddLine("add eax, 0x10");
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  3. #3
    skra's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i must have missed that..thanks alot, but i still get no result =(

    EDIT: OMG I'm soo stupid...works now. thanks alot =D +rep
    Last edited by skra; 05-02-2009 at 02:10 PM.

  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)
    One word, LUA.

  5. #5
    skra's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lanman92 View Post
    One word, LUA.
    why? is it more reliable or safer? or just more simple?

  6. #6
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Simpler. There's a new LUA function called InteractUnit (or something). Far, far easier than VMT, and all that nonsense.

  7. #7
    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)
    DoString("InteractUnit("KILLME");

    And then you're attacking. No complications or anything. You can do ANYTHING with lua and console. Blizzard is writing the code for us, don't do extra work when you could be reverse engineering...

  8. #8
    skra's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, that sounds nice, thanks... i'll try it

  9. #9
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does that work with GameObjects too, and if so what if you got like 10 GameObjects around with the same name that would work right?
    Pretty crappy imo just call Interact on w/e u want and be happy

  10. #10
    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)
    Well, I didn't think about that. It just came to mind, so I posted it.

  11. #11
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok well allways useful with new lua functions atleast

  12. #12
    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)
    Yeah the LUA interact func is only good for helping update across patches, usless to actually call in a bot.

  13. #13
    skra's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but i need dostring for injected spellcasting, right?

  14. #14
    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)
    It's much easier with DoString. "CastSpellByName("Demon Armor");" and you're goin.

  15. #15
    skra's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, i read your DoString method (http://www.mmowned.com/forums/wow-me...ml#post1480627). Am i right that the variable luaDoString is 0x0049AE30?

Page 1 of 2 12 LastLast

Similar Threads

  1. [Help] Trainer's doesn't work..
    By chanceless in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 04-24-2008, 01:45 PM
  2. Map Extraction Doesn't Work with vista
    By SectorSeven in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-07-2008, 12:05 AM
  3. Gold to Karazhan doesn't work,help please
    By Raijin in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 10-10-2006, 07:40 PM
  4. Patch 1.11.0 doesn't work
    By SuperSirius in forum World of Warcraft General
    Replies: 1
    Last Post: 10-10-2006, 10:51 AM
All times are GMT -5. The time now is 02:03 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