error while building game server

Post Reply
tazm
Posts: 38
Joined: Fri Jun 28, 2013 12:40 am

error while building game server

Post by tazm » Fri Jun 28, 2013 11:58 am

1>c:\dsp\src\map\lua\lua_baseentity.cpp(5720): error C2679: binary '!=' : no operator found which takes a right-hand operand of type 'ENTITYTYPE' (or there is no acceptable conversion)
1> could be 'built-in C++ operator!=(CBaseEntity *, CBaseEntity *)'
1> c:\program files (x86)\microsoft sdks\windows\v7.0a\include\guiddef.h(197): or 'int operator !=(const GUID &,const GUID &)'
1> while trying to match the argument list '(CBaseEntity *, ENTITYTYPE)'


Ive tried re getting the sorce ive tryied manualy copying in to file and still nothing PLEASE HELP

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: error while building game server

Post by kjLotus » Fri Jun 28, 2013 12:00 pm

apologies, update again, was fixed this morning

https://code.google.com/p/onetimexi/sou ... ail?r=3593

tazm
Posts: 38
Joined: Fri Jun 28, 2013 12:40 am

Re: error while building game server

Post by tazm » Fri Jun 28, 2013 12:06 pm

correct me if im wrong do i need to use tortise again or can i just manually paste into file?

tazm
Posts: 38
Joined: Fri Jun 28, 2013 12:40 am

now i get this error

Post by tazm » Fri Jun 28, 2013 12:08 pm

1>ai_char_normal.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnCriticalHit(class CBattleEntity *)" (?OnCriticalHit@luautils@@YAHPAVCBattleEntity@@@Z) referenced in function "protected: void __thiscall CAICharNormal::ActionJobAbilityFinish(void)" (?ActionJobAbilityFinish@CAICharNormal@@IAEXXZ)
1>ai_mob_dummy.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnMobRoamAction(class CBaseEntity *)" (?OnMobRoamAction@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "protected: void __thiscall CAIMobDummy::ActionRoaming(void)" (?ActionRoaming@CAIMobDummy@@IAEXXZ)
1>ai_mob_dummy.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnMobPath(class CBaseEntity *)" (?OnMobPath@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "protected: void __thiscall CAIMobDummy::FollowPath(void)" (?FollowPath@CAIMobDummy@@IAEXXZ)
1>ai_npc_dummy.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnNpcSpawn(class CBaseEntity *)" (?OnNpcSpawn@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "protected: void __thiscall CAINpcDummy::ActionSpawn(void)" (?ActionSpawn@CAINpcDummy@@IAEXXZ)
1>ai_npc_dummy.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnNpcPath(class CBaseEntity *)" (?OnNpcPath@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "protected: void __thiscall CAINpcDummy::ActionRoaming(void)" (?ActionRoaming@CAINpcDummy@@IAEXXZ)
1>zone.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnTOTDChange(unsigned short,unsigned char)" (?OnTOTDChange@luautils@@YAHGE@Z) referenced in function "public: void __thiscall CZone::TOTDChange(enum TIMETYPE)" (?TOTDChange@CZone@@QAEXW4TIMETYPE@@@Z)
1>zoneutils.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnMobInitialize(class CBaseEntity *)" (?OnMobInitialize@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "void __cdecl zoneutils::LoadMOBList(class CZone *)" (?LoadMOBList@zoneutils@@YAXPAVCZone@@@Z)
1>..\..\DSGame-server.exe : fatal error LNK1120: 7 unresolved externals


help?

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: error while building game server

Post by kjLotus » Fri Jun 28, 2013 12:08 pm

tazm wrote:correct me if im wrong do i need to use tortise again or can i just manually paste into file?
svn update

tazm
Posts: 38
Joined: Fri Jun 28, 2013 12:40 am

Re: error while building game server

Post by tazm » Fri Jun 28, 2013 12:11 pm

can u post updated link for svn please

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: error while building game server

Post by kjLotus » Fri Jun 28, 2013 12:18 pm

tazm wrote:can u post updated link for svn please
i don't understand your question - you right click the folder, tortoisesvn -> svn update, which updates your game server files to the revision i posted earlier

you may want to look at some tutorials on how svn works if you don't understand it

tazm
Posts: 38
Joined: Fri Jun 28, 2013 12:40 am

Re: error while building game server

Post by tazm » Fri Jun 28, 2013 12:28 pm

ok i updated it but still getting this error i dont know why


>ai_char_normal.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnCriticalHit(class CBattleEntity *)" (?OnCriticalHit@luautils@@YAHPAVCBattleEntity@@@Z) referenced in function "protected: void __thiscall CAICharNormal::ActionJobAbilityFinish(void)" (?ActionJobAbilityFinish@CAICharNormal@@IAEXXZ)
1>ai_mob_dummy.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnMobRoamAction(class CBaseEntity *)" (?OnMobRoamAction@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "protected: void __thiscall CAIMobDummy::ActionRoaming(void)" (?ActionRoaming@CAIMobDummy@@IAEXXZ)
1>ai_mob_dummy.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnMobPath(class CBaseEntity *)" (?OnMobPath@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "protected: void __thiscall CAIMobDummy::FollowPath(void)" (?FollowPath@CAIMobDummy@@IAEXXZ)
1>ai_npc_dummy.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnNpcSpawn(class CBaseEntity *)" (?OnNpcSpawn@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "protected: void __thiscall CAINpcDummy::ActionSpawn(void)" (?ActionSpawn@CAINpcDummy@@IAEXXZ)
1>ai_npc_dummy.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnNpcPath(class CBaseEntity *)" (?OnNpcPath@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "protected: void __thiscall CAINpcDummy::ActionRoaming(void)" (?ActionRoaming@CAINpcDummy@@IAEXXZ)
1>zone.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnTOTDChange(unsigned short,unsigned char)" (?OnTOTDChange@luautils@@YAHGE@Z) referenced in function "public: void __thiscall CZone::TOTDChange(enum TIMETYPE)" (?TOTDChange@CZone@@QAEXW4TIMETYPE@@@Z)
1>zoneutils.obj : error LNK2019: unresolved external symbol "int __cdecl luautils::OnMobInitialize(class CBaseEntity *)" (?OnMobInitialize@luautils@@YAHPAVCBaseEntity@@@Z) referenced in function "void __cdecl zoneutils::LoadMOBList(class CZone *)" (?LoadMOBList@zoneutils@@YAXPAVCZone@@@Z)
1>..\..\DSGame-server.exe : fatal error LNK1120: 7 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: error while building game server

Post by kjLotus » Fri Jun 28, 2013 12:51 pm

hm.. try rebuild in visual studio (or clean -> build, same thing)

tazm
Posts: 38
Joined: Fri Jun 28, 2013 12:40 am

Re: error while building game server

Post by tazm » Fri Jun 28, 2013 2:09 pm

ok fix that problem but now my servers wont launch

Post Reply