MESSAGE ,,,,

Posts 1–8 of 8 · Page 1 of 1
MESSAGE ,,,,
HOW CAN I DO A MSSG WHEN I INJECT.?
in your dllmain put

Code:
MessageBoxA(0,"Name","Title",0);
Quote Originally Posted by sh_z_sektor View Post
in your dllmain put

Code:
MessageBoxA(0,"Name","Title",0);
after this .??
return TRUE;
Yes you should return true;
Quote Originally Posted by sh_z_sektor View Post
Yes you should return true;
I THNIK YOU PRO IN CODES ...CAN U FIX THIS CODE.????
I HAVE ERROR

Code:
#include <Windows.h>
#include <fstream>

using namespace std;

#define HookShell (DWORD)GetModuleHandleA("CShell.dll");

void IfLuX ( void )
{
	bool wallhack = 1;

	while(1)
	{
		DWORD CShell = HookShell;

	        if (wallhack==1)
		{
		   memcpy((VOID*)0x6D29F4, "\x00\x00\x00\x00\x00\x00", 6);
		}
	}
}
void Hook ( HINSTANCE hDLL )
{
	DWORD CShell = HookShell;
	if (CShell==0)
	{
		IfLuX();
	}
}
BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
{
	if (dwReason == DLL_PROCESS_ATTACH)
	{
		DisableThreadLibraryCalls(hDll);
		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hook, hDll, NULL, NULL);
	}
	#define FastKnife1 0xA60
#define FastKnife2 0xAA8
#define KnifeOHK1  0xBF8
#define KnifeOHK2  0xC04
#define IsKnife ((i==5)||(i==35)||(i==74)||(i==120)||(i==132)||(i==176)||(i==177)||(i==178)||(i==182)||(i==189)||(i==195)||(i==196)||(i==197)||(i==198)||(i==199)||(i==223)||(i==224)||(i==225)||(i==226)||(i==227)||(i==228)||(i==239)||(i==244)||(i==261)||(i==269)||(i==270)||(i==271)||(i==302)||(i==303)||(i==304)||(i==305)||(i==306)||(i==307)||(i==345)||(i==346)||(i==372)||(i==376)||(i==381)||(i==404)||(i==405)||(i==406)||(i==407)||(i==408)||(i==409)||(i==437)||(i==455)||(i==456)||(i==457)||(i==488)||(i==517)||(i==518)||(i==540)||(i==541)||(i==548)||(i==561)||(i==576)||(i==587)||(i==620)))
#define IsKnife (i == 5 || i == 35 || i == 74 || i == 120 || i == 132 || i == 176 || i == 177 || i == 178 || i == 182 || i == 195 || i == 196 || i == 197 || i == 198 || i == 199 || i == 223 || i == 224 || i == 225 || i == 226 || i == 227 || i == 228 || i == 244 || i == 302 || i == 303 || i == 304 || i == 305 || i == 306 || i == 307 || i == 318 || i == 345 || i == 346 || i == 376 || i == 404 || i == 405 || i == 406 || i == 407 || i == 408 || i == 409 || i == 437 || i == 455 || i == 456 || i == 457 || i == 517 || i == 518 || i == 548 || i == 576) 
//Credit to derh.acker  for knife define :)
DWORD WINAPI Base(void)
{
while(1)
{
if(GetModuleHandleA("CShell.dll") && GetModuleHandleA("ClientFx.fxd"))
{
Sleep(100);
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD Weapon = *(DWORD*) (CShell + 0xB7411C);
int KnifesHack = true;


if (Weapon!=NULL)
		 {
			 if(KnifesHack){
         if(Weapon) {
                 for(int i=0; i<700; i++)  {
                          DWORD wep = *(DWORD*)(Weapon +(4*i));
                          if(wep) {
                                   for(int y=0; y<10; y++) {
									   if(IsKnife){
                                            *(float*)(wep + FastKnife1+y*4) =2.8;
                                            *(float*)(wep + FastKnife2+y*4) =2.8;
                                            *(float*)(wep + KnifeOHK1+y*4) = 999.9;
                                            *(float*)(wep + KnifeOHK2+y*4) = 999.9;
									   }
											} 
								
                 }
         }
}
	 }
	return TRUE;
}
you must close your base first because there will be an error message telling intellisense ";" Expected a Declaration
Quote Originally Posted by 3D View Post
I THNIK YOU PRO IN CODES ...CAN U FIX THIS CODE.????
I HAVE ERROR

Code:
#include <Windows.h>
#include <fstream>

using namespace std;

#define HookShell (DWORD)GetModuleHandleA("CShell.dll");

void IfLuX ( void )
{
	bool wallhack = 1;

	while(1)
	{
		DWORD CShell = HookShell;

	        if (wallhack==1)
		{
		   memcpy((VOID*)0x6D29F4, "\x00\x00\x00\x00\x00\x00", 6);
		}
	}
}
void Hook ( HINSTANCE hDLL )
{
	DWORD CShell = HookShell;
	if (CShell==0)
	{
		IfLuX();
	}
}
BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
{
	if (dwReason == DLL_PROCESS_ATTACH)
	{
		DisableThreadLibraryCalls(hDll);
		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hook, hDll, NULL, NULL);
	}
	#define FastKnife1 0xA60
#define FastKnife2 0xAA8
#define KnifeOHK1  0xBF8
#define KnifeOHK2  0xC04
#define IsKnife ((i==5)||(i==35)||(i==74)||(i==120)||(i==132)||(i==176)||(i==177)||(i==178)||(i==182)||(i==189)||(i==195)||(i==196)||(i==197)||(i==198)||(i==199)||(i==223)||(i==224)||(i==225)||(i==226)||(i==227)||(i==228)||(i==239)||(i==244)||(i==261)||(i==269)||(i==270)||(i==271)||(i==302)||(i==303)||(i==304)||(i==305)||(i==306)||(i==307)||(i==345)||(i==346)||(i==372)||(i==376)||(i==381)||(i==404)||(i==405)||(i==406)||(i==407)||(i==408)||(i==409)||(i==437)||(i==455)||(i==456)||(i==457)||(i==488)||(i==517)||(i==518)||(i==540)||(i==541)||(i==548)||(i==561)||(i==576)||(i==587)||(i==620)))
#define IsKnife (i == 5 || i == 35 || i == 74 || i == 120 || i == 132 || i == 176 || i == 177 || i == 178 || i == 182 || i == 195 || i == 196 || i == 197 || i == 198 || i == 199 || i == 223 || i == 224 || i == 225 || i == 226 || i == 227 || i == 228 || i == 244 || i == 302 || i == 303 || i == 304 || i == 305 || i == 306 || i == 307 || i == 318 || i == 345 || i == 346 || i == 376 || i == 404 || i == 405 || i == 406 || i == 407 || i == 408 || i == 409 || i == 437 || i == 455 || i == 456 || i == 457 || i == 517 || i == 518 || i == 548 || i == 576) 
//Credit to derh.acker  for knife define :)
DWORD WINAPI Base(void)
{
while(1)
{
if(GetModuleHandleA("CShell.dll") && GetModuleHandleA("ClientFx.fxd"))
{
Sleep(100);
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD Weapon = *(DWORD*) (CShell + 0xB7411C);
int KnifesHack = true;


if (Weapon!=NULL)
		 {
			 if(KnifesHack){
         if(Weapon) {
                 for(int i=0; i<700; i++)  {
                          DWORD wep = *(DWORD*)(Weapon +(4*i));
                          if(wep) {
                                   for(int y=0; y<10; y++) {
									   if(IsKnife){
                                            *(float*)(wep + FastKnife1+y*4) =2.8;
                                            *(float*)(wep + FastKnife2+y*4) =2.8;
                                            *(float*)(wep + KnifeOHK1+y*4) = 999.9;
                                            *(float*)(wep + KnifeOHK2+y*4) = 999.9;
									   }
											} 
								
                 }
         }
}
	 }
	return TRUE;
}
Search for a Hello World Tutorial
wtf you copy and paste 2 bases without fix anything ...
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us