Jump to content

dannyrbk

Inactive Member
  • Posts

    16
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by dannyrbk

  1. 20 hours ago, Mali61 said:

    let me know if you found a bug

    This is the hidden content, please

     

    man i can't compile the source...got this error

    SRC

    Quote

    root@host:~/Src_Metin2Fox/Srcs/game/src # gmake
    compile affect.cpp
    compile ani.cpp
    compile arena.cpp
    compile banword.cpp
    compile battle.cpp
    compile BattleArena.cpp
    compile biolog.cpp
    compile blend_item.cpp
    compile BlueDragon.cpp
    compile BlueDragon_Binder.cpp
    compile buff_on_attributes.cpp
    compile buffer_manager.cpp
    compile building.cpp
    compile char.cpp
    In file included from char.cpp:22:0:
    safebox.h:1:0: error: unterminated #ifndef
     #ifndef __INC_METIN_II_GAME_SAFEBOX_H__
     ^
    In file included from char.cpp:23:0:
    regen.h:86:84: error: storage class specified for 'regen_load'
     extern bool regen_load(const char *filename, long lMapIndex, int base_x, int base_y);
                                                                                        ^
    regen.h:87:122: error: storage class specified for 'regen_do'
     extern bool regen_do(const char* filename, long lMapIndex, int base_x, int base_y, LPDUNGEON pDungeon, bool bOnce = true );
                                                                                                                              ^
    regen.h:88:93: error: storage class specified for 'regen_load_in_file'
     extern bool regen_load_in_file(const char* filename, long lMapIndex, int base_x, int base_y );
                                                                                                 ^
    regen.h:89:24: error: storage class specified for 'regen_free'
     extern void regen_free();
                            ^
    regen.h:91:46: error: storage class specified for 'is_regen_exception'
     extern bool is_regen_exception(long x, long y);
                                                  ^
    regen.h:92:37: error: storage class specified for 'regen_reset'
     extern void regen_reset(int x, int y);
                                         ^
    In file included from char.cpp:25:0:
    party.h:258:58: error: cannot define member function 'CSafebox::CParty::ForEachMember' within 'CSafebox'
     template <class Func> void CParty::ForEachMember(Func & f)
                                                              ^
    party.h:266:61: error: cannot define member function 'CSafebox::CParty::ForEachMemberPtr' within 'CSafebox'
     template <class Func> void CParty::ForEachMemberPtr(Func & f)
                                                                 ^
    party.h:274:64: error: cannot define member function 'CSafebox::CParty::ForEachOnlineMember' within 'CSafebox'
     template <class Func> void CParty::ForEachOnlineMember(Func & f)
                                                                    ^
    party.h:283:62: error: cannot define member function 'CSafebox::CParty::ForEachNearMember' within 'CSafebox'
     template <class Func> void CParty::ForEachNearMember(Func & f)
                                                                  ^
    party.h:292:80: error: cannot define member function 'CSafebox::CParty::ForEachOnMapMember' within 'CSafebox'
     template <class Func> void CParty::ForEachOnMapMember (Func & f, long lMapIndex)
                                                                                    ^
    party.h:307:83: error: cannot define member function 'CSafebox::CParty::ForEachOnMapMemberBool' within 'CSafebox'
     template <class Func> bool CParty::ForEachOnMapMemberBool(Func & f, long lMapIndex)
                                                                                       ^
    party.h:329:49: error: cannot define member function 'CSafebox::CParty::ComputePartyBonusAttackGrade' within 'CSafebox'
     inline int CParty::ComputePartyBonusAttackGrade()
                                                     ^
    party.h:347:50: error: cannot define member function 'CSafebox::CParty::ComputePartyBonusDefenseGrade' within 'CSafebox'
     inline int CParty::ComputePartyBonusDefenseGrade()
                                                      ^
    In file included from char.cpp:26:0:
    start_position.h:6:32: error: storage class specified for 'g_nation_name'
     extern char g_nation_name[4][32];
                                    ^
    start_position.h:7:35: error: storage class specified for 'g_start_position'
     extern DWORD g_start_position[4][2];
                                       ^
    start_position.h:8:26: error: storage class specified for 'g_start_map'
     extern long g_start_map[4];
                              ^
    start_position.h:9:36: error: storage class specified for 'g_create_position'
     extern DWORD g_create_position[4][2];
                                        ^
    start_position.h:10:40: error: storage class specified for 'arena_return_position'
     extern DWORD arena_return_position[4][2];
                                            ^
    In file included from quest.h:10:0,
                     from questpc.h:4,
                     from questnpc.h:4,
                     from questmanager.h:6,
                     from char.cpp:27:
    lua_incl.h:2:8: error: expected unqualified-id before string constant
     extern "C" {
            ^
    In file included from char.cpp:30:0:
    guild.h:47:16: error: expected '}' before end of line
     #pragma pack(1)
                    ^
    In file included from sectree_manager.h:4:0,
                     from dungeon.h:4,
                     from regen.h:1,
                     from char.cpp:23:
    sectree.h: In member function 'CEntity* CSafebox::SECTREE::find_if(_Func&) const':
    sectree.h:94:48: error: invalid use of incomplete type 'class SECTREE'
         ENTITY_SET::iterator it_entity = (*it_tree)->m_set_entity.begin();
                                                    ^
    In file included from stdafx.h:37:0,
                     from char.cpp:1:
    typedef.h:63:7: error: forward declaration of 'class SECTREE'
     class SECTREE;
           ^
    In file included from sectree_manager.h:4:0,
                     from dungeon.h:4,
                     from regen.h:1,
                     from char.cpp:23:
    sectree.h:96:35: error: invalid use of incomplete type 'class SECTREE'
         while (it_entity != (*it_tree)->m_set_entity.end())
                                       ^
    In file included from stdafx.h:37:0,
                     from char.cpp:1:
    typedef.h:63:7: error: forward declaration of 'class SECTREE'
     class SECTREE;
           ^
    In file included from sectree_manager.h:4:0,
                     from dungeon.h:4,
                     from regen.h:1,
                     from char.cpp:23:
    sectree.h: In member function 'void CSafebox::SECTREE::ForEachAround(_Func&)':
    sectree.h:118:12: error: invalid use of incomplete type 'class SECTREE'
         sectree->for_each_entity(collector);
                ^
    In file included from stdafx.h:37:0,
                     from char.cpp:1:
    typedef.h:63:7: error: forward declaration of 'class SECTREE'
     class SECTREE;
           ^
    In file included from sectree_manager.h:4:0,
                     from dungeon.h:4,
                     from regen.h:1,
                     from char.cpp:23:
    sectree.h: In member function 'void CSafebox::SECTREE::for_each_for_find_victim(_Func&)':
    sectree.h:136:24: error: invalid use of incomplete type 'class SECTREE'
         if ( (*(it_tree++))->for_each_entity_for_find_victim(func) )
                            ^
    In file included from stdafx.h:37:0,
                     from char.cpp:1:
    typedef.h:63:7: error: forward declaration of 'class SECTREE'
     class SECTREE;
           ^
    In file included from sectree_manager.h:4:0,
                     from dungeon.h:4,
                     from regen.h:1,
                     from char.cpp:23:
    sectree.h: In member function 'void CSafebox::SECTREE::for_each_entity(_Func&)':
    sectree.h:193:33: error: comparison between distinct pointer types 'LPSECTREE {aka SECTREE*}' and 'CSafebox::SECTREE*' lacks a cast
         if (entity->GetSectree() != this) {
                                     ^
    In file included from dungeon.h:4:0,
                     from regen.h:1,
                     from char.cpp:23:
    sectree_manager.h: In member function 'void CSafebox::SECTREE_MAP::for_each(Func&)':
    sectree_manager.h:79:12: error: invalid use of incomplete type 'class SECTREE'
         sectree->for_each_entity(collector);
                ^
    In file included from stdafx.h:37:0,
                     from char.cpp:1:
    typedef.h:63:7: error: forward declaration of 'class SECTREE'
     class SECTREE;
           ^
    In file included from dungeon.h:4:0,
                     from regen.h:1,
                     from char.cpp:23:
    sectree_manager.h: In member function 'void CSafebox::SECTREE_MANAGER::for_each(int, Func&)':
    sectree_manager.h:127:12: error: invalid use of incomplete type 'class SECTREE_MAP'
         pSecMap->for_each( rfunc );
                ^
    In file included from stdafx.h:37:0,
                     from char.cpp:1:
    typedef.h:71:7: error: forward declaration of 'class SECTREE_MAP'
     class SECTREE_MAP;
           ^
    In file included from char.cpp:30:0:
    guild.h: At global scope:
    guild.h:47:16: error: expected unqualified-id before end of line
     #pragma pack(1)
                    ^
    guild.h:47:16: error: expected declaration before end of line
    gmake: *** [OBJDIR/char.o] Error 1
     

     

    Binary

    spacer.png

  2. Hello,

     

    I’am have a problem with item-shop deposit in game

    the problem is: i’am buy item from ishop on website, it is appears in item-shop deposit but can’t drag to my inventory and if i do other thing after traing to drag item is kick me off from client, just clint server remeining on


    i’am don’t have syserr

     

    here is a picture with problem

    https://metin2.download/picture/J4Rby0bhbMiP1lFwyIO5C3zR6bGDjkhC/.gif
     

     

     

  3. help please...i'am don't know were tu modifi for this error whene i compilate my source

    input_main.cpp: In member function 'virtual int CInputMain::Analyze(DESC*, BYTE, const char*)':
    input_main.cpp:3706: error: duplicate case value
    input_main.cpp:3702: error: previously used here

    https://metin2.download/picture/ZcjSYKn121bHwA14IVCm3FZlk5N6942Q/.jpg

  4. &nbsp;

    you can either implement source code changes (but you'll have to make further edits to make the public code working) or use vanilla core, where you can start without txt. Up to you, as far as I know there aren't any libs currently and dif's won't do anything to help you with that.

    &nbsp;

    thanks for reply

    if as you say you can give me game and mysql that does not read files .txt and a client if you have preferably in English if you can and want to help me
    I would be hard grateful

×
×
  • 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.