The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
Error while updating?

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 23rd, 2013 (3:36 PM).
PokemonPlatnum's Avatar
PokemonPlatnum PokemonPlatnum is offline
nomnomnom.
     
    Join Date: Apr 2008
    Location: Ireland
    Age: 23
    Gender: Male
    Nature: Sassy
    Posts: 259
    I was updating from Version 10 to Version 11 and during compiling, this error arises:

    Code:
    ---------------------------
    Pokémon: Ultramarine Version Alpha 0.125
    ---------------------------
    Exception: RuntimeError
    
    Message: Undefined value Black2 in PBTrainers
    
    File PBS/metadata.txt, section 0, key PlayerA
    
    Black2,Black2,BlackBike,,boy_surf,BlackRun,boy_dive
    
    
    
    Compiler:1595:in `checkEnumField'
    
    Compiler:1619:in `csvEnumField!'
    
    Compiler:526:in `pbGetCsvRecord'
    
    Compiler:472:in `each'
    
    Compiler:472:in `pbGetCsvRecord'
    
    Compiler:792:in `pbCompileMetadata'
    
    Compiler:763:in `pbCompilerEachCommentedLine'
    
    Compiler:615:in `each_line'
    
    Compiler:615:in `pbCompilerEachCommentedLine'
    
    Compiler:612:in `open'
    
    
    
    This exception was logged in 
    
    C:\Users\Home\Saved Games/Pokémon_ Ultramarine Version Alpha 0_125/errorlog.txt.
    
    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK   
    ---------------------------
    What have I done wrong? Thanks.
    __________________

    Official Forum for a Zelda Engine in RMXP, Sign up now!

    --------------------------------------------------------
    Update Patch 4 Coming Soon.

    Reply With Quote

    Relevant Advertising!

      #2    
    Old January 23rd, 2013 (3:44 PM).
    Maruno's Avatar
    Maruno Maruno is offline
    Lead Dev of Pokémon Essentials
       
      Join Date: Jan 2008
      Location: England
      Posts: 5,173
      You don't have a defined trainer type with the internal name "Black2" (note the capitalisation, or rather, lack thereof). Internal names are typically in all caps for convenience. Edit trainertypes.txt and/or the problem line to make sure the internal name of the desired trainer type is being used in all places, and with the correct capitalisation.

      Also note that the contents of the player lines is rearranged compared to what you're using.
      __________________
      Go to the Pokémon Essentials Wiki

      | Downloads | Tutorials | Fangames |
      | All Animations Project |

      Follow me on Twitter: @maruno42


      Reply With Quote
        #3    
      Old January 24th, 2013 (6:16 AM).
      PokemonPlatnum's Avatar
      PokemonPlatnum PokemonPlatnum is offline
      nomnomnom.
         
        Join Date: Apr 2008
        Location: Ireland
        Age: 23
        Gender: Male
        Nature: Sassy
        Posts: 259
        Thanks Maruno. Works now, great work on the kit
        __________________

        Official Forum for a Zelda Engine in RMXP, Sign up now!

        --------------------------------------------------------
        Update Patch 4 Coming Soon.

        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 1:52 AM.