Author Topic: [Solved] RMXP Skill Tree System Error  (Read 355 times)

Offline CriticalHit

  • Trained Member
  • *
  • Posts: 17
  • LV: 0
    • View Profile
[Solved] RMXP Skill Tree System Error
« on: November 25, 2017, 05:55:21 AM »
Hi,

I keep getting an error with my current project. The project is using a somewhat modified version of the default battle system. You can find my project here: 
https://github.com/antlaw0/RMXP-S.T.A.R-Game
This is the error I get regularly, starting game in starting map, winning a battle, etc:
Script 'Skill Tree' error line 773 noMethodError occured. Undefined method 'size' for nil:NilClass

How can I fix this issue? What is going wrong?

Thanks to anyone who can help.
« Last Edit: November 28, 2017, 01:37:40 AM by CriticalHit »

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3046
  • LV: 372
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: RMXP Skill Tree System Error
« Reply #1 on: November 25, 2017, 08:37:46 AM »
The error is because you don't have a skill tree defined for actor ID 3 (more specifically, SKILLS_ROWS has no entry at index 3 within the array). I take it he's in your "party reserve" since you do have a Party Switcher script. Not sure why this line gets called though.
« Last Edit: November 25, 2017, 08:39:00 AM by KK20 »



Other Projects
RPG Maker XP AceUpgrade RMXP to RMVXA performance!
XPA TilemapTilemap rewrite with many features, including custom resolution!


NNID: KK20-CP
Discord: KK20 Tyler#8901
Join the CP Discord Server

Offline CriticalHit

  • Trained Member
  • *
  • Posts: 17
  • LV: 0
    • View Profile
Re: [Solved] RMXP Skill Tree System Error
« Reply #2 on: November 28, 2017, 01:39:09 AM »
Oh duh, that makes sense now. Thank you for your help.  :)