Jump to content

canco

Inactive Member
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by canco

  1. input_login.cpp

    search void CInputLogin::Entergame(LPDESC d, const char * data) and add

    if (ch->GetHorseLevel() > 0)
    {
    	DWORD pid = ch->GetPlayerID();
    
    	if (pid != 0 && CHorseNameManager::instance().GetHorseName(pid) == NULL)
    		db_clientdesc->DBPacket(HEADER_GD_REQ_HORSE_NAME, 0, &pid, sizeof(DWORD));
    
    	ch->SetHorseLevel(ch->GetHorseLevel());
    	ch->SkillLevelPacket();
    }

     

    • Love 1
  2. Look at this xD when i change costume animation no disappears  :/

    its COSTUME weapon, no weapon

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

    code:

    	case CItemData::ITEM_TYPE_COSTUME:
    		__ClearWeaponRefineEffect();
    		if (pItem->GetSubType() == CItemData::COSTUME_WEAPON_SWORD)
    		{
    			DWORD vnum = pItem->GetIndex();
    			if (vnum == 6100) 
    			{
    				__AttachEffect(EFFECT_REFINED + EFFECT_SWORD);
    			}
    			if (vnum == 6111) 
    			{
    				__AttachEffect(EFFECT_REFINED + EFFECT_SWORD1);
    			}
    			if (vnum == 6112)  
    			{
    				__AttachEffect(EFFECT_REFINED + EFFECT_SWORD2); 
    			}
    			if (vnum == 6113)
    			{
    				__AttachEffect(EFFECT_REFINED + EFFECT_SWORD3); 
    			}
    			if (vnum == 6114)
    			{
    				__AttachEffect(EFFECT_REFINED + EFFECT_SWORD4);
    			}	
    		}

     

  3. channel core

    can u help me? :x i need fast help

    #0  DESC::Packet (this=0x4c, c_pvData=0xffff8383, iSize=21) at desc.cpp:425
    425     desc.cpp: No such file or directory.
            in desc.cpp
    [New Thread 28c0433428c05500 (LWP 101061/game)]
    [New Thread 2883df4028c05200 (LWP 101060/game)]
    [New Thread 28c0553428c04f00 (LWP 101059/game)]
    [New Thread 28c0523428c04300 (LWP 100299/game)]
    Cannot find new threads: generic error
    (gdb) bt full
    #0  DESC::Packet (this=0x4c, c_pvData=0xffff8383, iSize=21) at desc.cpp:425
    No locals.
    #1  0x081ad846 in CParty::SendPartyInfoOneToAll (this=0x3abcfd80,
        ch=0x33a48800) at party.cpp:829
            p = {header = 79 'O', pid = 95, role = 0 '\0', percent_hp = 100 'd',
      affects = {0, 0, 0, 0, 0, 0, 0}}
    #2  0x0807e9fe in CHARACTER::PointChange (this=0x33a48800, type=5 '\005',
        amount=-2320, bAmount=false, bBroadcast=false) at char.cpp:3963
            prev_hp = 28794
            val = 26474
            __FUNCTION__ = "PointChange"
    #3  0x0807ca50 in CHARACTER::ComputePoints (this=0x33a48800) at char.cpp:3105
            pkSk = <value optimized out>
            iMaxHP = 6474
            iMaxSP = 1
            iMaxStamina = 1100
            pPetSystem = <value optimized out>
    #4  0x081ac2aa in CParty::ComputeRolePoint (this=0x3abcfd80, ch=0x33a48800,
        bRole=0 '\0', bAdd=false) at party.cpp:1218
            k = -0.137892127
    #5  0x081ad373 in CParty::RemoveBonus (this=0x3abcfd80) at party.cpp:1050
            ch = 0x0
    #6  0x081ae900 in CParty::Destroy (this=0x3abcfd80) at party.cpp:307
    ---Type <return> to continue, or q <return> to quit---Quit

     

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