Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Errors in Making Trainers and Phone Calls

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 December 27th, 2012 (06:55 PM).
Sero's Avatar
Sero Sero is offline
私はセクシーです
 
Join Date: Nov 2008
Location: 'Merica
Gender: Male
Posts: 82
I get this error every time I create a new trainer. It occurs in both my edited and a new copy of essentials v11.
Spoiler:
Code:
---------------------------
Pokemon Essentials
---------------------------
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 exception was logged in 

C:\Users\KwesiD\Saved Games/Pokémon Essentials/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK   
---------------------------


I also get this error whenever I try to call a trainer or if they try to call me
Spoiler:
Code:
---------------------------
Pokémon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `[]' for nil:NilClass

PokemonPhone:152:in `pbCallTrainer'

PokemonPhone:449:in `start'

PokemonPhone:412:in `loop'

PokemonPhone:452:in `start'

PokemonPhone:410:in `pbActivateWindow'

PokemonPhone:410:in `start'

PokemonPokegear:158:in `update_command'

PokemonPokegear:157:in `pbFadeOutIn'

PokemonPokegear:157:in `update_command'

PokemonPokegear:137:in `update'



This exception was logged in 

C:\Users\KwesiD\Saved Games/Pokémon Essentials/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK   
---------------------------


I did make some changes to the PokeGear script by turning the Slot Machine into an app but I tried copying the changes to a fresh copy of essentials and the phone worked fine.
Reply With Quote
  #2    
Old December 27th, 2012 (07:18 PM).
WinterKirby's Avatar
WinterKirby WinterKirby is offline
 
Join Date: Dec 2012
Age: 3
Gender: Male
Nature: Mild
Posts: 152
Are you creating a trainer via the Editor or manually through the txt file?
__________________
X/Y Friend Code: 1349-5852-1728 | Pinkie | Flying | Hoot-Hoot, Pidgey, and Tropius

Reply With Quote
  #3    
Old December 27th, 2012 (09:04 PM).
Sero's Avatar
Sero Sero is offline
私はセクシーです
 
Join Date: Nov 2008
Location: 'Merica
Gender: Male
Posts: 82
I'm using the editor. It gives problems when I add a Pokemon to a team, right after I select a level.
Reply With Quote
  #4    
Old December 27th, 2012 (10:05 PM).
WinterKirby's Avatar
WinterKirby WinterKirby is offline
 
Join Date: Dec 2012
Age: 3
Gender: Male
Nature: Mild
Posts: 152
I ran into the same problem before, and it only happened with the editor. It's better to just simply edit the txt file.
__________________
X/Y Friend Code: 1349-5852-1728 | Pinkie | Flying | Hoot-Hoot, Pidgey, and Tropius

Reply With Quote
  #5    
Old December 28th, 2012 (02:49 AM).
Derxwna Kapsyla's Avatar
Derxwna Kapsyla Derxwna Kapsyla is online now
X-Class Project, Derxwna, #003
 
Join Date: Jun 2011
Location: Margate, FL
Age: 22
Gender: Male
Nature: Lax
Posts: 288
For the issue of adding a new trainer in, I talked to Maruno about this earlier yesterday, and we resolved the issue.
The log of how it is fixed is in this link: http://pastebin.com/CXHaePbK
__________________
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
  #6    
Old December 28th, 2012 (05:07 AM). Edited December 28th, 2012 by Sero.
Sero's Avatar
Sero Sero is offline
私はセクシーです
 
Join Date: Nov 2008
Location: 'Merica
Gender: Male
Posts: 82
Quote originally posted by Derxwna Kapsyla:
For the issue of adding a new trainer in, I talked to Maruno about this earlier yesterday, and we resolved the issue.
The log of how it is fixed is in this link: http://pastebin.com/CXHaePbK
Thanks. That seemed to solve the trainer problem.
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 08:20 PM.