Jump to content

asterix2

Inactive Member
  • Posts

    124
  • Joined

  • Last visited

  • Days Won

    6
  • Feedback

    0%

Posts posted by asterix2

  1. 40k

    Hello guys, i didn't find solv for my problem.

    i add system hide costume and i enter game char didn't load and few second later core crash.

    gdb:
     

    Quote
    Spoiler

    #1  0x081b1ef6 in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >::find (
        __x=..., this=0x54) at /usr/local/lib/gcc8/include/c++/bits/stl_map.h:1168
    No locals.
    #2  quest::PC::GetFlag (this=0x0, name=...) at questpc.cpp:94
            it = <optimized out>
    #3  0x0808e1c8 in CHARACTER::GetQuestFlag (this=<optimized out>, flag=...) at char.cpp:6703
            q = <optimized out>
            pPC = <optimized out>
    #4  0x08093926 in CHARACTER::GetHideCostume (this=0x42d0f340, wear=0) at /usr/local/lib/gcc8/include/c++/bits/basic_string.h:252
            costume_hide = "hide_costume_w.hide_costume_0\000\375J\000\000\000\000\000e\375J\374\364\350(\210\244\277\277\"\004\336(\000\000\000\000\001\000\000\000\304\244\277\277\354+\233\b\036", '\000' <repeats 11 times>, "\314\276=+\273\344\247\224\304\244\277\277\370\250\277\277\000\000\000\000\304\244\277\277\000\240\314(\370\250\277\277(,\273(\000e\375J\354+\233\b\035\000\000\000\273\344\247\224\314\244\277\277\026,\273(\314\244\277\277>9\t\b\000e\375J\304\244\277\277\371\244\277\277\000\000\000\000\377\000\377\377\000e\375J\035\000\000\000\035\000\000\000\000\000\000\000\374\364\350(\374\244\277\277hide_cos"...
    #5  0x080939c0 in CHARACTER::SetHideCostumeUpdate (this=0x42d0f340) at char.cpp:8880
            body_costume = 0x0
            acce_costume = 0x0
            hair_costume = 0x0
            weapon_costume = 0x0
    #6  0x08093f57 in CHARACTER::EncodeInsertPacket (this=0x42d0f340, entity=0x4afedc00) at char.cpp:1070
            addPacket = {header = 111 'o', dwVID = 12453, name = '\000' <repeats 24 times>, awPart = {0, 0, 0, 0, 0}, bEmpire = 0 '\000', dwGuildID = 0, dwLevel = 0,
              sAlignment = 0, bPKMode = 0 '\000', dwMountVnum = 0, dwArrow = 0}
            ch = <optimized out>
            d = 0x2b216300
            ch = 0x4afedc00
            pack = {header = 1 '\001', dwVID = 12453, angle = 45, x = 591800, y = 100400, z = 0, bType = 1 '\001', wRaceNum = 20367, bMovingSpeed = 100 'd',
              bAttackSpeed = 100 'd', bStateFlag = 0 '\000', dwAffectFlag = {0, 0}}
            iDur = 0
    #7  0x081125e7 in CEntity::ViewInsert (this=0x4afedc00, entity=<optimized out>, recursive=true) at entity_view.cpp:63
            it = <optimized out>
    #8  0x08112806 in CFuncViewInsert::operator() (ent=0x42d0f340, this=<synthetic pointer>) at entity_view.cpp:107
    No locals.
    #9  FCollectEntity::ForEach<CFuncViewInsert> (f=<synthetic pointer>..., this=0xbfbfa9f0) at sectree.h:73
            entity = 0x42d0f340
            it = {_M_current = 0x4aae140c}
            it = <optimized out>
            entity = <optimized out>
    #10 SECTREE::ForEachAround<CFuncViewInsert> (func=<synthetic pointer>..., this=<optimized out>) at sectree.h:120
    --Type <RET> for more, q to quit, c to continue without paging--
            collector = {result = {<std::_Vector_base<CEntity*, std::allocator<CEntity*> >> = {
                  _M_impl = {<std::allocator<CEntity*>> = {<__gnu_cxx::new_allocator<CEntity*>> = {<No data fields>}, <No data fields>}, _M_start = 0x4aae1400,
                    _M_finish = 0x4aae1508, _M_end_of_storage = 0x4aae1600}}, <No data fields>}}
            it = <optimized out>
            collector = <optimized out>
            it = <optimized out>
            sectree = <optimized out>
    #11 CEntity::UpdateSectree (this=<optimized out>) at entity_view.cpp:138
            __FUNCTION__ = "UpdateSectree"
            f = <optimized out>
            it = <optimized out>
            this_it = <optimized out>
    #12 0x08088ac2 in CHARACTER::Show (this=0x4afedc00, lMapIndex=62, x=588952, y=99049, z=0, bShowSpawnMotion=false) at char.cpp:1713
            sectree = 0x3feb8680
            bChangeTree = <optimized out>
    #13 0x081377c1 in CInputLogin::Entergame (this=<optimized out>, d=<optimized out>, data=<optimized out>) at entity.h:54
            ch = 0x4afedc00
            pos = {x = 588952, y = 99049, z = 0}
            __FUNCTION__ = "Entergame"
            p = {bHeader = 0 '\000', time = -1800936261}
            p2 = {header = 0 '\000', channel = 0 '\000'}
    #14 0x08138c45 in CInputLogin::Analyze (this=0x2b21636c, d=0x2b216300, bHeader=10 '\n', c_pData=0x4afdc4c0 "\nmetin2client.exe") at input_login.cpp:1109
            iExtraLen = 0
            __FUNCTION__ = "Analyze"
    #15 0x0812d6a5 in CInputProcessor::Process (iBytes=1, r_iBytesProceed=@0xbfbfabb8: 0, c_pvOrig=0x4afdc4c0, lpDesc=0x2b216300, this=0x2b21636c) at input.cpp:99
            iExtraPacketSize = <optimized out>
            bHeader = 10 '\n'
            c_pszName = 0x4aff4d5c "EnterGame"
            c_pData = 0x4afdc4c0 "\nmetin2client.exe"
            bLastHeader = 0 '\000'
            iLastPacketLen = 0
            iPacketLen = 1
            c_pData = <optimized out>
            bLastHeader = <optimized out>
            iLastPacketLen = <optimized out>
            iPacketLen = <optimized out>
            __FUNCTION__ = "Process"
            bHeader = <optimized out>
            c_pszName = <optimized out>
            iExtraPacketSize = <optimized out>
    #16 CInputProcessor::Process (this=0x2b21636c, lpDesc=0x2b216300, c_pvOrig=0x4afdc4c0, iBytes=1, r_iBytesProceed=@0xbfbfabb8: 0) at input.cpp:59
            c_pData = 0x4afdc4c0 "\nmetin2client.exe"
            iPacketLen = <optimized out>
    --Type <RET> for more, q to quit, c to continue without paging--
            __FUNCTION__ = "Process"
            bHeader = <optimized out>
            c_pszName = <optimized out>
            iExtraPacketSize = <optimized out>
    #17 0x08103a4e in DESC::ProcessInput (this=0x2b216300) at desc.cpp:304
            iBytesProceed = 0
            bytes_read = 1
            __FUNCTION__ = "ProcessInput"
    #18 0x08221135 in io_loop (fdw=0x29363d00) at main.cpp:1013
            iRet = <optimized out>
            d = 0x2b216300
            num_events = 3
            event_idx = 2
            __FUNCTION__ = "io_loop"
    #19 0x08221381 in idle () at main.cpp:896
            now = {tv_sec = 1591811553, tv_usec = 479278}
            passed_pulses = <optimized out>
            t = 60519
            pta = {tv_sec = 1591811553, tv_usec = 39119}
            process_time_count = 11
            now = <optimized out>
            passed_pulses = <optimized out>
            t = <optimized out>
    #20 idle () at main.cpp:865
            now = <optimized out>
            passed_pulses = <optimized out>
            t = <optimized out>
            pta = {tv_sec = 1591811553, tv_usec = 39119}
            process_time_count = 11
    #21 0x0806efa5 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:540
            sectree_manager = {<singleton<SECTREE_MANAGER>> = {_vptr.singleton = 0x84f8cec <vtable for SECTREE_MANAGER+8>, static ms_singleton = 0xbfbfb114},
              static current_sectree_version = 768, m_map_pkSectree = {_M_t = {
                  _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<unsigned int const, SECTREE_MAP*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, SECTREE_MAP*> > >> = {<No data fields>}, <No data fields>}, <std::_Rb_tree_key_compare<std::less<unsigned int> >> = {
                      _M_key_compare = {<std::binary_function<unsigned int, unsigned int, bool>> = {<No data fields>}, <No data fields>}}, <std::_Rb_tree_header> = {
                      _M_header = {_M_color = std::_S_red, _M_parent = 0x32a63f80, _M_left = 0x2b49e660, _M_right = 0x4a968da0}, _M_node_count = 13}, <No data fields>}}},
              m_map_pkArea = {_M_t = {
     

     

     

    • Metin2 Dev 1
    • Love 1
  2. On 5/5/2020 at 4:24 AM, gweilo321 said:

    SYSERR: May 5 03:57:36 :: SpawnMob: SpawnMob: no mob data for vnum 0 SYSERR: May 5 03:57:36 :: Summon: [CMountActor::Summon] Failed to summon the mount. (vnum: 0) SYSERR: May 5 03:57:36 :: Summon: [CMountSystem::Summon(-2074967294)] Null Pointer (mountVID)

    
    SYSERR: May  5 03:57:36 :: SpawnMob: SpawnMob: no mob data for vnum 0
    SYSERR: May  5 03:57:36 :: Summon: [CMountActor::Summon] Failed to summon the mount. (vnum: 0)
    SYSERR: May  5 03:57:36 :: Summon: [CMountSystem::Summon(-2074967294)] Null Pointer (mountVID)

    What could be causing this error?
    It happens when i try to mount it, but nothing happens and i get this in syserr.

    use this:

     

    REAL_TIME_FIRST_USE 

     

  3. Hello guys.

    I looked at (trkmo) official pet system, and i thinking we are making some bug fix for m2dev.

    You have some bug fix relase at this topic. :D (haha)

    I start:

    first fix:

    cmd_gm.cpp

    in this function:


     

    ACMD(do_item_purge)

    search this:

     

    	int         i;
    	LPITEM      item;

    add after this:

     

    #ifdef NEW_PET_SYSTEM
    	if (ch->GetNewPetSystem()->IsActivePet())
    	{
    		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("First time unsummon your pet."));
    		return;
    	}
    #endif

    examples: You have summoned pet, and you making /ip, channel has crashed.

    • Metin2 Dev 1
    • Not Good 3
    • Love 1
  4.  

    Hi developers.

    I using elemental bonuses from this forum, and my fire talisman added wind bonus, and all talismans add other bonus.

    at item_proto have a correct value:

     

    9619	Č­ż°ŔÇ łë¸®°ł +19	ITEM_ARMOR	ARMOR_PENDANT	1	NONE	ITEM_TUNABLE	WEAR_PENDANT	NONE	360000	5000	9620	449	0	LEVEL	20	LIMIT_NONE	0	APPLY_ATTBONUS_FIRE	19	APPLY_NONE	0	APPLY_NONE	0	0	0	0	0	0	0	0	0	0

    And i don't know why add wind bonus. Have anyone idea?

    :(

  5. Hello guys i have a one question of quiver system.

    I used p3ng3r tutorial but, i have one error.


    i using quiver and i probaly to shoot wild dog, my character writed i need arrow to shoot.

     

    PythonSkill.cpp
     

    bool CPythonPlayer::__HasEnoughArrow()
    {
    	CItemData* pItemData;
    	if (CItemManager::Instance().GetItemDataPointer(GetItemIndex(TItemPos(INVENTORY, c_Equipment_Arrow)), &pItemData))
    	{
    		if (CItemData::ITEM_TYPE_WEAPON == pItemData->GetType())
    		{
    #ifdef ENABLE_QUIVER_SYSTEM
    			if (CItemData::WEAPON_ARROW == pItemData->GetSubType() || CItemData::WEAPON_QUIVER == pItemData->GetSubType())
    #else
    			if (CItemData::WEAPON_ARROW == pItemData->GetSubType())
    #endif
    				return true;
    		}
    	}
    
    	PyCallClassMemberFunc(m_ppyGameWindow, "OnCannotShotError", Py_BuildValue("(is)", GetMainCharacterIndex(), "EMPTY_ARROW"));
    	return false;
    }

    item_proto:
     

    79501	ą«ÇŃŔÇ Č­»ěĹë(1ŔĎ)	ITEM_WEAPON	WEAPON_QUIVER	1	ANTI_MUSA | ANTI_SURA | ANTI_MUDANG | ANTI_DROP | ANTI_GIVE | ANTI_MYSHOP | ANTI_SAFEBOX	ITEM_STACKABLE | ITEM_SLOW_QUERY	WEAR_ARROW	NONE	100000	0	0	0	0	REAL_TIME	86400	LIMIT_NONE	0	APPLY_NONE	0	APPLY_NONE	0	APPLY_NONE	0	17	4	0	25	0	0	0	0	0
    79502	ą«ÇŃŔÇ Č­»ěĹë(7ŔĎ)	ITEM_WEAPON	WEAPON_QUIVER	1	ANTI_MUSA | ANTI_SURA | ANTI_MUDANG | ANTI_DROP | ANTI_GIVE | ANTI_MYSHOP | ANTI_SAFEBOX	ITEM_STACKABLE | ITEM_SLOW_QUERY	WEAR_ARROW	NONE	550000	0	0	0	0	REAL_TIME	604800	LIMIT_NONE	0	APPLY_NONE	0	APPLY_NONE	0	APPLY_NONE	0	17	4	0	25	0	0	0	0	0
    79503	ą«ÇŃŔÇ Č­»ěĹë(15ŔĎ)	ITEM_WEAPON	WEAPON_QUIVER	1	ANTI_MUSA | ANTI_SURA | ANTI_MUDANG	ITEM_STACKABLE | ITEM_SLOW_QUERY	WEAR_ARROW	NONE	0	0	0	0	0	REAL_TIME	1296000	LIMIT_NONE	0	APPLY_NONE	0	APPLY_NONE	0	APPLY_NONE	0	17	4	0	25	0	0	0	0	0
    79504	ą«ÇŃŔÇ Č­»ěĹë(30ŔĎ)	ITEM_WEAPON	WEAPON_QUIVER	1	ANTI_MUSA | ANTI_SURA | ANTI_MUDANG	ITEM_STACKABLE | ITEM_SLOW_QUERY	WEAR_ARROW	NONE	0	0	0	0	0	REAL_TIME	2592000	LIMIT_NONE	0	APPLY_NONE	0	APPLY_NONE	0	APPLY_NONE	0	17	4	0	25	0	0	0	0	0
    

    I prob lot of idea and i didn't know to solve.

    my systems: Cheque system, tab targeting, acce, costume weapon and sword. (i didn't know but not thin this system don't refuse this system.)

     

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