< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials Question Cannot make new trainers

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply Post Reply
 
Thread Tools
  #1    
Old January 21st, 2013 (2:20 PM).
Mortalis's Avatar
Mortalis Mortalis is offline
ѕĸyвorne
Crystal Tier
 
Join Date: May 2010
Location: Canada
Age: 19
Gender: Male
Nature: Relaxed
Posts: 323
Hey everyone, I keep getting this error whenever I try to create a trainer in the Editor:

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokeBattle_Pokemon:729:in `initialize'
PokemonTrainers:102:in `new'
PokemonTrainers:102:in `pbNewTrainer'
PokemonTrainers:88:in `loop'
PokemonTrainers:111:in `pbNewTrainer'
PokemonTrainers:80:in `each'
PokemonTrainers:80:in `pbNewTrainer'
PokemonEditor:3696:in `pbTrainerBattleEditor'
PokemonEditor:3653:in `pbListScreenBlock'
PokemonEditor:1572:in `loop'

This only happens when I create a trainer. Creating a trainer type is fine, but actually creating the trainer produces this error. I'm not sure what to do.
Reply With Quote

Relevant Advertising!

  #2    
Old January 21st, 2013 (2:29 PM).
Lord Varion's Avatar
Lord Varion Lord Varion is offline
Guess who's back?
 
Join Date: Feb 2009
Age: 21
Gender:
Nature: Naughty
Posts: 2,648
Quote:
Originally Posted by SooperTrooper View Post
Hey everyone, I keep getting this error whenever I try to create a trainer in the Editor:

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokeBattle_Pokemon:729:in `initialize'
PokemonTrainers:102:in `new'
PokemonTrainers:102:in `pbNewTrainer'
PokemonTrainers:88:in `loop'
PokemonTrainers:111:in `pbNewTrainer'
PokemonTrainers:80:in `each'
PokemonTrainers:80:in `pbNewTrainer'
PokemonEditor:3696:in `pbTrainerBattleEditor'
PokemonEditor:3653:in `pbListScreenBlock'
PokemonEditor:1572:in `loop'

This only happens when I create a trainer. Creating a trainer type is fine, but actually creating the trainer produces this error. I'm not sure what to do.
Did you compile the Trainer Data?
Or, did you use the correct Internal name provided?
gone.
Reply With Quote
  #3    
Old January 21st, 2013 (3:22 PM).
WinterKirby's Avatar
WinterKirby WinterKirby is offline
 
Join Date: Dec 2012
Age: 3
Gender: Male
Nature: Mild
Posts: 152
I just edit the PBS file directly. It keeps me from having to deal with these errors and it's much faster, in my opinion.
X/Y Friend Code: 1349-5852-1728 | Pinkie | Flying | Hoot-Hoot, Pidgey, and Tropius

Reply With Quote
  #4    
Old January 21st, 2013 (3:23 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,946
Try searching for the error message before making yet another thread about it.
Reply With Quote
  #5    
Old January 21st, 2013 (3:23 PM).
Mortalis's Avatar
Mortalis Mortalis is offline
ѕĸyвorne
Crystal Tier
 
Join Date: May 2010
Location: Canada
Age: 19
Gender: Male
Nature: Relaxed
Posts: 323
My apologies, but I honestly did try searching, and I couldn't find anything. I must have skipped over it by accident. Thank-you.
Reply With Quote
  #6    
Old March 1st, 2013 (4:14 PM). Edited March 1st, 2013 by Arx.
Arx's Avatar
Arx Arx is offline
Blade of Justice
Silver Tier
 
Join Date: Jul 2012
Location: Earth
Age: 18
Gender: Male
Nature: Timid
Posts: 3,983
Each time i try making a new trainer in the Editor, it gives me this:

Sorry, I made a new thread and somehow it ended up here. What's happening?
|| ||
I am the white void, I am the cold steel, I am the just sword, with blade in hand shall I reap the sins of this world, and cleanse them in the fires of destruction! I am Hakumen! The end has come.
Reply With Quote
  #7    
Old March 2nd, 2013 (3:02 PM).
Mortalis's Avatar
Mortalis Mortalis is offline
ѕĸyвorne
Crystal Tier
 
Join Date: May 2010
Location: Canada
Age: 19
Gender: Male
Nature: Relaxed
Posts: 323
Because you got the same error as me. Maruno already gave the solution via a link another thread.
Reply With Quote
Reply Post Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


  All times are GMT -8. The time now is 5:22 AM.


Contact Us Archive Privacy Statement Terms of Service Top