[Solved] RMXP Skill Tree System Error

Started by CriticalHit, November 24, 2017, 10:55:21 pm

Previous topic - Next topic

CriticalHit

November 24, 2017, 10:55:21 pm Last Edit: November 27, 2017, 06:37:40 pm by CriticalHit
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.

KK20

November 25, 2017, 01:37:46 am #1 Last Edit: November 25, 2017, 01:39:00 am by KK20
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.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

CriticalHit

Oh duh, that makes sense now. Thank you for your help.  :)