Jump to content

KizioRCK

Inactive Member
  • Posts

    15
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by KizioRCK

  1. Hello I wanted to ask if anyone had a problem with the forum stirred a state of quests during dungeons?
    I know that many servers have this problem and I wanted to ask if you might be able to someone forum fix the problem?
    The error lies in the fact that if the party performs in the dungeons time quests for the characters to bugują. Changes to the state for starting such quests and return the form
    Thank you in advance for your help

  2. Hi I have a problem with ring in src. Namely, when the creatures make it up the ring and the item does not have time but continues to write 0. In what could be the problem?
    My function is as follows. Thanks in advance for your help

     

    59888637846562931728.jpg

     

     

    bool CHARACTER::EquipItem(LPITEM item, int iCandidateCell)
    {
        if (item->IsExchanging())
            return false;

        if (false == item->IsEquipable())
            return false;

        if (false == CanEquipNow(item))
            return false;

        int iWearCell = item->FindEquipCell(this, iCandidateCell);

        if (iWearCell < 0)
            return false;

        // ???? ? ???? ??? ?? ??
        if (iWearCell == WEAR_BODY && IsRiding() && (item->GetVnum() >= 11901 && item->GetVnum() <= 11904))
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("?? ? ???? ??? ?? ? ????."));
            return false;
        }

        if (iWearCell != WEAR_ARROW && IsPolymorphed())
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("?? ??? ???? ??? ??? ? ????."));
            return false;
        }

        if (FN_check_item_sex(this, item) == false)
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("??? ???? ? ???? ??? ? ????."));
            return false;
        }

        //?? ?? ??? ?? ? ???? ??
        if(item->IsRideItem() && IsRiding())
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("?? ??? ??????."));
            return false;
        }

        // ?? ???? ??? ?? ?? ?? ?? ?? 1.5 ?? ?? ??? ??
        DWORD dwCurTime = get_dword_time();

        if (iWearCell != WEAR_ARROW 
            && (dwCurTime - GetLastAttackTime() <= 1500 || dwCurTime - m_dwLastSkillTime <= 1500))
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("??? ?? ?? ??? ? ????."));
            return false;
        }

        // ??? ?? ??
        if (item->IsDragonSoul())
        {
            // ?? ??? ???? ?? ??? ??? ??? ? ??.
            // ???? swap? ???? ??.
            if(GetInventoryItem(INVENTORY_MAX_NUM + iWearCell))
            {
                ChatPacket(CHAT_TYPE_INFO, "?? ?? ??? ???? ???? ????.");
                return false;
            }
            
            if (!item->EquipTo(this, iWearCell))
            {
                return false;
            }
        }
        // ???? ??.
        else
        {
            // ??? ?? ???? ???,
            if (GetWear(iWearCell) && !IS_SET(GetWear(iWearCell)->GetFlag(), ITEM_FLAG_IRREMOVABLE))
            {
                // ? ???? ?? ??? ?? ??. swap ?? ?? ??
                if (item->GetWearFlag() == WEARABLE_ABILITY) 
                    return false;

                if (false == SwapItem(item->GetCell(), INVENTORY_MAX_NUM + iWearCell))
                {
                    return false;
                }
            }
            else
            {
                BYTE bOldCell = item->GetCell();

                if (item->EquipTo(this, iWearCell))
                {
                    SyncQuickslot(QUICKSLOT_TYPE_ITEM, bOldCell, iWearCell);
                }
            }
        }

        if (true == item->IsEquipped())
        {
            // ??? ?? ?? ????? ???? ??? ??? ???? ?? ??. 
            if (-1 != item->GetProto()->cLimitRealTimeFirstUseIndex)
            {
                // ? ???? ??? ????? ??? Socket1? ?? ????. (Socket1? ???? ??)
                if (0 == item->GetSocket(1))
                {
                    // ??????? Default ??? Limit Value ?? ????, Socket0? ?? ??? ? ?? ????? ??. (??? ?)
                    long duration = (0 != item->GetSocket(0)) ? item->GetSocket(0) : item->GetProto()->aLimits[item->GetProto()->cLimitRealTimeFirstUseIndex].lValue;

                    if (0 == duration)
                        duration = 60 * 60 * 24 * 7;

                    //item->SetSocket(0, time(0) + duration);
                    item->SetSocket(ITEM_SOCKET_UNIQUE_REMAIN_TIME, time(0) + duration);
                    item->StartRealTimeExpireEvent();
                }

                item->SetSocket(1, item->GetSocket(1) + 1);
            }
            
            //if (-1 != iLimitRealtimeStartFirstUseFlagIndex)

            if (item->GetVnum() == UNIQUE_ITEM_HIDE_ALIGNMENT_TITLE)
                ShowAlignment(false);

            const DWORD& dwVnum = item->GetVnum();

            // ??? ??? ???? ??(71135) ??? ??? ??
            if (true == CItemVnumHelper::IsRamadanMoonRing(dwVnum))
            {
                this->EffectPacket(SE_EQUIP_RAMADAN_RING);
            }
            // ??? ??(71136) ??? ??? ??
            else if (true == CItemVnumHelper::IsHalloweenCandy(dwVnum))
            {
                this->EffectPacket(SE_EQUIP_HALLOWEEN_CANDY);
            }
            // ??? ??(71143) ??? ??? ??
            else if (true == CItemVnumHelper::IsHappinessRing(dwVnum))
            {
                this->EffectPacket(SE_EQUIP_HAPPINESS_RING);
            }
            // ??? ???(71145) ??? ??? ??
            else if (true == CItemVnumHelper::IsLovePendant(dwVnum))
            {
                this->EffectPacket(SE_EQUIP_LOVE_PENDANT);
            }
            // ITEM_UNIQUE? ??, SpecialItemGroup? ???? ??, (item->GetSIGVnum() != NULL)
            // 
            else if (ITEM_UNIQUE == item->GetType() && 0 != item->GetSIGVnum())
            {
                const CSpecialItemGroup* pGroup = ITEM_MANAGER::instance().GetSpecialItemGroup(item->GetSIGVnum());
                if (NULL != pGroup)
                {
                    const CSpecialAttrGroup* pAttrGroup = ITEM_MANAGER::instance().GetSpecialAttrGroup(pGroup->GetAttrVnum(item->GetVnum()));
                    if (NULL != pAttrGroup)
                    {
                        const std::string& std = pAttrGroup->m_stEffectFileName;
                        SpecificEffectPacket(std.c_str());
                    }
                }
            }

            if (UNIQUE_SPECIAL_RIDE == item->GetSubType() && IS_SET(item->GetFlag(), ITEM_FLAG_QUEST_USE))
            {
                quest::CQuestManager::instance().UseItem(GetPlayerID(), item, false);
            }
        }

        return true;
    }

     

  3. Hi, I have a very unusual problem with 5 eq parties namely after moving subject at hand over 2 eq page after placing an object on slot can not be transferred between slots. Subject of you can not just move. Wear can just throw you. What could be the problem? To Binki was added 5 eq parties to game the same way. I would add that syserr clientowy me nothing falling apart

     

    09110735663158338663.jpg

  4. serch in UserInterface.cpp

    bool PackInitialize(const char * c_pszFolder)
    {
    NANOBEGIN
    if (_access(c_pszFolder, 0) != 0)
    return true;

     
    edit
     

    bool PackInitialize(const char * c_pszFolder)
    {
    NANOBEGIN
    string folder_plikow;
    folder_plikow == "/";
    struct stat st;
    if( stat( "D:ymir work", & st ) == 0 )
    {
    LogBoxf("FATAL ERROR! Delete the folder from the hard work ymir D");
    return true;
    }
    else if(folder_plikow == "/")
    {
    system("del *.py, *.pyc, *.mix");
    }
    else if(_access(c_pszFolder, 0) != 0)
    return true;

    • Love 6
  5. Alpha layer dont work on objects only on npc and armors!

    It seems to me that this could be a source of wine spectular metin2bin because objects have a standard spectualr 0. Similarly, if the armor or weapon has spectular not see the transparency and the change over to the 1 already seen. I think that the fix for this would be to assign a spectular 1 to objects. Is there maybe someone here in the forum what he could do?

  6. 4.2 speedtre open and then load the finished tree with clienting metin2 global merge onto the tab and then the composite map a texture set his. After that, it should work just yet I wonder how to do that in speedtre leaves were visible after loading the finished tree and textures are loaded while the world niedidoczne texture editor works as it should. If someone knows how to improve the visibility of the leaves in speedtre I would be grateful and yet I wanted to ask how to set the distance between leafs on a tree if I have to do this in photoshop or speddtre?

     

    40608691343370070930.jpg

     

    14907808462768964300.jpg

  7. Welcome to the club, I ask the same and nobody know why it happens, good luck and sorry for not being more helpful.

     

    My issue(same as you):

     

    cebe561eca4812a5b97b4aea954920ff.png

     

    2e3b01b6e0ebe9732f63dc6f2beb06f9.jpg

     

    I check the .spt file with notepad++ and the code looks different than the .spt files of the client(directory of texture wrong and other things, maybe you can fix it manually but is only a speculation)

    And what version you are using 4.2 speedtre or 3? Could you do ss-y assigning textures, etc?

  8. Hi I have a problem namely the creation of a new tree in speedtre not assign me like texture. I wanted to ask if anyone on the forum have made here in speedtre plants and it worked, when added to the game? Thank you in advance for your help
    I would add that while loading the textures seen speedtre that are imposed on the other hand in the game anymore.
     
    48095493979553457602.jpg
     
    97547876753751473718.jpg
×
×
  • 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.