Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 19:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Drop Info compile error

Discussion on Drop Info compile error within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
Sizzurpz's Avatar
 
elite*gold: 0
Join Date: Jan 2017
Posts: 26
Received Thanks: 7
Drop Info compile error

So i added the drop info feature from the dc files and i get this error while compiling the world server :

Code:
WorldServer error LNK2001: unresolved external symbol "public: static class CInfoDrop * __cdecl CInfoDrop::GetInstance(void)" (?GetInstance@CInfoDrop@@SAPAV1@XZ)

WorldServer error LNK2019: unresolved external symbol "public: class std::vector<struct s_info,class std::allocator<struct s_info> > __thiscall CInfoDrop::GetInfoDrop(void)const " (?GetInfoDrop@CInfoDrop@@QBE?AV?$vector@Us_info@@V?$allocator@Us_info@@@std@@@std@@XZ) referenced in function "private: void __thiscall CDPSrvr::OnInfoDrop(class CAr &,unsigned long,unsigned long,unsigned char *,unsigned long)" (?OnInfoDrop@CDPSrvr@@AAEXAAVCAr@@KKPAEK@Z)

WorldServer error LNK2019: unresolved external symbol "public: static class CInfoDrop * __cdecl CInfoDrop::GetInstance(void)" (?GetInstance@CInfoDrop@@SAPAV1@XZ) referenced in function "private: void __thiscall CDPSrvr::OnInfoDrop(class CAr &,unsigned long,unsigned long,unsigned char *,unsigned long)" (?OnInfoDrop@CDPSrvr@@AAEXAAVCAr@@KKPAEK@Z)

WorldServer error LNK2019: unresolved external symbol "public: void __thiscall CInfoDrop::AddInfoDrop(int const &,unsigned long const &,unsigned long const &)" (?AddInfoDrop@CInfoDrop@@QAEXABHABK1@Z) referenced in function "public: int __thiscall CProject::LoadPropMoverEx(char const *)" (?LoadPropMoverEx@CProject@@QAEHPBD@Z)

WorldServer fatal error LNK1120: 3 unresolved externals
DPsrvr.h
Code:
#ifdef __INFO_DROP
    void	OnInfoDrop( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize );
#endif //__INFO_DROP
DPsrvr.cpp
Code:
#ifdef __INFO_DROP
    ON_MSG( PACKKETTYPE_INFO_DROP, &CDPSrvr::OnInfoDrop );
#endif //__INFO_DROP

#ifdef __INFO_DROP
void CDPSrvr::OnInfoDrop( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
    CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser );
    if( IsValidObj( pUser ) )
    {
		DWORD dwID;
        ar >> dwID;
		
		if( dwID == NULL_ID)
			return;
			
		MoverProp* pMover = prj.GetMoverProp( dwID );
		if( !pMover)
			return;
		
		vector<t_info> 	info;
		size_t nSize = 0;
		for( vector<t_info>::const_iterator it = CInfoDrop::GetInstance()->GetInfoDrop().begin(); it != CInfoDrop::GetInstance()->GetInfoDrop().end(); ++it )
		{
			if( dwID == it->dwID )
			{
				t_info		tmp;
				
				memset( &tmp, 0, sizeof( tmp ) );
				tmp.dwID = it->dwID;
				tmp.dwIndex = it->dwIndex;
				tmp.dwProbability = it->dwProbability;
				info.push_back( tmp );
				nSize++;
			}
		}
		if( info.size() > 0 && info.size() < 80 )
			pUser->AddInfoDrop( info, nSize );
		info.clear();
	}
}
#endif //__INFO_DROP
and for the last error this window opens:
WorldServer.ini
Code:
ResourceFolder "Removed"
Key 0101
Core "127.0.0.1"
DB "127.0.0.1"
Account "127.0.0.1"

LANG	1
Heartbeat 10101

Proc	2

GUILDWAR

//18
//PK
//PKCOST
//STEAL

DROPITEM_REMOVE

WORMON
GUILDBANK
GUILDCOMBAT
GUILDCOMBAT1TO1
ARENA
SECRETROOM
RAINBOWRACE

RECOMMEND

//NO_MEMBER_TRADE
NO_TEAM_TRADE
//NO_ADMIN_TRADE
I hope someone can help me out
Sizzurpz is offline  
Reply


Similar Threads Similar Threads
Compile Error
04/12/2015 - Metin2 Private Server - 0 Replies
Sobald ich meine Game compile kommt am ende dieser Fehler Screenshot by Lightshot Weiß jemand von euch wie ich das behebe?
error mob item drop info load error
04/18/2013 - Shaiya Private Server - 1 Replies
Hi all , im new on Private server stuff and i can get my server(EP4) working but if i updated it too EP5.4 i got a error on Log PS_Game.system.log "error mob item drop info load error" I did check my PS_GameDefs.dbo.Items/ItemsMob/Mobs and they all correct and updated to EP5.4 csv's
Compile Error
08/16/2012 - Flyff Private Server - 0 Replies
hey Leute, kennt wer diesen Error beim compilen der Neuz.exe ? Und wenn ja weiß jemand wie man den behebt ^^ ich versteh den Error net :D http://s14.directupload.net/images/120816/nks46a3 j.png
[INFO] kbot - get user info... error - official problem info
04/04/2012 - DarkOrbit - 11 Replies
From kbotik.com so now just wait for 5.46 :)



All times are GMT +1. The time now is 19:23.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.