Jump to content
  • Announcements

    • Xmat

      Pravidlo pro postování v TTT

      Do sekce Tipy, triky, tutoriály nepatří žádné dotazy.   Postujte sem vaše návody, tipy a různé další věci jež uznáte za vhodné sdělit zdejšímu osazenstvu, ale veškeré dotazy směřujte do sekce Všeobecná diskuse.
    • Replik

      Seznam návodů a důležitých témat v této sekci

      Pro lepší přehlednost jsem vytvořil tento seznam, který vás, méně zkušené, lépe provede touto sekcí. Věřím, že zde najdete, co hledáte. Vypsané jsou návody, které jsou oficiálně uznané jako návody. Běžné diskuze, které neposkytují postupy a rady zvěřejněny nejsou.   Instalace vlastního MaNGOS Serveru Díky těmto návodům budete (měli by jste být) schopni vytvořit a následně spustit váš vlastní server. Nastavení je pro verze s i bez datadisku.   Instalace MaNGOS Serveru (bez datadisku TBC) - Autor Benny Instalace MaNGOS Serveru (s datadiskem TBC) - Autor Malfik Instalace MaNGOS Serveru v prostředí Linux - Autor charlie Instalace MaNGOS Serveru v prostředí Linux - Autor kupkoid   Chyby a jejich řešení při přihlašování k serveru - Autor Cybe   Zálohování uživatelských dat   Dávkový soubor (BAT soubor) pro vytvoření SQL záloh - Autor Replik   Kompilování - tvoření vlastních release (revizí)   Tvorba kompilací pro Win32 (MangoScript) - Autor bLuma   Ostatní - těžko zařaditelné, ale neznamená to, že nejsou dobré   VIP Systém - Autor charlie Tvorba Webových stránek pro MaNGOS - Autor zahuba Tvorba teleportačních NPC (MangoScript) - Autor Replik Registrační web (původně předělaná SPORA) Funkční pro Antrix i MaNGOS - Autor Replik Nastavení a spuštění Minimanager pro MaNGOS - Autor BlackMartin Nastavení MaNGOS Website - Autor Artorius   Samozřejmě jsou zde i jiné návody, ale tyto jsou nejvíce používané, proto věřím, že vám budou nápomocné. Tuto sekci budeme upravovat podle potřeby. Pokud by jste něco nenašli nebo si nevěděli rady, hledejte na fóru a teprve potom založte vlastní topik. Pokud nějaký autor vytvoří kvalitní návod a chtěl by ho zveřejnit i v tomto seznamu, doporučuji, aby mi napsal zprávu skrze PM.   Díky a přeji hezký den na WoWResource   Replik
    • Aristo

      Příspěvky tam, kde nemají co dělat

      Dodržujte zákaz přispívání do topiků s repaky pokud si to zakladatelé nepřejí!! Opakované psaní příspěvků bude trestáno warnem.
    • Aristo

      Používání spoilerů

      Poslední dobou má většina uživatelů fora zvláštní nutkání postovat extrémně dlouhé texty nebo kódy, které zabírají v nejedenom případu i 80% obsahu celé stránky a hodně tak zvedají nepřehlednost v topiku. Chtěl bych všechny uživatele požádat, aby při postování citací, jakýchkoliv kódů, errorů, atp... delších než 30 řádků používali funkci spoileru.   Funkci vyvoláte příkazem [spoiler] text [/spoiler]   Ukázka:  

jAk3r

Members
  • Content count

    139
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by jAk3r


  1. Zdravím již delší dobu si lámu hlavu nad tím čím může být způsobena chyba kvůli které mi nechce naběhnout CATA server 4.3.4-->

     

    Zde přikládám error který mi vypisuje server a předem upozorňuji že updaty na linuxu proběhly všechny tak jak je psáno na TC Wiki :)

     

    TrinityCore rev. ba676f8c3e4b 2014-10-09 18:54:46 +0200 (master branch) (Unix, Release) (worldserver-daemon)
    <Ctrl-C> to stop.
    ______					   __
    /\__  _\	   __		  __/\ \__
    \/_/\ \/ _ __ /\_\    ___ /\_\ \, _\  __  __
      \ \ \/\`'__\/\ \ /' _ `\/\ \ \ \/ /\ \/\ \
       \ \ \ \ \/ \ \ \/\ \/\ \ \ \ \ \_\ \ \_\ \
     \ \_\ \_\  \ \_\ \_\ \_\ \_\ \__\\/`____ \
      \/_/\/_/   \/_/\/_/\/_/\/_/\/__/ `/___/> \
    							 C O R E  /\___/
    http://TrinityCore.org				    \/__/
    Using configuration file /home/server/cata_server/etc/worldserver.conf.
    Using SSL version: OpenSSL 1.0.1e 11 Feb 2013 (library: OpenSSL 1.0.1e 11 Feb 2013)
    Using Boost version: 1.49.0
    DatabasePool world NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors. Read wiki at http://collab.kpsn.org/display/tc/TrinityCore+Home
    Cannot connect to world database 127.0.0.1;3306;root;tajneheslo;world
    

     

    Předem všem děkuji za rady a DB je nejnovější která TC poskytuje tudíž--> http://www.trinitycore.org/f/files/download/9-tdb-full-434/

    a zde byla stažena---> TDB_full_434.08_2014_09_21.7z


  2. zdravím mám takový problém, po dlouhé práci jse mi povedlo dodělat a zkompilovat jádro SkyFire 5.4.7 build: 18019 ale našel jsem jiný problém po připojení na server nefungují žádné questy i když je v tabulce quest_template mám... nevíte jak bych tuto chybu mohl vyřešit? :)


  3. Zdravím vás všechny zde na Wowreource mám takový dost vážný problém po dlouhém opravování core 5.4.7 build: 18019 jsem u 97% kompilace narazil na problém se kterým si nevím rady a proto se obracím na vás zde jde můj problém-->

     

    Linking CXX executable worldserver
    ../shared/libshared.a(OpenSSLCrypto.cpp.o): In function `OpenSSLCrypto::threadsSetup()':
    OpenSSLCrypto.cpp:(.text+0x5ac): undefined reference to `CRYPTO_THREADID_set_callback'
    ../shared/libshared.a(OpenSSLCrypto.cpp.o): In function `OpenSSLCrypto::threadsCleanup()':
    OpenSSLCrypto.cpp:(.text+0x606): undefined reference to `CRYPTO_THREADID_set_callback'
    ../shared/libshared.a(OpenSSLCrypto.cpp.o): In function `threadIdCallback(crypto_threadid_st*)':
    OpenSSLCrypto.cpp:(.text+0x91): undefined reference to `CRYPTO_THREADID_set_numeric'
    collect2: ld returned 1 exit status
    make[2]: *** [src/server/worldserver/worldserver] Error 1
    make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
    make: *** [all] Error 2
    

     

    Pátral sem po zdroji a problém se vztahuje na--> OpenSSLCrypto.cpp a OpenSSLCrypto.h ( Přikládám níže )

     

    OpenSSLCrypto.cpp

     

     

    /*
    * Copyright (C) 2011-2014 Project SkyFire <http://www.projectskyfire.org/>
    * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
    * Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/>
    *
    * This program is free software; you can redistribute it and/or modify it
    * under the terms of the GNU General Public License as published by the
    * Free Software Foundation; either version 3 of the License, or (at your
    * option) any later version.
    *
    * This program is distributed in the hope that it will be useful, but WITHOUT
    * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
    * more details.
    *
    * You should have received a copy of the GNU General Public License along
    * with this program. If not, see <http://www.gnu.org/licenses/>.
    */
    #include <OpenSSLCrypto.h>
    #include <openssl/crypto.h>
    #include <ace/Thread_Mutex.h>
    #include <vector>
    #include <ace/Thread.h>
    std::vector<ACE_Thread_Mutex*> cryptoLocks;
    static void lockingCallback(int mode, int type, const char* /*file*/, int /*line*/)
    {
       if (mode & CRYPTO_LOCK)
        cryptoLocks[type]->acquire();
       else
        cryptoLocks[type]->release();
    }
    static void threadIdCallback(CRYPTO_THREADID * id)
    {
       CRYPTO_THREADID_set_numeric(id, ACE_Thread::self());
    }
    void OpenSSLCrypto::threadsSetup()
    {
       cryptoLocks.resize(CRYPTO_num_locks());
       for(int i = 0 ; i < CRYPTO_num_locks(); ++i)
       {
        cryptoLocks[i] = new ACE_Thread_Mutex();
       }
       CRYPTO_THREADID_set_callback(threadIdCallback);
       CRYPTO_set_locking_callback(lockingCallback);
    }
    void OpenSSLCrypto::threadsCleanup()
    {
       CRYPTO_set_locking_callback(NULL);
       CRYPTO_THREADID_set_callback(NULL);
       for(int i = 0 ; i < CRYPTO_num_locks(); ++i)
       {
        delete cryptoLocks[i];
       }
       cryptoLocks.resize(0);
    }
    

     

     

     

    OpenSSLCrypto.h

     

     

    /*
    * Copyright (C) 2011-2014 Project SkyFire <http://www.projectskyfire.org/>
    * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
    * Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/>
    *
    * This program is free software; you can redistribute it and/or modify it
    * under the terms of the GNU General Public License as published by the
    * Free Software Foundation; either version 3 of the License, or (at your
    * option) any later version.
    *
    * This program is distributed in the hope that it will be useful, but WITHOUT
    * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
    * more details.
    *
    * You should have received a copy of the GNU General Public License along
    * with this program. If not, see <http://www.gnu.org/licenses/>.
    */
    #ifndef OPENSSL_CRYPTO_H
    #define OPENSSL_CRYPTO_H
    /**
    * A group of functions which setup openssl crypto module to work properly in multithreaded enviroment
    * If not setup properly - it will crash
    */
    namespace OpenSSLCrypto
    {
       /// Needs to be called before threads using openssl are spawned
       void threadsSetup();
       /// Needs to be called after threads using openssl are despawned
       void threadsCleanup();
    }
    #endif
    

     

     

     

    Verze openssl --->

     

    OpenSSL 1.0.1g 7 Apr 2014

     

     

    Takže nevím čím to může být a byl bych rád kdyby se nám to společnými silami povedlo opravit :)


  4. Jojo už se mi to vede ale našel sem problém ktere se mi ještě neukázal...

     

    /home/HyperOK/SkyFireEMU/src/server/game/Movement/Spline/MovementPacketBuilder.cpp:52: error: prototype for ‘void Movement::PacketBuilder::WriteStopMovement(const G3D::Vector3&, uint32, ByteBuffer&, Unit*)’ does not match any in class ‘Movement::PacketBuilder’
    /home/HyperOK/SkyFireEMU/src/server/game/Movement/Spline/MovementPacketBuilder.h:47: error: candidate is: static void Movement::PacketBuilder::WriteStopMovement(const G3D::Vector3&, uint32, ByteBuffer&, int*)
    /home/HyperOK/SkyFireEMU/src/server/game/Movement/Spline/MovementPacketBuilder.cpp:155: error: prototype for ‘void Movement::PacketBuilder::WriteMonsterMove(const Movement::MoveSpline&, WorldPacket&, Unit*)’ does not match any in class ‘Movement::PacketBuilder’
    /home/HyperOK/SkyFireEMU/src/server/game/Movement/Spline/MovementPacketBuilder.h:46: error: candidate is: static void Movement::PacketBuilder::WriteMonsterMove(const Movement::MoveSpline&, WorldPacket&, int*)
    make[2]: *** [src/server/game/CMakeFiles/game.dir/Movement/Spline/MovementPacketBuilder.cpp.o] Error 1
    make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
    make: *** [all] Error 2
    


  5. Však to už se pak opraví tak to fungovalo a ted mám zas něco jiného ..

     

    In file included from /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DB2Stores.h:24,
    			 from /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DB2Stores.cpp:20:
    /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DB2Structure.h:186: error: ‘MAX_SPELL_REAGENTS’ was not declared in this scope
    /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DB2Structure.h:187: error: ‘MAX_SPELL_REAGENTS2’ was not declared in this scope
    make[2]: *** [src/server/game/CMakeFiles/game.dir/DataStores/DB2Stores.cpp.o] Error 1
    make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
    make: *** [all] Error 2
    


  6. Tak to pomohlo ale vyskočilo zas něco jinýho...

     

    /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DBCStores.cpp: In function ‘std::list<unsigned int, std::allocator<unsigned int> > GetSpellsForLevels(uint32, uint32, uint32, uint32, uint32)’:
    /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DBCStores.cpp:1129: error: invalid use of incomplete type ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/Spells/SpellMgr.h:36: error: forward declaration of ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DBCStores.cpp:1129: error: invalid use of incomplete type ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/Spells/SpellMgr.h:36: error: forward declaration of ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DBCStores.cpp:1132: error: invalid use of incomplete type ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/Spells/SpellMgr.h:36: error: forward declaration of ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DBCStores.cpp:1148: error: invalid use of incomplete type ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/Spells/SpellMgr.h:36: error: forward declaration of ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DBCStores.cpp:1148: error: invalid use of incomplete type ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/Spells/SpellMgr.h:36: error: forward declaration of ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/DataStores/DBCStores.cpp:1151: error: invalid use of incomplete type ‘const struct SpellInfo’
    /home/HyperOK/SkyFireEMU/src/server/game/Spells/SpellMgr.h:36: error: forward declaration of ‘const struct SpellInfo’
    make[2]: *** [src/server/game/CMakeFiles/game.dir/DataStores/DBCStores.cpp.o] Error 1
    make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
    make: *** [all] Error 2
    


  7. Ale kde tu knihovnu najdu nebo jak to nahradím??

     

    Můžu se zeptat myslíš že na to může mýt vliv to že jsem upravil přes CMakeList.txt verzy openssl z 1.0.0 na 0.9.8??


  8. zde je odkaz https://github.com/ProjectSkyfire/SkyFire_5xx ted sem to zkousel nejak predelat a hazi to tento error...---->

     

    In file included from /home/HyperOK/SkyFireEMU/src/server/game/Chat/Chat.h:24,
    			 from /home/HyperOK/SkyFireEMU/src/server/game/Battlegrounds/BattlegroundQueue.cpp:24:
    /home/HyperOK/SkyFireEMU/src/server/game/Server/WorldSession.h:281: error: ‘ObjectGuid’ has not been declared
    /home/HyperOK/SkyFireEMU/src/server/game/Server/WorldSession.h:288: error: ‘ObjectGuid’ has not been declared
    /home/HyperOK/SkyFireEMU/src/server/game/Server/WorldSession.h:307: error: ‘ObjectGuid’ has not been declared
    /home/HyperOK/SkyFireEMU/src/server/game/Server/WorldSession.h:335: error: ‘ObjectGuid’ has not been declared
    In file included from /home/HyperOK/SkyFireEMU/src/server/game/Groups/Group.h:25,
    			 from /home/HyperOK/SkyFireEMU/src/server/game/Battlegrounds/BattlegroundQueue.cpp:25:
    /home/HyperOK/SkyFireEMU/src/server/game/Loot/LootMgr.h:388: error: ‘ObjectGuid’ has not been declared
    make[2]: *** [src/server/game/CMakeFiles/game.dir/Battlegrounds/BattlegroundQueue.cpp.o] Error 1
    make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
    make: *** [all] Error 2
    

     

    Už fakt nevím co stím...


  9. Zdravím vás všechny po dlouhém utpení sem se dostal k samotné kompilaci ale teď je problém jinde u 56% kompilace mi to vyhodí tyto chyby a opravdu nevím jak to vyřešit...

     

    /home/HyperOK/SkyFireEMU/src/server/game/Server/WorldSession.h:281: error: ‘ObjectGuid’ has not been declared
    compilation terminated due to -Wfatal-errors.
    make[2]: *** [src/server/game/CMakeFiles/game.dir/Battlegrounds/BattlegroundQueue.cpp.o] Error 1
    make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
    make: *** [all] Error 2
    

     

    Předem děkuji


  10. Zdravím mám problém...snažím se již celý den zkompilovat revizy SkyFire ---> https://github.com/ProjectSkyfire/SkyFire_5xx ale mám problémy ja z CMake tak i s MVS 10 takže CMake mi háže nějakou hlášku kde mohu jen potvrdit OK.

     

     

     

    Detected 32-bit platform
    Using supplied MySQL sources
    Found OpenSSL library: C:/OpenSSL-Win32/lib/ssleay32.lib;C:/OpenSSL-Win32/lib/libeay32.lib
    Found OpenSSL headers: C:/OpenSSL-Win32/include
    * SkyFire revision   : unknown 1970-01-01 00:00:00 +0000 (Archived branch)
    * Install core to	    : C:/Program Files (x86)/Project_Skyfire
    * 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)
    * Show compile-warnings  : No  (default)
    * Use coreside debug	 : No  (default)
    * Use MySQL sourcetree   : Yes (default)
    * Use GIT revision hash  : No
    *** WITHOUT_GIT - WARNING!
    *** By choosing the WITHOUT_GIT option you have waived all rights for support,
    *** and accept that or all requests for support or assistance sent to the core
    *** developers will be rejected. This due to that we will be unable to detect
    *** what revision of the codebase you are using in a proper way.
    *** We remind you that you need to use the repository codebase and a supported
    *** version of git for the revision-hash to work, and be allowede to ask for
    *** support if needed.
    -- MySQL 5.5.9
    You have called ADD_LIBRARY for library gsoap without any source files. This typically indicates a problem with your CMakeLists.txt file
    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
     -> Prepared: The Maelstrom
     -> Prepared: Events
     -> Prepared: Pet
    SCRIPT PREPARATION COMPLETE
    Configuring done
    Generating done
    

     

     

     

    A když už to tedy vytvořím s cmake tak mi to háže errory ve MVS 10

     

     

     

    >C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  Token_Invariants.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  Token_Manager.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  Token_Request_Reply.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  TP_Reactor.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  Trace.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    8>  debugAssert.cpp
    2>  TSS_Adapter.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  TTY_IO.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  UNIX_Addr.cpp
    10>  mf_keycaches.c
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  UPIPE_Acceptor.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  UPIPE_Connector.cpp
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  UPIPE_Stream.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  UTF16_Encoding_Converter.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  UTF32_Encoding_Converter.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  Generating Code...
    2>  Compiling...
    2>  UTF8_Encoding_Converter.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  UUID.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    10>  mf_loadpath.c
    2>  WFMO_Reactor.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  WIN32_Asynch_IO.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  WIN32_Proactor.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  XML_Svc_Conf.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  XTI_ATM_Mcast.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  WinAcePCH.cpp
    8>  FileSystem.cpp
    2>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    2>  Generating Code...
    10>  mf_pack.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  mf_path.c
    10>  mf_qsort.c
    12>------ Build started: Project: shared, Configuration: Release Win32 ------
    8>  fileutils.cpp
    12>  Building Custom Rule C:/jAkErCZ/Projekts/[WOW]/server/SkyFireEMU/src/server/shared/CMakeLists.txt
    12>  CMake does not need to re-run because C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU revize\src\server\shared\CMakeFiles\generate.stamp is up-to-date.
    12>  Errors.cpp
    12>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    12>  sharedPCH.cpp
    12>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    12>  Generating Code...
    10>  mf_qsort2.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    13>------ Build started: Project: collision, Configuration: Release Win32 ------
    10>  mf_radix.c
    13>  Building Custom Rule C:/jAkErCZ/Projekts/[WOW]/server/SkyFireEMU/src/server/collision/CMakeLists.txt
    13>  CMake does not need to re-run because C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU revize\src\server\collision\CMakeFiles\generate.stamp is up-to-date.
    13>  collisionPCH.cpp
    13>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    10>  mf_same.c
    8>  format.cpp
    10>  mf_sort.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  mf_soundex.c
    8>  g3dfnmatch.cpp
    10>  mf_arr_appstr.c
    8>  g3dmath.cpp
    10>  mf_tempdir.c
    10>  mf_tempfile.c
    8>  Line.cpp
    10>  mf_unixpath.c
    10>  Generating Code...
    8>  LineSegment.cpp
    10>  Compiling...
    10>  mf_wcomp.c
    8>  Log.cpp
    10>  mulalloc.c
    10>  my_access.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  my_aes.c
    8>  Generating Code...
    10>  my_alloc.c
    10>  my_bit.c
    10>  my_bitmap.c
    10>  my_chsize.c
    10>  my_compress.c
    10>  my_copy.c
    10>  my_create.c
    10>  my_delete.c
    10>  my_div.c
    10>  my_error.c
    10>  my_file.c
    10>  my_fopen.c
    10>  my_fstream.c
    10>  my_gethostbyname.c
    10>  my_gethwaddr.c
    10>  my_getopt.c
    10>  Generating Code...
    10>  Compiling...
    10>  my_getsystime.c
    8>  Compiling...
    8>  Matrix3.cpp
    10>  my_getwd.c
    10>  my_handler.c
    8>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\g3dlite\include\G3D/Any.h(669): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  my_init.c
    8>  Matrix4.cpp
    10>  my_lib.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  my_lock.c
    10>  my_malloc.c
    8>  MemoryManager.cpp
    10>  my_mess.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  my_mkdir.c
    8>  PhysicsFrame.cpp
    10>  my_mmap.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  my_once.c
    10>  my_open.c
    8>  Plane.cpp
    10>  my_pread.c
    10>  my_pthread.c
    8>  prompt.cpp
    10>  my_quick.c
    10>  my_read.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    8>  Quat.cpp
    10>  my_redel.c
    10>  my_rename.c
    10>  my_seek.c
    8>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\g3dlite\include\G3D/Any.h(669): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    8>  Random.cpp
    10>  my_sleep.c
    10>  Generating Code...
    8>  Ray.cpp
    10>  Compiling...
    10>  my_static.c
    10>  my_symlink.c
    8>  ReferenceCount.cpp
    10>  my_symlink2.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  my_sync.c
    8>  RegistryUtil.cpp
    10>  my_thr_init.c
    10>  my_write.c
    8>  Sphere.cpp
    10>  ptr_cmp.c
    10>  queues.c
    10>  stacktrace.c
    8>  stringutils.cpp
    10>  rijndael.c
    10>  sha1.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  string.c
    8>  System.cpp
    10>  thr_alarm.c
    10>  thr_lock.c
    8>  Port System::memcpy SIMD to all platforms
    8>  Port System::memfill SIMD to all platforms
    10>  thr_mutex.c
    8>  TextInput.cpp
    10>  thr_rwlock.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  tree.c
    10>  typelib.c
    8>  TextOutput.cpp
    10>  base64.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  my_memmem.c
    10>  Generating Code...
    8>  Triangle.cpp
    10>  Compiling...
    10>  my_getpagesize.c
    8>  uint128.cpp
    10>  lf_alloc-pin.c
    10>  lf_dynarray.c
    8>  UprightFrame.cpp
    10>  lf_hash.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  my_atomic.c
    10>  my_getncpus.c
    8>  Vector2.cpp
    10>  my_rdtsc.c
    8>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  my_winthread.c
    10>  my_wincond.c
    8>  Generating Code...
    10>  my_winerr.c
    10>  my_winfile.c
    10>  my_windac.c
    10>  my_conio.c
    10>  bchange.c
    10>  bmove_upp.c
    10>  ctype-big5.c
    10>  ctype-bin.c
    10>  ctype-cp932.c
    10>  ctype-czech.c
    10>  ctype-euc_kr.c
    10>  Generating Code...
    10>  Compiling...
    10>  ctype-extra.c
    8>  Compiling...
    8>  Vector3.cpp
    10>  ctype-gb2312.c
    10>  ctype-gbk.c
    8>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\g3dlite\include\G3D/Any.h(669): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  ctype-latin1.c
    8>  Vector4.cpp
    10>  ctype-mb.c
    10>  ctype-simple.c
    8>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\g3dlite\include\G3D/Any.h(669): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    10>  ctype-tis620.c
    8>  Generating Code...
    10>  ctype-uca.c
    10>  ctype-ucs2.c
    10>  ctype-utf8.c
    10>  ctype-win1250ch.c
    10>  ctype.c
    10>  decimal.c
    8>  g3dlib.vcxproj -> C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU revize\dep\g3dlite\Release\g3dlib.lib
    10>  dtoa.c
    10>  int2str.c
    10>  is_prefix.c
    10>  llstr.c
    10>  longlong2str.c
    10>  my_strtoll10.c
    10>  my_vsnprintf.c
    10>  Generating Code...
    10>  Compiling...
    10>  str2int.c
    10>  str_alloc.c
    10>  strcend.c
    10>  strend.c
    10>  strfill.c
    10>  strmake.c
    10>  strmov.c
    10>  strnmov.c
    10>  strxmov.c
    10>  strxnmov.c
    10>  xml.c
    10>  my_strchr.c
    10>  strcont.c
    10>  strappend.c
    10>  vio.c
    10>  viosocket.c
    10>  viossl.c
    10>  viosslfactories.c
    10>..\..\..\SkyFireEMU\dep\mysqllite\vio\viosslfactories.c(266): warning C4090: 'function' : different 'const' qualifiers
    10>..\..\..\SkyFireEMU\dep\mysqllite\vio\viosslfactories.c(288): warning C4090: 'function' : different 'const' qualifiers
    10>  Generating Code...
    10>  net_serv.cc
    10>LINK : warning LNK4044: unrecognized option '/lws2_32.lib'; ignored
    10>	 Creating library C:/jAkErCZ/Projekts/[WOW]/server/SkyFireEMU revize/dep/mysqllite/Release/libmysql.lib and object C:/jAkErCZ/Projekts/[WOW]/server/SkyFireEMU revize/dep/mysqllite/Release/libmysql.exp
    10>my_init.obj : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _win_init_registry
    10>my_init.obj : error LNK2019: unresolved external symbol __imp__RegEnumValueA@32 referenced in function _win_init_registry
    10>my_init.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _win_init_registry
    10>thr_alarm.obj : error LNK2019: unresolved external symbol __imp__SetTimer@16 referenced in function _thr_alarm
    10>thr_alarm.obj : error LNK2019: unresolved external symbol __imp__KillTimer@8 referenced in function _thr_got_alarm
    10>thr_alarm.obj : error LNK2019: unresolved external symbol __imp__PeekMessageA@20 referenced in function _thr_got_alarm
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__FreeSid@4 referenced in function _my_security_attr_create
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__SetSecurityDescriptorDacl@16 referenced in function _my_security_attr_create
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__InitializeSecurityDescriptor@8 referenced in function _my_security_attr_create
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__AddAccessAllowedAce@16 referenced in function _my_security_attr_create
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__InitializeAcl@12 referenced in function _my_security_attr_create
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__GetLengthSid@4 referenced in function _my_security_attr_create
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__IsValidSid@4 referenced in function _my_security_attr_create
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__GetTokenInformation@20 referenced in function _my_security_attr_create
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__OpenProcessToken@12 referenced in function _my_security_attr_create
    10>my_windac.obj : error LNK2019: unresolved external symbol __imp__AllocateAndInitializeSid@44 referenced in function _my_security_attr_create
    10>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU revize\dep\mysqllite\Release\libmysql.dll : fatal error LNK1120: 16 unresolved externals
    14>------ Build started: Project: worldserver, Configuration: Release Win32 ------
    15>------ Build started: Project: authserver, Configuration: Release Win32 ------
    15>  Building Custom Rule C:/jAkErCZ/Projekts/[WOW]/server/SkyFireEMU/src/server/authserver/CMakeLists.txt
    15>  CMake does not need to re-run because C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU revize\src\server\authserver\CMakeFiles\generate.stamp is up-to-date.
    14>  Building Custom Rule C:/jAkErCZ/Projekts/[WOW]/server/SkyFireEMU/src/server/worldserver/CMakeLists.txt
    14>  CMake does not need to re-run because C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU revize\src\server\worldserver\CMakeFiles\generate.stamp is up-to-date.
    15>  WheatyExceptionReport.cpp
    14>  WheatyExceptionReport.cpp
    15>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    15>..\..\..\..\SkyFireEMU\src\server\shared\Debugging\WheatyExceptionReport.cpp(408): error C2146: syntax error : missing ')' before identifier '_BUILD_DIRECTIVE'
    15>..\..\..\..\SkyFireEMU\src\server\shared\Debugging\WheatyExceptionReport.cpp(408): error C2059: syntax error : ')'
    15>  authPCH.cpp
    15>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    15>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    15>  Generating Code...
    14>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
    14>..\..\..\..\SkyFireEMU\src\server\shared\Debugging\WheatyExceptionReport.cpp(408): error C2146: syntax error : missing ')' before identifier '_BUILD_DIRECTIVE'
    14>..\..\..\..\SkyFireEMU\src\server\shared\Debugging\WheatyExceptionReport.cpp(408): error C2059: syntax error : ')'
    14>  worldPCH.cpp
    14>C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU\dep\acelite\ace/config-win32-common.h(37): fatal error C1189: #error :  Please define WIN32 in your project settings.
    14>  Generating Code...
    16>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
    16>  Building Custom Rule C:/jAkErCZ/Projekts/[WOW]/server/SkyFireEMU/CMakeLists.txt
    16>  CMake does not need to re-run because C:\jAkErCZ\Projekts\[WOW]\server\SkyFireEMU revize\CMakeFiles\generate.stamp is up-to-date.
    16>  Build all projects
    17>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------
    17>Project not selected to build for this solution configuration
    ========== Build: 8 succeeded, 8 failed, 0 up-to-date, 1 skipped ==========
    

     

     

     

    Jsem už beznadějný nevím si rady...doufáme že se nám to společnými silami podaří

     

    Předem děkuji


  11. To já vím :) jenže problém je v tom že prostě když to tam vložím tak mi to hodí error :( jelikož to v kládám to HTML tudíž se stoho nestane php...

    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /data/web/virtuals/46151/virtual/www/realese/manager/players.php on line 73
    

    Error který mi to hodí...a takhle to vypadá...

      echo "<tr><td><u>Jméno</td><td><u>Level</td><td><u>Rasa</td><td><u>Povolání</td><td><u>Stav</td></tr>
    		  <tr><td>{$result4['name']}</td><td><center>{$result4['level']}</center></td><td><center>{$result4['race']}</center></td><td><center>getClass($result4['class'])</center></td><td>";
    


  12. Zdravím všechny zde na WS :) jelikož sem se rozhodl udělat pro náš wotlk projekt vlastní Acc manager ve webu tak mám takový menší problém :( udělal sem si zobrazování postav :) a nějaké to info k tomu ale potřebuju aby místo čísel u Rasy a Clasy se ukazovaly obrázky z určitou rasou či clasou :) jenže stále na to nemůžu přijít jak na to :(

     

     

    echo "<tr><td>Jméno</td><td>Level</td><td>Rasa</td><td>Povolání</td><td>Stav</td></tr>
    		  <tr><td>{$result4['name']}</td><td><center>{$result4['level']}</center></td><td><center>{$result4['race']}</center></td><td><center>{$result4['class']}</center></td>";
    

    Zde přidávám jak si to zobrazuju na webu :) a potřeboval bych k tomu nějak připojit nebo spíše nahradit za obrázky :)

    function getClass($class)
     {
       switch ($class):
      case 1:
        $class = "Warrior";
        break;
    
      case 2:
        $class = "Paladin";
        break;
    
      case 3:
        $class = "Hunter";
        break;
    
      case 4:
        $class = "Rogue";
        break;
    
      case 5:
        $class = "Priest";
        break;
    
      case 6:
        $class = "Death Knight";
        break;
    
      case 7:
        $class = "Shaman";
        break;
    
      case 8:
        $class = "Mage";
        break;
    
      case 9:
        $class = "Warlock";
        break;
    
      case 11:
        $class = "Druid";
        break;
    
      endswitch;
    
      return $class;
    
     }
    
    
    function getRace($rasa)
     {
    
       switch ($rasa):
      case 1:
        $rasa = "Human";
        break;
    
      case 2:
        $rasa = "Ork";
        break;
    
      case 3:
        $rasa = "Dwarf";
        break;
    
      case 4:
        $rasa = "Night elf";
        break;
    
      case 5:
        $rasa = "Undead";
        break;
    
      case 6:
        $rasa = "Tauren";
        break;
    
      case 7:
        $rasa = "Gnome";
        break;
    
      case 8:
        $rasa = "Troll";
        break;
    
      case 9:
        $rasa = "Goblin";
        break;
    
      case 10:
        $rasa = "Blood elf";
        break;
    
      case 11:
        $rasa = "Draenei";
        break;
       endswitch;
    
     return $rasa;
    
     }
    
    ?>
    

     

    Zatím sem si to udělal jako text :) ale nevím jak to za to číslo nahradit :( předem všem děkuju :)

    • Downvote 1
×