Results 1 to 8 of 8
  1. #1
    haloassasin's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    iostream
    Posts
    154
    Reputation
    10
    Thanks
    14
    My Mood
    Worried

    Question 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...


    DONT B A NOOB, PRESS THANKS ---->>>/yea/yea

  2. #2
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    554
    Reputation
    10
    Thanks
    362
    My Mood
    Angelic
    first... i can see your hook is bad lol... i can't say more thing lol

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


  3. #3
    haloassasin's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    iostream
    Posts
    154
    Reputation
    10
    Thanks
    14
    My Mood
    Worried

    Question

    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


    DONT B A NOOB, PRESS THANKS ---->>>/yea/yea

  4. #4
    haloassasin's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    iostream
    Posts
    154
    Reputation
    10
    Thanks
    14
    My Mood
    Worried
    its my 1st hack, how can i turn this into hotkey instead of menu?


    DONT B A NOOB, PRESS THANKS ---->>>/yea/yea

  5. #5
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    37
    My Mood
    Drunk
    well ask around (mattypatty or topblast) they shouldhelp you

    I Hate You
    Current Status: Online Playing MineCraft

  6. The Following User Says Thank You to Yepikiyay For This Useful Post:

    matypatty (06-21-2010)

  7. #6
    haloassasin's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    iostream
    Posts
    154
    Reputation
    10
    Thanks
    14
    My Mood
    Worried

    Cool

    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


    DONT B A NOOB, PRESS THANKS ---->>>/yea/yea

  8. #7
    swatfx's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    659
    Reputation
    20
    Thanks
    108
    My Mood
    Mellow
    did u download Microsoft DirectX SDK and include it in your project?

  9. #8
    matypatty's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    864
    Reputation
    229
    Thanks
    2,694
    My Mood
    Amused
    if you want to use a hotkey base use powerfears.
    else pm me and ill tv you and fix it up

Similar Threads

  1. I HAVE ERRORS WITH whit base...
    By gotter in forum Combat Arms Coding Help & Discussion
    Replies: 7
    Last Post: 02-04-2011, 04:43 PM
  2. Help with Gellins Base.
    By Beatz in forum Combat Arms Help
    Replies: 5
    Last Post: 07-15-2010, 08:44 PM
  3. Help with gellins base!
    By Mr.Magicman in forum C++/C Programming
    Replies: 12
    Last Post: 06-08-2010, 07:32 AM
  4. Gellin Base Errors
    By iownmhckn in forum C++/C Programming
    Replies: 14
    Last Post: 03-16-2010, 09:47 PM
  5. help with gellins base for CA
    By RedThunder in forum C++/C Programming
    Replies: 8
    Last Post: 03-15-2010, 09:49 AM