Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Problem!? With the Script

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 July 16th, 2012 (02:20 AM). Edited July 16th, 2012 by iLakerz.
iLakerz
Beginning Trainer
 
Join Date: Apr 2012
Gender: Male
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 5, map 11 (Bonus Trainers):

Exception: NameError

Message: (eval)in `pbExecuteScript'uninitialized constant Interpreter::Trainer

***Full script:

pbTrainerBattle(PBTrainers:KMN Trainer,"Kyouhei",_I("No fair, I only own one pokemon... Oh well I'm going to read more creepy pastas"),false,0,true)

Interpreter:243:in `pbExecuteScript'

Interpreter:788:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:788:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'



Interpreter:276:in `pbExecuteScript'

Interpreter:788:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'



This exception was logged in ./errorlog.txt.

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


Please explain, because I tried figuring this out myself and some reason it won't go away

I spelled everything right too and its still giving me this error
Reply With Quote
  #2    
Old July 16th, 2012 (05:31 AM).
seeker's Avatar
seeker
conquer my mind
staff administrator
 
Join Date: Apr 2009
Location: Ireland
Age: 21
I went ahead and moved this to the Pokemon Essentials section. Remember, if you're getting problems with Pokemon Essentials, it goes in this section. Not Tutorials & Resources.

Moved.
__________________

seeker

paired to adventure
staff administrator
Reply With Quote
  #3    
Old July 16th, 2012 (05:43 AM).
~Angel~'s Avatar
~Angel~
Lead developer for Pokémon Millennium
 
Join Date: Mar 2010
Location: United States Of America.
Age: 17
Gender: Male
Nature: Quiet
Hm. It say's it's a name error. I guessing it's the trainer name. If not then it's the trainer type. Try changing the trainer name and if it works then it was the name. If it fails try the trainer type.
Reply With Quote
  #4    
Old July 16th, 2012 (05:47 AM).
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
I don't think it can find PKMN trainer... Use the right trainer type
Reply With Quote
  #5    
Old July 16th, 2012 (06:24 PM).
pkmn.master's Avatar
pkmn.master
Hobbyist Game Developer
 
Join Date: Apr 2008
Location: USA
Gender: Male
Nature: Brave
Make sure that you keyed the trainer type in correctly, just as it appears for its internal name in the editor. Also, make sure that that type exists.
__________________
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:21 AM.