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!

Compiling error help

Status
Not open for further replies.
Elite Diviner
Joined
Oct 10, 2008
Messages
461
Reaction score
82
Code:
WorldServer error LNK2019: unresolved external symbol "class PvPSystem g_PVP" (?g_PVP@@3VPvPSystem@@A) referenced in function "public: void __thiscall CUserMng::AddGMChat(int)" (?AddGMChat@CUserMng@@QAEXH@Z)
WorldServer error LNK2001: unresolved external symbol "class PvPSystem g_PVP" (?g_PVP@@3VPvPSystem@@A)
WorldServer error LNK2001: unresolved external symbol "class PvPSystem g_PVP" (?g_PVP@@3VPvPSystem@@A)
WorldServer error LNK2001: unresolved external symbol "public: static int PvPSystem::isEnabled" (?isEnabled@PvPSystem@@2HA)
WorldServer error LNK2001: unresolved external symbol "public: static int PvPSystem::isEnabled" (?isEnabled@PvPSystem@@2HA)
WorldServer error LNK2001: unresolved external symbol "public: static int PvPSystem::isEnabled" (?isEnabled@PvPSystem@@2HA)
WorldServer error LNK2019: unresolved external symbol "void __cdecl onArenaJoinHooks(class CUser *)" (?onArenaJoinHooks@@YAXPAVCUser@@@Z) referenced in function "private: void __thiscall CDPSrvr::OnArenaEnter(class CAr &,unsigned long,unsigned long,unsigned char *,unsigned long)" (?OnArenaEnter@CDPSrvr@@AAEXAAVCAr@@KKPAEK@Z)
WorldServer error LNK2019: unresolved external symbol "void __cdecl onArenaExitHooks(class CUser *)" (?onArenaExitHooks@@YAXPAVCUser@@@Z) referenced in function "private: void __thiscall CDPSrvr::OnArenaExit(class CAr &,unsigned long,unsigned long,unsigned char *,unsigned long)" (?OnArenaExit@CDPSrvr@@AAEXAAVCAr@@KKPAEK@Z)
WorldServer error LNK2001: unresolved external symbol "void __cdecl onArenaExitHooks(class CUser *)" (?onArenaExitHooks@@YAXPAVCUser@@@Z)
WorldServer error LNK2001: unresolved external symbol "void __cdecl onArenaExitHooks(class CUser *)" (?onArenaExitHooks@@YAXPAVCUser@@@Z)
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall PvPSystem::SerializeBoard(class CAr &)" (?SerializeBoard@PvPSystem@@QAEXAAVCAr@@@Z) referenced in function "public: void __thiscall CUser::pvpBoard(void)" (?pvpBoard@CUser@@QAEXXZ)
WorldServer error LNK2001: unresolved external symbol "char * phjarenax" (?phjarenax@@3PADA)
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall PvPSystem::GlobalNotice(class ATL::CStringT<char,class StrTraitMFC<char,class ATL::ChTraitsCRT<char> > >)" (?GlobalNotice@PvPSystem@@QAEXV?$CStringT@DV?$StrTraitMFC@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@@Z) referenced in function "public: int __thiscall CUser::pvpLeave(void)" (?pvpLeave@CUser@@QAEHXZ)
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall PvPSystem::RemovePlayer(unsigned long)" (?RemovePlayer@PvPSystem@@QAEXK@Z) referenced in function "public: int __thiscall CUser::pvpLeave(void)" (?pvpLeave@CUser@@QAEHXZ)
WorldServer error LNK2019: unresolved external symbol "void __cdecl pRemovePlayerIDHook(class CUser *)" (?pRemovePlayerIDHook@@YAXPAVCUser@@@Z) referenced in function "public: void __thiscall CUserMng::DestroyPlayer(class CUser *)" (?DestroyPlayer@CUserMng@@QAEXPAVCUser@@@Z)
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall PvPSystem::disconnecting(unsigned long)" (?disconnecting@PvPSystem@@QAEXK@Z) referenced in function "public: void __thiscall CUserMng::RemoveUser(unsigned long)" (?RemoveUser@CUserMng@@QAEXK@Z)
WorldServer error LNK2019: unresolved external symbol "public: int __thiscall PvPSystem::GetPlayers(void)" (?GetPlayers@PvPSystem@@QAEHXZ) referenced in function "public: int __thiscall CUser::pvpJoin(void)" (?pvpJoin@CUser@@QAEHXZ)
WorldServer error LNK2019: unresolved external symbol "public: int __thiscall PvPSystem::IsPlayer(unsigned long)" (?IsPlayer@PvPSystem@@QAEHK@Z) referenced in function "public: int __thiscall CUser::pvpJoin(void)" (?pvpJoin@CUser@@QAEHXZ)
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall PvPSystem::GlobalMsg(class ATL::CStringT<char,class StrTraitMFC<char,class ATL::ChTraitsCRT<char> > >)" (?GlobalMsg@PvPSystem@@QAEXV?$CStringT@DV?$StrTraitMFC@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@@Z) referenced in function "public: int __thiscall CUser::pvpSpec(void)" (?pvpSpec@CUser@@QAEHXZ)
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall PvPSystem::Initialize(void)" (?Initialize@PvPSystem@@QAEXXZ) referenced in function "int __cdecl InitInstance(struct HINSTANCE__ *,int)" (?InitInstance@@YAHPAUHINSTANCE__@@H@Z)
WorldServer error LNK2019: unresolved external symbol "void __cdecl InitAll(void)" (?InitAll@@YAXXZ) referenced in function "int __cdecl InitInstance(struct HINSTANCE__ *,int)" (?InitInstance@@YAHPAUHINSTANCE__@@H@Z)
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall PvPSystem::End(void)" (?End@PvPSystem@@QAEXXZ) referenced in function "int __cdecl TextCmd_endpvp(class CScanner &)" (?TextCmd_endpvp@@YAHAAVCScanner@@@Z)
WorldServer error LNK2019: unresolved external symbol "public: int __thiscall PvPSystem::Open(void)" (?Open@PvPSystem@@QAEHXZ) referenced in function "int __cdecl TextCmd_pvpspec(class CScanner &)" (?TextCmd_pvpspec@@YAHAAVCScanner@@@Z)
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall PvPSystem::Start(int)" (?Start@PvPSystem@@QAEXH@Z) referenced in function "int __cdecl TextCmd_startpvp(class CScanner &)" (?TextCmd_startpvp@@YAHAAVCScanner@@@Z)
WorldServer error LNK2019: unresolved external symbol "public: void __thiscall PvPSystem::Process(class CUser *,class CUser *)" (?Process@PvPSystem@@QAEXPAVCUser@@0@Z) referenced in function "public: int __thiscall CMover::DoDie(class CCtrl *,unsigned long)" (?DoDie@CMover@@QAEHPAVCCtrl@@K@Z)
WorldServer error LNK2019: unresolved external symbol "void __cdecl OnArenaKillHook(class CUser *,class CUser *)" (?OnArenaKillHook@@YAXPAVCUser@@0@Z) referenced in function "public: int __thiscall CMover::DoDie(class CCtrl *,unsigned long)" (?DoDie@CMover@@QAEHPAVCCtrl@@K@Z)
WorldServer fatal error LNK1120: 25 unresolved externals

Can anyone help with this?
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
You didn't fully add whatever it is you tried to add.
Go back and look it over and make sure u didn't forget anything.
 
Last edited:
Junior Spellweaver
Joined
Dec 29, 2012
Messages
126
Reaction score
0
Yes always be sure you have a backup of your source folder and see what u missed and if you cant solve it just go back to your backup
 
Newbie Spellweaver
Joined
Apr 29, 2011
Messages
97
Reaction score
10
The error points out in your added PVP system. You might missed a code that's why you're getting compiling errors.
 
Elite Diviner
Joined
Oct 10, 2008
Messages
461
Reaction score
82
Can't I just comment it out of my source and recompile?
 
Elite Diviner
Joined
Oct 10, 2008
Messages
461
Reaction score
82
You sure can :)

lol and how do I do that? sorry but I have no experience with the source at all.
I am very experience in resource side things, and also 3d but I have no coding experience.
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
lol and how do I do that? sorry but I have no experience with the source at all.
I am very experience in resource side things, and also 3d but I have no coding experience.

Find all instances of:
PvPSystem
onArenaJoinHooks
onArenaExitHooks
pvpJoin
TextCmd_startpvp
TextCmd_pvpspec
TextCmd_endpvp
pvpLeave
pvpBoard

and remove them, make sure you back up your source!
 
Status
Not open for further replies.
Back
Top