Chaos Project

RPG Maker => General Discussion => Troubleshooting / Help => Topic started by: CriticalHit on November 24, 2017, 10:55:21 pm

Title: [Solved] RMXP Skill Tree System Error
Post by: CriticalHit on November 24, 2017, 10:55:21 pm
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 (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.
Title: Re: RMXP Skill Tree System Error
Post by: KK20 on November 25, 2017, 01: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.
Title: Re: [Solved] RMXP Skill Tree System Error
Post by: CriticalHit on November 27, 2017, 06:39:09 pm
Oh duh, that makes sense now. Thank you for your help.  :)