Noreload?

Posts 16–28 of 28 · Page 2 of 2
Quote Originally Posted by giniyat202 View Post
why every one leeches swiftdude's base??

any way here is the code:
Code:
for(int i=0; i<445; i++)
				{
					if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i)) ) != NULL)
						*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8)) +(4*i))) + 0x2424) = 100.0f;
				}
and learn posting codes in boxes like this
type your code between [code] and this [/code]
Because it works and everyone is too lazy to code it themselves...
Quote Originally Posted by Solo View Post


Because it works and everyone is too lazy to code it themselves...
Im still 11 years old and can't read english so good -_-
Quote Originally Posted by Xblaster12 View Post
Thanks but i still have 1 failure again?
Do u know it? @giniyat202
put a MessageBox in DllMain to make sure it is injected successfully


Giving him the offset doesn't help. Give him the string to search also.

Albeit giniyat helped alot tho

Code:
String:ReloadAnimRatio,0x2424
Quote Originally Posted by NoJustice View Post


Giving him the offset doesn't help. Give him the string to search also.

Albeit giniyat helped alot tho

Code:
String:ReloadAnimRatio,0x2424
oh help i dont knowed it was reloadanimratio
@Xblaster12
lol Xblaster, it doesnt work cuz you need to define LTclient --'
& dont make ur bool same as ur name of defined addie(norload)
make ur bool noreload1 or sht like that
Code:
bool reload = false, ;
totally wrong my bro, first you have also one feature noreload make it then ; not , --'
and not the same

make sure you made this:
Code:
DWORD pLtClient = *(DWORD*)(CShell+0xA2A7E8);
LtClient define it --'
Code:
#define LtClient       0xA2A7E8
lol you doesnt know what you are writing in ur base dude.

full code Fixed
Code:
#include<windows.h>

#define reload 0x2424
#define LtClient       0xA2A7E8

DWORD WINAPI Hacks(LPVOID)
{

bool reload1 = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell+0xA2A7E8);


if(GetAsyncKeyState(VK_F3) || GetAsyncKeyState(VK_F3) &1) { reload1 = true; Beep(512, 100); }

if(reload1)
{
if (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+ (4*i))) + reload) = 100;
}
}
}

Sleep(80);
}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{

MessageBoxA(0, "Xblaster12 Fix by Nolife","Credits: No-Life ;)", 0);


CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
hmmm thanks for the addys..
Quote Originally Posted by No-Life View Post
@Xblaster12
lol Xblaster, it doesnt work cuz you need to define LTclient --'
& dont make ur bool same as ur name of defined addie(norload)
make ur bool noreload1 or sht like that
Code:
bool reload = false, ;
totally wrong my bro, first you have also one feature noreload make it then ; not , --'
and not the same

make sure you made this:
Code:
DWORD pLtClient = *(DWORD*)(CShell+0xA2A7E8);
LtClient define it --'
Code:
#define LtClient       0xA2A7E8
lol you doesnt know what you are writing in ur base dude.

full code Fixed
Code:
#include<windows.h>

#define reload 0x2424
#define LtClient       0xA2A7E8

DWORD WINAPI Hacks(LPVOID)
{

bool reload1 = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell+0xA2A7E8);


if(GetAsyncKeyState(VK_F3) || GetAsyncKeyState(VK_F3) &1) { reload1 = true; Beep(512, 100); }

if(reload1)
{
if (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+ (4*i))) + reload) = 100;
}
}
}

Sleep(80);
}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{

MessageBoxA(0, "Xblaster12 Fix by Nolife","Credits: No-Life ;)", 0);


CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
1>LINK : fatal error LNK1561: entry point must be defined
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Quote Originally Posted by zjenjaz View Post
hmmm thanks for the addys..
wtff???????
Quote Originally Posted by Xblaster12 View Post
1>LINK : fatal error LNK1561: entry point must be defined
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


wtff???????
Try to include Iostream, never had this problem.
Im new in crossfire
#include "stdafx.h"
Code:
#include <iostream>
#include "stdafx.h"
Quote Originally Posted by No-Life View Post
Try to include Iostream, never had this problem.
Im new in crossfire
#include "stdafx.h"
Code:
#include <iostream>
#include "stdafx.h"
It says: entry point must be defined
Quote Originally Posted by Xblaster12 View Post
It says: entry point must be defined
#include "stdafx.h"?
& by me no errors, works perfect ingame..
you have no BreakPoints? Remove them if you have.
And try again in new Visual c++ project!
Quote Originally Posted by No-Life View Post
#include "stdafx.h"?
& by me no errors, works perfect ingame..
you have no BreakPoints? Remove them if you have.
And try again in new Visual c++ project!
oh can u help me in teamviewer? i send it on msn me id and pass
Add me okan__7@hotma...il.com
man, you can not even do one simple no reload hack, it needs just some brain to fix the errors...
Posts 16–28 of 28 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us