The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

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
 
Thread Tools
  #1    
Old January 21st, 2013, 02:20 PM
Mortalis's Avatar
Mortalis
ѕĸyвorɴe.
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
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 20
Gender: Male
Nature: Naughty
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, 03:22 PM
WinterKirby's Avatar
WinterKirby
 
Join Date: Dec 2012
Age: 2
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вorɴe.
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
Nathan's Avatar
Nathan
prince
Community Supporter
 
Join Date: Jul 2012
Location: Earth
Age: 17
Gender: Male
Nature: Timid
Send a message via Skype™ to Nathan
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?
__________________
goodbye o/

Last edited by Nathan; March 1st, 2013 at 04:32 PM.
Reply With Quote
  #7    
Old March 2nd, 2013, 03:02 PM
Mortalis's Avatar
Mortalis
ѕĸyвorɴe.
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 02:11 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.