Main Menu
  • Welcome to The RPG Maker Resource Kit.

Yanfly's Victory Aftermath Error!

Started by Zacksquest, September 14, 2010, 10:35:19 PM

0 Members and 1 Guest are viewing this topic.

Zacksquest

Yeah, I try to run Victory Aftermath to the best of my abilities, but the stupid script Game_Troop has an error that conflicts with the script at line 170... the error is
as follows.

"Script 'Game_Troop' line 170: NoMethodError occurred.

undefined method 'list' for nil:NilClass"

I am a total noob at stuff like this. Can someone help me?
Behold the power of Emperor Mateus, the girliest looking male villain out there! (I'm playing FF2 right now, so that's why I have this sig.)

modern algebra

Well, it's not really Game_Troop's fault. It sounds like something is setting $game_temp.common_event_id to something greater than the maximum. Try looking for anything in the script that denotes a common event ID. If you can't find it, then go to line 169 of Game_Troop:



      common_event = $data_common_events[$game_temp.common_event_id]


insert below that:

  p $game_temp.common_event_id


Run the game. See what number it prints out right before the game crashes. Then make sure there are at least that many common events in your database. Then go back to the script and delete that line. Run it again and tell me if it still doesn't work.

Zacksquest

I tried and tried... and a new error occured before the victory even begins!!! Progress!!! Sorta... :P

This time the error is, and I quote:
"NoMethodError occurred while running script.

undefined method victory_quote for #<Game_Interpreter:0x3a2f6d0>
Behold the power of Emperor Mateus, the girliest looking male villain out there! (I'm playing FF2 right now, so that's why I have this sig.)