• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[PBS Question] Error when giving player Litten

  • 2
    Posts
    6
    Years
    • Seen Dec 29, 2018
    Hello! I'm getting an error whenever I'm using the following command to give the player Litten, which I have attempted to add in manually.
    Command I'm trying to use :
    https://imgur.com/a/LDgMW5L
    Error I'm getting :
    [Pok?mon Essentials version 17]
    Exception: RuntimeError
    Message: Required entry Shape is missing or empty in section 650 (PBS/pokemon.txt)
    Compiler:1688:in `pbCompilePokemonData'
    Compiler:1680:in `each'
    Compiler:1680:in `pbCompilePokemonData'
    Compiler:1679:in `each'
    Compiler:1679:in `pbCompilePokemonData'
    Compiler:1664:in `pbEachFileSection'
    Compiler:197:in `pbEachFileSectionEx'
    Compiler:165:in `each_line'
    Compiler:165:in `pbEachFileSectionEx'
    Compiler:197:in `pbEachFileSection'
    [Pok?mon Essentials version 17]
    Exception: RuntimeError
    Message: Required entry Shape is missing or empty in section 650 (PBS/pokemon.txt)
    Compiler:1688:in `pbCompilePokemonData'
    Compiler:1680:in `each'
    Compiler:1680:in `pbCompilePokemonData'
    Compiler:1679:in `each'
    Compiler:1679:in `pbCompilePokemonData'
    Compiler:1664:in `pbEachFileSection'
    Compiler:197:in `pbEachFileSectionEx'
    Compiler:165:in `each_line'
    Compiler:165:in `pbEachFileSectionEx'
    Compiler:197:in `pbEachFileSection'
    [Pok?mon Essentials version 17]
    Exception: NoMethodError
    Message: undefined method `name' for nil:NilClass
    PField_Field:408
    PField_Field:402:in `call'
    EventHandlers:54:in `trigger'
    EventHandlers:49:in `each'
    EventHandlers:49:in `trigger'
    MapFactory:254:in `setMapChanging'
    MapFactory:124:in `setup'
    PScreen_Load:360:in `pbStartLoadScreen'
    PScreen_Load:331:in `open'
    PScreen_Load:331:in `pbStartLoadScreen'
    Exception: NoMethodError
    Message: undefined method `width' for nil:NilClass
    PokemonLoad:165:in `pbSetParty'
    PokemonLoad:334:in `pbStartLoadScreen'
    Main:8:in `main'
    Main:53:in `mainFunctionDebug'
    Main:31:in `mainFunction'
    Main:31:in `pbCriticalCode'
    Main:31:in `mainFunction'
    Main:63
    Main:62:in `loop'
    Main:71
    Exception: RuntimeError
    Message: Field Repels is not a positive integer
    File PBS/items.txt, line 1
    1,350,"An item that prevents weak wild Pok?mon from appearing for 100 steps after its use.",2,0,0,


    Compiler:219:in `csvPosInt!'
    Compiler:476:in `pbGetCsvRecord'
    Compiler:472:in `each'
    Compiler:472:in `pbGetCsvRecord'
    Compiler:817:in `pbCompileItems'
    Compiler:816:in `pbCompilerEachCommentedLine'
    Compiler:615:in `each_line'
    Compiler:615:in `pbCompilerEachCommentedLine'
    Compiler:612:in `open'
    Compiler:612:in `pbCompilerEachCommentedLine'
    Exception: RuntimeError
    Message: Field Repels is not a positive integer
    File PBS/items.txt, line 1
    1,350,"An item that prevents weak wild Pok?mon from appearing for 100 steps after its use.",2,0,0,


    Compiler:219:in `csvPosInt!'
    Compiler:476:in `pbGetCsvRecord'
    Compiler:472:in `each'
    Compiler:472:in `pbGetCsvRecord'
    Compiler:817:in `pbCompileItems'
    Compiler:816:in `pbCompilerEachCommentedLine'
    Compiler:615:in `each_line'
    Compiler:615:in `pbCompilerEachCommentedLine'
    Compiler:612:in `open'
    Compiler:612:in `pbCompilerEachCommentedLine'
    [Pok?mon Essentials version 17]
    Exception: RuntimeError
    Message: Script error within event 5 (coords 9,4), map 4 (Pok?mon Lab):
    Exception: ArgumentError
    Message: PokeBattle_Pokemon:916:in `__mf_initialize'The species number (no. 0 of 649) is invalid.
    ***Full script:
    pbAddPokemon(:LITTEN,5)

    Interpreter:243:in `pbExecuteScript'
    Pokemon_Forms:43:in `initialize'
    PSystem_PokemonUtilities:79:in `new'
    PSystem_PokemonUtilities:79:in `pbAddPokemon'
    (eval):1:in `pbExecuteScript'
    Interpreter:1606:in `eval'
    Interpreter:243:in `pbExecuteScript'
    Interpreter:1606:in `command_355'
    Interpreter:494:in `execute_command'
    Interpreter:193:in `update'

    Interpreter:276:in `pbExecuteScript'
    Interpreter:1606:in `command_355'
    Interpreter:494:in `execute_command'
    Interpreter:193:in `update'
    Interpreter:106:in `loop'
    Interpreter:198:in `update'
    Scene_Map:161:in `update'
    Scene_Map:159:in `loop'
    Scene_Map:168:in `update'
    Scene_Map:232:in `main'
    [Pok?mon Essentials version 17]
    Exception: RuntimeError
    Message: Script error within event 5 (coords 9,4), map 4 (Pok?mon Lab):
    Exception: ArgumentError
    Message: PokeBattle_Pokemon:916:in `__mf_initialize'The species number (no. 0 of 649) is invalid.
    ***Full script:
    pbAddPokemon(:LITTEN,5)

    Interpreter:243:in `pbExecuteScript'
    Pokemon_Forms:43:in `initialize'
    PSystem_PokemonUtilities:79:in `new'
    PSystem_PokemonUtilities:79:in `pbAddPokemon'
    (eval):1:in `pbExecuteScript'
    Interpreter:1606:in `eval'
    Interpreter:243:in `pbExecuteScript'
    Interpreter:1606:in `command_355'
    Interpreter:494:in `execute_command'
    Interpreter:193:in `update'

    Interpreter:276:in `pbExecuteScript'
    Interpreter:1606:in `command_355'
    Interpreter:494:in `execute_command'
    Interpreter:193:in `update'
    Interpreter:106:in `loop'
    Interpreter:198:in `update'
    Scene_Map:161:in `update'
    Scene_Map:159:in `loop'
    Scene_Map:168:in `update'
    Scene_Map:232:in `main'
    I do have the shape added for Litten in my PBS files under Color= set to Shape=0, so I'm not sure why i'm still getting the original error message. Any info on what I should do? Thanks.
     
    Message: Required entry Shape is missing or empty in section 650 (PBS/pokemon.txt)

    try use my txt. You havent Shape in your pokemon.txt or only litten havent.
     

    Attachments

    • pokemon.txt
      702.6 KB · Views: 130
    Last edited:
    Message: Required entry Shape is missing or empty in section 650 (PBS/pokemon.txt)

    try use my txt. You havent Shape in your pokemon.txt or only litten havent.

    Wolf is right, if you're using v17 and don't have shape in the Pokémon pbs it won't work
     
    hola soy nuevo alguien me puede dar la solución a este problema gracias---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 17.2]

    Exception: RuntimeError

    Message: Required entry Shape is missing or empty in section 1 (PBS/pokemon.txt)

    Compiler:1688:in `pbCompilePokemonData'

    Compiler:1680:in `each'

    Compiler:1680:in `pbCompilePokemonData'

    Compiler:1679:in `each'

    Compiler:1679:in `pbCompilePokemonData'

    Compiler:1664:in `pbEachFileSection'

    Compiler:197:in `pbEachFileSectionEx'

    Compiler:165:in `each_line'

    Compiler:165:in `pbEachFileSectionEx'

    Compiler:197:in `pbEachFileSection'



    This exception was logged in

    C:\Users\HOGAR.HOGAR-PC\Saved Games\Pokemon Essentials\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    Aceptar
    ---------------------------
     
    Back
    Top