QuestionError with Gellin base...

Posts 1–8 of 8 · Page 1 of 1
Error with Gellin base...
im using gellin base, i updated the L***ent and that stuff, but when i compile it gives me this
[PHP]--------------------Configuration: neo - Win32 Debug--------------------
Compiling...
neo.cpp
Linking...
neo.obj : error LNK2001: unresolved external symbol "public: void __thiscall cMenu::RenderMenu(void)" (?RenderMenu@cMenu@@QAEXXZ)
neo.obj : error LNK2001: unresolved external symbol "class cMenu Menu" (?Menu@@3VcMenu@@A)
neo.obj : error LNK2001: unresolved external symbol "public: void __cdecl cDirectx:rawString(int,int,unsigned long,struct ID3DXFont *,char const *,...)" (?DrawString@cDirectx@@QAAXHHKPAUID3DXFont@@PBDZZ)
neo.obj : error LNK2001: unresolved external symbol "class cDirectx Directx" (?Directx@@3VcDirectx@@A)
neo.obj : error LNK2001: unresolved external symbol "public: void __thiscall cDirectx::Hook(void)" (?Hook@cDirectx@@QAEXXZ)
Debug/neo.dll : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.

neo.dll - 6 error(s), 0 warning(s)
[/PHP] the functions on those files are
Code:
void cMenu::RenderMenu(void)
{
	if(mSet.loaded == false)
	{
		this->InitiateMenu();
		this->mSet.loaded = true;
	}

	if (GetAsyncKeyState(VK_INSERT)&1)
		this->mSet.show = !this->mSet.show;
	
	if(mSet.show)
	{
		Directx.DrawString((this->mSet.x + 8), (this->mSet.y - 4), 0xFFFFFFFF, Directx.pFont, "[CA-PUB] Digital~Insanity / DthStalk3r-");

		if(GetAsyncKeyState(VK_UP)&1)
			this->mSet.current--;

		if(GetAsyncKeyState(VK_DOWN)&1)	
			this->mSet.current++;
					
		if(GetAsyncKeyState(VK_LEFT)&1)
			if(this->mOpt[mSet.current].nopt > 0)
				this->mOpt[mSet.current].nopt = this->mOpt[mSet.current].nopt - 1;
						
		if(GetAsyncKeyState(VK_RIGHT)&1)
			if(this->mOpt[mSet.current].nopt < this->mOpt[mSet.current].noptmax)
				this->mOpt[mSet.current].nopt = this->mOpt[mSet.current].nopt + 1;
	
		if(this->mSet.current < 1) 
			this->mSet.current = this->mSet.max-1;

		if(this->mSet.current > this->mSet.max-1) 
			this->mSet.current = 1;

		for(int i= this->mSet.min; i < this->mSet.max; i++)
		{
			if(i == mSet.current)
				Directx.DrawString(this->mSet.x, this->mSet.y + (11*i), 0xFFFF0000, Directx.pFont, this->mOpt[i].option);
			
			if(i != mSet.current)
				Directx.DrawString(this->mSet.x, this->mSet.y + (11*i),0xFFFFFFFF, Directx.pFont, this->mOpt[i].option);
			
			sprintf_s(this->mSet.optionstat, "%i .00", this->mOpt[i].nopt);
			Directx.DrawString(this->mSet.x + 85, this->mSet.y + (11*i), 0xFFFFFFFF, Directx.pFont, this->mSet.optionstat);
		}
	}
}
Code:
void cDirectx::DrawString(int x, int y, DWORD color, LPD3DXFONT g_pFont, const char *fmt, ...)
{
	RECT FontPos = { x, y, x + 120, y + 16 };
	char buf[1024] = {'\0'};
	va_list va_alist;

	va_start(va_alist, fmt);
	vsprintf_s(buf, fmt, va_alist);
	va_end(va_alist);

	g_pFont->DrawText(NULL, buf, -1, &FontPos, DT_NOCLIP, color);
}
and
Code:
void cDirectx::Hook(void)
{   
	Base.bSet.m_dwReset	   = Base.GetPointer(16);
	Base.bSet.m_dwPresent  = Base.GetPointer(17);

    pReset   = (oReset)cReset.Create    (( BYTE* )Base.bSet.m_dwReset,   ( BYTE* )gellReset,   DETOUR_TYPE_JMP );	
    pPresent = (oPresent)cPresent.Create(( BYTE* )Base.bSet.m_dwPresent, ( BYTE* )gellPresent, DETOUR_TYPE_JMP );
i already checked it over and over and cant figure out what it is...
first... i can see your hook is bad lol... i can't say more thing lol
Quote Originally Posted by God601 View Post
first... i can see your hook is bad lol... i can't say more thing lol
Dx whats the point of posting stuff then? is it that the gellian base i have is too old? whats wrong witht he hook? im learning D3D so not much practice with it xD
Quote Originally Posted by God601 View Post
first... i can see your hook is bad lol... i can't say more thing lol
i just realized the code didnt copy right heres the code for hook...
Code:
void cDirectx::Hook(void)
{
	Base.bSet.m_dwReset	   = Base.GetPointer(16);
	Base.bSet.m_dwPresent  = Base.GetPointer(17);

    pReset   = (oReset)cReset.Create    (( BYTE* )Base.bSet.m_dwReset,   ( BYTE* )gellReset,   DETOUR_TYPE_JMP );	
    pPresent = (oPresent)cPresent.Create(( BYTE* )Base.bSet.m_dwPresent, ( BYTE* )gellPresent, DETOUR_TYPE_JMP );

#ifdef LOG
	sprintf_s(Base.bSet.szPointers,"[CA-PUB] Reset: 0x%x \n[CA-PUB] Present: 0x%x", Base.bSet.m_dwReset, Base.bSet.m_dwPresent);
	Misc.add_log(LogPath,Base.bSet.szPointers);	
	Misc.add_log("LogPath", "[CA-PUB] D3D Hooked Ok...");
#endif
}
thnx
its my 1st hack, how can i turn this into hotkey instead of menu?
well ask around (mattypatty or topblast) they shouldhelp you
did u download Microsoft DirectX SDK and include it in your project?
if you want to use a hotkey base use powerfears.
else pm me and ill tv you and fix it up
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us