Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Target Info + GUI

Joined
Oct 2, 2010
Messages
1,771
Reaction score
228
c:\RanSource\RanClientUILib\Interface\CrowTargetInfoUpdate.cpp(20): error C2509: 'Update' : member function not declared in 'CCrowTargetInfo'
please help me how to fix it ?? thank all

in your crowtargetinfo.h

add this below your
class CCrowTargetInfo : public CUIGroup
{
protected:
virtual void Update ( int x, int y, BYTE LB, BYTE MB, BYTE RB, int nScroll, float fElapsedTime, BOOL bFirstControl );
 
Initiate Mage
Joined
Nov 10, 2012
Messages
3
Reaction score
0
Can you share the XML script for "TargetInfo" we badly needed it and we hope you share and more blessings to come
 
Newbie Spellweaver
Joined
Feb 20, 2008
Messages
60
Reaction score
0
i suggest you delete CrowTargetUpdate <-- something like that, it's useless like him hahaha :)

what do you mean about this sir do i have totaly remove the CrowTargetUpdate.cpp from the source?




do i need to replace the xml documents in this folder? =Document\GUI
 
Junior Spellweaver
Joined
Jun 16, 2007
Messages
154
Reaction score
3
What's the REAL solution for Reborn: 0??? I tried all, nothing works.. -_-
 
Junior Spellweaver
Joined
Jan 2, 2014
Messages
166
Reaction score
29
What's the REAL solution for Reborn: 0??? I tried all, nothing works.. -_-

GlCharClient.h
UNDER GetSchool()
//add ( UPDATE )
virtual DWORD GetReborn() { return m_CharData.m_dwReborn; }
GlCharData.h
Find SDROP_CHAR
//add
int m_dwReborn;


and UNDER , wHair(0)

//add
, m_dwReborn(0)



in your crowtargetinfo.h

add this below your

what effect about this

class CCrowTargetInfo : public CUIGroup
{
protected:
virtual void Update ( int x, int y, BYTE LB, BYTE MB, BYTE RB, int nScroll, float fElapsedTime, BOOL bFirstControl ); :?:
 
Junior Spellweaver
Joined
Jun 16, 2007
Messages
154
Reaction score
3
If your gonna set this,

class CCrowTargetInfo : public CUIGroup
{
protected:
virtual void Update ( int x, int y, BYTE LB, BYTE MB, BYTE RB, int nScroll, float fElapsedTime, BOOL bFirstControl ); :?:

Then we need this in crowtargetinfo.cpp:

void CCrowTargetInfo::Update ( int x, int y, BYTE LB, BYTE MB, BYTE RB, int nScroll, float fElapsedTime, BOOL bFirstControl ){
??????????????
}

Sorry I'm not yet familiar with syntax.
 
Junior Spellweaver
Joined
Jun 16, 2007
Messages
154
Reaction score
3
Any1 answer pls?

Google the error then you can understand whats the problem.

It has saomething to do with 'SDROP_CHAR' not having dwReborn...



Anyone have compiled with working Reborn? Not always 0?

Please shed some light...
 
Experienced Elementalist
Joined
Jun 24, 2011
Messages
263
Reaction score
75
PHP:
//GLCharData.h

struct SDROP_CHAR
{
	enum
	{
		CHAR_GEN	= 0x001,
		CLUB_CD		= 0x002
	};

	char			szName[CHAR_SZNAME];
	EMTRIBE			emTribe;					
	EMCHARCLASS		emClass;					
	WORD			wSchool;					
	WORD			wHair;						
	WORD			wHairColor;					
	WORD			wFace;						
	WORD			wSex;						

	int				nBright;					

	DWORD			dwCharID;					
	WORD			wLevel;						
	DWORD			dwGuild;					
	DWORD			dwReborn;					//Reborn				
	DWORD			dwAlliance;					
	char			szClubName[CHAR_SZNAME];	
	DWORD			dwGuildMarkVer;				
	DWORD			dwGuildMaster;				
	char			szNick[CHAR_SZNAME];		
	
	DWORD			dwParty;					
	DWORD			dwPMasterID;				

	GLPADATA		sHP;						

	DWORD			dwGaeaID;					
	SNATIVEID		sMapID;						
	DWORD			dwCeID;						
	D3DXVECTOR3		vPos;					
	D3DXVECTOR3		vDir;						

	EMACTIONTYPE	Action;						
	DWORD			dwActState;					
	D3DXVECTOR3		vTarPos;					

	DWORD			dwSummonGUID;				

	SDROP_SKILLFACT	sSKILLFACT[SKILLFACT_SIZE];
	SDROP_STATEBLOW	sSTATEBLOWS[EMBLOW_MULTI];
	int				nLandEffect[EMLANDEFFECT_MULTI];	

	SQITEM_FACT		sQITEMFACT;
	SEVENT_FACT		sEVENTFACT;
	SEventState		sEventState;
	
	SITEMCLIENT		m_PutOnItems[SLOT_NSIZE_S_2];	
	BOOL			m_bVehicle;
	CLIENT_VEHICLE	m_sVehicle;

	bool			m_bItemShopOpen;		

	BOOL			m_bUseArmSub;				

	DWORD			dwFLAGS;					

	SPASSIVE_SKILL_DATA	sPASSIVE_SKILL;			
	
	DWORD			m_dwANISUBTYPE;				

	DWORD			m_dwPkWin; 

	BOOL			m_bRankName;
	BOOL			m_bRankMark;


	SDROP_CHAR () 
		: emTribe(TRIBE_HUMAN)
		, emClass(GLCC_FIGHTER_M)
		, wSchool(0)
		, wHairColor(0)
		, wSex(0)
		, wHair(0)
		, wFace(0)
		, nBright(0)
		, dwCharID(0)
		, wLevel(1)
		, dwGuild(CLUB_NULL)
		, dwReborn (0)						//Reborn	
		, dwGuildMarkVer(0)
		, dwGuildMaster(0)
		, dwAlliance(0)
		, dwParty(PARTY_NULL)
		, dwPMasterID(GAEAID_NULL)
		, dwGaeaID(0)
		, dwCeID(0)
		, vPos(0,0,0)
		, vDir(0,0,-1)
		, Action(GLAT_IDLE)
		, dwActState(NULL)
		, vTarPos(0,0,0)
		, dwFLAGS(NULL)
		, m_bUseArmSub(FALSE)
		, m_bVehicle ( FALSE )
		, m_bItemShopOpen( false )
		, dwSummonGUID(GAEAID_NULL)
		, m_dwANISUBTYPE( 0 )
		, m_dwPkWin( 0 )
		, m_bRankName(FALSE)
		, m_bRankMark(FALSE)
	{
		for( int i=0; i < EMLANDEFFECT_MULTI; i++)
		{
			nLandEffect[i] = -1;
		}
		memset(szName, 0, sizeof(char) * CHAR_SZNAME);
		memset(szNick, 0, sizeof(char) * CHAR_SZNAME);
		memset(szClubName, 0, sizeof(char) * CHAR_SZNAME);
	}
};

//GLChar.h

Search:

	virtual EMCROW GetCrow () const					{ return CROW_PC; }
	virtual DWORD GetCtrlID () const				{ return m_dwGaeaID; }
	virtual DWORD GetCharID () const				{ return m_dwCharID; }
	virtual WORD GetSchool () const					{ return m_wSchool; }
	
Add this Below:

	virtual DWORD GetReborn () const				{ return m_dwReborn; } //Reborn
 
Newbie Spellweaver
Joined
Mar 19, 2013
Messages
39
Reaction score
2
sir can you give me guide/idea or hint how to fix this

RanClientUILib.lib(InnerInterfaceSimple.obj) : error LNK2019: unresolved external symbol "public: __thiscall CCrowTargetInfo::CCrowTargetInfo(void)" (??0CCrowTargetInfo@@QAE@XZ) referenced in function "public: virtual long __thiscall CInnerInterface::InitDeviceObjects(struct IDirect3DDevice9 *)" (?InitDeviceObjects@CInnerInterface@@UAEJPAUIDirect3DDevice9@@@Z)
TIA...
 
Last edited:
Experienced Elementalist
Joined
Sep 30, 2014
Messages
251
Reaction score
11
help me this only error how to fix this pleasee
d:\Updated Ran World Source\RanClientUILib\Interface\CrowTargetInfoUpdate.cpp(20): error C2509: 'Update' : member function not declared in 'CCrowTargetInfo'
REMOVED
 
Junior Spellweaver
Joined
Sep 5, 2012
Messages
121
Reaction score
0
CryptionRCC fatal error LNK1181: cannot open input file '\Source\_rlib\RanClientUILib.lib'
how to fix this error ?
please help me .
thank all
 
Back
Top