Diablo III Directx 9 ES, DIP, SSS Hook -- By Bit_Hacker menu

Shout-Out

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 31
  1. #16
    BitHacker's Avatar Master Sergeant
    Reputation
    13
    Join Date
    May 2012
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    andy012345,

    Do you have a working example you can show?

    -Bit_Hacker

    Diablo III Directx 9 ES, DIP, SSS Hook -- By Bit_Hacker
  2. #17
    andy012345's Avatar Active Member
    Reputation
    59
    Join Date
    Oct 2007
    Posts
    124
    Thanks G/R
    0/7
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's the current version of what not to do.

    You should never perform the followingtasks from within DllMain:
    • Call LoadLibrary or LoadLibraryEx (either directly or indirectly). This can cause a deadlock or a crash.
    • Synchronize with other threads. This can cause a deadlock.
    • Acquire a synchronization object that is owned by code that is waiting to acquire the loader lock. This can cause a deadlock.
    • Initialize COM threads by using CoInitializeEx. Under certain conditions, this function can call LoadLibraryEx.
    • Call the registry functions. These functions are implemented in Advapi32.dll. If Advapi32.dll is not initialized before your DLL, the DLL can access uninitialized memory and cause the process to crash.
    • Call CreateProcess. Creating a process can load another DLL.
    • Call ExitThread.Exiting a thread during DLL detach can cause the loader lock to be acquired again, causing a deadlock or a crash.
    • Call CreateThread. Creating a thread can work if you do not synchronize with other threads, but it is risky.
    • Create a named pipe or other named object (Windows 2000 only). In Windows 2000, named objects are provided by the Terminal Services DLL. If this DLL is not initialized, calls to the DLL can cause the process to crash.
    • Use the memory management function from the dynamic C Run-Time (CRT). If the CRT DLL is not initialized, calls to these functions can cause the process to crash.
    • Call functions in User32.dll or Gdi32.dll. Some functions load another DLL, which may not be initialized.
    • Use managed code.

  3. #18
    BitHacker's Avatar Master Sergeant
    Reputation
    13
    Join Date
    May 2012
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    andy012345,

    That's interesting, I've never read that before. So, how are you suppose to call CreateThread inside a dll?

    Do you have a reference link to where you got that at?

    -Bit_Hacker

  4. #19
    Sychotix's Avatar Moderator Authenticator enabled
    Reputation
    1441
    Join Date
    Apr 2006
    Posts
    3,999
    Thanks G/R
    295/585
    Trade Feedback
    1 (100%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by BitHacker View Post
    EXAMPLE of my code,

    Attachment 7712



    I just played with my code for an hour... I WASN'T BANNED... UNDETECTABLE...


    Damn, WTF do people have to post to get plus REP around here... Jesus... I just hand feed all you guys...

    -Bit_Hacker
    You are misunderstanding many things. 1) Blizzard likes to do delayed bans. You will not know if your program is detectable until it is too late (or you notice warden scanning offsets that you have modified). 2) Nothing is undetectable. You are looking for the word undetected, which you have no proof of this as you seem to know little about warden. 3) Simply asking for +Rep discourages people from repping you, and may even lead to getting -Rep if the wrong people see it.

    You contributed to the site, which is good. Its more the fact that you made some statements that were incorrect, which is what people were commenting on.

  5. #20
    BitHacker's Avatar Master Sergeant
    Reputation
    13
    Join Date
    May 2012
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sychotix,

    I understand what your saying. Thank you.

    -Bit_Hacker

  6. #21
    starfish99's Avatar Corporal
    Reputation
    31
    Join Date
    May 2008
    Posts
    24
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In Wow, hooking endscene will never get banned (confirmed). But I know few about warden for diablo3.

  7. #22
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can hook EndScene all you want (currently). Blizzard is very lax about rendering programs (such as Fraps, xsplit, etc) which also hook EndScene.

    However, if Blizzard decides, they can easily ban you for hooking it. Its not likely, but its possible. Also, a dependency on Detours is meh. You can easily write your own hook in < 10-20 lines and drop the dependency all together. (I do so in my bootstrapper for .NET)

    Also, read the forum rules. Asking for rep is against the rules. Be happy Kur hasn't seen your post yet, or it will get you into the negatives for rep.
    Originally Posted by BitHacker View Post
    Damn, WTF do people have to post to get plus REP around here... Jesus... I just hand feed all you guys...
    Last edited by Apoc; 06-02-2012 at 08:09 PM.

  8. #23
    BitHacker's Avatar Master Sergeant
    Reputation
    13
    Join Date
    May 2012
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Update: :P Making a menu is time consuming... The red buttons turn green. Then the white border follows the buttons and Insert turns it off.

    Diablo III Directx 9 ES, DIP, SSS Hook -- By Bit_Hacker-menucapture2-jpg



  9. #24
    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 BitHacker View Post
    Update: :P Making a menu is time consuming... The red buttons turn green. Then the white border follows the buttons and Insert turns it off.

    Diablo III Directx 9 ES, DIP, SSS Hook -- By Bit_Hacker-menucapture2-jpg


    I'm not sure if there are newer/better alternatives that have been developed since I stopped doing WoW hacking, but I used to find CEGUI quite useful for in-game GUI development (unless you're trying to learn D3D programming, in which case rolling your own is better).

    Main Page - CEGUI Wiki - Crazy Eddie's Gui System for Games (Open Source)

  10. #25
    BitHacker's Avatar Master Sergeant
    Reputation
    13
    Join Date
    May 2012
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cypher,

    For some reason every time I try and draw text to the screen the game crashes. I'm not sure whats wrong. I've looked at the variables they all seem valid.
    my ( ID3DXFONT m_font ) structure is being created fine. I'm confused as it doesn't work...


    Code:
    // --- Draw Text ---
    void Menu::Draw_Text( LPCSTR textToDraw, int x, int y, D3DCOLOR color )
    {
    	//Rectangle
    	RECT rct = {x - 120, y, x + 120, y + 15};
    
    	// Draw	
           m_font->DrawTextA(NULL, textToDraw, -1, &rct, DT_NOCLIP, color );
    }// --- End of Draw Text ---
    Variables checked:
    Code:
    textToDraw:  Diablo III
    x value: 190
    y value: 30
    -Bit_Hacker

  11. #26
    _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)
    If it crashes you look at the exception which is telling you where and why it crashed. The info you've posted doesn't give much details.

    Edit:
    I noticed from the code you've posted earlier that you aren't hooking IDirect3DDevice9::Reset. I don't know how ID3DXFont will behave when trying to render to a lost device, but that might be it.
    Last edited by _Mike; 06-04-2012 at 08:17 AM.

  12. #27
    BitHacker's Avatar Master Sergeant
    Reputation
    13
    Join Date
    May 2012
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    _Mike,

    Thanks for everything

    Ended up that it wasn't calling my createfont function properly...
    void Menu::CreateFont(LPDIRECT3DDEVICE9 pDevice, std::string choiceFont)


    Diablo III Directx 9 ES, DIP, SSS Hook -- By Bit_Hacker-menucapture3-jpg




    -Bit_Hacker
    Last edited by BitHacker; 06-04-2012 at 10:49 AM.

  13. #28
    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 BitHacker View Post
    _Mike,

    Thanks for everything

    Ended up that it wasn't calling my createfont function properly...
    void Menu::CreateFont(LPDIRECT3DDEVICE9 pDevice, std::string choiceFont)


    Diablo III Directx 9 ES, DIP, SSS Hook -- By Bit_Hacker-menucapture3-jpg




    -Bit_Hacker
    Even if you have it working, I would still recommend hooking Reset as Mike suggested.

  14. #29
    UserNamex32's Avatar Member
    Reputation
    3
    Join Date
    Nov 2010
    Posts
    16
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If they were going to ban you anyways banning does not occur instantly, but they ban in waves, so they collect and flag people's accounts giving them false security and then they'll take them all out with a massive blow.
    Hooking endscene is legit, but the only thing you have to worry about would be warden's signature scan, but the only way that will happen is if you're using public code (that is used in a popular project), or release your code public and it becomes popular enough for blizzard to go after ; )
    And releasing code is okay because a large majority of people will not know how to compile , but someone could release a compilation of your code xP
    overall something like this is pretty low risk

    Awesome Post Btw : )
    Last edited by UserNamex32; 06-11-2012 at 09:13 PM.

  15. #30
    CreativeXtent's Avatar Moderator Authenticator enabled
    Reputation
    581
    Join Date
    Jun 2011
    Posts
    1,601
    Thanks G/R
    246/149
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    would love it if you rar'ed your project files and uploaded them lol

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. New Diablo III Class: Monk!
    By majinbuu1023 in forum Diablo 3 General
    Replies: 9
    Last Post: 01-07-2011, 07:35 AM
  2. Diablo III Screenshots Slideshow
    By Toxik the Spammer in forum Community Chat
    Replies: 0
    Last Post: 06-28-2008, 05:40 PM
All times are GMT -5. The time now is 06:09 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