Jump to content


Photo

access to tier V spells gearswap rdm


    3 replies to this topic

    #1 Skins

    Skins

      Newbie

    • Members
    • Pip
    • 2 posts

      Posted 19 February 2015 - 05:57 PM

      Recently add gifts add tier V spells for rdm, however gearswap is canceling the spell saying "Unable to execute command. You do not have access to the spell (Fire V) Entering filtered_action". Any help to where this is handled and how to edit it would be appreciated.



      #2 Arcon

      Arcon

        Advanced Member

      • Windower Staff
      • 1189 posts
      • LocationMunich, Germany

      Posted 19 February 2015 - 08:12 PM

      This is being worked on.



      #3 palladin9479

      palladin9479

        Newbie

      • Members
      • Pip
      • 8 posts

        Posted 21 February 2015 - 06:37 PM

        You have to comment out two functions inside helper_functions.lua

         

        Starting line 607

        -- Filter for spells that you know, but do not currently have access to
                --elseif (not spell_jobs[player.main_job_id] or not (spell_jobs[player.main_job_id] <= player.main_job_level or
                 --   (spell_jobs[player.main_job_id] == 100 and number_of_jps(player.job_points[__raw.lower(player.main_job)]) >= 100) ) ) and
                  --  (not spell_jobs[player.sub_job_id] or not (spell_jobs[player.sub_job_id] <= player.sub_job_level)) then
                   -- msg.debugging("Unable to execute command. You do not have access to that spell ("..(res.spells[spell.id][language] or spell.id)..")")
                    --return false
                -- At this point, we know that it is technically castable by this job combination if the right conditions are met.
         

        Starting line 625

         

        --elseif player.sub_job_id == 20 and ((addendum_white[spell.id] and not buffactive[401] and not buffactive[416]) or
                --    (addendum_black[spell.id] and not buffactive[402] and not buffactive[416])) and
                --    not (spell_jobs[player.main_job_id] and spell_jobs[player.main_job_id] <= player.main_job_level) then
                --                
                --    if addendum_white[spell.id] then
                --        msg.debugging("Unable to execute command. Addendum: White required for that spell 2 ("..(res.spells[spell.id][language] or spell.id)..")")
                --    end
                --    if addendum_black[spell.id] then
                --        msg.debugging("Unable to execute command. Addendum: Black required for that spell 2 ("..(res.spells[spell.id][language] or spell.id)..")")
                --    end
                --    return false
        


        #4 Skins

        Skins

          Newbie

        • Members
        • Pip
        • 2 posts

          Posted 21 February 2015 - 09:29 PM

          Right thank you i ended up finding it later that day and had already commented it out but thank you for the reply.

           






          1 user(s) are reading this topic

          0 members, 1 guests, 0 anonymous users