glararan
-
Posts
112 -
Joined
-
Last visited
Posts posted by glararan
-
-
Not working anyway
root@vm3195:/servery/tc434# cd build root@vm3195:/servery/tc434/build# cmake ../ -DPREFIX=/servery/tc434/server -DCONF_DIR=/servery/tc434/server/etc -DWITH_WARNINGS=1 CMake Error: The source directory "/servery/tc434" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. root@vm3195:/servery/tc434/build# cmake ../core/ -DPREFIX=/servery/tc434/server -DCONF_DIR=/servery/tc434/server/etc -DWITH_WARNINGS=1 -- Detected 64-bit platform -- UNIX: Using jemalloc -- UNIX: Using default library directory CMake Error at cmake/platform/unix/settings.cmake:22 (configure_file): configure_file attempted to configure a file: /servery/tc434/core/cmake_uninstall.cmake into a source directory. Call Stack (most recent call first): cmake/macros/CheckPlatform.cmake:15 (include) CMakeLists.txt:51 (include) -- Configuring incomplete, errors occurred! root@vm3195:/servery/tc434/build#
-
Hi,
Im trying to compile on linux but I cant, I googled for 2 days... read every article but it wasnt working.. any idea what to do with >
root@vm3195:/servery/tc434# cd core root@vm3195:/servery/tc434/core# cd build root@vm3195:/servery/tc434/core/build# cmake ../ -DPREFIX=/servery/tc434/server -DCONF_DIR=/servery/tc434/server/etc -DWITH_WARNINGS=1 -- Detected 64-bit platform -- UNIX: Using jemalloc -- UNIX: Using default library directory CMake Error at cmake/platform/unix/settings.cmake:22 (configure_file): configure_file attempted to configure a file: /servery/tc434/core/cmake_uninstall.cmake into a source directory. Call Stack (most recent call first): cmake/macros/CheckPlatform.cmake:15 (include) CMakeLists.txt:51 (include) -- Configuring incomplete, errors occurred! root@vm3195:/servery/tc434/core/build# root@vm3195:/servery/tc434#
Aswell another user wont work.. also tried
Thanks for help and any idea
-
Hi i compile and i get now error
1>------ Build started: Project: revision.h, Configuration: Release Win32 ------ 1>Build log was saved at "file://c:\Localhost\NEWRPPROJECT\Win\src\genrev\revision.h.dir\Release\BuildLog.htm" 1>revision.h - 0 error(s), 0 warning(s) 2>------ Build started: Project: game, Configuration: Release Win32 ------ 2>Compiling... 2>Player.cpp 2>Creating library... 2>Player.obj : warning LNK4006: "public: bool __thiscall World::IsClosed(void)const " (?IsClosed@World@@QBE_NXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: char const * __thiscall World::GetMotd(void)const " (?GetMotd@World@@QBEPBDXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::ProcessStartEvent(void)" (?ProcessStartEvent@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::ProcessStopEvent(void)" (?ProcessStopEvent@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SetClosed(bool)" (?SetClosed@World@@QAEX_N@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SetMotd(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?SetMotd@World@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: void __thiscall World::DetectDBCLang(void)" (?DetectDBCLang@World@@AAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __cdecl World::RecordTimeDiff(char const *,...)" (?RecordTimeDiff@World@@QAAXPBDZZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: bool __thiscall World::RemoveBanAccount(enum BanMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?RemoveBanAccount@World@@QAE_NW4BanMode@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::UpdateMaxSessionCounters(void)" (?UpdateMaxSessionCounters@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: class Player * __thiscall World::FindPlayerInZone(unsigned int)" (?FindPlayerInZone@World@@QAEPAVPlayer@@I@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: class WorldSession * __thiscall World::FindSession(unsigned int)const " (?FindSession@World@@QBEPAVWorldSession@@I@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: bool __thiscall World::HasRecentlyDisconnected(class WorldSession *)" (?HasRecentlyDisconnected@World@@QAE_NPAVWorldSession@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: int __thiscall World::GetQueuePos(class WorldSession *)" (?GetQueuePos@World@@QAEHPAVWorldSession@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::AddQueuedPlayer(class WorldSession *)" (?AddQueuedPlayer@World@@QAEXPAVWorldSession@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SendGlobalMessage(class WorldPacket *,class WorldSession *,unsigned int)" (?SendGlobalMessage@World@@QAEXPAVWorldPacket@@PAVWorldSession@@I@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SendGlobalGMMessage(class WorldPacket *,class WorldSession *,unsigned int)" (?SendGlobalGMMessage@World@@QAEXPAVWorldPacket@@PAVWorldSession@@I@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SendZoneMessage(unsigned int,class WorldPacket *,class WorldSession *,unsigned int)" (?SendZoneMessage@World@@QAEXIPAVWorldPacket@@PAVWorldSession@@I@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::KickAll(void)" (?KickAll@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::KickAllLess(enum AccountTypes)" (?KickAllLess@World@@QAEXW4AccountTypes@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SetPlayerSecurityLimit(enum AccountTypes)" (?SetPlayerSecurityLimit@World@@QAEXW4AccountTypes@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: unsigned __int64 __thiscall World::getWorldState(unsigned int)const " (?getWorldState@World@@QBE_KI@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: bool __thiscall World::RemoveSession(unsigned int)" (?RemoveSession@World@@QAE_NI@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "protected: void __thiscall World::_UpdateRealmCharCount(class ACE_Refcounted_Auto_Ptr<class ResultSet,class ACE_Thread_Mutex>,unsigned int)" (?_UpdateRealmCharCount@World@@IAEXV?$ACE_Refcounted_Auto_Ptr@VResultSet@@VACE_Thread_Mutex@@@@I@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::UpdateAreaDependentAuras(void)" (?UpdateAreaDependentAuras@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::LoadAutobroadcasts(void)" (?LoadAutobroadcasts@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SendGlobalText(char const *,class WorldSession *)" (?SendGlobalText@World@@QAEXPBDPAVWorldSession@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SendZoneText(unsigned int,char const *,class WorldSession *,unsigned int)" (?SendZoneText@World@@QAEXIPBDPAVWorldSession@@I@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: enum BanReturn __thiscall World::BanCharacter(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?BanCharacter@World@@QAE?AW4BanReturn@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@000@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: bool __thiscall World::RemoveBanCharacter(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?RemoveBanCharacter@World@@QAE_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::ProcessCliCommands(void)" (?ProcessCliCommands@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "protected: void __thiscall World::InitDailyQuestResetTime(void)" (?InitDailyQuestResetTime@World@@IAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::LoadDBVersion(void)" (?LoadDBVersion@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::LoadWorldStates(void)" (?LoadWorldStates@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::setWorldState(unsigned int,unsigned __int64)" (?setWorldState@World@@QAEXI_K@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: __thiscall World::~World(void)" (??1World@@QAE@XZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::AddSession(class WorldSession *)" (?AddSession@World@@QAEXPAVWorldSession@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::LoadDBAllowedSecurityLevel(void)" (?LoadDBAllowedSecurityLevel@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: void __thiscall World::ProcessQueryCallbacks(void)" (?ProcessQueryCallbacks@World@@AAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::UpdateRealmCharCount(unsigned int)" (?UpdateRealmCharCount@World@@QAEXI@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SendServerMessage(enum ServerMessageType,char const *,class Player *)" (?SendServerMessage@World@@QAEXW4ServerMessageType@@PBDPAVPlayer@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::ShutdownMsg(bool,class Player *)" (?ShutdownMsg@World@@QAEX_NPAVPlayer@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::ShutdownCancel(void)" (?ShutdownCancel@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: __thiscall World::World(void)" (??0World@@QAE@XZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: enum BanReturn __thiscall World::BanAccount(enum BanMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?BanAccount@World@@QAE?AW4BanReturn@@W4BanMode@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@111@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "protected: void __thiscall World::_UpdateGameTime(void)" (?_UpdateGameTime@World@@IAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::ShutdownServ(unsigned int,unsigned int,unsigned char)" (?ShutdownServ@World@@QAEXIIE@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::LoadConfigSettings(bool)" (?LoadConfigSettings@World@@QAEX_N@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "protected: void __thiscall World::InitWeeklyQuestResetTime(void)" (?InitWeeklyQuestResetTime@World@@IAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "protected: void __thiscall World::InitRandomBGResetTime(void)" (?InitRandomBGResetTime@World@@IAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "protected: void __thiscall World::ResetRandomBG(void)" (?ResetRandomBG@World@@IAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: bool __thiscall World::RemoveQueuedPlayer(class WorldSession *)" (?RemoveQueuedPlayer@World@@QAE_NPAVWorldSession@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __cdecl World::SendWorldText(int,...)" (?SendWorldText@World@@QAAXHZZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __cdecl World::SendGMText(int,...)" (?SendGMText@World@@QAAXHZZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SendAutoBroadcast(void)" (?SendAutoBroadcast@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: void __thiscall World::AddSession_(class WorldSession *)" (?AddSession_@World@@AAEXPAVWorldSession@@@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::UpdateSessions(unsigned int)" (?UpdateSessions@World@@QAEXI@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "protected: void __thiscall World::ResetDailyQuests(void)" (?ResetDailyQuests@World@@IAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "protected: void __thiscall World::ResetWeeklyQuests(void)" (?ResetWeeklyQuests@World@@IAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::Update(unsigned int)" (?Update@World@@QAEXI@Z) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::ForceGameEventUpdate(void)" (?ForceGameEventUpdate@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: void __thiscall World::SetInitialWorldSettings(void)" (?SetInitialWorldSettings@World@@QAEXXZ) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: static bool volatile World::m_stopEvent" (?m_stopEvent@World@@0_NC) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: static unsigned char World::m_ExitCode" (?m_ExitCode@World@@0EA) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "public: static unsigned int volatile World::m_worldLoopCounter" (?m_worldLoopCounter@World@@2IC) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: static float World::m_MaxVisibleDistanceOnContinents" (?m_MaxVisibleDistanceOnContinents@World@@0MA) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: static float World::m_MaxVisibleDistanceInInstances" (?m_MaxVisibleDistanceInInstances@World@@0MA) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: static float World::m_MaxVisibleDistanceInBGArenas" (?m_MaxVisibleDistanceInBGArenas@World@@0MA) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: static int World::m_visibility_notify_periodOnContinents" (?m_visibility_notify_periodOnContinents@World@@0HA) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: static int World::m_visibility_notify_periodInInstances" (?m_visibility_notify_periodInInstances@World@@0HA) already defined in World.obj; second definition ignored 2>Player.obj : warning LNK4006: "private: static int World::m_visibility_notify_periodInBGArenas" (?m_visibility_notify_periodInBGArenas@World@@0HA) already defined in World.obj; second definition ignored 2>Build log was saved at "file://c:\Localhost\NEWRPPROJECT\Win\src\server\game\game.dir\Release\BuildLog.htm" 2>game - 0 error(s), 71 warning(s) 3>------ Build started: Project: worldserver, Configuration: Release Win32 ------ 3>Performing Pre-Link Event... 3>Linking... 3>game.lib(Player.obj) : error LNK2005: "public: bool __thiscall World::IsClosed(void)const " (?IsClosed@World@@QBE_NXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: char const * __thiscall World::GetMotd(void)const " (?GetMotd@World@@QBEPBDXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::ProcessStartEvent(void)" (?ProcessStartEvent@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::ProcessStopEvent(void)" (?ProcessStopEvent@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SetClosed(bool)" (?SetClosed@World@@QAEX_N@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SetMotd(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?SetMotd@World@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: void __thiscall World::DetectDBCLang(void)" (?DetectDBCLang@World@@AAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __cdecl World::RecordTimeDiff(char const *,...)" (?RecordTimeDiff@World@@QAAXPBDZZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: bool __thiscall World::RemoveBanAccount(enum BanMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?RemoveBanAccount@World@@QAE_NW4BanMode@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::UpdateMaxSessionCounters(void)" (?UpdateMaxSessionCounters@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: class Player * __thiscall World::FindPlayerInZone(unsigned int)" (?FindPlayerInZone@World@@QAEPAVPlayer@@I@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: class WorldSession * __thiscall World::FindSession(unsigned int)const " (?FindSession@World@@QBEPAVWorldSession@@I@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: bool __thiscall World::HasRecentlyDisconnected(class WorldSession *)" (?HasRecentlyDisconnected@World@@QAE_NPAVWorldSession@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: int __thiscall World::GetQueuePos(class WorldSession *)" (?GetQueuePos@World@@QAEHPAVWorldSession@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::AddQueuedPlayer(class WorldSession *)" (?AddQueuedPlayer@World@@QAEXPAVWorldSession@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SendGlobalMessage(class WorldPacket *,class WorldSession *,unsigned int)" (?SendGlobalMessage@World@@QAEXPAVWorldPacket@@PAVWorldSession@@I@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SendGlobalGMMessage(class WorldPacket *,class WorldSession *,unsigned int)" (?SendGlobalGMMessage@World@@QAEXPAVWorldPacket@@PAVWorldSession@@I@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SendZoneMessage(unsigned int,class WorldPacket *,class WorldSession *,unsigned int)" (?SendZoneMessage@World@@QAEXIPAVWorldPacket@@PAVWorldSession@@I@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::KickAll(void)" (?KickAll@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::KickAllLess(enum AccountTypes)" (?KickAllLess@World@@QAEXW4AccountTypes@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SetPlayerSecurityLimit(enum AccountTypes)" (?SetPlayerSecurityLimit@World@@QAEXW4AccountTypes@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: unsigned __int64 __thiscall World::getWorldState(unsigned int)const " (?getWorldState@World@@QBE_KI@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: bool __thiscall World::RemoveSession(unsigned int)" (?RemoveSession@World@@QAE_NI@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "protected: void __thiscall World::_UpdateRealmCharCount(class ACE_Refcounted_Auto_Ptr<class ResultSet,class ACE_Thread_Mutex>,unsigned int)" (?_UpdateRealmCharCount@World@@IAEXV?$ACE_Refcounted_Auto_Ptr@VResultSet@@VACE_Thread_Mutex@@@@I@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::UpdateAreaDependentAuras(void)" (?UpdateAreaDependentAuras@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::LoadAutobroadcasts(void)" (?LoadAutobroadcasts@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SendGlobalText(char const *,class WorldSession *)" (?SendGlobalText@World@@QAEXPBDPAVWorldSession@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SendZoneText(unsigned int,char const *,class WorldSession *,unsigned int)" (?SendZoneText@World@@QAEXIPBDPAVWorldSession@@I@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: enum BanReturn __thiscall World::BanCharacter(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?BanCharacter@World@@QAE?AW4BanReturn@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@000@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: bool __thiscall World::RemoveBanCharacter(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?RemoveBanCharacter@World@@QAE_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::ProcessCliCommands(void)" (?ProcessCliCommands@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "protected: void __thiscall World::InitDailyQuestResetTime(void)" (?InitDailyQuestResetTime@World@@IAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::LoadDBVersion(void)" (?LoadDBVersion@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::LoadWorldStates(void)" (?LoadWorldStates@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::setWorldState(unsigned int,unsigned __int64)" (?setWorldState@World@@QAEXI_K@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: __thiscall World::~World(void)" (??1World@@QAE@XZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::AddSession(class WorldSession *)" (?AddSession@World@@QAEXPAVWorldSession@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::LoadDBAllowedSecurityLevel(void)" (?LoadDBAllowedSecurityLevel@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: void __thiscall World::ProcessQueryCallbacks(void)" (?ProcessQueryCallbacks@World@@AAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::UpdateRealmCharCount(unsigned int)" (?UpdateRealmCharCount@World@@QAEXI@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SendServerMessage(enum ServerMessageType,char const *,class Player *)" (?SendServerMessage@World@@QAEXW4ServerMessageType@@PBDPAVPlayer@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::ShutdownMsg(bool,class Player *)" (?ShutdownMsg@World@@QAEX_NPAVPlayer@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::ShutdownCancel(void)" (?ShutdownCancel@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: __thiscall World::World(void)" (??0World@@QAE@XZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: enum BanReturn __thiscall World::BanAccount(enum BanMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?BanAccount@World@@QAE?AW4BanReturn@@W4BanMode@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@111@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "protected: void __thiscall World::_UpdateGameTime(void)" (?_UpdateGameTime@World@@IAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::ShutdownServ(unsigned int,unsigned int,unsigned char)" (?ShutdownServ@World@@QAEXIIE@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::LoadConfigSettings(bool)" (?LoadConfigSettings@World@@QAEX_N@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "protected: void __thiscall World::InitWeeklyQuestResetTime(void)" (?InitWeeklyQuestResetTime@World@@IAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "protected: void __thiscall World::InitRandomBGResetTime(void)" (?InitRandomBGResetTime@World@@IAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "protected: void __thiscall World::ResetRandomBG(void)" (?ResetRandomBG@World@@IAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: bool __thiscall World::RemoveQueuedPlayer(class WorldSession *)" (?RemoveQueuedPlayer@World@@QAE_NPAVWorldSession@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __cdecl World::SendWorldText(int,...)" (?SendWorldText@World@@QAAXHZZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __cdecl World::SendGMText(int,...)" (?SendGMText@World@@QAAXHZZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SendAutoBroadcast(void)" (?SendAutoBroadcast@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: void __thiscall World::AddSession_(class WorldSession *)" (?AddSession_@World@@AAEXPAVWorldSession@@@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::UpdateSessions(unsigned int)" (?UpdateSessions@World@@QAEXI@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "protected: void __thiscall World::ResetDailyQuests(void)" (?ResetDailyQuests@World@@IAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "protected: void __thiscall World::ResetWeeklyQuests(void)" (?ResetWeeklyQuests@World@@IAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::Update(unsigned int)" (?Update@World@@QAEXI@Z) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::ForceGameEventUpdate(void)" (?ForceGameEventUpdate@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: void __thiscall World::SetInitialWorldSettings(void)" (?SetInitialWorldSettings@World@@QAEXXZ) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: static bool volatile World::m_stopEvent" (?m_stopEvent@World@@0_NC) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: static unsigned char World::m_ExitCode" (?m_ExitCode@World@@0EA) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "public: static unsigned int volatile World::m_worldLoopCounter" (?m_worldLoopCounter@World@@2IC) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: static float World::m_MaxVisibleDistanceOnContinents" (?m_MaxVisibleDistanceOnContinents@World@@0MA) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: static float World::m_MaxVisibleDistanceInInstances" (?m_MaxVisibleDistanceInInstances@World@@0MA) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: static float World::m_MaxVisibleDistanceInBGArenas" (?m_MaxVisibleDistanceInBGArenas@World@@0MA) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: static int World::m_visibility_notify_periodOnContinents" (?m_visibility_notify_periodOnContinents@World@@0HA) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: static int World::m_visibility_notify_periodInInstances" (?m_visibility_notify_periodInInstances@World@@0HA) already defined in game.lib(World.obj) 3>game.lib(Player.obj) : error LNK2005: "private: static int World::m_visibility_notify_periodInBGArenas" (?m_visibility_notify_periodInBGArenas@World@@0HA) already defined in game.lib(World.obj) 3> Creating library C:\Localhost\NEWRPPROJECT\Win\src\server\worldserver\Release\worldserver.lib and object C:\Localhost\NEWRPPROJECT\Win\src\server\worldserver\Release\worldserver.exp 3>C:\Localhost\NEWRPPROJECT\Win\bin\Release\worldserver.exe : fatal error LNK1169: one or more multiply defined symbols found 3>Build log was saved at "file://c:\Localhost\NEWRPPROJECT\Win\src\server\worldserver\worldserver.dir\Release\BuildLog.htm" 3>worldserver - 72 error(s), 0 warning(s) 4>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------ 4>Project not selected to build for this solution configuration ========== Build: 2 succeeded, 1 failed, 11 up-to-date, 1 skipped ==========
Please help
How to pass data from CommandScript to ScriptedAI
in Help and Support
Posted
Hi,
I'm trying to make scriptedAI which should summon, unsummon, follow, stop on action based from CommandScript.
My only idea how to get this working is store data in database and make in ScriptedAI override of UpdateAI and select, but isn't that bad way at all?