RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Yanfly's Victory Aftermath Error!

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 76
RMRK Junior
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.)

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
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:

Code: [Select]

      common_event = $data_common_events[$game_temp.common_event_id]

insert below that:
Code: [Select]
  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.

**
Rep: +0/-0Level 76
RMRK Junior
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.)