• 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!
  • Scottie, Todd, Serena, Kris - 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.

pokemon repel error

  • 5
    Posts
    8
    Years
    • Seen Nov 5, 2016
    hey guys so im working on a new pokemon game called pokemon Bolt but as i was developing the game i noticed a error when i started the editor it said ---------------------------
    Pokemon Essentials
    ---------------------------
    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'



    This exception was logged in

    C:\Users\Administrator\Saved Games/Pokemon Essentials/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
    im not sure how to fix it it the editor doesnt load at all after that just at a black screen
    sooooooo if anyone knows how to fix it please tell me i really need this fixed as i promised for my twitter fans that its release would take place next month by the time pokemon sun and pokemon moon come out this is supposed to take place in a region close to alola and i realy need help if i want to get this game out in time so if anyone knows please tell me thanks!!!!
     
    Last edited by a moderator:
    Well it's telling you that the description isn't an integer, so that should pinpoint your problem right there. Double check your item code against the wiki page for defining an item.

    If you're doing everything in the editor, stop, go to your PBS folder, and open items.txt there.
     
    uh well the problem is im not a very good person with programming so im not really sure what you mean so if you could say it in simpler words then i would understand

    i dont know what to do i need help someone please tell me what to do!
     
    Last edited by a moderator:
    Google, Mr Mrpokemonmaster (that and reading the error message carefully :P).
    An integer is a number. The error itself says it all at the very start:
    Message: Field An item that prevents weak wild Pokémon from appearing for 100 steps after its use. is not a positive integer
    An integer is a whole number. "Field An item that prevents weak wild Pokémon from appearing for 100 steps after its use. " is not a number. Therefore something is wrong with how you've defined repels.

    Given that repels are first on the list, it probably means you tried to update to the latest version of essentials, am I right?

    If so, did you follow the update guide?
     
    Back
    Top