OK...
Change Unicode setting to Multibye
Hello i need help fix some mistakes could me help
Base.cpp
#include "Base.h"
#include "Menu.h"
//Menu Position
int menux = 20;
int menuy = 200;
//Hack Variables
int HACK1 = 0;
int HACK2 = 0;
int HACK3 = 0;
int HACK4 = 0;
//Menu Groups
int removals = 0;
int visual = 0;
void cMenu::RenderMenu(void)
{
AddItem(" [ Visuals ]", Opt_Folder, &visual, 2, MENUFOLDER);
if(visual){
AddItem("No Recoil" , Opt_on_off , &HACK1 , 2, MENUITEM);//
AddItem("No Reload" , Opt_on_off , &HACK2 , 2 , MENUITEM);//
}
AddItem(" [ Removals ]", Opt_Folder, &removals, 2, MENUFOLDER);
if (removals) {
AddItem("GlassWalls" , Opt_on_off , &HACK3 , 2, MENUITEM);//
AddItem("SuperBullet" , Opt_on_off , &HACK4 , 2, MENUITEM);//
}
}
cBase Base;
void __cdecl cBase::PushToConsole(const char* szCommand )
{
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( 0x377E7810 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
}
void cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
{
if( HACK1 > 0 ){
memcpy(( void* )( 0x37460820 ), "\xD8\x66\x54", 4 );
memcpy(( void* )( 0x3723300C ), "\xD9\x5E\x54", 4 );
memcpy(( void* )( 0x37460834 ), "\xD9\x46\x48", 4 );
memcpy(( void* )( 0x37460837 ), "\xD9\x5E\x48", 4 );
}else{
memcpy(( void* )( 0x37460820 ), "\x90\x90\x90\x90", 4);
memcpy(( void* )( 0x3723300C ), "\x90\x90\x90\x90", 4);
memcpy(( void* )( 0x37460834 ), "\x90\x90\x90\x90", 4);
memcpy(( void* )( 0x37460837 ), "\x90\x90\x90\x90", 4);
}
if( HACK2 > 0 ){
memcpy(( void* )( 0x374AC544 ), "\x0F\x84\xB1\x01\x00\x00", 6 );
}else{
memcpy(( void* )( 0x374AC544 ), "\x90\x90\x90\x90\x90\x90", 6 );
}
if( HACK3 > 0 ){
memcpy((void*)(0x5721EA), "\x6A\x00", 2);
} else {
memcpy((void*)(0x5721EA), "\x6A\x01", 2);
}
if( HACK4 > 0 ){
memcpy((LPVOID)0x374A7246, "\x90\x90\x90", 3);
}else{
memcpy((LPVOID)0x374A7246, "\x0F\x94\xC0", 3);
}
if(Directx.pFont == NULL)
D3DXCreateFontA(pDevice, 15, 0, FW_BOLD, 0, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial Black", &Directx.pFont );
if (Mmax==0) Menu.RenderMenu();
if(Mvisible){
//Do You Gui/Drawbox Here
}
Menu.MenuShow(menux,menuy,Directx.pFont);
Menu.MenuNav();
}
DWORD cBase::GetPointer(int index)
{
DWORD* devicePtr = ***(DWORD****)0x909EF8;
if( devicePtr == NULL )
return 0;
return devicePtr[index];
}
bool cBase::IsGameReadyForHook(void)
{
if( GetModuleHandle( "d3d9.dll" ) != NULL
&& GetModuleHandle( "ClientFX.fxd" ) != NULL
&& GetModuleHandle( "CShell.dll" ) != NULL )
return true;
return false;
}
DWORD WINAPI dwMainThread(LPVOID)
{
while ( !Base.IsGameReadyForHook() )
Sleep(iWaitTime);
Directx.Hook();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
#ifdef LOG
DeleteFile(LogPath);
#endif
CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
}
return TRUE;
}
My erros
------ Build started: Project: CaBase, Configuration: Debug Win32 ------
Compiling...
Base.cpp
c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(109) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(110) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [13]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(111) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Build log was saved at "file://c:\Documents and Settings\Administrador\Desktop\Hans & Gellins Base Combined\CaBase\Debug\BuildLog.htm"
CaBase - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
OK...
Change Unicode setting to Multibye
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream
Friend tells me where I have are harder to change because
Wrong section.....
and i would tell you how but they invented a thing called Google and The Search bar!!!!!!!!!!
~Mohandas GandhiA man is but the product of his thoughts what he thinks, he becomes.
~ ImmortalA Genius is nothing with out an idea, An idea is always an idea even without a genius.
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream
Thank you thank you friend
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/ProXtremeSignature.png[/IMG]
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/Signature.png[/IMG]
Wrong section.
Chance character set to multibyte (Project > Properties > Configuration Properties > General > Character set > Use multibyte Character Set > Apply > Ok)
• CABR Minion:
Feb, 12th 2011 - Aug, 12th 2011
• Full CA Section Minion:
July, 06th 2011 - Aug, 12th 2011
i swear i move 2 of these every day --____--
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream
Unibyte to Multibyte, there is a tutorial posted a month ago, use the search button. I recommend removing your code as noobs are seeing you codes (such as super bullet)
Tools UNDETECTED - PATCHED [I will only have recent versions up!]
Tapper V1.15: https://www.mpgh.net/forum/164-combat...r-v1-15-a.html
Amato Inject V1.15: https://www.mpgh.net/forum/292-combat...t-v1-15-a.html
Mods
L96A1 - Arctic Wolf
Super M416 CQB
Super M16A3
MW2 M92FS (M9)
Starcraft 2 L96A1
PVT VIP
Aimbot: 65% (Have full source code)
OPK: 100% (Uses Enemy Class)
Telekill: 100% (Uses Enemy Class)
Ghost Mode: 80% (In Semi-Stages)
Super Bullets: 100% (Thanks Deadlinez/hahaz!)
Menu Sprite: 100% (Thanks whit!)