Ehm raga sto da poco imparando il d3d8,sono na frana ç_ç.Potete dirmi dove sbaglio?nonr iesco a trovare gli "orrori" xD
Questo è tutto cio' che ho in "hackbase.cpp".
Errori segnalati da vc++ 6:
Compiling...
hackbase.cpp
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(18) : error C2065: 'superspeed' : undeclared identifier
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(19) : error C2448: '<Unknown>' : function-style initializer appears to be a function definition
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(28) : error C2143: syntax error : missing ';' before '->'
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(28) : error C2501: 'pMenu' : missing storage-class or type specifiers
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(28) : error C2143: syntax error : missing ';' before '->'
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(41) : error C2065: 'hack' : undeclared identifier
Error executing cl.exe.
C++:
#include "d3dbase.h"
#include <stdio.h>
#define ss_point 0x5F29BC
char *offset[2]={"0x10","0x5B6"};
void hack(DWORD superspeed)
{
DWORD Address= *(DWORD *)ss_point;
DWORD Address= *(DWORD *)(ss_point + offset[0]) + offset[1]);
*(DWORD *)Address=(16226 +(superspeed *1 *60));
}
char *value[]={"Off","1","2","3","4","5"};
int status=0;
pMenu->AddItem("Super Speed",&status,value,5);
// Seperate thread for making hacks
DWORD WINAPI HACKthread( LPVOID param )
{
// --- hack loop
while (1) {
if (status !=0)
{
hack(status);
}
Sleep(50);
}
return 0;
}
Questo è tutto cio' che ho in "hackbase.cpp".
Errori segnalati da vc++ 6:
Compiling...
hackbase.cpp
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(18) : error C2065: 'superspeed' : undeclared identifier
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(19) : error C2448: '<Unknown>' : function-style initializer appears to be a function definition
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(28) : error C2143: syntax error : missing ';' before '->'
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(28) : error C2501: 'pMenu' : missing storage-class or type specifiers
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(28) : error C2143: syntax error : missing ';' before '->'
CDocuments and Settings\Utente\Desktop\Nuova cartella\hackbase.cpp(41) : error C2065: 'hack' : undeclared identifier
Error executing cl.exe.