The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
Compiling trainers.txt error

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.

Closed Thread
 
Thread Tools
  #1    
Old March 30th, 2013 (10:07 AM). Edited March 30th, 2013 by BenGames,Films, and More!.
BenGames,Films, and More!'s Avatar
BenGames,Films, and More! BenGames,Films, and More! is offline
Are you not entertained?
     
    Join Date: Nov 2012
    Gender: Male
    Nature: Serious
    Posts: 134
    I was making trainer battles through the "editor.exe" Here is the error:

    Quote:
    Exception: RuntimeError
    Message: Expected a number for the number of Pokémon
    File PBS/trainers.txt, line 289
    VILEPLUME,50,,MEGADRAIN,AROMATHERAPY,STUNSPORE,POISONPOWDER,,,,false,,,,,false

    Compiler:1397:in `pbCompileTrainers'
    Compiler:1380:in `loop'
    Compiler:1474:in `pbCompileTrainers'
    Compiler:4052:in `pbCompileAllData'
    Compiler:4170
    Exception: RuntimeError
    Message: Expected a number for the number of Pokémon
    File PBS/trainers.txt, line 289
    VILEPLUME,50,,MEGADRAIN,AROMATHERAPY,STUNSPORE,POISONPOWDER,,,0,false,,10,70,,false

    Compiler:1397:in `pbCompileTrainers'
    Compiler:1380:in `loop'
    Compiler:1474:in `pbCompileTrainers'
    Compiler:4052:in `pbCompileAllData'
    Compiler:4170


    Help please!
    __________________


    YouTube Channel
    Deviant Art
    BGFM Forums
    Take a quiz about me!
    I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
    If you say "pls" or "plz" because it's shorter than "please", I'll say "no" because it's shorter than "yes".

    Relevant Advertising!

      #2    
    Old March 30th, 2013 (10:35 AM).
    Maruno's Avatar
    Maruno Maruno is offline
    Lead Dev of Pokémon Essentials
       
      Join Date: Jan 2008
      Location: England
      Posts: 5,173
      Look at the wiki and the many examples that come with Essentials, and learn how trainers.txt is laid out. Also, read the error message.
      __________________
      Go to the Pokémon Essentials Wiki

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

      Follow me on Twitter: @maruno42


        #3    
      Old March 30th, 2013 (10:54 AM).
      BenGames,Films, and More!'s Avatar
      BenGames,Films, and More! BenGames,Films, and More! is offline
      Are you not entertained?
         
        Join Date: Nov 2012
        Gender: Male
        Nature: Serious
        Posts: 134
        Quote:
        Originally Posted by Maruno View Post
        Look at the wiki and the many examples that come with Essentials, and learn how trainers.txt is laid out. Also, read the error message.
        Thanks it works now. I just didn't really understand the message
        __________________


        YouTube Channel
        Deviant Art
        BGFM Forums
        Take a quiz about me!
        I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.
        If you say "pls" or "plz" because it's shorter than "please", I'll say "no" because it's shorter than "yes".
        Closed Thread
        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 2:22 PM.