Jump to content

Fr3zy94

Member
  • Posts

    201
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Fr3zy94

  1. i put all in pc3 but don't work

     

     

    this is horse/run.msa:

     

     

     

    ScriptType               MotionData

    MotionFileName           "D:/Ymir Work/pc3/wolfman/horse/run.GR2"
    MotionDuration           0.666667
    Accumulation             0.00    0.00    0.00
     

  2. Hi i got o problem with rollback on horse , when i ride the horse it pull me back to the same spot and i must wait for the mobs to appear...

     

    I try a fix for this :

     

    In char.cpp find this

     

    (ch->m_speed_hack_count > SPEEDHACK_LIMIT_COUNT)

     

    replace with this:

     

    (ch->m_speed_hack_count > SPEEDHACK_LIMIT_COUNT * 3)

     

    But it seams like the problem is not from there

     

     

    https://www.youtube.com/watch?v=E72VN3-dJy8&feature=youtu.be

     

     

    Any fix?

  3. Here is my and work's

    bool CHARACTER::IsLearnableSkill(DWORD dwSkillVnum) const
    {
        const CSkillProto * pkSkill = CSkillManager::instance().Get(dwSkillVnum);
    
        if (!pkSkill)
            return false;
    
        if (GetSkillLevel(dwSkillVnum) >= SKILL_MAX_LEVEL)
            return false;
    
        if (pkSkill->dwType == 0)
        {
            if (GetSkillLevel(dwSkillVnum) >= pkSkill->bMaxLevel)
                return false;
    
            return true;
        }
    
        if (pkSkill->dwType == 5)
        {
            if (dwSkillVnum == SKILL_HORSE_WILDATTACK_RANGE && GetJob() != JOB_ASSASSIN)
                return false;
    
            return true;
        }
    
        if (GetSkillGroup() == 0)
            return false;
    
        if (pkSkill->dwType - 1 == GetJob())
            return true;
    
        if (6 == pkSkill->dwType)
        {
            if (SKILL_7_A_ANTI_TANHWAN <= dwSkillVnum && dwSkillVnum <= SKILL_7_D_ANTI_YONGBI)
            {
                for (int i=0 ; i < 4 ; i++)
                {
                    if (unsigned(SKILL_7_A_ANTI_TANHWAN + i) != dwSkillVnum)
                    {
                        if (0 != GetSkillLevel(SKILL_7_A_ANTI_TANHWAN + i))
                        {
                            return false;
                        }
                    }
                }
    
                return true;
            }
    
            if (SKILL_8_A_ANTI_GIGONGCHAM <= dwSkillVnum && dwSkillVnum <= SKILL_8_D_ANTI_BYEURAK)
            {
                for (int i=0 ; i < 4 ; i++)
                {
                    if (unsigned(SKILL_8_A_ANTI_GIGONGCHAM + i) != dwSkillVnum)
                    {
                        if (0 != GetSkillLevel(SKILL_8_A_ANTI_GIGONGCHAM + i))
                            return false;
                    }
                }
                
                return true;
            }
        }
    
        return false;
    }
  4. How to fix shops:

     

    Go to common folder and the edit length.h , like this:

     

        SHOP_HOST_ITEM_MAX_NUM    = 80,
        SHOP_PRICELIST_MAX_NUM    = 80,

     

    To:

     

        SHOP_HOST_ITEM_MAX_NUM    = 40,
        SHOP_PRICELIST_MAX_NUM    = 40,

     

    After you made that go to shop.cpp from game folder and edit like this:

     

    m_pGrid = M2_NEW CGrid(10, 9);

     

    To:

     

    m_pGrid = M2_NEW CGrid(5, 9);

     

    And the last step is going to shop_manager.cpp and edit like this:

     

    CGrid grid = CGrid(10, 9);

     

    To:

     

    CGrid grid = CGrid(5, 9);

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