Jump to content

xRdy2Kill

Inactive Member
  • Posts

    51
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by xRdy2Kill

  1. Hey devs :)

    I have a little problem.

    Problem 1:

    The skillanimation from Warriors Skill Aura and Berserk are very fast ,the character dont move and the skill is on. i tried to load an old skilldesc,skill_table,skill_proto and tried to copy old skill files from PC to my PC packet, but nothing is right. :/ it´s very important.

    (Problem 1 Solved)

     

    Problem 2:

    My belt inventory doesnt get an icon when i put in on my character. :/

    Hope anyone can help.

    Best regards :)

  2. Hey devs always me :D

    i have a little problem.

    my beltslot is empty when i equip a belt. and all my skilltree is empty

    J8ipg.jpg

    and another error.

    when i ride a mount the client closed and Unknown packet header: 146, last: 17 19

    i checked the package.h client and server and:

    Client:

    HEADER_GC_CHANGE_SPEED            = 18,
    and server:
    
    HEADER_GC_CHANGE_SPEED            = 18,

     

    this says when the speed changed it cant find the header but it´s both the same.

    hope anyone can help.

    Best regards :)

  3. Heyho devs,

    i have a problem login to my server with the compiled binary.

    i had used the client_source_clean from this forum.

    the syserr:

     

     

    0811 10:02:00036 :: import marshal # builtin
    0811 10:02:00037 :: import imp # builtin
    0811 10:02:00080 :: ui.py: inconsistent use of tabs and spaces in indentation
    0811 10:02:00127 :: import _weakref # builtin
    0811 10:02:00589 :: # trying .\os.pyd
    0811 10:02:00590 :: # trying .\os.py
    0811 10:02:00590 :: # trying .\os.pyw
    0811 10:02:00590 :: # trying .\os.pyc
    0811 10:02:00591 :: # trying lib\os.pyd
    0811 10:02:00591 :: # trying lib\os.py
    0811 10:02:00592 :: # lib\os.pyc has bad magic
    0811 10:02:00601 :: import os # from lib\os.py
    0811 10:02:00601 :: import nt # builtin
    0811 10:02:00602 :: # trying .\ntpath.pyd
    0811 10:02:00602 :: # trying .\ntpath.py
    0811 10:02:00603 :: # trying .\ntpath.pyw
    0811 10:02:00603 :: # trying .\ntpath.pyc
    0811 10:02:00603 :: # trying lib\ntpath.pyd
    0811 10:02:00603 :: # trying lib\ntpath.py
    0811 10:02:00605 :: # lib\ntpath.pyc has bad magic
    0811 10:02:00611 :: import ntpath # from lib\ntpath.py
    0811 10:02:00612 :: # trying .\stat.pyd
    0811 10:02:00612 :: # trying .\stat.py
    0811 10:02:00612 :: # trying .\stat.pyw
    0811 10:02:00612 :: # trying .\stat.pyc
    0811 10:02:00613 :: # trying lib\stat.pyd
    0811 10:02:00613 :: # trying lib\stat.py
    0811 10:02:00614 :: # lib\stat.pyc has bad magic
    0811 10:02:00615 :: import stat # from lib\stat.py
    0811 10:02:00616 :: # trying .\UserDict.pyd
    0811 10:02:00616 :: # trying .\UserDict.py
    0811 10:02:00617 :: # trying .\UserDict.pyw
    0811 10:02:00617 :: # trying .\UserDict.pyc
    0811 10:02:00617 :: # trying lib\UserDict.pyd
    0811 10:02:00617 :: # trying lib\UserDict.py
    0811 10:02:00618 :: # lib\UserDict.pyc has bad magic
    0811 10:02:00620 :: import UserDict # from lib\UserDict.py
    0811 10:02:00621 :: # trying .\copy_reg.pyd
    0811 10:02:00621 :: # trying .\copy_reg.py
    0811 10:02:00622 :: # trying .\copy_reg.pyw
    0811 10:02:00622 :: # trying .\copy_reg.pyc
    0811 10:02:00622 :: # trying lib\copy_reg.pyd
    0811 10:02:00623 :: # trying lib\copy_reg.py
    0811 10:02:00624 :: # lib\copy_reg.pyc has bad magic
    0811 10:02:00625 :: import copy_reg # from lib\copy_reg.py
    0811 10:02:00626 :: # trying .\types.pyd
    0811 10:02:00626 :: # trying .\types.py
    0811 10:02:00626 :: # trying .\types.pyw
    0811 10:02:00626 :: # trying .\types.pyc
    0811 10:02:00626 :: # trying lib\types.pyd
    0811 10:02:00626 :: # trying lib\types.py
    0811 10:02:00627 :: # lib\types.pyc has bad magic
    0811 10:02:00628 :: import types # from lib\types.py
    0811 10:02:00629 :: # trying .\__future__.pyd
    0811 10:02:00629 :: # trying .\__future__.py
    0811 10:02:00629 :: # trying .\__future__.pyw
    0811 10:02:00629 :: # trying .\__future__.pyc
    0811 10:02:00630 :: # trying lib\__future__.pyd
    0811 10:02:00630 :: # trying lib\__future__.py
    0811 10:02:00631 :: # lib\__future__.pyc has bad magic
    0811 10:02:00632 :: import __future__ # from lib\__future__.py
    0811 10:02:00632 :: import errno # builtin
    0811 10:02:00692 :: import time # builtin
    0811 10:02:10461 :: import math # builtin
    0811 10:02:10562 :: uiTaskBar.py: inconsistent use of tabs and spaces in indentation
    0811 10:02:10607 :: uiDragonSoul.py: inconsistent use of tabs and spaces in indentation
    0811 10:02:10715 :: uiSystem.py: inconsistent use of tabs and spaces in indentation
    0811 10:02:10804 :: uiQuest.py: inconsistent use of tabs and spaces in indentation
    0811 10:02:10890 :: Phase Select does not handle this header (header: 14, last: 32, 14)
    0811 10:02:11632 :: Traceback (most recent call last):
    0811 10:02:11632 ::   File "uiPhaseCurtain.py", line 61, in OnUpdate
    0811 10:02:11632 ::   File "networkModule.py", line 150, in __ChangePhaseWindow
    0811 10:02:11632 ::   File "introSelect.py", line 167, in Open
    0811 10:02:11633 ::   File "introSelect.py", line 239, in Refresh
    0811 10:02:11633 :: AttributeError
    0811 10:02:11633 :: :
    0811 10:02:11633 :: 'module' object has no attribute 'ACCOUNT_CHARACTER_SLOT_ACCE_SPEC'
    0811 10:02:11633 ::
    0811 10:03:41900 :: # clear __builtin__._
    0811 10:03:41922 :: # clear sys.path
    0811 10:03:41922 :: # clear sys.argv
    0811 10:03:41922 :: # clear sys.ps1
    0811 10:03:41922 :: # clear sys.ps2
    0811 10:03:41922 :: # clear sys.exitfunc
    0811 10:03:41922 :: # clear sys.exc_type
    0811 10:03:41922 :: # clear sys.exc_value
    0811 10:03:41922 :: # clear sys.exc_traceback
    0811 10:03:41922 :: # clear sys.last_type
    0811 10:03:41922 :: # clear sys.last_value
    0811 10:03:41922 :: # clear sys.last_traceback
    0811 10:03:41923 :: # clear sys.path_hooks
    0811 10:03:41923 :: # clear sys.path_importer_cache
    0811 10:03:41923 :: # clear sys.meta_path
    0811 10:03:41923 :: # clear sys.flags
    0811 10:03:41923 :: # clear sys.float_info
    0811 10:03:41923 :: # restore sys.stdin
    0811 10:03:41923 :: # restore sys.stdout
    0811 10:03:41923 :: # restore sys.stderr
     

    hope anyone knows whats wrong

    best regards :)

     

    EDIT: The

    inconsistent use of tabs and spaces in indentation

    isn´t correct because i dont have edit something in this .py´s

     

    EDIT2:

    Only this error

    0811 12:22:27878 :: Phase Select does not handle this header (header: 14, last: 32, 14)
    0811 12:22:27889 :: Acce number 32767 is not exist.
    0811 12:22:27889 :: Acce number 32767 is not exist.
  4. Hey devs :)

    i have compiled my db and i got Connection refused.

    this is my syserr i hope anyone can help :)

     

    SYSERR: Aug 10 18:33:45.129425 :: Start: TABLE_POSTFIX not configured use default
    SYSERR: Aug 10 18:33:48.521883 :: Set_Proto_Item_Table: ItemProto Reading Failed : Invalid value. (index: 3, col: 3, value: ITEM_DS    DS_SLOT1)
    SYSERR: Aug 10 18:33:48.522111 :: Set_Proto_Item_Table:     0 ~ 3 Values: 110000,0,29,
    SYSERR: Aug 10 18:39:42.885799 :: pid_init:
    Start of pid: 610
    SYSERR: Aug 10 18:39:42.889317 :: Start: TABLE_POSTFIX not configured use default
    SYSERR: Aug 10 18:55:39.48481 :: pid_init:
    Start of pid: 603
    SYSERR: Aug 10 18:55:39.57504 :: Start: TABLE_POSTFIX not configured use default
    SYSERR: Aug 10 19:05:32.71698 :: pid_init:
    Start of pid: 684
    SYSERR: Aug 10 19:05:32.72432 :: Start: TABLE_POSTFIX not configured use default
    SYSERR: Aug 10 19:09:55.566155 :: pid_init:
    Start of pid: 607
    SYSERR: Aug 10 19:09:55.572822 :: Start: TABLE_POSTFIX not configured use default
    and syslog
    
     
    SYSERR: Aug 10 19:09:55.572822 :: Start: TABLE_POSTFIX not configured use default
    Aug 10 19:09:55.572822 :: connecting to MySQL server (player)
    Aug 10 19:09:55.572822 :: CREATING DIRECT_SQL
    Aug 10 19:09:55.572954 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.593690 :: CREATING MAIN_SQL
    Aug 10 19:09:55.593904 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.594419 :: CREATING ASYNC_SQL
    Aug 10 19:09:55.594760 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.595353 ::    OK
    Aug 10 19:09:55.595566 :: connecting to MySQL server (account)
    Aug 10 19:09:55.595646 :: CREATING DIRECT_SQL
    Aug 10 19:09:55.595694 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.606772 :: CREATING MAIN_SQL
    Aug 10 19:09:55.606919 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.607330 :: CREATING ASYNC_SQL
    Aug 10 19:09:55.607438 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.607650 ::    OK
    Aug 10 19:09:55.607828 :: connecting to MySQL server (common)
    Aug 10 19:09:55.607872 :: CREATING DIRECT_SQL
    Aug 10 19:09:55.607914 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.614855 :: CREATING MAIN_SQL
    Aug 10 19:09:55.615010 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.615273 :: CREATING ASYNC_SQL
    Aug 10 19:09:55.615384 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.615589 ::    OK
    Aug 10 19:09:55.615753 :: connecting to MySQL server (hotbackup)
    Aug 10 19:09:55.615795 :: CREATING DIRECT_SQL
    Aug 10 19:09:55.615836 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.621263 :: CREATING MAIN_SQL
    Aug 10 19:09:55.621499 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.621777 :: CREATING ASYNC_SQL
    Aug 10 19:09:55.621914 :: AsyncSQL: locale euckr
    Aug 10 19:09:55.622095 ::    OK
    Aug 10 19:09:55.623231 :: ClientManager initialization..
    Aug 10 19:09:55.671631 :: InitializeLocalization() - LoadLocaleTable(count:13)
    Aug 10 19:09:55.671783 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE0)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Aug 10 19:09:55.671830 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE1)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Aug 10 19:09:55.671920 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE2)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Aug 10 19:09:55.672079 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE3)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Aug 10 19:09:55.672121 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE4)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Aug 10 19:09:55.672159 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE5)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Aug 10 19:09:55.672194 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE6)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Aug 10 19:09:55.672229 :: locale[UNKNOWN_KEY(SKILL_POWER_BY_LEVEL_TYPE7)] = 0 5 6 8 10 12 14 16 18 20 22 24
    Aug 10 19:09:55.672265 :: locale[LOCALE] = germany
    Aug 10 19:09:55.672313 :: Changed g_stLocale euckr to euckr
    Aug 10 19:09:55.672354 :: SetLocale start
    Aug 10 19:09:55.673781 ::     --mysql_set_character_set(latin1)
    Aug 10 19:09:55.675021 ::     --mysql_set_character_set(latin1)
    Aug 10 19:09:55.676182 ::     --mysql_set_character_set(latin1)
    Aug 10 19:09:55.677314 ::     --mysql_set_character_set(latin1)
    Aug 10 19:09:55.678234 ::     --mysql_set_character_set(latin1)
    Aug 10 19:09:55.679346 ::     --mysql_set_character_set(latin1)
    Aug 10 19:09:55.685434 ::     --mysql_set_character_set(latin1)
    Aug 10 19:09:55.685933 ::     --mysql_set_character_set(latin1)
    Aug 10 19:09:55.687262 ::     --mysql_set_character_set(latin1)
     

    Best regards :)

    EDIT*

    ITEM_DS    DS_SLOT1 are the dragon stones in the item_proto. But i dont know where the error is :/
  5. Hey Dev´s :)

    I have a problem with compile client binary.And i got this error.

    I edit in GameLIb/ActorInstanceData.cpp

    Spoiler
    void CActorInstance::SetAcce(DWORD eAcce, float fSpecular)
    {
        m_eAcce = eAcce;
        CRaceData * pRaceData;
        if (!CRaceManager::Instance().GetRaceDataPointer(m_eRace, &pRaceData))
            return;
        
        CRaceData::SAcce* pkAcce = pRaceData->FindAcce(eAcce);
        if (pkAcce)
        {
            if (!pkAcce->m_stModelFileName.empty())
            {
                CGraphicThing * pkAcceThing = (CGraphicThing *)CResourceManager::Instance().GetResourcePointer(pkAcce->m_stModelFileName.c_str());
                RegisterModelThing(CRaceData::PART_ACCE, pkAcceThing);
                SetModelInstance(CRaceData::PART_ACCE, CRaceData::PART_ACCE, 0, CRaceData::PART_MAIN);
            }
            const std::vector<CRaceData::SSkin>& c_rkVct_kSkin = pkAcce->m_kVct_kSkin;
            std::vector<CRaceData::SSkin>::const_iterator i;
            for (i = c_rkVct_kSkin.begin(); i != c_rkVct_kSkin.end(); ++i)
            {
                const CRaceData::SSkin& c_rkSkinItem = *i;
                CResource * pkRes = CResourceManager::Instance().GetResourcePointer(c_rkSkinItem.m_stDstFileName.c_str());
                if (pkRes)
                {
                    if (fSpecular > 0.0f)
                    {
                        SMaterialData kMaterialData;
                        kMaterialData.pImage = static_cast<CGraphicImage*>(pkRes);
                        kMaterialData.isSpecularEnable = TRUE;
                        kMaterialData.fSpecularPower = fSpecular;
                        kMaterialData.bSphereMapIndex = 0;
                         SetMaterialData(CRaceData::PART_ACCE, c_rkSkinItem.m_stSrcFileName.c_str(), kMaterialData);
                    }
                    else
                    {
                        SetMaterialImagePointer(CRaceData::PART_ACCE, c_rkSkinItem.m_stSrcFileName.c_str(), static_cast<CGraphicImage*>(pkRes));
                    }
                }
            }
        }
    }
     
    under this function.
    
    void CActorInstance::SetHair(DWORD eHair)
    And in Userinterface/InstanceBase.cpp
    
    Spoiler
     
    void CInstanceBase::SetAcce(DWORD eAcce)
    {
        if (IsPC() == false)
            return;
        
        __ClearAcceRefineEffect();
        long lAbsChance = 0;
        float fSpecularPower = 0.0f;
        int iItemIndex = CPythonPlayer::Instance().GetItemIndex(TItemPos(INVENTORY, c_Costume_Slot_Acce));
        if (iItemIndex > 0)
        {
            CItemManager::Instance().SelectItemData(iItemIndex);
            CItemData * pItemData = CItemManager::Instance().GetSelectedItemDataPointer();
            if (pItemData->GetType() == CItemData::ITEM_TYPE_COSTUME && pItemData->GetSubType() == CItemData::COSTUME_ACCE)    
            {
                fSpecularPower = pItemData->GetSpecularPowerf();
                lAbsChance = CPythonPlayer::Instance().GetItemMetinSocket(TItemPos(INVENTORY, c_Costume_Slot_Acce), 1);
                if (lAbsChance >= 19)
                {
                    m_acceEffect = EFFECT_REFINED+EFFECT_ACCE_SPECIAL;
                    __EffectContainer_AttachEffect(m_acceEffect);
                }
            }
        }
        
        m_awPart[CRaceData::PART_ACCE] = eAcce;
        m_GraphicThingInstance.SetAcce(eAcce);
        if (lAbsChance >= 19)
        {
            m_GraphicThingInstance.SetAcce(eAcce, fSpecularPower);
        }
        else
        {
            m_GraphicThingInstance.SetAcce(eAcce);
        }
    }
     
    under this
    
    void CInstanceBase::SetArmor(DWORD dwArmor)

    I hope anyone can help :)

    Best regards.

  6. look at yout item_proto.txt clientside.

    it looks like daggers.

    make sure you have

    9010    "Wütende Glocke +0 "    "ITEM_WEAPON"    "WEAPON_BELL"    1    "ANTI_MUSA | ANTI_ASSASSIN | ANTI_SURA | ANTI_SELL"    "ITEM_TUNABLE"    "WEAR_WEAPON"    "NONE"    30000    100    9011    19    5    "LEVEL"    80    "LIMIT_NONE"    0    "APPLY_ATT_SPEED"    15    "APPLY_ATTBONUS_HUMAN"    2    "APPLY_MANA_BURN_PCT"    2    0    172    197    228    266    0    0    3    -1

    type as WEAPON_BELL.

    i hope thats the error.

    Best regards

    • Love 1
  7. Hey Dev´s :)

    I have a problem to compile my game with the sash system.

    I edited my char.cpp and added this codes.

    Spoiler
    addPacket.awPart[CHR_EQUIPPART_ACCE] = GetPart(PART_ACCE);
     
    and this:
    
    Spoiler
     
    pack.awPart[CHR_EQUIPPART_ACCE] = GetPart(PART_ACCE);
     
    and this:
    
    Spoiler
     
    SetPart(PART_ACCE, t->parts[PART_ACCE]);
     
    and this:
    
    Spoiler
     
    SetPart(PART_ACCE, GetOriginalPart(PART_ACCE));
     
    and this:
    
    Spoiler
     
    WORD CHARACTER::GetOriginalPart(BYTE bPartPos) const
    {
        switch (bPartPos)
        {
            case PART_MAIN:
                if (!IsPC())
                    return GetPart(PART_MAIN);
                else
                    return m_pointsInstant.bBasePart;
            case PART_HAIR:
                return GetPart(PART_HAIR);
            case PART_ACCE:
                return GetPart(PART_ACCE);
            default:
                return 0;
        }
    }
     

    But i get everytime the error that PART_ACCE are not declared.

    I hope anyone can help me :)

    Best regards

  8. In my opinion Vanilla core is easier to use with the configs. And with the source i can remove the bugs,too.

    The only problem is the compile ^_^

    P.S I checked the paths in the makefile, but its all right.

    The error is still there :/

    This is my Makefile.

     

    PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1)

    GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3  | cut -d'.' -f1)
    BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
    SVN_VERSION = 65730


    CC = g++49
    CXX = g++49

    INCDIR =
    LIBDIR =
    BINDIR = ..
    OBJDIR = OBJDIR
    $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)

    # Standard Setting
    LIBS = -pthread -lm -lmd
    # Removed -fno-rtti
    CFLAGS = -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing

    #debug flags
    CFLAGS += -g -ggdb -DNDEBUG
    #end of debug flags


    CFLAGS += -mtune=i686 -march=i686
    CFLAGS += -mssse3
    #CFLAGS += -mssse3 -msse4

    # boost
    INCDIR += -I../../../Extern/include/boost

    # DevIL
    INCDIR += -I../../libdevil
    LIBDIR += -L../../libdevil
    LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg

    # MySQL
    ifeq ($(BSD_VERSION), 7)
    INCDIR += -I../../libmysql/7.x-5.1.35
    LIBDIR += -L../../libmysql/7.x-5.1.35
    else
    INCDIR += -I../../libmysql/5.x-5.1.35
    LIBDIR += -L../../libmysql/5.x-5.1.35
    endif

    LIBS += -lmysqlclient -lz

    # Miscellaneous external libraries
    INCDIR += -I../../../Extern/include
    LIBDIR += -L../../../Extern/lib
    LIBS += -lcryptopp -lgtest

    # HackShield
    INCDIR += -I../../libhackshield/include
    LIBDIR += -L../../libhackshield/lib
    LIBS += -lanticpxsvr

    # XTrap
    INCDIR += -I../../libxtrap/include

    # openssl
    #INCDIR += -I/usr/include
    #LIBS += -lssl
    #LIBS += /usr/lib/libssl.a

    # Project Library
    INCDIR += -I../../liblua/include
    INCDIR += -I/usr/local/include
    INCDIR += -I../../libserverkey
    LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib -L../../libserverkey
    LIBDIR += -L/usr/local/lib
    LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame -lserverkey
    USE_STACKTRACE = 0
    ifeq ($(USE_STACKTRACE), 1)
    LIBS += /usr/local/lib/libexecinfo.a
    endif

    TARGET  = $(BINDIR)/game_r$(SVN_VERSION)_$(PLATFORM)

    CFILE    = minilzo.c

    CPPFILE = BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp\
              arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp\
              char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp\
              char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp\
              cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp\
              desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp\
              entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp\
              guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp\
              input_login.cpp input_main.cpp input_p2p.cpp input_teen.cpp input_udp.cpp ip_ban.cpp\
              item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp\
              locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp\
              messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp\
              party.cpp passpod.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp\
              questevent.cpp unique.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp\
              questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_mysql.cpp questlua_game.cpp questlua_global.cpp\
              questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_unique.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp\
              questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp\
              questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp\
              refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp\
              skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp\
              wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp auth_brazil.cpp\
              BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp\
              HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp\
              SpeedServer.cpp questlua_speedserver.cpp XTrapManager.cpp\
              auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp\
              buff_on_attributes.cpp dragon_soul_table.cpp DragonSoul.cpp\
              group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp\
              shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp spamblock.cpp


    COBJS    = $(CFILE:%.c=$(OBJDIR)/%.o)
    CPPOBJS    = $(CPPFILE:%.cpp=$(OBJDIR)/%.o)

    MAINOBJ = $(OBJDIR)/main.o
    MAINCPP = main.cpp

    TESTOBJ = $(OBJDIR)/test.o
    TESTCPP = test.cpp
    TEST_TARGET  = $(BINDIR)/game_r$(SVN_VERSION)_striped

    default: $(TARGET) $(TEST_TARGET)
        @strip $(TEST_TARGET)

    $(OBJDIR)/minilzo.o: minilzo.c
        @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@
        @echo compile $< with $(CC) $(CFLAGS)

    $(OBJDIR)/version.o: version.cpp
        @$(CC) $(CFLAGS) -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__SVN_VERSION__=\"$(SVN_VERSION)\" -c $< -o $@
        @echo compile $< with $(CC) $(CFLAGS)

    #$(OBJDIR)/cipher.o: cipher.cpp
    #    @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@
    #    @echo compile $< with $(CC) $(CFLAGS)

    $(OBJDIR)/%.o: %.cpp
        @echo compile $< with $(CC) $(CFLAGS)
        @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@

    $(TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ)
        @echo linking $(TARGET) with $(CC) $(CFLAGS)....
        @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TARGET)

    $(TEST_TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ)
        @echo linking $(TEST_TARGET) with $(CC) $(CFLAGS)....
        @$(CC) $(CFLAGS) -Wl,--strip-all $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TEST_TARGET)

    clean:
        @rm -f $(COBJS) $(CPPOBJS)
        @rm -f $(BINDIR)/game_r* $(BINDIR)/conv

    tag:
        ctags *.cpp *.h *.c

    dep:
        makedepend -f Depend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) $(TESTCPP) 2> /dev/null > Depend

    sinclude Depend

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.