Jump to content
TrinityCore

Recommended Posts

--- Canned message start

It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.

--- Canned message end ---

Share this post


Link to post
Share on other sites

I am following: http://www.trinitycore.info/How-to:Linux

but when I need to "make" the build it goes wrong.

what am I doing wrong and what do I need to do to fix it.

Regards,

Chris (Bombo)

[email protected]:~/build$ cmake ../TrinityCore/ -DPREFIX=/home/wow/server -DWITH_SQL=1

-- The C compiler identification is GNU

-- The CXX compiler identification is GNU

-- Check for working C compiler: /usr/bin/gcc

-- Check for working C compiler: /usr/bin/gcc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detected 32-bit platform

-- UNIX: Using default configuration directory

-- UNIX: Using default library directory

-- UNIX: Configuring uninstall target

-- UNIX: Created uninstall target

-- GCC: All warnings disabled

-- Found ACE library: /usr/lib/libACE.so

-- Found ACE headers: /usr/include

-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so

-- Using mysql-config: /usr/bin/mysql_config

-- Found MySQL library: /usr/lib/libmysqlclient_r.so

-- Found MySQL headers: /usr/include/mysql

-- Found Readline library: /usr/lib/libreadline.so

-- Include dir is: /usr/include

-- Found ZLIB: /usr/include

-- Found BZip2: /usr/lib/libbz2.so

-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so

-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found


* TrinityCore commithash : bbcfcabf3a37

* Build binaries in      : Release mode


* Install core to        : /home/wow/server

* Install libraries to   : /home/wow/server/lib

* Install configs to     : /home/wow/server/etc


* Build world/auth       : Yes (default)

* Build with scripts     : Yes (default)

* Build map/vmap tools   : No  (default)

* Build core w/PCH       : Yes (default)

* Build scripts w/PCH    : Yes (default)

* Use SFMT for RNG       : No  (default)

* Show compile-warnings  : No  (default)

* Use coreside debug     : No  (default)


-- SCRIPT PREPARATIONS

  -> Prepared: Spells

  -> Prepared: Commands

  -> Prepared: Examples

  -> Prepared: Custom

  -> Prepared: World

  -> Prepared: Outdoor PVP Zones

  -> Prepared: Eastern Kingdoms

  -> Prepared: Kalimdor

  -> Prepared: Outland

  -> Prepared: Northrend

-- SCRIPT PREPARATION COMPLETE


-- Configuring done

-- Generating done

-- Build files have been written to: /home/wow/build

[email protected]:~/build$ make

Scanning dependencies of target jemalloc

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mutex.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/tcache.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/rtree.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/prof.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_mmap.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hash.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ctl.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/stats.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_swap.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/huge.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mb.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_dss.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ckh.c.o

Linking C static library libjemalloc.a

[  2%] Built target jemalloc

Scanning dependencies of target g3dlib

[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o

[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o

[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o

Linking CXX static library libg3dlib.a

[  7%] Built target g3dlib

Scanning dependencies of target gsoap

[  8%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/stdsoap2.cpp.o

[  8%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o

[  8%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapServer.cpp.o

Linking CXX static library libgsoap.a

[  8%] Built target gsoap

Scanning dependencies of target revision.h

[  8%] Built target revision.h

Scanning dependencies of target shared_pch_dephelp

[  9%] Building CXX object src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o

In file included from /home/wow/TrinityCore/src/server/shared/Threading/LockedQueue.h:26,

                 from /home/wow/TrinityCore/src/server/shared/Common.h:88,

                 from /home/wow/TrinityCore/src/server/shared/PrecompiledHeaders/sharedPCH.h:3,

                 from /home/wow/build/src/server/shared/shared_pch_dephelp.cxx:1:

/home/wow/TrinityCore/src/server/shared/Debugging/Errors.h:24: fatal error: ace/Stack_Trace.h: Bestand of map bestaat niet

compilation terminated.

make[2]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o] Fout 1

make[1]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/all] Fout 2

make: *** [all] Fout 2

[email protected]:~/build$

Share this post


Link to post
Share on other sites

--- Canned message start

It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.

--- Canned message end ---

Share this post


Link to post
Share on other sites

Hi can someone solve my problem.

DoCast(DUNGEON_MODE(SPELL_HOPELESSNESS,H_SPELL_HOPELESSNESS));  
Windows compile without problmes but linux:
Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp.o

/home/wow-emu/trinityCore_new6/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp: In member function 'virtual void boss_falric::boss_falricAI::UpdateAI(uint32)':

/home/wow-emu/trinityCore_new6/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp:264: error: no matching function for call to 'boss_falric::boss_falricAI::DUNGEON_MODE(, )'

make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp.o] Error 1

make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2

make: *** [all] Error 2

Share this post


Link to post
Share on other sites

Hi can someone solve my problem.

DoCast(DUNGEON_MODE(SPELL_HOPELESSNESS,H_SPELL_HOPELESSNESS));  
Windows compile without problmes but linux:
Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp.o
/home/wow-emu/trinityCore_new6/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp: In member function 'virtual void boss_falric::boss_falricAI::UpdateAI(uint32)':
/home/wow-emu/trinityCore_new6/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp:264: error: no matching function for call to 'boss_falric::boss_falricAI::DUNGEON_MODE(, )'
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp.o] Error 1
make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
make: *** [all] Error 2[/code]

Ah yes......It all makes sense now!

  • Upvote 1

Share this post


Link to post
Share on other sites

try deleting build folder, and recreate it, then try compiling.

the same ...

problem is in

DoCast(DUNGEON_MODE(SPELL_HOPELESSNESS,H_SPELL_HOPELESSNESS));  
because when i remove it compile is without errors complete script is here, It's all about understanding why it is not work on linux

#include "ScriptPCH.h"

#include "halls_of_reflection.h"


enum

{

    SAY_FALRIC_AGGRO                        = -1668050,

    SAY_FALRIC_DEATH                        = -1668053,

    SAY_FALRIC_SLAY01                       = -1668051,

    SAY_FALRIC_SLAY02                       = -1668052,

    SAY_FALRIC_SP01                         = -1668054,

    SAY_FALRIC_SP02                         = -1668055,


    SPELL_HOPELESSNESS                      = 72395,

    H_SPELL_HOPELESSNESS                    = 72390,

    SPELL_IMPENDING_DESPAIR                 = 72426,

    SPELL_DEFILING_HORROR_N                 = 72435,

    SPELL_DEFILING_HORROR_H                 = 72452,

    SPELL_QUIVERING_STRIKE_N                = 72422,

    SPELL_QUIVERING_STRIKE_H                = 72453,


    SPELL_BERSERK                           = 47008

};


class boss_falric : public CreatureScript

{

public:

    boss_falric() : CreatureScript("boss_falric") { }


	CreatureAI* GetAI(Creature* pCreature) const

    {

        return new boss_falricAI(pCreature);

    }


    struct boss_falricAI : public ScriptedAI

    {

        boss_falricAI(Creature *pCreature) : ScriptedAI(pCreature)

       {

            m_pInstance = (InstanceScript*)pCreature->GetInstanceScript();

            Regular = pCreature->GetMap()->IsRegularDifficulty();

            Reset();

       }


       InstanceScript* m_pInstance;

       bool Regular;

       bool m_bIsCall;

       //FUNCTIONS

       uint32 m_uiBerserkTimer;

       uint32 m_uiGrowlTimer;

       uint32 m_uiHorrorTimer;

       uint32 m_uiStrikeTimer;

       uint32 m_uiSummonTimer;

       uint32 m_uiLocNo;

       uint64 m_uiSummonGUID[16];

       uint32 m_uiCheckSummon;

       uint8 uiHopelessnessCount;


       uint8 SummonCount;


       uint64 pSummon;


        void Reset()

        {

          uiHopelessnessCount = 0;

          m_uiBerserkTimer = 180000;

          SummonCount = 0;

          m_bIsCall = false;

          m_uiGrowlTimer = 20000;

          m_uiHorrorTimer = urand(14000,20000);

          m_uiStrikeTimer = 2000;

          m_uiSummonTimer = 11000;

          me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);

          me->SetVisible(false);

        }


        void EnterCombat(Unit* pVictim)

        {

          //me->RemoveFlag(MOVEFLAG_WALK, NULL);

          DoScriptText(SAY_FALRIC_AGGRO, me);

          DoCast(me, SPELL_HOPELESSNESS);

        }


        void KilledUnit(Unit* pVictim)

        {

            switch(urand(0,1))

            {

                case 0: DoScriptText(SAY_FALRIC_SLAY01, me); break;

                case 1: DoScriptText(SAY_FALRIC_SLAY02, me); break;

            }

        }


        void JustDied(Unit* pKiller)

        {

          if(!m_pInstance) return;

             m_pInstance->SetData(TYPE_MARWYN, SPECIAL);

          DoScriptText(SAY_FALRIC_DEATH, me);

        }


        void AttackStart(Unit* who) 

        { 

            if(!m_pInstance) return;


               if(m_pInstance->GetData(TYPE_FALRIC) != IN_PROGRESS)

                 return; 


             ScriptedAI::AttackStart(who);

        }


        void Summon()

        {

             m_uiLocNo = 0;


             for(uint8 i = 0; i < 14; i++)

             {

                switch(urand(0,3))

                {

                   case 0:

                       switch(urand(1, 3))

                       {

                         case 1: pSummon = NPC_DARK_1; break;

                         case 2: pSummon = NPC_DARK_3; break;

                         case 3: pSummon = NPC_DARK_6; break;

                       }

                       break;

                   case 1: 

                       switch(urand(1, 3))

                       {

                         case 1: pSummon = NPC_DARK_2; break;

                         case 2: pSummon = NPC_DARK_3; break;

                         case 3: pSummon = NPC_DARK_4; break;

                       }

                       break;

                   case 2: 

                       switch(urand(1, 3))

                       {

                         case 1: pSummon = NPC_DARK_2; break;

                         case 2: pSummon = NPC_DARK_5; break;

                         case 3: pSummon = NPC_DARK_6; break;

                       }

                       break;

                   case 3: 

                       switch(urand(1, 3))

                       {

                         case 1: pSummon = NPC_DARK_1; break;

                         case 2: pSummon = NPC_DARK_5; break;

                         case 3: pSummon = NPC_DARK_4; break;

                       }

                       break;

                 }


                 m_uiCheckSummon = 0;


                 if(Creature* Summon = me->SummonCreature(pSummon, SpawnLoc[m_uiLocNo].x, SpawnLoc[m_uiLocNo].y, SpawnLoc[m_uiLocNo].z, SpawnLoc[m_uiLocNo].o, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 30000))

                 {

                    m_uiSummonGUID[i] = Summon->GetGUID();

                    Summon->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);

                    Summon->setFaction(974);

                    Summon->SetReactState(REACT_PASSIVE); 

                 }

                 m_uiLocNo++;

             }

        }


        void CallFallSoldier()

        {

             for(uint8 i = 0; i < 4; i++)

             {

                if(Creature* Summon = m_pInstance->instance->GetCreature(m_uiSummonGUID[m_uiCheckSummon]))

                {

                   Summon->setFaction(14);

                   Summon->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);

                   Summon->SetReactState(REACT_AGGRESSIVE);

                   Summon->SetInCombatWithZone();

                }

                m_uiCheckSummon++;

             }

        }


        void UpdateAI(const uint32 uiDiff)

        {

            if(!m_pInstance) return;


            if (m_pInstance->GetData(TYPE_FALRIC) == SPECIAL) 

            {

                if(!m_bIsCall) 

                {

                   m_bIsCall = true;

                   Summon();

                }


                if (m_uiSummonTimer < uiDiff) 

                {

                        ++SummonCount;

                        if(SummonCount > 4) 

                        {

                            m_pInstance->SetData(TYPE_FALRIC, IN_PROGRESS);

                            me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);

                            me->SetInCombatWithZone();

                        }

                        else CallFallSoldier();

                        m_uiSummonTimer = 60000;

                } else m_uiSummonTimer -= uiDiff;

            }


            if (!UpdateVictim())

                return;


            if(m_uiStrikeTimer < uiDiff)

            {

                DoCast(me->getVictim(), Regular ? SPELL_QUIVERING_STRIKE_N : SPELL_QUIVERING_STRIKE_H);

                m_uiStrikeTimer = (urand(7000, 14000));

            }

            else m_uiStrikeTimer -= uiDiff;


            if(m_uiHorrorTimer < uiDiff)

            {

                DoScriptText(SAY_FALRIC_SP01, me);

                if(Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM))

                   DoCast(pTarget, SPELL_IMPENDING_DESPAIR);

                m_uiHorrorTimer = (urand(15000, 25000));

            }

            else m_uiHorrorTimer -= uiDiff;


            if(m_uiGrowlTimer < uiDiff)

            {

                DoScriptText(SAY_FALRIC_SP02, me);

                DoCast(me->getVictim(), Regular ? SPELL_DEFILING_HORROR_N : SPELL_DEFILING_HORROR_H);

                m_uiGrowlTimer = (urand(25000, 30000));

            }

            else m_uiGrowlTimer -= uiDiff;


            if (m_uiBerserkTimer < uiDiff)

            {

                DoCast(me, SPELL_BERSERK);

                m_uiBerserkTimer = 180000;

            } else  m_uiBerserkTimer -= uiDiff;


            DoMeleeAttackIfReady();  


            return;

        }

    };


};


void AddSC_boss_falric()

{

    new boss_falric();

}

Share this post


Link to post
Share on other sites

Probably because on windows you use PCH and on linux you don't?

It possile, i compile only under windows, but my friend on linux. Can you me explain how to solve this? Thanks

EDIT: Is it this: Configuring for compiling -> -DUSE_SCRIPTPCH and -DUSE_COREPCH ?

Share this post


Link to post
Share on other sites

Hi just wondered if anyone could help, i seem to get a problem compiling the following git hash pull version. Just wondered if was just me as i noticed the error looks similar related the the latest changes,

Regards

Craig

New

252ac95e1b10bb266cb1639974fc3f42eaf4e901

Core/AI: Removed crappy and unused AOEAI

Error 1 error C2653: 'AOEAI' : is not a class or namespace name D:\TRINITYCORE\TRINITYCORE\src\server\game\AI\CoreAI\CombatAI.cpp 57 1 game

Error 5 error LNK1181: cannot open input file '..\game\Release\game.lib' D:\TRINITYCORE\TRINITYCORE FINAL\src\server\worldserver\LINK worldserver

Warning 2 warning C4018: '>=' : signed/unsigned mismatch D:\TRINITYCORE\TRINITYCORE\src\server\scripts\Northrend\Ulduar\ulduar\boss_hodir.cpp 830 1 scripts

Warning 3 warning C4018: '>=' : signed/unsigned mismatch D:\TRINITYCORE\TRINITYCORE\src\server\scripts\Northrend\Ulduar\ulduar\boss_xt002.cpp 813 1 scripts

Warning 4 warning C4018: '>=' : signed/unsigned mismatch D:\TRINITYCORE\TRINITYCORE\src\server\scripts\Northrend\Ulduar\ulduar\boss_xt002.cpp 846 1 scripts

Share this post


Link to post
Share on other sites

--- Canned message start

It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.

--- Canned message end ---

Share this post


Link to post
Share on other sites

can somebody help me please with these errors i just pulled the latest updates 1 min ago and im getting some errors

6>Server\Protocol\Handlers\MiscHandler.cpp(1804): error C2227: left of '->AddPlayerToResurrectQueue' must point to class/struct/union/generic type

6>Server\Protocol\Handlers\MiscHandler.cpp(1804): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1777): error C2065: 'sBattlegroundMgr' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1777): error C2228: left of '.SendAreaSpiritHealerQueryOpcode' must have class/struct/union

6> type is ''unknown-type''

6>Server\Protocol\Handlers\MiscHandler.cpp(1779): error C2065: 'Battlefield' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1779): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1779): error C2065: 'sBattlefieldMgr' : undeclared identifier

10> boss_anubarak_trial.cpp

6>Server\Protocol\Handlers\MiscHandler.cpp(1779): error C2228: left of '.GetBattlefieldToZoneId' must have class/struct/union

10> boss_faction_champions.cpp

6> type is ''unknown-type''

10> boss_lord_jaraxxus.cpp

6>Server\Protocol\Handlers\MiscHandler.cpp(1780): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1780): error C2227: left of '->SendAreaSpiritHealerQueryOpcode' must point to class/struct/union/generic type

6> type is ''unknown-type''

6>Server\Protocol\Handlers\MiscHandler.cpp(1786): error C2228: left of '.outDebug' must have class/struct/union

6> type is 'Log *'

6> did you intend to use '->' instead?

6>Server\Protocol\Handlers\MiscHandler.cpp(1803): error C2065: 'Battlefield' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1803): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1803): error C2065: 'sBattlefieldMgr' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1803): error C2228: left of '.GetBattlefieldToZoneId' must have class/struct/union

6> type is ''unknown-type''

6>Server\Protocol\Handlers\MiscHandler.cpp(1804): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1762): error C2228: left of '.outDebug' must have class/struct/union

can somebody help me please

Share this post


Link to post
Share on other sites

can somebody help me please with these errors i just pulled the latest updates 1 min ago and im getting some errors

No, you imported custom fixes, probably Wintergrasp

Share this post


Link to post
Share on other sites

Hello.

I have problem with compile core for World Of Warcraft server. I read evrything about compile core and evry time have any problem i watch all videos for that. I saw there in core folder have folder with name "win" but evry one core archive not have that folder. When i saw to evry one link for download not have that folder i try to another things. I read about creating core in http://www.trinitycore.info/Main_Page i try that maybe 10 times but evry time have problem.The program Git have problem and i can`t download Core with it. The last i found 1 core + repack. I extract "maps" "vmaps" etc.. i have installed MySql Server and another programs but again nothing work. I create DataBase but when i start authserver.exe and worldserver.exe not work. Please Help if any can give me good links with programs versions and link for Core file.

Thanks in advance.

Share this post


Link to post
Share on other sites

Dude... no links. Also we don't support repacks.

If you follow the wiki step-by-step you will get your core compiled and running.

Where do you get stuck?

Share this post


Link to post
Share on other sites

The program Git have problem and i can`t download Core with it.. Please Help if any can give me good links with programs versions and link for Core file.

If you cant download the core...

but when i start authserver.exe and worldserver.exe not work

how is it possible to start the auth- and worldserver.exe?

For starting the servers you have to edit the authserver.conf and worldserver.conf. Even run the .exe in a windows-shell,

there you are able to read upcoming errors... :-)

Regards

Ashi

PS: Sorry for my bad english :-)

Share this post


Link to post
Share on other sites

If you cant download the core...

how is it possible to start the auth- and worldserver.exe?

For starting the servers you have to edit the authserver.conf and worldserver.conf. Even run the .exe in a windows-shell,

there you are able to read upcoming errors... :-)

Regards

Ashi

PS: Sorry for my bad english :-)

I read in .exe windows shell there give me error for MySql Database . I create database but again not work :S

Share this post


Link to post
Share on other sites

Dude... no links. Also we don't support repacks.

If you follow the wiki step-by-step you will get your core compiled and running.

Where do you get stuck?

i Read and try maybe more of 10 times. But i stuck to "Git" He stuck when i downloading core.

And after that i can`t follow next steps. I look for video clips when showing how to compile core becouse if there have any link for core files but nothing.

In trinitycore.org i download .zip but when i unarchive it there miss 1 folder "win" To evry one clip or tutorial about compile core have that folder with files in "Win" Folder. And with C++ need to open 1 of them files. I check all google.bg for find that files but nothing.

Edited by Bronzi

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By 939h
      Hi,

      The chat channel Lookup for group is not available when a player isn't in a city. I tried to modify the worldserver.conf file with:
      #
      #    Channel.RestrictedLfg
      #        Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
      #        Default:     1 - (Enabled, Allow join to channel only if registered in LFG)
      #                     0 - (Disabled, Allow join to channel in any time)
      Channel.RestrictedLfg = 0

      I restarted the server but it didn't help.

      Thanks
    • By meeek
      Hey, I've been trying to compile from github the core from 6.2.3/6.2.4, I'm well aware its stopped developing. I cannot get it to configure properly in CMake, nor can I obviously build it.
       
      I'd be willing to pay for help and get this working and running. I want to develop my own server on my freetime as a learning project and for entertainment. I can't find any core for WoD, sadly.. Very hard, would appreciate any quick help
       
    • By Probie_Wan_Kenobi
      I believe everything I have done up to this point has been correct. When I go to launch worldserver.exe a console window opens up for a second and closes right away and nothing else seems to have happened. I skipped a head a little in the instructions to see what is left and step 5 seems skippable since I am running this only for this computer and step 6 has me launch to a log in screen which I can not get to. I tried going to the faq but the page was not loading properly so I am forced to post here.
    • By Wark
      I'd just like to get a little insight to why so much of the current Trinitycore code doesn't match up to a few years ago.
      Now I know I'm not a pro at coding on Trinitycore and I understand that the core is open sourced but these just seem so significant and doesn't seem right to remove this stuff.
       
      Let me give an example. Lets say I'm watching this tutorial to get a little information about classes and methods that I can use when making a script. (I've also been using the Trinitycore Code Documentation as reference as well but it also seems to show the same issues)
      Although the tutorial is a little out of date, I don't see why OnGossipSelect doesn't exist anywhere in CreatureScript and that when I try to link the script to the core code it spits out this error.
      object of abstract class type "GossipTeleporter" is not allowed:
      pure virtual function "CreatureScript::GetAI" has no overrider
      The DEFINES of "ADD_GOSSIP_ITEM" and many more don't exist either.
       
      Am I missing something? All I want to know is if the core is mean't to be this way and if not should I download an older version of the core before I put to much working into my current core.
      (I downloaded my core right from the Trinitycore website tutorial)
       
      I'm currently trying to write a simple gossipteleporter that will let you talk to an npc and teleport to the given location. It's very hard to do this when so many things just don't exist within my core.
       
      EXTRA: I pasted this into a new custom script just to see if I would get errors and I got a lot of different errors: http://pastebin.com/raw/G62e0t49
      This was obtained from here: http://www.ac-web.org/forums/showthread.php?129885-Request-Teleporter-NPC-for-TrinityCore
      By no means am I looking to copy the code from the two links above, I was using them as a test to see if my core accepted them.
       
      Thanks,
      Wark
    • By Cantte
      Well ... today I was about to compile the trinity core version for WoW 4.3.4 of this repository "https://gitlab.com/trinitycore/TrinityCore_434". Download them and when you use the cmake, I generate the solution correctly. When I began to compile this went well until I got to the last step, when I was 90% practically.
      This was the error:
      Main.obj: error LNK2019: external symbol SSLeay_version unresolved referred to in the function "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> :: operator () (void) const" (?? R <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> @@ QEBAXXZ)
      25> scripts.lib (cs_server.obj): error LNK2001: external symbol SSLeay_version unresolved
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_num external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_value external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_pop_free external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: outer symbol OPENSSL_add_all_algorithms_noconf unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_load_error_strings unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved external SSLv23_method symbol referenced in the ssl_auth_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_library_init unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_state unresolved referenced in the tcp_connect function
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_num_locks unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_set_locking_callback unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_numeric unresolved referred to in the function "void __cdecl threadIdCallback (struct crypto_threadid_st *)" (? ThreadIdCallback @@ YAXPEAUcrypto_threadid_st @@@ Z)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_callback unresolved referenced in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (ARC4.obj): error LNK2019: external symbol EVP_CIPHER_CTX_init unresolved referred to in the function "public: __cdecl ARC4 :: ARC4 (unsigned int)" (?? 0ARC4 @@ QEAA @ I @ Z)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_init external symbol referenced in the "struct hmac_ctx_st * __cdecl HMAC_CTX_new (void)" function (? HMAC_CTX_new @@ YAPEAUhmac_ctx_st @@ XZ)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_cleanup external symbol referenced in the "void __cdecl HMAC_CTX_free (struct hmac_ctx_st *)" function (? HMAC_CTX_free @@ YAXPEAUhmac_ctx_st @@@ Z)
      25> E: \ Server-Wow \ TrinityCore_434-4.3.4 \ Build \ bin \ RelWithDebInfo \ worldserver.exe: fatal error LNK1120: 16 external unresolved
      25> Compilation of the "worldserver.vcxproj" project completed - ERROR.
      26> ------ Compile operation started: project: ALL_BUILD, configuration: RelWithDebInfo x64 ------
      26> Building Custom Rule E: /Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26> CMake does not need to re-run because E: /Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compile: 23 correct, 3 incorrect, 0 updated, 0 omitted ==========
       
      And this is the original error in Spanish (since I use the compiler in Spanish)
       
      Main.obj : error LNK2019: símbolo externo SSLeay_version sin resolver al que se hace referencia en la función "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7>::operator()(void)const " (??R<lambda_4a2d53ce610f18dba0b4b4d6532c13a7>@@QEBAXXZ)
      25>scripts.lib(cs_server.obj) : error LNK2001: símbolo externo SSLeay_version sin resolver
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_num sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_value sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_pop_free sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo OPENSSL_add_all_algorithms_noconf sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_load_error_strings sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSLv23_method sin resolver al que se hace referencia en la función ssl_auth_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_library_init sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_state sin resolver al que se hace referencia en la función tcp_connect
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_num_locks sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_set_locking_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_numeric sin resolver al que se hace referencia en la función "void __cdecl threadIdCallback(struct crypto_threadid_st *)" ([email protected]@[email protected]@@Z)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(ARC4.obj) : error LNK2019: símbolo externo EVP_CIPHER_CTX_init sin resolver al que se hace referencia en la función "public: __cdecl ARC4::ARC4(unsigned int)" ([email protected]@[email protected]@Z)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_init sin resolver al que se hace referencia en la función "struct hmac_ctx_st * __cdecl HMAC_CTX_new(void)" ([email protected]@[email protected]@XZ)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_cleanup sin resolver al que se hace referencia en la función "void __cdecl HMAC_CTX_free(struct hmac_ctx_st *)" ([email protected]@[email protected]@@Z)
      25>E:\Server-Wow\TrinityCore_434-4.3.4\Build\bin\RelWithDebInfo\worldserver.exe : fatal error LNK1120: 16 externos sin resolver
      25>Compilación del proyecto "worldserver.vcxproj" terminada -- ERROR.
      26>------ Operación Compilar iniciada: proyecto: ALL_BUILD, configuración: RelWithDebInfo x64 ------
      26>Building Custom Rule E:/Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26>CMake does not need to re-run because E:/Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compilar: 23 correctos, 3 incorrectos, 0 actualizados, 0 omitidos ==========
       
       
      Thanks.
×
×
  • Create New...