[help]

Posts 115 of 21 · Page 1 of 2
[help]
ok so im working on a opk
here is my source
Code:
#include <windows.h>
#define charposoffset 0x66F34 //player pointer 
#define otherplyrptr 0x37113378 //random pointer 
#define posyoffset 0xCC 
#define posxoffset 0xC8 
#define yoffset 0xCC 
#define posy
#define playertarget
#define posptr

bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}

void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}    
void main()
{
posptr=NULL; 
posptr = (DWORD)GetModuleHandleA("ClientFX.fxd"); 
posptr = charposoffset; 
memcpy(&posy,(void *)(posptr),4); 
posy = posyoffset; 
memcpy(&playertarget,(void *)(otherplyrptr),4); 
playertarget = yoffset; 
while(true)
{
PushToConsole("SkelModelStencil 1");

if(posy > posyoffset && playertarget > yoffset) 
                        { 
                                *(float*)playertarget = *(float*)posy; 
                                *(float*)(playertarget+0x4) = *(float*)(posy+0x4); 
                                *(float*)(playertarget-0x4) = *(float*)(posy-0x4); 
                        }  
}
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
and when i compile i get theis errors but i dont understand
Code:
1>------ Rebuild All started: Project: telekill, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'telekill', configuration 'Debug|Win32'
1>Compiling...
1>telekill.cpp
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(33) : error C2143: syntax error : missing ';' before '='
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(34) : error C2143: syntax error : missing ';' before '='
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(35) : error C2143: syntax error : missing ';' before '='
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(36) : error C2059: syntax error : ','
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(37) : error C2143: syntax error : missing ';' before '='
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(38) : error C2059: syntax error : ','
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(39) : error C2143: syntax error : missing ';' before '='
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(44) : error C2059: syntax error : '>'
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(45) : error C2143: syntax error : missing ';' before '{'
1>c:\users\--------\documents\visual studio 2008\projects\telekill\telekill\telekill.cpp(46) : error C2059: syntax error : '='
1>Build log was saved at "file://c:\Users\--------\Documents\Visual Studio 2008\Projects\telekill\telekill\Debug\BuildLog.htm "
1>telekill - 10 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========[
help please
Lol the error say's it all.
i dont get it can you teamveiw?
Show us the source or its kinda hard to help you... had this error before when my compiler fucked up and i had those ; after every line...
I believe that this is in English?

[ missing ';' before '=' ] The errors also have the line numbers, plus highlights the code for you...
just teamveiw me and help me please!!
thats noob errors
example:
first ur posptr is Clientfx.fxd
second step it is the offset. its not both, its by hacking only the offset(Game-Crash)
but VisualStudio will never say u that
omg you just c+p from Topblast!
Since he released his base Telekills and OPKs are coming around like hell from every choob here -.-


Read the errors ...
i found it on google thank you very much
Wow You Dont Even Know The Syntax
DRAW posy
DRAW playertarget
DRAW posptr
xD
Quote Originally Posted by mo3ad001 View Post
DRAW posy
DRAW playertarget
DRAW posptr
xD
You Dont Either...
"DWORD" Not DRAW
LMFAO, whit you're going all out.

You used google to find this source? Highly doubt that.. (:
Posts 115 of 21 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?