ajuda aee gnt carambaa --'
Gente me ajuda ae por favor , é o seguinte , to fazendo tudo certinho mas sempre dá isso:
[PHP]1>------ Build started: Project: New, Configuration: Debug Win32 ------
1>Compiling...
1>New.cpp
1>c:\users\daniels\documents\visual studio 2008\projects\new\new\new.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
1>Build log was saved at "file://c:\Users\DanielS\Documents\Visual Studio 2008\Projects\New\New\Debug\BuildLog.htm"
1>New - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =========/PHP]
e se nao tiver tudo certinho , por favor dao uma olhada e ve oq ta errado ae gente ! [PHP]#include "stdafx.h"
#include <windows.h>
#define Engine 0x377FD9F0 //Replace 0x000 to Engine LTC
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole(char *szCommand)
{
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t RCC = (RunConsoleCommand_t)Engine //EngineLTC;
RCC(szCommand);
}
void main()
{
while(!IsGameReadyForHook()){
Sleep(200);
}// bool myhack = false; (add your hacks )
bool FPS = false;
bool nxchams = false;
bool superbullet = false;
bool speed = false;
bool emo = false;
bool fire = false;
bool fly = false;
while(true)
{// set hot-key for hack......
if(GetAsyncKeyState(VK_NUMPAD1)<0)// FPS
if(FPS){
pRunConsoleCommand("ShowFPS 1");
FPS = true;
}else{
pRunConsoleCommand("ShowFPS 0");
FPS = false;
}
}
if(GetAsyncKeyState(VK_NUMPAD*)<0)// nxchams
if(nxchams){
pRunConsoleCommand("SkelModelStencil 0");
nxchams = false;
}else{
pRunConsoleCommand("SkelModelStencil 1");
nxchams = true;
}
if(GetAsyncKeyState(VK_NUMPAD3)<0)// superbullet
if(superbullet){
/ can edit this....//
superbullet = false;
}else{
switch(*(int*)0x3781886C){
case 1: // 1 = Ingame
memcpy((LPVOID)0x374AF296, "\x90\x90\x90", 3); // Super Bullets On
superbullet = true;
}
}
if(GetAsyncKeyState(VK_NUMPAD4)<0)//Speed
if(speed){
pRunConsoleCommand("WalkVel 1000.000000");
pRunConsoleCommand("FRunVel 1000.000000");
pRunConsoleCommand("BRunVel 1000.000000");
pRunConsoleCommand("SRunVel 1000.000000");
pRunConsoleCommand("DuckVel 1000.000000");
speed = false;
}else{
pRunConsoleCommand("WalkVel 70.000000");
pRunConsoleCommand("FRunVel 285.000000");
pRunConsoleCommand("BRunVel 285.000000");
pRunConsoleCommand("SRunVel 285.000000");
pRunConsoleCommand("DuckVel 50.000000");
speed = true;
}
}
DWORD WINAPI dwHackThread(LPVOID) {
while( !IsGameReadyForHook() )
Sleep(300);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
MessageBoxA( NULL, "Mr.Skafigther[Bro]Hoyt Key V.1|\n" "Mr.Skafigther[Bro]", "Mr.Skafigther[Bro]|||||", MB_YESNO| MB_ICONWARNING);
{ //You can edit the message above, please dont forget to give credit
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
[/PHP]
Help pliiis
ajuda aee gnt carambaa --'
Se você prestasse atenção saberia resolver o erro fácilmente...
Na sua source, você incluiu o arquivo stdafx.h, mas esse arquivo não existe na pasta de arquivos H.Code:>c:\users\daniels\documents\visual studio 2008\projects\new\new\new.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
Vá para a pasta do SDK que você tem instalado, entre na pasta de Header Files e procure por esse arquivo. Se não tiver, baixe um sdk mais atualizado, instale-o e tente novamente.
Last edited by Capevaldo; 12-11-2010 at 12:37 PM.
• CABR Minion:
Feb, 12th 2011 - Aug, 12th 2011
• Full CA Section Minion:
July, 06th 2011 - Aug, 12th 2011
Ai acho que falta algumas coisas ai, como o Bypass e o LtClient..
[php]
DWORD *Ltcliient = ( DWORD* )( 0x3778BFB0 );
void* CONoff = ( void* )*( DWORD* )( *Ltcliient + 0x208 );
[/php]
OU
[php]
DWORD* LTBase = (DWORD*) 0x377FD9F0;
IsConnected_t pConnected = *(IsConnected_t*)(*LTBase + 0x8C);
[/php]
O resto voce deve saber oque fazer!!
Ei testem essa source ai!!
[php] #include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
typedef bool (*IsConnected_t)(void);
bool IsIngame()
{
DWORD* LTBase = (DWORD*) 0x377FD9F0;
IsConnected_t pConnected = *(IsConnected_t*)(*LTBase + 0x8C);
return pConnected();
}
void RunConsoleCommand(char *command)
{
typedef int (__cdecl* RunConsoleCommand_t)(char *cmd);
RunConsoleCommand_t RCC = (RunConsoleCommand_t) 0x4A4750;
RCC(command);
delete command;
}
void main()
{
while(!IsGameReadyForHook()){
Sleep(200);
}
bool FPS = false;
while(true)
{
if(GetAsyncKeyState(VK_NUMPAD1)<0)
if(FPS){
RunConsoleCommand("ShowFPS 1");
FPS = false;
}else{
RunConsoleCommand("ShowFPS 0");
FPS = true;
}
while(!IsIngame());
}
}
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
} [/php]
Ouvi dizer que tem como fazer hacks sem bypass e não tá faltando o LTC não. É exatamente o que eu falei.
• CABR Minion:
Feb, 12th 2011 - Aug, 12th 2011
• Full CA Section Minion:
July, 06th 2011 - Aug, 12th 2011
O arquivo stdafx.h é o arquivo header (cabeçalho) de um projeto, se você gerou um projeto sem a criação desse header em opções no inicio. Basta somente remover o #include "stdafx.h" do projeto.
Last edited by WE11ington; 12-11-2010 at 03:41 PM.
/Move to help section.
• CABR Minion:
Feb, 12th 2011 - Aug, 12th 2011
• Full CA Section Minion:
July, 06th 2011 - Aug, 12th 2011
Aff PTC Sem Bypass é foda, eu acho q isso ai n vai da certo
Não reviva tópicos antigos.
/Move to help section requested, again.
• CABR Minion:
Feb, 12th 2011 - Aug, 12th 2011
• Full CA Section Minion:
July, 06th 2011 - Aug, 12th 2011