TP Manager Error: Line 1171

● ARCHIVED · READ-ONLY
Started by MrPurpleDreadlocks 4 posts View original ↗
  1. Hello, fellow RPG Maker fanatics
     
    I'm having an issue with the Yanfly's TP Manager.
    I have looked around for a solution to my dilemma, but alas I have came up short.
     
    I am humbly asking you for assistance.
     
    My error is on line 1171: of TP Manager
     
    Whenever i go to the Skill Menu (Im using Yanfly's Skill Engine), and scroll down the options
    Special
    Learn skills
    TP Mode <---- when I get to here my playtest ends. and prints out this error.
     
    Script.'TP Manager' line 1171: NoMethodError occured.
    undefined method 'empty?' for nil:NilClass
     
    looking at that particular line the error is with this:

    Spoiler
    Code:
    #--------------------------------------------------------------------------# new method: unlocked_tp_modes#--------------------------------------------------------------------------def unlocked_tp_modesif @unlocked_tp_modes.empty? //This is the line the error said@unlocked_tp_modes = actor.unlocked_tp_modes.cloneendreturn @unlocked_tp_modes.uniqend 
     
    What is your wisdom on this?
  2. Did you test it out on a new game (new game option on the title screen) or on a loaded file that was made before you added the script?

    If you used a loaded file, then that could probably be the cause since those values that the script puts into some of the default RGSS3 classes isn't there on the save file

    most scripts, especially old ones only creates these values in the default classes during initialization which happens only on a new game so most of them won't work on saved files made before you added the script...

    Alternatively I think somebody made a re-initializer script that handles these things so that you can safely test them on old saves, you can look for it on the scripts section
  3. Sorry about the late reply, it turned out to be a load issue, i.e. using an old save and not reinitializing a new save. Thanks so much!
  4. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.