[C# DLL] iHook, EndScene ASM Injection! menu

User Tag List

Page 9 of 10 FirstFirst ... 5678910 LastLast
Results 121 to 135 of 143
  1. #121
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Directx should not change depending on your operating system. It will change if your using a different version of Directx. -_- You must be doing something wrong lols. My hook works on windows 7 and windows 8. Would love to see a screen shot to see the differences

    [C# DLL] iHook, EndScene ASM Injection!
  2. #122
    eracer's Avatar Contributor
    Reputation
    201
    Join Date
    Feb 2011
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Windows 7 EndScene d3d9.dll ver 6.1.7601.17514



    Windows 8 EndScene d3d9.dll ver 6.2.9200.16384


  3. #123
    -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)
    06/11/2012 : iHook's code is now available at: https://dl.dropbox.com/u/7923805/MMOwned/iHook.rar
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  4. #124
    Edder's Avatar Active Member
    Reputation
    22
    Join Date
    Dec 2008
    Posts
    77
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you Ryuk, awesome. +rep

  5. #125
    hb123220's Avatar Member
    Reputation
    8
    Join Date
    Mar 2012
    Posts
    41
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by eracer View Post
    iHook won't work on windows 8 the way it is currently because the endscene functions that are hooked/detoured are different on windows 8.

    Win 7 EndScene looks like (5 bytes)
    ----------------------------------------
    mov edi, edi
    push ebp
    mov ebp, esp

    Win 8 EndScene looks like this (7 bytes)
    ------------------------------------
    push 14
    mov eax, d3d9.dll+149A0C

    I ended up writing my own version of iHook that uses BeaEngine to disassemble the functions so it can work on both win7 and win8 so I know iHook could do something similar but that would be up to Ryuk since it is closed source.
    thx,eracer. Now i understand why my bot doesn't work on Windows 8,, where should i hook EndScene on Win8 ..

  6. #126
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by hb123220 View Post
    thx,eracer. Now i understand why my bot doesn't work on Windows 8,, where should i hook EndScene on Win8 ..
    Eracer already told you what to do. Use BeaEngine and a JIT assembler.
    Or just take the easy road and overwrite the vtable entry.

  7. #127
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by _Mike View Post
    Or just take the easy road and overwrite the vtable entry.
    Isn't it the best way? Easier, faster, no ASM required etc...
    Last edited by TOM_RUS; 11-21-2012 at 09:10 AM.

  8. #128
    Master674's Avatar Elite User
    Reputation
    487
    Join Date
    May 2008
    Posts
    578
    Thanks G/R
    2/23
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    Isn't it the best way? Easier, faster, no ASM required etc...
    The best way is to create a dummy device, get your pointers and destroy it.
    That way it will work for all games and any os.

  9. #129
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Master674 View Post
    The best way is to create a dummy device, get your pointers and destroy it.
    That way it will work for all games and any os.
    And hooking device vtable won't work for all games and any os?

  10. #130
    Master674's Avatar Elite User
    Reputation
    487
    Join Date
    May 2008
    Posts
    578
    Thanks G/R
    2/23
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    And hooking device vtable won't work for all games and any os?
    Why not? Thats what I said. I'm getting the VMT pointers and hook on that function, doesn't matter at all if you overwrite the vmt pointer itself and store the previous value or if you let your detour interface generate a trampoline... ?!

  11. #131
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    Isn't it the best way? Easier, faster, no ASM required etc...
    Depends on what your goals are; Maybe the person I quoted might learn something new by making a dynamic hooking library
    But yes, personally I always use vtable hooking whenever possible.

    Originally Posted by Master674 View Post
    The best way is to create a dummy device, get your pointers and destroy it.
    That way it will work for all games and any os.
    I remember Cypher saying something about it having issues in some specific games. Your creation parameters has to exactly match the game's device or something like that.

  12. #132
    Kristina520's Avatar Private
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Updated Addresses, See First Post!
    Last edited by Kristina520; 11-21-2012 at 10:25 PM.

  13. #133
    siriuz's Avatar Active Member
    Reputation
    78
    Join Date
    Jun 2009
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sample project isn't working for me

    used offsets:
    Code:
            public static uint Direct3D9__Device = 0xB18ADC;
            public static uint Direct3D9__Device__OffsetA = 0x2808;
            public static uint Direct3D9__Device__OffsetB = 0xA8;
            public static uint ClntObjMgrGetActivePlayerObjAddress = 0x33E0;
            public static uint Lua_DoStringAddress = 0x75AC0;
            public static uint Lua_GetLocalizedTextAddress = 0x4AB6A0;
    GetEndscene() returns 0 so it crashes at Hook.Apply()

    Both wow.exe and the example app are running with admin rights

    Any clues?
    Last edited by siriuz; 01-27-2013 at 07:54 AM.

  14. #134
    ccKep's Avatar Member
    Reputation
    11
    Join Date
    Jan 2010
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by siriuz View Post
    Any clues?
    Sure your game isn't running in DX11 mode?

  15. #135
    siriuz's Avatar Active Member
    Reputation
    78
    Join Date
    Jun 2009
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahh damm it doesn't work with DX11? Thats a pity :-/

    But thx 4 letting me know anyway.

Page 9 of 10 FirstFirst ... 5678910 LastLast

Similar Threads

  1. [C# DLL] aHook, use ASM through EndScene hook
    By JuJuBoSc in forum WoW Memory Editing
    Replies: 81
    Last Post: 04-22-2024, 02:55 PM
  2. [C#] ASM Injection (CreateRemoteThread)
    By Xartrick in forum WoW Memory Editing
    Replies: 7
    Last Post: 07-23-2013, 10:57 PM
  3. [C#] ASM Injection (SetThreadContext)
    By Xartrick in forum WoW Memory Editing
    Replies: 3
    Last Post: 07-19-2013, 04:33 PM
  4. [question] basic asm injection
    By abuckau907 in forum WoW Memory Editing
    Replies: 12
    Last Post: 03-07-2012, 05:38 AM
  5. About CTM via asm injection
    By N1ghtmaree in forum WoW Memory Editing
    Replies: 11
    Last Post: 08-08-2010, 10:57 AM
All times are GMT -5. The time now is 12:18 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