Jump to content

Nickas

Member
  • Posts

    62
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Nickas

  1. unknown server command : check Client/PythonNetworkStreamCommand.cpp and root/game.py , you dont have this command of "wonumnekadar"

    In syserr says you have 8 won. if you can remove this command add this quest:

    Spoiler

    quest woncheck begin
        state start begin
            when login begin
                pc.change_cheque(0)
            end
        end
    end

     

     

  2. are you add item in item_proto?

    Spoiler

    <ItemDef Vnum="46001" Name="Áø¹«½Ö°Ë+9" LocalizedName="Şeytan Silahı Kılıcı" Type="28" SubType="4" Weight="0" Size="2" AntiFlags="262432" Flags="1" WearFlags="16" ImmuneFlags="0" Gold="360000" ShopBuyPrice="2770000" LimitType0="7" LimitValue0="0" LimitType1="0" LimitValue1="0" ApplyType0="7" ApplyValue0="0" ApplyType1="22" ApplyValue1="0" ApplyType2="17" ApplyValue2="0" Value0="0" Value1="0" Value2="0" Value3="0" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="460" RefineSet="610" AlterToMagicItemPercent="0" Specular="100" GainSocketPercent="3" AddonType="0"  />

    type and subtype is in your item_proto.sql when you adding serverside.

  3. 9 hours ago, Qwertyu said:

    How i can remove this problem? 

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

     

    And i want to use a time on seal. Only when i use a seal, time must to go

     

    Hello,guys.

    I have add new system of mount, but i have next 2 problems:

     

    change socket 2 of seal.u can use in quest :

    item.set_socket(2,28800)

    or in game/src/item.cpp:

    Spoiler

    search in this function : void CItem::StartUniqueExpireEvent()

    if (GetType() == ITEM_UNIQUE)
        {
            return;
        }

    edit like:

        if (GetType() == ITEM_UNIQUE || (GetType() == ITEM_COSTUME && GetSubType() == COSTUME_MOUNT))
        {
            return;
        }

     

     

  4. thanks, bt full :

    Spoiler

    (gdb) bt full
    #0  0x0816a88c in ITEM_MANAGER::SaveSingleItem (this=0xffff93c8,
        item=0x68745a00) at char.h:555
            t = {id = 1081925632, window = 32 ' ', pos = 40960, count = 5,
      vnum = 1081942016, alSockets = {1, 23170, 700000}, aAttr = {{bType = 0 '\0',
          sValue = 0}, {bType = 0 '\0', sValue = 16384}, {bType = 104 'h',
          sValue = -15211}, {bType = 104 'h', sValue = 32582}, {bType = 78 'N',
          sValue = -3364}, {bType = 220 '▒', sValue = -14232}, {
          bType = 146 '\222', sValue = -1}, {bType = 114 'r', sValue = 5933}, {
          bType = 8 '\b', sValue = -27592}, {bType = 255 '▒', sValue = 26879}, {
          bType = 70 'F', sValue = 20095}, {bType = 220 '▒', sValue = -8974}, {
          bType = 104 'h', sValue = 0}, {bType = 0 '\0', sValue = 24576}, {
          bType = 217 '▒', sValue = 19538}}, owner = 1759310580, bind = 1751233952}
    #1  0x0816cd24 in ITEM_MANAGER::Update (this=0xffff93c8)
        at item_manager.cpp:530
            item = <value optimized out>
            it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*,false>> = {
        _M_cur_node = 0x61fe2370, _M_cur_bucket = 0x68dcf2f8}, <No data fields>}
            this_it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*,false>> = {_M_cur_node = 0x4e7f4668, _M_cur_bucket = 0x68dcf2dc}, <No data fields>}
    #2  0x08278093 in heartbeat (ht=0x28c13400, pulse=1621028) at main.cpp:332
            c_set_desc = <value optimized out>
            t = 64272554
    #3  0x0827821e in idle () at main.cpp:872
    ---Type <return> to continue, or q <return> to quit---
            now = {tv_sec = 1503360241, tv_usec = 509961}
            passed_pulses = 1
            t = <value optimized out>
            pta = {tv_sec = 1503360241, tv_usec = 59287}
            process_time_count = 12
    #4  0x08279a9c in main (argc=1, argv=Cannot access memory at address 0x4
    ) at main.cpp:545
            sectree_manager = {<singleton<SECTREE_MANAGER>> = {
        _vptr$singleton = 0x84ca730, static ms_singleton = 0xffff967c},
      static current_sectree_version = 768, m_map_pkSectree = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
              _M_parent = 0x473ff3c0, _M_left = 0x2c9745c0,
              _M_right = 0x65bfcf80}, _M_node_count = 37}}}, m_map_pkArea = {
        _M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std:---Type <return> to continue, or q <return> to quit---
    :char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<> = {<No data fields>}, <No data fields>},
            _M_header = {_M_color = std::_S_red, _M_parent = 0x46dd0be0,
              _M_left = 0x46dd0be0, _M_right = 0x46dd0be0}, _M_node_count = 1}}},
      m_vec_mapRegion = {<std::_Vector_base<SMapRegion,std::allocator<SMapRegion> >> = {
          _M_impl = {<std::allocator<SMapRegion>> = {<__gnu_cxx::new_allocator<SMapRegion>> = {<No data fields>}, <No data fields>}, _M_start = 0x28da0000,
            _M_finish = 0x28da1514,
            _M_end_of_storage = 0x28da2600}}, <No data fields>},
      m_mapNPCPosition = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
              _M_parent = 0x647fdee0, _M_left = 0x296b8cc0,
              _M_right = 0x55270360}, _M_node_count = 102}}},
      next_private_index_map_ = {<std::tr1::_Hashtable<long int,std::pair<const long
    (gdb)

     

  5. Hi dev,

    i have a crash core problem and is crash every day.

    41c9e4ecb46e42b9af249a93b6514648.png

    and bt:

    9446d4d3b89e475b9400b39cf93dbb2c.png

    my char.h:555

    ba77ff69e81e489d9165dec5e9a289a9.png

    how to i fix ?its a big problem for me.my item_manager cpp : 

    This is the hidden content, please

    bt full:

    Spoiler

    (gdb) bt full
    #0  0x0816a88c in ITEM_MANAGER::SaveSingleItem (this=0xffff93c8,
        item=0x68745a00) at char.h:555
            t = {id = 1081925632, window = 32 ' ', pos = 40960, count = 5,
      vnum = 1081942016, alSockets = {1, 23170, 700000}, aAttr = {{bType = 0 '\0',
          sValue = 0}, {bType = 0 '\0', sValue = 16384}, {bType = 104 'h',
          sValue = -15211}, {bType = 104 'h', sValue = 32582}, {bType = 78 'N',
          sValue = -3364}, {bType = 220 '▒', sValue = -14232}, {
          bType = 146 '\222', sValue = -1}, {bType = 114 'r', sValue = 5933}, {
          bType = 8 '\b', sValue = -27592}, {bType = 255 '▒', sValue = 26879}, {
          bType = 70 'F', sValue = 20095}, {bType = 220 '▒', sValue = -8974}, {
          bType = 104 'h', sValue = 0}, {bType = 0 '\0', sValue = 24576}, {
          bType = 217 '▒', sValue = 19538}}, owner = 1759310580, bind = 1751233952}
    #1  0x0816cd24 in ITEM_MANAGER::Update (this=0xffff93c8)
        at item_manager.cpp:530
            item = <value optimized out>
            it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*,false>> = {
        _M_cur_node = 0x61fe2370, _M_cur_bucket = 0x68dcf2f8}, <No data fields>}
            this_it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*,false>> = {_M_cur_node = 0x4e7f4668, _M_cur_bucket = 0x68dcf2dc}, <No data fields>}
    #2  0x08278093 in heartbeat (ht=0x28c13400, pulse=1621028) at main.cpp:332
            c_set_desc = <value optimized out>
            t = 64272554
    #3  0x0827821e in idle () at main.cpp:872
    ---Type <return> to continue, or q <return> to quit---
            now = {tv_sec = 1503360241, tv_usec = 509961}
            passed_pulses = 1
            t = <value optimized out>
            pta = {tv_sec = 1503360241, tv_usec = 59287}
            process_time_count = 12
    #4  0x08279a9c in main (argc=1, argv=Cannot access memory at address 0x4
    ) at main.cpp:545
            sectree_manager = {<singleton<SECTREE_MANAGER>> = {
        _vptr$singleton = 0x84ca730, static ms_singleton = 0xffff967c},
      static current_sectree_version = 768, m_map_pkSectree = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
              _M_parent = 0x473ff3c0, _M_left = 0x2c9745c0,
              _M_right = 0x65bfcf80}, _M_node_count = 37}}}, m_map_pkArea = {
        _M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std:---Type <return> to continue, or q <return> to quit---
    :char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<> = {<No data fields>}, <No data fields>},
            _M_header = {_M_color = std::_S_red, _M_parent = 0x46dd0be0,
              _M_left = 0x46dd0be0, _M_right = 0x46dd0be0}, _M_node_count = 1}}},
      m_vec_mapRegion = {<std::_Vector_base<SMapRegion,std::allocator<SMapRegion> >> = {
          _M_impl = {<std::allocator<SMapRegion>> = {<__gnu_cxx::new_allocator<SMapRegion>> = {<No data fields>}, <No data fields>}, _M_start = 0x28da0000,
            _M_finish = 0x28da1514,
            _M_end_of_storage = 0x28da2600}}, <No data fields>},
      m_mapNPCPosition = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
              _M_parent = 0x647fdee0, _M_left = 0x296b8cc0,
              _M_right = 0x55270360}, _M_node_count = 102}}},
      next_private_index_map_ = {<std::tr1::_Hashtable<long int,std::pair<const long
    (gdb)

    thanks for advance

    • Metin2 Dev 3
×
×
  • 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.