Disable fog + directx stuff menu

User Tag List

Results 1 to 14 of 14
  1. #1
    ntoskrnl's Avatar Corporal
    Reputation
    74
    Join Date
    Oct 2016
    Posts
    24
    Thanks G/R
    5/66
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Disable fog + directx stuff

    Took me a while but I've found it. cheers

    Code:
    bool* pbEnableFogExp = (bool*)(hBase + 0xBABC90 + 0x270);
    
    //the game resets this value every time you enter a map so you need to run this in a thread
    if (*pbEnableFogExp == true)
    	*pbEnableFogExp = false;
    before

    after


    It seems this structure at hBase + 0xBABC90 stores values of enabling/disabling things in the game so i'd play around with it to see if theres anything else you can do like disabling particles/rain.

    Originally I tried hooking d3d9 to disable directx fog which proved useless but here is the code for the vTable ptr if anyone wants to do their own drawing in the game.

    Code:
    DWORD dwDevicePtr = hBase + 0xBABC60;
    dwDevicePtr = *(DWORD*)(dwDevicePtr + 0x690);
    dwDevicePtr = *(DWORD*)(dwDevicePtr + 0x30);
    dwDevicePtr = *(DWORD*)(dwDevicePtr + 0x1C);
    dwDevicePtr = *(DWORD*)dwDevicePtr;
    
    pDrawIndexedPrimitive = (DrawIndexedPrimitivet)*(DWORD*)(dwDevicePtr + 0x148);
    *(DWORD*)(dwDevicePtr + 0x148) = (DWORD)DrawIndexedPrimitiveHook;
    
    pEndScene = (EndScenet)*(DWORD*)(dwDevicePtr + 0xA8);
    *(DWORD*)(dwDevicePtr + 0xA8) = (DWORD)EndSceneHook;
    character chams


    I plan to start messing with the 64 bit client soon and I'll release a maphack/zoom/fullbrightness with the source.
    Last edited by ntoskrnl; 11-20-2016 at 02:18 AM.

    Disable fog + directx stuff
  2. Thanks i_Louis, lifediary, poetesttt, toadskin, kanum060633, ziggar, qqzzxxcc, GameHelper, MynxOrbbSarge, TehCheat, dodger, armory236 (12 members gave Thanks to ntoskrnl for this useful post)
  3. #2
    hebe7751's Avatar Member
    Reputation
    2
    Join Date
    Apr 2015
    Posts
    34
    Thanks G/R
    70/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cheers

    Cheers ~~~~~~~~~~~~~~

  4. #3
    toadskin's Avatar Active Member
    Reputation
    23
    Join Date
    Mar 2015
    Posts
    62
    Thanks G/R
    1390/15
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello ntoskrnl,

    Thanks for your sharing, it's so cool.

    Have a good day!

  5. #4
    kanum060633's Avatar Member
    Reputation
    3
    Join Date
    Sep 2015
    Posts
    17
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheer~~~~ !!

  6. #5
    ziggar's Avatar Active Member CoreCoins Purchaser
    Reputation
    67
    Join Date
    Jul 2008
    Posts
    324
    Thanks G/R
    51/43
    Trade Feedback
    5 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So is there anything important missing here? I tried to hack this together in your maphack source (with the new mh offset) but neither maphack or this is having any effect after injecting.

    Thanks

    Hope you won't mind sharing an easier way to get it working, playing with fog sucks.
    Last edited by ziggar; 11-20-2016 at 09:27 AM.

  7. #6
    TehCheat's Avatar ★ Elder ★
    Reputation
    2560
    Join Date
    Oct 2013
    Posts
    1,898
    Thanks G/R
    347/2262
    Trade Feedback
    5 (100%)
    Mentioned
    32 Post(s)
    Tagged
    1 Thread(s)
    Originally Posted by ntoskrnl View Post
    Took me a while but I've found it. cheers

    Code:
    bool* pbEnableFogExp = (bool*)(hBase + 0xBABC90 + 0x270);
    
    //the game resets this value every time you enter a map so you need to run this in a thread
    if (*pbEnableFogExp == true)
    *pbEnableFogExp = false;
    before

    after


    It seems this structure at hBase + 0xBABC90 stores values of enabling/disabling things in the game so i'd play around with it to see if theres anything else you can do like disabling particles/rain.

    Originally I tried hooking d3d9 to disable directx fog which proved useless but here is the code for the vTable ptr if anyone wants to do their own drawing in the game.

    Code:
    DWORD dwDevicePtr = hBase + 0xBABC60;
    dwDevicePtr = *(DWORD*)(dwDevicePtr + 0x690);
    dwDevicePtr = *(DWORD*)(dwDevicePtr + 0x30);
    dwDevicePtr = *(DWORD*)(dwDevicePtr + 0x1C);
    dwDevicePtr = *(DWORD*)dwDevicePtr;
    
    pDrawIndexedPrimitive = (DrawIndexedPrimitivet)*(DWORD*)(dwDevicePtr + 0x148);
    *(DWORD*)(dwDevicePtr + 0x148) = (DWORD)DrawIndexedPrimitiveHook;
    
    pEndScene = (EndScenet)*(DWORD*)(dwDevicePtr + 0xA8);
    *(DWORD*)(dwDevicePtr + 0xA8) = (DWORD)EndSceneHook;
    character chams [emoji14]


    I plan to start messing with the 64 bit client soon and I'll release a maphack/zoom/fullbrightness with the source.
    I thought about chams for dangerous mobs like bearers.

  8. Thanks toadskin, ntoskrnl, armory236 (3 members gave Thanks to TehCheat for this useful post)
  9. #7
    ntoskrnl's Avatar Corporal
    Reputation
    74
    Join Date
    Oct 2016
    Posts
    24
    Thanks G/R
    5/66
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heres zoom without having to do any hooks.

    Code:
    float* GetZoomValuePtr(DWORD hBase)
    {
    	DWORD dwZoomValue = *(DWORD*)(hBase + 0xBABC40);
    	if (dwZoomValue == NULL) return NULL;
    	dwZoomValue = *(DWORD*)(dwZoomValue + 0x4);  
    	if (dwZoomValue == NULL) return NULL;
    	dwZoomValue = *(DWORD*)(dwZoomValue + 0x14);  
    	if (dwZoomValue == NULL) return NULL;
    	dwZoomValue = *(DWORD*)(dwZoomValue - 0x8);
    	if (dwZoomValue == NULL) return NULL;
    	return (float*)(dwZoomValue + 0x1890);
    }

  10. Thanks ziggar, GameHelper, toadskin, armory236 (4 members gave Thanks to ntoskrnl for this useful post)
  11. #8
    Brombärkuchen's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    85
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ntoskrnl View Post
    Heres zoom without having to do any hooks.

    Code:
    float* GetZoomValuePtr(DWORD hBase)
    {
    	DWORD dwZoomValue = *(DWORD*)(hBase + 0xBABC40);
    	if (dwZoomValue == NULL) return NULL;
    	dwZoomValue = *(DWORD*)(dwZoomValue + 0x4);  
    	if (dwZoomValue == NULL) return NULL;
    	dwZoomValue = *(DWORD*)(dwZoomValue + 0x14);  
    	if (dwZoomValue == NULL) return NULL;
    	dwZoomValue = *(DWORD*)(dwZoomValue - 0x8);
    	if (dwZoomValue == NULL) return NULL;
    	return (float*)(dwZoomValue + 0x1890);
    }
    great work!
    hope u find the time for making an exe or ct

    for the tard guys, like me

  12. #9
    rowxs's Avatar Member
    Reputation
    7
    Join Date
    Jul 2016
    Posts
    160
    Thanks G/R
    35/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Brombärkuchen View Post
    great work!
    hope u find the time for making an exe or ct

    for the tard guys, like me
    ANy guide on how to use this ? please

  13. #10
    ziggar's Avatar Active Member CoreCoins Purchaser
    Reputation
    67
    Join Date
    Jul 2008
    Posts
    324
    Thanks G/R
    51/43
    Trade Feedback
    5 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check the other thread on fullbright for a temporary fix until ntos can release this.

  14. #11
    nigh02's Avatar Member
    Reputation
    1
    Join Date
    Nov 2016
    Posts
    3
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how to use the codes?
    i am noob here

  15. #12
    Bombtrap's Avatar Member
    Reputation
    1
    Join Date
    Sep 2012
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by nigh02 View Post
    how to use the codes?
    i am noob here


    how to use the codes? (2)
    any directions?

  16. #13
    hebe7751's Avatar Member
    Reputation
    2
    Join Date
    Apr 2015
    Posts
    34
    Thanks G/R
    70/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what? what?

  17. #14
    Sharps's Avatar Contributor CoreCoins Purchaser
    Reputation
    117
    Join Date
    Apr 2012
    Posts
    138
    Thanks G/R
    31/70
    Trade Feedback
    8 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Reviving 4 month old threads with a simple "what?what?"
    Heh

Similar Threads

  1. Disabling DirectX rendering on D3D11 game.
    By larcerkev in forum Programming
    Replies: 1
    Last Post: 11-16-2014, 10:52 PM
  2. Disabling the scenario fog
    By kaldonir in forum World of Warcraft Exploration
    Replies: 12
    Last Post: 09-30-2013, 08:08 PM
  3. Need some stuff for private server
    By xredzx01 in forum World of Warcraft General
    Replies: 2
    Last Post: 08-11-2006, 06:31 PM
  4. [NEW fishbot stuff] Winterspring splash colors
    By darknavi in forum World of Warcraft Bots and Programs
    Replies: 5
    Last Post: 07-06-2006, 06:46 PM
  5. Free Stuff here
    By karokekid in forum Community Chat
    Replies: 6
    Last Post: 06-15-2006, 11:20 AM
All times are GMT -5. The time now is 04:03 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