The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials
Reload this Page Error message when adding a new trainer
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read

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.

Thread Tools
Old January 12th, 2013 (5:31 PM).
Deoxysomega314 Deoxysomega314 is offline
And Egg
Join Date: Aug 2010
Location: North Carolina
Gender: Male
Nature: Lonely
Posts: 16
Whenever I try and add a trainer with the editor, I just get this error:
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'

I can add trainers with the .txt file just fine, it's just the editor won't work.
Reply With Quote

Relevant Advertising!

Old January 12th, 2013 (10:59 PM).
Derxwna Kapsyla's Avatar
Derxwna Kapsyla Derxwna Kapsyla is offline
[Primal Despair] Derxwna "The Badman" Kapsyla
Join Date: Jun 2011
Location: Margate, FL
Age: 23
Gender: Male
Nature: Lax
Posts: 363
If this issue is the same as the opne I had when adding a trainer, Maruno and I found out how to fix it a while back.
The log of how it is fixed is in this link:
Development Blog:
For more information future news and updates to any projects, the following blogs are where I post information. You can usually hit me with a message there when it comes to bug reports or feedback, or general conversation about something.
Game Projects:
In Progress:
Reply With Quote
Old January 14th, 2013 (9:54 AM).
Quilva's Avatar
Quilva Quilva is online now
Join Date: Jan 2013
Location: Ljubljana
Age: 17
Gender: Other
Nature: Lonely
Posts: 1,269
there is already a file called Scripts along with EditorScripts in my folder.

EDIT: nvm just moved the Scripts out of the folder and renamed EditorScripts to fix it and then renamed it back and moved Scripts back in
Diese welt ist grausam
Es ist traurig aber wahr
Diese welt ist seltsam
Es ist fraglich aber wahr
Reply With Quote
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 12:20 PM.

Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 The PokéCommunity™,
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 - 2016 The PokéCommunity / Poké
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.

Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.