The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
Problem!? With the Script

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 (2:20 AM). Edited July 16th, 2012 by iLakerz.
iLakerz iLakerz is offline
     
    Join Date: Apr 2012
    Gender: Male
    Posts: 22
    ---------------------------
    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

    Relevant Advertising!

      #2    
    Old July 16th, 2012 (5:31 AM).
    seeker's Avatar
    seeker seeker is offline
    Electric
    • Platinum Tier
     
    Join Date: Apr 2009
    Location: Ireland
    Posts: 10,816
    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.
    __________________
    she's the greatest adventure I'll ever know
    Reply With Quote
      #3    
    Old July 16th, 2012 (5:43 AM).
    ~Angel~'s Avatar
    ~Angel~ ~Angel~ is offline
    Lead developer for Pokémon Millennium
       
      Join Date: Mar 2010
      Location: United States Of America.
      Age: 19
      Gender: Male
      Nature: Quiet
      Posts: 284
      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 (5:47 AM).
      Nickalooose Nickalooose is offline
      --------------------
         
        Join Date: Mar 2008
        Gender: Female
        Posts: 1,309
        I don't think it can find PKMN trainer... Use the right trainer type
        Reply With Quote
          #5    
        Old July 16th, 2012 (6:24 PM).
        pkmn.master's Avatar
        pkmn.master pkmn.master is offline
        Hobbyist Game Developer
           
          Join Date: Apr 2008
          Location: USA
          Gender: Male
          Nature: Brave
          Posts: 285
          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 GMT -8. The time now is 7:08 AM.