Add this at the topCode:#include "stdafx.h"
i have a problem when i make hack for cossfire
on vasual basic 2008
this code from :https://www.mpgh.net/forum/242-crossf...ake-hac-k.html
images
ply reply for me why error and if iam mistake plz any one upload video or images to learn me
Kety Smith AKA
[IMG]https://www.3almsbay*****m/wp-content/uploads/%D8%B5%D9%88%D8%B1-%D8%A8%D9%86%D8%A7%D8%AA-%D9%8A%D9%88%D8%B1%D9%88-20121.jpg[/IMG]
Add this at the topCode:#include "stdafx.h"
The same problem
Last edited by Trolly "A-Rab" smith; 08-05-2012 at 08:54 AM.
Kety Smith AKA
[IMG]https://www.3almsbay*****m/wp-content/uploads/%D8%B5%D9%88%D8%B1-%D8%A8%D9%86%D8%A7%D8%AA-%D9%8A%D9%88%D8%B1%D9%88-20121.jpg[/IMG]
use release instead of debug
MPGH member since 11 February 2012
Ex - Contributor
Ex - CF minion
how? and what relase
Kety Smith AKA
[IMG]https://www.3almsbay*****m/wp-content/uploads/%D8%B5%D9%88%D8%B1-%D8%A8%D9%86%D8%A7%D8%AA-%D9%8A%D9%88%D8%B1%D9%88-20121.jpg[/IMG]
pm me and i will explain every thing to u okay????
Don't forget to press thx if i helped u
ok
iam add you
Kety Smith AKA
[IMG]https://www.3almsbay*****m/wp-content/uploads/%D8%B5%D9%88%D8%B1-%D8%A8%D9%86%D8%A7%D8%AA-%D9%8A%D9%88%D8%B1%D9%88-20121.jpg[/IMG]
i can feel your code looks like
why i feel that? because u dont even know c++ (yes this is c++ not vb)Code:#include "stdafx.h" #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); MessageBoxA (0,"KAREEM'S HACK","KAREEMS HACK",0); // KAREEM'S HACK ,,:D } return TRUE; } if (Ghost) { if(pBasicPlayer!=0) { *(float*)(pBasicPlayer + 0x8C) = 300; *(float*)(pBasicPlayer + 0x90) = 300; } } AND ADD THIS SOURCE TO BASE.. *(float*)(wep + FastKnife1+y*4) = 2.1f; *(float*)(wep + FastKnife2+y*4) = 2.1f; *(float*)(wep + KnifeOHK1+y*4) = 1500; *(float*)(wep + KnifeOHK2+y*4) = 1500;
[img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]
[N.O]N.A.M.E (08-05-2012)
wow cool program teach me how to do it !
visual basic 2008
and its visual studio and its called c++ as giniyat101 said.
loling hard irl
giniyat101 (08-05-2012)
omg learn c++ you dont know even what include, in error it says what to do ._.
Anyway you should include some files, put codes in correct position and change hook, it will be detected by xtrap... btw why should you do an hack if you don't know anything of c++? ._.
Last edited by xKickAss; 08-05-2012 at 01:10 PM.