Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Cannot make new trainers

Notices
For all updates, view the main page.

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
 
Thread Tools
  #1    
Old January 21st, 2013 (02:20 PM).
Mortalis's Avatar
Mortalis
ѕĸyвorne
Community Supporter
 
Join Date: May 2010
Location: Canada
Age: 18
Gender: Male
Nature: Relaxed
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
  #2    
Old January 21st, 2013 (02:29 PM).
Lord Varion's Avatar
Lord Varion
Guess who's back?
 
Join Date: Feb 2009
Age: 20
Gender: Other
Nature: Naughty
Quote originally posted by SooperTrooper:
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 (03:22 PM).
WinterKirby's Avatar
WinterKirby
 
Join Date: Dec 2012
Age: 3
Gender: Male
Nature: Mild
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 (03:23 PM).
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Try searching for the error message before making yet another thread about it.
__________________
Reply With Quote
  #5    
Old January 21st, 2013 (03:23 PM).
Mortalis's Avatar
Mortalis
ѕĸyвorne
Community Supporter
 
Join Date: May 2010
Location: Canada
Age: 18
Gender: Male
Nature: Relaxed
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 (04:14 PM). Edited March 1st, 2013 by Arx.
Arx's Avatar
Arx
( ͡° ͜ʖ ͡°)
Community Supporter
 
Join Date: Jul 2012
Location: Earth
Age: 17
Gender: Male
Nature: Timid
Send a message via Skype™ to Arx
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?
__________________
Reply With Quote
  #7    
Old March 2nd, 2013 (03:02 PM).
Mortalis's Avatar
Mortalis
ѕĸyвorne
Community Supporter
 
Join Date: May 2010
Location: Canada
Age: 18
Gender: Male
Nature: Relaxed
Because you got the same error as me. Maruno already gave the solution via a link another thread.
Reply With Quote
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 UTC -8. The time now is 07:29 AM.