PTC's require using address's now OR you can hook the function.
LTClientEXE is 0x490230Code:void __cdecl hMenuCore::PushToConsole( const char* szCommand ) { DWORD* addr = ( DWORD* ) LTClientEXE; if(*(BYTE*)ADDR_GAMESTATUS == 1) { __asm { Pushad; Push szCommand call addr add esp, 0x4 Popad; } } }
the commands just dont work in game
i tried PushToConsole("ShowFps 1") ,PushToConsole("FogEnable 1" ) and nothing happens
Thanks
PTC's require using address's now OR you can hook the function.
okay thanks,
i have another problem with DIP i hope someone can help me:
( the hook is undetected and work i tried Present and Reset.Code:typedef HRESULT (WINAPI* tDrawIndexedPrimitive)(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount); tDrawIndexedPrimitive oDrawIndexedPrimitive2 = NULL;
Code:DWORD hDIPtr = hHooker(82); oDrawIndexedPrimitive2 = ( tDrawIndexedPrimitive )hDetour( (PBYTE)hDIPtr,(PBYTE)&tDrawIndexedPrimitive2, 5 );Code:HRESULT WINAPI tDrawIndexedPrimitive2(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount) { LPDIRECT3DVERTEXBUFFER9 Stream_Data; UINT Offset = 0, m_Stride = 0; if(pDevice->GetStreamSource(0, &Stream_Data, &Offset, &m_Stride) == D3D_OK) Stream_Data->Release(); //MessageBox(NULL,"","",NULL); --> game crash after this message return oDrawIndexedPrimitive2(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount); }
Last edited by amitsl; 04-06-2013 at 05:29 AM.
isnt DIP hook patched?
Press Thanks if i helped you / if you liked my signature
Add me on skype: ReFusioNN-
Nah, I use a DIP.
drakest (04-06-2013)
Currently coding applications in Java and C++.
"It is change, continuing change, inevitable change, that is the dominant factor in society today. No sensible decision can be made any longer without taking into account not only the world as it is, but the world as it will be." -Isaac Asimov
Its patched without HS bypass, we need some new ways and Im too lazy <_<
They are scanning:
- Whole DIP (You could hook @ call in DIP)
- Whole Engine DIP
What you can try to do is get a call in CShell to a DIP (Engine or not) and just hook that because HS isnt scanning this module :P
Also as I referred before you can hook SetTexture which works perfect and doesnt crash.
Progress with my game - "Disbanded"
- Fixed FPS lag on spawning entities due to the ent_preload buffer!
- Edit the AI code to get some better pathfinding
- Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
- Added a new silencer for ALL weapons. Also fixed the rotation bugs
- Added a ton of new weapons and the choice to choose a silencer for every weapon
- Created a simple AntiCheat, noobs will cry like hell xD
- The name will be Disbanded, the alpha starts on the 18th august 2014
Some new physics fun (Serversided, works on every client)
My new AI
https://www.youtube.com/watch?v=EMSB1GbBVl8
And for sure my 8 months old gameplay with 2 friends
https://www.youtube.com/watch?v=Na2kUdu4d_k
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
Progress with my game - "Disbanded"
- Fixed FPS lag on spawning entities due to the ent_preload buffer!
- Edit the AI code to get some better pathfinding
- Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
- Added a new silencer for ALL weapons. Also fixed the rotation bugs
- Added a ton of new weapons and the choice to choose a silencer for every weapon
- Created a simple AntiCheat, noobs will cry like hell xD
- The name will be Disbanded, the alpha starts on the 18th august 2014
Some new physics fun (Serversided, works on every client)
My new AI
https://www.youtube.com/watch?v=EMSB1GbBVl8
And for sure my 8 months old gameplay with 2 friends
https://www.youtube.com/watch?v=Na2kUdu4d_k
thanks for your comments guys,
i tried so method to hook DIP but without success ( i have HS bypass)
i tried code cave hook but without success too
can someone please help me with this i need it for my esp