Try Putting cBase Base; After The Hack Variables
Why Are You Putting this->PushToConsole I Removed Thats
Just Do PushToConsole
When I put any addies, there is no red line under any thing, but when i compile i get this: fatal error LNK1120
Full compile error:
1>------ Build started: Project: CaBase, Configuration: Release Win32 ------
1> Base.cpp
1>Base.obj : error LNK2001: unresolved external symbol "class cBase Base" (?Base@@3VcBase@@A)
1>C:\Users\Randy-Administrator\Desktop\Hans & Gellins Base Combined\Release\CaBase.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
And this is my Base.cpp:
HELP /me#include "Base.h"
#include "Menu.h"
//Menu Position
int menux = 20;
int menuy = 200;
//Hack Variables
int test1 = 0;
int test2 = 0;
int test3 = 0;
int test4 = 0;
int test5 = 0;
int test6 = 0;
//Menu Groups
int misc = 0;
int removals = 0;
int visual = 0;
void cMenu::RenderMenu(void)
{
AddItem(" [ Visuals ]", Opt_Folder, &visual, 2, MENUFOLDER);
if(visual){
AddItem("nxchams" , Opt_on_off , &test1 , 2, MENUITEM);//
AddItem("Wireframe" , Opt_on_off , &test2 , 2 , MENUITEM);//
}
AddItem(" [ Removals ]", Opt_Folder, &removals, 2, MENUFOLDER);
if (removals) {
AddItem("Removal One" , Opt_on_off , &test3 , 2, MENUITEM);//
AddItem("Removal Two" , Opt_on_off , &test4 , 2, MENUITEM);//
}
AddItem(" [ Misc ]", Opt_Folder, &misc, 2, MENUFOLDER);
if(misc){
AddItem("OPK" , Opt_on_off , &test5 , 2, MENUITEM);//
AddItem("Remote TK" , Opt_on_off , &test6 , 2, MENUITEM);//
}
}
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::Update(void)
{
while(1)
{
if("nxchams" > 0 )
{
this->PushToConsole("SkelModelStencil 1" );
} else {
this->PushToConsole("SkelModelStencil 0" );
}
Sleep(100);
}
}
void cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
{
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();
Base.Update();
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;
}
]This will be my future MPGH user name
[MPGH]pikamew4
w000tttt!!!!!
2doo-list
{become a mod on mpgh}[]
{become admin on MPGh}[]
{be kicked from combat arms}[]
{make a private VIP hack with telekill for myslf}mad:
{meet Dave on MPGH}[]
{learn c++}
{become a newb on MPGH}[]
{become a member on MPGH}[]
{**** up my profile with a lame picture}[]
-------------------------------
Starting PHOTOSHOP CS5
[IMG]https://i1141.photobucke*****m/albums/n593/pikamew4/MPGH.jpg?t=1286152941[/IMG]
Status: Working On Pub menu hack with OPK 0_o!!
Try Putting cBase Base; After The Hack Variables
Why Are You Putting this->PushToConsole I Removed Thats
Just Do PushToConsole
Sorry man, Im new to coding, but i gat a bit of expiriance.
So what do u meen by cBase Base;??
After stencils thing or where,??
In this?AddItem(" [ Visuals ]", Opt_Folder, &visual, 2, MENUFOLDER);
if(visual){
AddItem("nxchams" , Opt_on_off , &test1 , 2, MENUITEM);//
AddItem("Wireframe" , Opt_on_off , &test2 , 2 , MENUITEM);//
Or that:Or that:void cBase::Update(void)
{
while(1)
{
if("nxchams" > 0 )
{
this->PushToConsole("SkelModelStencil 1" );
} else {
this->PushToConsole("SkelModelStencil 0" );
}
Sleep(100);
}
}
Ohh and could you show me like, your base??//Hack Variables
int test1 = 0;
int test2 = 0;
int test3 = 0;
int test4 = 0;
int test5 = 0;
int test6 = 0;
If you dont want public, could u PM me?? thx man, ill add rep
Last edited by pikamew4; 10-03-2010 at 10:39 AM.
]This will be my future MPGH user name
[MPGH]pikamew4
w000tttt!!!!!
2doo-list
{become a mod on mpgh}[]
{become admin on MPGh}[]
{be kicked from combat arms}[]
{make a private VIP hack with telekill for myslf}mad:
{meet Dave on MPGH}[]
{learn c++}
{become a newb on MPGH}[]
{become a member on MPGH}[]
{**** up my profile with a lame picture}[]
-------------------------------
Starting PHOTOSHOP CS5
[IMG]https://i1141.photobucke*****m/albums/n593/pikamew4/MPGH.jpg?t=1286152941[/IMG]
Status: Working On Pub menu hack with OPK 0_o!!
Thanks guy it is very important
Someone helps me!
I have this problem:
Code:------ Build started: Project: CaBase, Configuration: Debug Win32 ------ Compiling... Base.cpp c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(26) : error C2664: 'cMenu::AddItem' : cannot convert parameter 5 from 'const char [17]' to 'int' There is no context in which this conversion is possible c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(91) : 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(92) : 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(93) : 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 DirectX.cpp c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\directx.cpp(26) : error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char [1024]' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Menu.cpp c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\menu.cpp(78) : error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' 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\menu.cpp(81) : error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' 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\menu.cpp(83) : error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Misc.cpp Generating Code... Build log was saved at "file://c:\Documents and Settings\Administrador\Desktop\Hans & Gellins Base Combined\CaBase\Debug\BuildLog.htm" CaBase - 8 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Last edited by Capevaldo; 10-09-2010 at 08:05 PM.
CanYouDoIt (10-10-2010)
says to my visual baisc 2008 ineed newer version, wtf =\ ?
RespectsList
MrSkaFighter
Spook
CoderNever
Thank You for This sig, Peter/Vengeance.
Uploaded with ImageShack.us
Respect Aint Easy to earn, helpful people are always loyal.
Goals
Get 50 post []
get 100 post []
get 150 post []
get 200 post []
Make a Auto-On Hack []
Release My first hack []
Make a hotKey hack []
Make a menu-hack []
Hack, not get called a hacker []
Hack, get QQed at and lol []
Be known on MPGH [] -Unknown.
Yes i have a long goal list, but a long goal list is someone who wants to accomplish alot of things..
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!)
YESS i was searching it THANKS!
This is what I did with this base:
YAY i love it!, but first i need to learn how to do an auto
[IMG]https://img.photobucke*****m/albums/v470/Chronologix/Sig/mpghm.gif[/IMG]
[IMG]https://img.photobucke*****m/albums/v470/Chronologix/Sig/mpgha.gif[/IMG]
Use My Free VIP Hacks!
Here Are My Free VIP Hacks.
RespectsList
MrSkaFighter
Spook
CoderNever
Thank You for This sig, Peter/Vengeance.
Uploaded with ImageShack.us
Respect Aint Easy to earn, helpful people are always loyal.
Goals
Get 50 post []
get 100 post []
get 150 post []
get 200 post []
Make a Auto-On Hack []
Release My first hack []
Make a hotKey hack []
Make a menu-hack []
Hack, not get called a hacker []
Hack, get QQed at and lol []
Be known on MPGH [] -Unknown.
Yes i have a long goal list, but a long goal list is someone who wants to accomplish alot of things..
Even if I just take the files you supply, and not even change them at all, I get like 800 errors, includeing improper syntaxes, missing symbols, can't convert 'char' to 'LPCWSTR'
1):2):Code:'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char [1024]' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style castThese are the main errors I get, can anyone tell me what is wrong?Code:syntax error : 'char' should be preceded by ';'(And it is)