[Source] Help with Pets

Results 1 to 5 of 5
  1. #1
    Making a come back NickHough is offline
    MemberRank
    Nov 2009 Join Date
    United KingdomLocation
    397Posts

    [Source] Help with Pets

    Hello,

    For some reason people past level 59 can't do the quest to raise pet level

    As well people can't use their pet feed on their pets, i know there is a fix for this but i couldn't find it anywhere i looked.

    There is also another wierd thing that happens, my server is maxed at level 300 (all works fine you can get to it without problems) but when you are level 300 people see your level as only level 44 is this a bug or is it just a mover problem?

    If anyone has the same as me please help me to fix them.

    Thanks
    Nick Hough


  2. #2
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,915Posts

    Re: [Source] Help with Pets

    The pet quest thing can be fixed in propquest.inc
    Find the quests and make them available to all jobs.

    I don't know about the pet feed thing.

    And just a quick thing I noticed about the level problem. 300 - 256 = 44
    If you know much about programming, you'd recognize 256 as being the max value for a BYTE variable (technically it's 255, but including 0, it's 256 unique values). I'm guessing the level is getting cast as a BYTE type, which causes a value above 256 to "run over" and restart as 1. If my theory is correct, a level 257 would appear as level 1, 275 would appear as 19, etc.

  3. #3
    Making a come back NickHough is offline
    MemberRank
    Nov 2009 Join Date
    United KingdomLocation
    397Posts

    Re: [Source] Help with Pets

    yeah that is true, but if your theory is correct then it is just s simple byte to int conversion then?

    as for the propquest.inc i will post my current one for MAFL_PETTAMMER01 here

    PHP Code:
    QUEST_PETTAME01 // 알 -> D급
    {
        
    SetTitle
        
    (
            
    IDS_PROPQUEST_INC_002010
        
    );
        
        
    setting
        
    {    
        
            
    SetRepeat(1);
            
    SetCharacter"MaFl_PetTamer" );
            
    SetBeginCondLevel1350 );
            
    SetBeginCondParty000);
            
    SetBeginCondJobJOB_VAGRANTJOB_MERCENARYJOB_ACROBATJOB_ASSISTJOB_MAGICIANJOB_KNIGHTJOB_BLADEJOB_JESTERJOB_RANGERJOB_RINGMASTERJOB_BILLPOSTERJOB_PSYCHIKEEPERJOB_ELEMENTORJOB_KNIGHT_MASTERJOB_BLADE_MASTERJOB_JESTER_MASTERJOB_RANGER_MASTERJOB_RINGMASTER_MASTERJOB_BILLPOSTER_MASTERJOB_PSYCHIKEEPER_MASTERJOB_ELEMENTOR_MASTERJOB_KNIGHT_HEROJOB_BLADE_HEROJOB_JESTER_HEROJOB_RANGER_HEROJOB_RINGMASTER_HEROJOB_BILLPOSTER_HEROJOB_PSYCHIKEEPER_HEROJOB_ELEMENTOR_HEROJOB_LORDTEMPLER_HEROJOB_STORMBLADE_HEROJOB_WINDLURKER_HEROJOB_CRACKSHOOTER_HEROJOB_FORCEMASTER_HEROJOB_FLORIST_HEROJOB_MENTALIST_HEROJOB_ELEMENTORLORD_HERO );
            
    SetBeginCondPetLevel);
            
    SetEndCondPetLevel);
            
    SetEndCondPetExp100 );
            
    SetEndRewardPetLevelup();
            
    SetHeadQuest6004 );
            }

        
    SetDialog
        
    (
            
    QSAY_BEGIN1
            
    IDS_PROPQUEST_INC_002011
        
    );
        
        
    SetDialog
        
    (
            
    QSAY_BEGIN2
            
    IDS_PROPQUEST_INC_002012
        
    );

        
    SetDialog
        
    (
            
    QSAY_BEGIN_YES,
            
    IDS_PROPQUEST_INC_002013
        
    );

        
    SetDialog
        
    (
            
    QSAY_BEGIN_NO
            
    IDS_PROPQUEST_INC_002014
        
    );

        
    SetDialog
        
    (
            
    QSAY_END_COMPLETE1
            
    IDS_PROPQUEST_INC_002015
        
    );

        
    SetDialog
        
    (
            
    QSAY_END_FAILURE1
            
    IDS_PROPQUEST_INC_002016
        
    );

        
    state 0
        
    {

            
    SetDesc
            
    (
                
    IDS_PROPQUEST_INC_002017
            
    );
            
        }

        
    state 14
        
    {

            
    SetDesc
            
    (
                
    IDS_PROPQUEST_INC_002018
            
    );
            
        }


  4. #4
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,915Posts

    Re: [Source] Help with Pets

    Yeah, you just have to find where the problem is and change the type on it.

    And about the quest thing, why not just delete the entire line for SetBeginCondJob? I'm pretty sure that would make it be no job requirement.

  5. #5
    Making a come back NickHough is offline
    MemberRank
    Nov 2009 Join Date
    United KingdomLocation
    397Posts

    Re: [Source] Help with Pets

    Okay i will try that :) thanks



Advertisement