Hey,
Can anyone help me with this? i'm sturggeling for over an houre now!
PFF...
Does anyone know how to solve this problem?:
http://prntscr.com/3p8d7d
i know it tells me what to do, but i don't get it >.<
Thanks in advance!
Hey,
Can anyone help me with this? i'm sturggeling for over an houre now!
PFF...
Does anyone know how to solve this problem?:
http://prntscr.com/3p8d7d
i know it tells me what to do, but i don't get it >.<
Thanks in advance!
Where did you add m_pJobChange in WndManager.h and how did you do it,
Got this error fixed, now struggeling to this;
WorldServer error LNK2019: unresolved external symbol "private: void __thiscall CDPSrvr::OnUpdateJob(class CAr &,unsigned long,unsigned long,unsigned char *,unsigned long)" (?OnUpdateJob@CDPSrvr@@AAEXAAVCAr@@KKPAEK@Z) referenced in function "public: __thiscall CDPSrvr::CDPSrvr(void)" (??0CDPSrvr@@QAE@XZ)
Srsly i'm getting grazynow >.<
check your DPSrvr.cpp if CDPSrvr::OnUpdateJob function is there.
Yeah, but it's from the release so.. IDK what is wrong with it >.<
#ifdef __BEASTJobchanger
void CDPSrvr::OnUpdateJob( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE, u_long )
{
CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser );
if( IsValidObj( pUser ) == TRUE )
{
int nJob, nLevel;
ar >> nJob;
if( pUser->m_nJob >= nJob )
return;
if( nJob < MAX_EXPERT && pUser->m_nLevel != MAX_JOB_LEVEL )
return;
else if( nJob >= MAX_EXPERT && nJob < MAX_PROFESSIONAL && pUser->m_nLevel != (MAX_EXP_LEVEL + MAX_JOB_LEVEL) )
return;
else if( nJob >= MAX_PROFESSIONAL && nJob < MAX_HERO && pUser->m_nLevel != MAX_GENERAL_LEVEL && pUser->GetExpPercent() != 9999 )
return;
else if( nJob >= MAX_HERO && pUser->m_nLevel != MAX_LEGEND_LEVEL && pUser->GetExpPercent() != 9999 )
return;
if( nJob < MAX_EXPERT )
nLevel = MAX_JOB_LEVEL;
else if( nJob < MAX_PROFESSIONAL )
nLevel = MAX_JOB_LEVEL + MAX_EXP_LEVEL;
else if( nJob < MAX_MASTER )
nLevel = MAX_JOB_LEVEL + MAX_EXP_LEVEL;
else if( nJob < MAX_HERO )
nLevel = MAX_GENERAL_LEVEL;
else if( nJob < MAX_JOB )
nLevel = MAX_LEGEND_LEVEL;
else
return;
pUser->InitFastJobChange( nJob, nLevel, TRUE );
}
}
#endif //beastjobchanger
could you post the definition of OnUpdateJob in the DpSrvr.h?
all defenitions same name OnUpdateJob but still same error deleted output folder same still error, dafuq is this?
Last edited by Marvinoo; 04-06-14 at 09:48 PM.
no. the one in the dpSrvr.h
- - - Updated - - -
well If you can't find it maybe that's the problem. add this to your DPsrvr.h
you can add that anywhere in the public scope. before the:Code:#ifdef __BEASTJobchanger void OnUpdateJob( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE, u_long ); #endif //__BEASTJobchanger
Code:private: DPID m_dpidCache; // ij½¬¼¹ö DPID };
Last edited by Marvinoo; 04-06-14 at 11:17 PM.
same error?