[VX Ace]Yanfly Adjust Limits Notetag not working

Discussion in 'RGSSx Script Support' started by MasterLord140, May 16, 2019.

  1. MasterLord140

    MasterLord140 Adventure Seeker Member

    Messages:
    11
    Likes Received:
    0
    First Language:
    Polish
    Primarily Uses:
    RMVXA
    Hello, i have new problem with yanfly scripts.
    The problem is with Adjust Limits script, because i set max level in script to 99999, then i set initial level in actor notetag to 240 value. Then when i tested that script, the character have 1 level not 240 level at the start of the game. Can someone help me with this?

    Screenshots:
    1.png
    2.png
    3.png
     
    Last edited: May 16, 2019
    #1
  2. MaxGamez

    MaxGamez Yeeter Member

    Messages:
    3
    Likes Received:
    0
    Location:
    Someplace
    First Language:
    English
    Primarily Uses:
    RMVXA
    did you put the max level along with your initial level in the note box?
    (example: <initial level: 240>)
    ( <max level: 99999>)
    Because if you think about it logically...
    the script doesn't know where to stop at for the character.
     
    #2
  3. KK20

    KK20 Just some XP Scripter Veteran

    Messages:
    74
    Likes Received:
    34
    Location:
    Orange County, California
    First Language:
    English
    Primarily Uses:
    RMXP
    Man you sure love censoring things...

    In this part of the script (around line 280)
    Code:
    class RPG::Actor < RPG::BaseItem
     
      #--------------------------------------------------------------------------
      # common cache: load_notetags_al
      #--------------------------------------------------------------------------
      def load_notetags_al
       @max_level = YEA::LIMIT::LEVEL_MAX if @max_level == 99
       #---
       self.note.split(/[\r\n]+/).each { |line|
         case line
         #---
         when YEA::REGEXP::ACTOR::MAX_LEVEL
           @max_level = [[$1.to_i, 1].max, YEA::LIMIT::LEVEL_MAX].min
           @ini_level = [@ini_level, @max_level].min
         when YEA::REGEXP::ACTOR::INI_LEVEL
           @ini_level = [[$1.to_i, 1].max, @max_level].min
         #---
         end
       } # self.note.split
       #---
      end
     
    end # RPG::Actor
    
    try changing @ini_level to @initial_level
     
    #3
  4. MasterLord140

    MasterLord140 Adventure Seeker Member

    Messages:
    11
    Likes Received:
    0
    First Language:
    Polish
    Primarily Uses:
    RMVXA
    Thank you KK20 but i fixed that before and i forget to write a reply or something and i censored this because its the polish version of RPG Maker VX Ace downloaded from the polish site for free and i think you don't understand some polish words. Thats why i censored it.
     
    #4
  5. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    11,778
    Likes Received:
    11,819
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    Sorry, there is NO free polish version, and this is a corporate forum.

    Given the evidence, we heavily suspect that you are using a pirated RPG Maker, which is not tolerated here and we have an instant-ban policy regarding this. You have now been banned. If you feel we were incorrect and you have been falsely accused, you can send us a support question with proof of your purchase of the RPG Maker to revert our decision.



    Incidentally, pirated versions also do not work well with scripts, which could be the source of the error as well.
     
    #5

Share This Page