• 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!
  • Akari, Selene, Mint, Solana - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Item description "is not a positive integer" when compiling items.txt

  • 22
    Posts
    9
    Years
    • Seen Apr 4, 2018
    I've added a mega ring item according to the wiki's instructions, then added a Venusaurite item. When I run the game after adding mega ring, no problem. After adding Venusaurite and I run the game, this error shows up :(

    Exception: RuntimeError
    Message: Field An item that prevents weak wild Pokémon from appearing for 100 steps after its use. is not a positive integer
    File PBS/items.txt, line 1
    2,0,0,


    Compiler:411:in `csvPosInt!'
    Compiler:488:in `pbGetCsvRecord'
    Compiler:484:in `each'
    Compiler:484:in `pbGetCsvRecord'
    Compiler:1606:in `pbCompileItems'
    Compiler:1605:in `pbCompilerEachCommentedLine'
    Compiler:265:in `each_line'
    Compiler:265:in `pbCompilerEachCommentedLine'
    Compiler:262:in `open'
    Compiler:262:in `pbCompilerEachCommentedLine'

    plz help.
     
    I've added a mega ring item according to the wiki's instructions, then added a Venusaurite item. When I run the game after adding mega ring, no problem. After adding Venusaurite and I run the game, this error shows up :(

    Exception: RuntimeError
    Message: Field An item that prevents weak wild Pokémon from appearing for 100 steps after its use. is not a positive integer
    File PBS/items.txt, line 1
    2,0,0,


    Compiler:411:in `csvPosInt!'
    Compiler:488:in `pbGetCsvRecord'
    Compiler:484:in `each'
    Compiler:484:in `pbGetCsvRecord'
    Compiler:1606:in `pbCompileItems'
    Compiler:1605:in `pbCompilerEachCommentedLine'
    Compiler:265:in `each_line'
    Compiler:265:in `pbCompilerEachCommentedLine'
    Compiler:262:in `open'
    Compiler:262:in `pbCompilerEachCommentedLine'

    plz help.
    You have to update items.txt according to version 16 of Pokémon Essentials. Since when this update is released, in fact, the names are also plural.
     
    Oh! I copied and pasted the green shard item from items.txt and made it Venusaurite. It worked then. Thanks for the help......
     
    Back
    Top