The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
Essentials Question Blank Errors

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 2 Days Ago (4:51 PM). Edited 2 Days Ago by mej71.
M1ne M1ne is offline
     
    Join Date: May 2017
    Posts: 2
    So, when I was adding in some new trainers, this popped up. 10 times.

    ---------------------------
    Pokemon Secrets
    ---------------------------
    Exception: RuntimeError

    Message: Expected a species name:

    File PBS/trainers.txt, line





    Compiler:2216:in `pbCompileTrainers'

    Compiler:2209:in `each'

    Compiler:2209:in `pbCompileTrainers'

    Compiler:2186:in `loop'

    Compiler:2322:in `pbCompileTrainers'

    Compiler:4111:in `pbCompileAllData'

    Compiler:4219



    This exception was logged in

    C:\Users\Owner\Saved Games/Pokemon Secrets/errorlog.txt.

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





    That has a blank line number and blank species name, MEANING that I cant find where the error is, therefore not being able to fix it. Dont know if this is possible, but can someone help me without having me to delete my game? :/
    Reply With Quote

    Relevant Advertising!

      #2    
    Old 2 Days Ago (7:14 PM).
    mej71's Avatar
    mej71 mej71 is offline
    • Moderator
     
    Join Date: Mar 2014
    Location: Omnipresence
    Gender: Male
    Posts: 1,192
    Try posting your trainers.txt, it's hard to specifically diagnose something without the source.
    Reply With Quote
      #3    
    Old 2 Days Ago (9:31 PM).
    M3rein's Avatar
    M3rein M3rein is online now
    Bored
       
      Join Date: Nov 2016
      Location: The Netherlands
      Gender: Male
      Nature: Bashful
      Posts: 264
      What you likely did is something like this (just an example):

      YOUNGSTER
      Joey
      3
      RATTATA
      RATICATE

      YOUNGSTER
      .......

      As you can see, you'd have told the Compiler that the trainer has three Pokémon, so the Compiler counts three lines downwards. Since YOUNGSTER is not a valid species, it gave an error. I believe this is the issue.
      __________________
      C# and RGSS are main bae, but you're okay as well.
      Reply With Quote
        #4    
      Old 2 Days Ago (4:20 AM).
      M1ne M1ne is offline
         
        Join Date: May 2017
        Posts: 2
        OMG! I just remembered I had to leave in the middle of coding, and only made 5 pokemon for a 6 pokemon trainer! thanks so much for reminding me!
        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 8:57 AM.