[C# DLL] aHook, use ASM through EndScene hook menu

User Tag List

Page 4 of 6 FirstFirst 123456 LastLast
Results 46 to 60 of 82
  1. #46
    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 Chinchy View Post
    Make ObjectManager.Memory a wrapper for aHook's memory functions. If you can't figure that out you should go hit the books instead of asking to be spoonfed ridiculously simple code.

    Edit:
    This is assuming you're using the BlackRain source in your project rather than the compiled DLL.

    You should have no problems at all when using the compiled DLL, either.


    Originally Posted by DarkLinux View Post
    So how does it know what wow I am using? If I am running 4 I will have 4 pids. I have already selected the pid and I use ObjectManager.Memory to call on it. So how would I use ObjectManager.Memory to create a new hook? Thanks!
    ObjectManager.Memory is an instance of BlackMagic, and will therefore have an ID property.
    The whole point of having that very instance in the ObjectManager is to keep things centralized, for clarity's sake. So if you would have four instances of WoW running, you tell BlackRain which one you want to use, then BlackRain creates an instance of BlackMagic at ObjectManager.Memory, and you only use the Memory member inside any projects after that.

    [C# DLL] aHook, use ASM through EndScene hook
  2. #47
    GameAssist's Avatar Banned CoreCoins Purchaser Authenticator enabled
    Reputation
    98
    Join Date
    Apr 2010
    Posts
    349
    Thanks G/R
    55/83
    Trade Feedback
    0 (0%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    hi all
    I try to run the code from post # 1 on my WOW 3.3.5 (12340)

    I found the actual offsets here http://www.mmowned.com/forums/world-...5-offsets.html
    Code:
    uint Lua_DoString = 0x008193B0;                  // 3.3.5
    uint Lua_GetLocalizedText = 0x007229C0;          // 3.3.5
    uint pDevicePtr_1 = 0x00C5DF80;                  // 3.3.5
    uint pDevicePtr_2 = 0x397C;                      // 3.3.5
    uint oEndScene = 0xA8;
    The code does not work :-(
    error reading address pDevicePtr_1
    Obviously, because of invalid offsets

    Anybody can share working version for 3.3.5 [12340]???
    Last edited by GameAssist; 07-12-2010 at 06:24 AM.

  3. #48
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    public enum Direct3D9
    {

    pDevicePtr_1 = 0x00C5DF88, // 3.3.5a 12340
    pDevicePtr_2 = 0x397C, // 3.3.5a 12340
    oEndScene = 0xA8, // 3.3.5a 12340

    }

    public enum Lua
    {

    Lua_DoString = 0x00819210, // 3.3.5a 12340
    Lua_GetLocalizedText = 0x007225E0, // 3.3.5a 12340

    }

  4. #49
    GameAssist's Avatar Banned CoreCoins Purchaser Authenticator enabled
    Reputation
    98
    Join Date
    Apr 2010
    Posts
    349
    Thanks G/R
    55/83
    Trade Feedback
    0 (0%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JuJuBoSc View Post
    public enum Direct3D9
    {

    pDevicePtr_1 = 0x00C5DF88, // 3.3.5a 12340
    pDevicePtr_2 = 0x397C, // 3.3.5a 12340
    oEndScene = 0xA8, // 3.3.5a 12340

    }

    public enum Lua
    {

    Lua_DoString = 0x00819210, // 3.3.5a 12340
    Lua_GetLocalizedText = 0x007225E0, // 3.3.5a 12340

    }
    Oh my god
    IT WORKS !!!!!
    Thank you very much))

  5. #50
    Mc-fly's Avatar Sergeant
    Reputation
    14
    Join Date
    Dec 2009
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    JuJu can you please upload your attached file again? it dont work anymore

    EDIT: I got it from seifer
    Last edited by Mc-fly; 07-18-2010 at 03:22 AM.

  6. #51
    rafaelcn's Avatar Private
    Reputation
    -6
    Join Date
    Jul 2010
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JuJuBoSc View Post
    public enum Direct3D9
    {

    pDevicePtr_1 = 0x00C5DF88, // 3.3.5a 12340
    pDevicePtr_2 = 0x397C, // 3.3.5a 12340
    oEndScene = 0xA8, // 3.3.5a 12340

    }

    public enum Lua
    {

    Lua_DoString = 0x00819210, // 3.3.5a 12340
    Lua_GetLocalizedText = 0x007225E0, // 3.3.5a 12340

    }
    how can i find the adress in wow ver3.1.3 ? I want to know the way to find out the adress , plz ~
    I already have wow ver3.1.3 and ver3.3.5a 12340 client.

  7. #52
    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 rafaelcn View Post
    how can i find the adress in wow ver3.1.3 ? I want to know the way to find out the adress , plz ~
    I already have wow ver3.1.3 and ver3.3.5a 12340 client.
    It's simple; reverse it.

  8. #53
    -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 rafaelcn View Post
    how can i find the adress in wow ver3.1.3 ? I want to know the way to find out the adress , plz ~
    I already have wow ver3.1.3 and ver3.3.5a 12340 client.
    Inb4Ban.

    Go read the rules, then get reversing.
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  9. #54
    rafaelcn's Avatar Private
    Reputation
    -6
    Join Date
    Jul 2010
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LUA_DoString = 0x0049B050 wow 3.1.3
    I found it

  10. #55
    FenixTX2's Avatar Active Member
    Reputation
    23
    Join Date
    Mar 2009
    Posts
    125
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any chance we can get the source for this? It's a nice library but i'd like to see what's going on inside ... I've a few features i'd like to implement within the library myself and so this issude of having to start WoW as admin is a bit of a pain.

  11. #56
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by FenixTX2 View Post
    Any chance we can get the source for this? It's a nice library but i'd like to see what's going on inside ... I've a few features i'd like to implement within the library myself and so this issude of having to start WoW as admin is a bit of a pain.
    You won't be able to get around UAC without quite a bit of very low level hacking. It's an OS protection.

  12. #57
    caytchen's Avatar Contributor
    Reputation
    138
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Apoc View Post


    You won't be able to get around UAC without quite a bit of very low level hacking. It's an OS protection.
    Theres always Step 6: Create and Embed an Application Manifest (UAC)
    Though that doesn't require you to change the aHook library itself. If you're still interested in what it does, .NET Reflector will probably help you out.

  13. #58
    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)
    Originally Posted by caytchen View Post
    Theres always Step 6: Create and Embed an Application Manifest (UAC)
    Though that doesn't require you to change the aHook library itself. If you're still interested in what it does, .NET Reflector will probably help you out.
    Lol, save your energy. I've been telling people to embed manifests for quite some time now (in response to all the stupid "you must right-click and run this as admin for it to work" instrutions), but nobody seems to care enough to actually do it.

  14. #59
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1608
    Join Date
    May 2010
    Posts
    1,837
    Thanks G/R
    193/535
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Or add this into your code,

    Code:
            <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
    This is the same as caytchen but a little different, but it is a Manifest again.

    <--Edit-->
    NVM its the same, ops

  15. #60
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by caytchen View Post
    Theres always Step 6: Create and Embed an Application Manifest (UAC)
    Though that doesn't require you to change the aHook library itself. If you're still interested in what it does, .NET Reflector will probably help you out.
    What is this?!?!?! Application manifests?!?!?! IMPOSSIBLE!

    Anyhow; this isn't getting around UAC. This is just making UAC go "oh, this one needs admin privs!". "Getting around" UAC implies that you can run applications as an Admin... without being an Admin. (Or going through Windows UAC system)

    Meh, you ****ers know what I mean.

Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. [Sample Code] EndScene Hook with ASM and blackmagic
    By RivaLfr in forum WoW Memory Editing
    Replies: 89
    Last Post: 05-13-2021, 03:26 PM
  2. CEGUI - EndScene Hook - DLL Function Call
    By Orix in forum WoW Memory Editing
    Replies: 5
    Last Post: 02-12-2011, 03:51 PM
  3. [Test Theory] EndScene hook without Native Code (Kinda)
    By Apoc in forum WoW Memory Editing
    Replies: 7
    Last Post: 09-04-2009, 12:46 PM
  4. EndScene Hook not changing anything
    By lanman92 in forum WoW Memory Editing
    Replies: 32
    Last Post: 06-01-2009, 11:46 PM
  5. Some Useful ASM info
    By Hausmaster in forum WoW Memory Editing
    Replies: 1
    Last Post: 03-23-2008, 06:32 PM
All times are GMT -5. The time now is 09:53 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