abdonike (03-16-2011),GrimDesire (03-14-2011),MrJupi (10-06-2011),Turbulence (03-21-2011)
Well hi,
umm i keep geting a error... im pritty new at c++ but im learning fast. Im stuck here and i dont know what to do i have a d3d msnu & i have the dll old dll which worked but gave me a error b4 i entered game so i edited it and added some stuff but it wont work when i debug it :
#include <windows.h>
#include <iostream>
using namespace std;
#define ADR_PLAYERPOINTER 0x00
#define ADR_SERVERPOINTER 0x00
void source_codes(){
DWORD *dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
DWORD *dwServerPtr = *(DWORD*)ADR_SERVERPOINTER;
}
void __cdecl PushToConsole(char* szVal ) {
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( (dwCShell + 0x2AAE80) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}
DWORD WINAPI Main(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL ) {
Sleep(150);
}
bool PlayerGlow = true;
bool FogEnable = false;
bool Nosmoke = true;
bool Whitewalls = false;
for(; {
__asm pushad;
if(GetAsyncKeyState(VK_F2)&1) {
PlayerGlow = !PlayerGlow;
}
if(GetAsyncKeyState(VK_F3)&1) {
FogEnable = !FogEnable;
}
if(GetAsyncKeyState(VK_F4)&1) {
Nosmoke = !Nosmoke;
}
if(GetAsyncKeyState(VK_F9)&1) {
Whitewalls = !Whitewalls;
}
if (Nosmoke) {
PushToConsole("DrawParticles 1");
}
else {
PushToConsole("DrawParticles 0");
}
if (FogEnable) {
PushToConsole("FogEnable 1");
}
else {
PushToConsole("FogEnable 0");
}
if (PlayerGlow) {
PushToConsole("ScreenGlowEnable 1");
}
else {
PushToConsole("ScreenGlowEnable 0");
}
if (Whitewalls) {
PushToConsole("DrawFlat 1");
}
else {
PushToConsole("DrawFlat 0");
}
Sleep(100);
__asm popad;
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "This Hack was Made By GrimDesire ", "Successfully Injected", 0);
system("start https://www.mpgh.net");
CreateThread(NULL, NULL,Main, NULL, NULL, NULL);
}
return TRUE;
}
Last edited by Deadessence1; 03-14-2011 at 05:10 PM.
abdonike (03-16-2011),GrimDesire (03-14-2011),MrJupi (10-06-2011),Turbulence (03-21-2011)
You debug it? Or Inject it?
GrimDesire (03-14-2011)
That function source has been patched for awhile now
GrimDesire (03-14-2011)
when i injected the old 1 it gave me a error saying do i want to send this error to what ever so i edited it and it give s me this;
Screenshot from Lightshot
Screenshot from Lightshot
o-o
lml idk how to make a new 1 ... i need a teacher xD
GrimDesire (03-14-2011)
same thing happend to me o-o
[YOUTUBE]<iframe title="YouTube video player" width="195" height="140" src="https://www.youtube.com/embed/j5-yKhDd64s" frameborder="0" allowfullscreen></iframe>[/YOUTUBE]
It means that during the compiling of your source you had a error in your text go down to the bottom of that and look and it should give you a short description on what your error was.
GrimDesire (03-14-2011)
clean up your code ALOT
this will still not work. missing quiet a bit of coding.Code:#include <windows.h> DWORD WINAPI Hacks(LPVOID) { bool oneshot = false; while(1) { DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll"); if(oneshot) { for(int i=0 ; i<445 ; i++) { *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + UPDATE ))+(4*i))) + 0x7F8) = FLT_MAX ; } } } } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { DisableThreadLibraryCalls(hDll); if ( dwReason == DLL_PROCESS_ATTACH ) { MessageBoxA(0, "This Hack was Made By GrimDesire ", "Successfully Injected", 0); system("start https://www.mpgh.net"); CreateThread(NULL, NULL,Main, NULL, NULL, NULL); } return TRUE; }
Still love you Giggletron
DaRk (03-15-2011),GrimDesire (03-14-2011)
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream
GrimDesire (03-14-2011)
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream
If your using vs c++ express, if memory sevres, if your using more than one line of asm, it's __asm, not _asm (two underscores)
im pretty sure a couple words your using are patched
Dude Even Though This Way Is Patched You Would Need To Update This Bit Of Code :
And Put The New Client Numbers There But You Would Probally Still Get Disconnect When Trying To Join Rooms And Servers !Code:DWORD *LTClient = ( DWORD* )( (dwCShell + 0x2AAE80) );