-
Corporal
Disable fog + directx stuff
Last edited by ntoskrnl; 11-20-2016 at 02:18 AM.
-
Post Thanks / Like - 12 Thanks
i_Louis,
lifediary,
poetesttt,
toadskin,
kanum060633,
ziggar,
qqzzxxcc,
GameHelper,
MynxOrbbSarge,
TehCheat,
dodger,
armory236 (12 members gave Thanks to ntoskrnl for this useful post)
-
Member
-
Active Member
Hello ntoskrnl,
Thanks for your sharing, it's so cool.
Have a good day!
-
Member
-
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.
-
★ Elder ★
Originally Posted by
ntoskrnl
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.
-
Post Thanks / Like - 3 Thanks
-
Corporal
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);
}
-
Post Thanks / Like - 4 Thanks
-
Member
Originally Posted by
ntoskrnl
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
-
Member
Originally Posted by
Brombärkuchen
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
-
Check the other thread on fullbright for a temporary fix until ntos can release this.
-
Member
how to use the codes?
i am noob here
-
Member
Originally Posted by
nigh02
how to use the codes?
i am noob here
how to use the codes? (2)
any directions?
-
Member
-
Reviving 4 month old threads with a simple "what?what?"
Heh