• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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.

[Error] Critical Error, help

  • 18
    Posts
    6
    Years
    • Seen Feb 13, 2021
    Whenever I try to boot up the game, it crashed saying
    "(Pokemon Essentials V17.2)
    RuntimeError
    Message: Field"

    It does this when trying to load the trainers.txt file, when I looked, the entire file was blank, after copypasting the default trainers from another trainers.txt file, it still comes up with this error.

    Any help?
    Please?
     
    Is that the whole error message?

    Have you made any changes inside the Compiler scripts section? I'm not sure what else could cause this kind of problem, unless maybe one of the default trainers is talking about something (e.g. a Pokémon or item) that's missing from your other PBS files?

    If you cut it down to just one trainer does the error still occur?
     
    I havent made any changes in the compiler that I know of.
    I'll try that, thanks.
     
    I havent made any changes in the compiler that I know of.
    I'll try that, thanks.

    it's highly possible that your scripts may have gotten corrupted which happens occasionally (as this is a program from 2005 with many fine parts). Does copying a base-essentials copy of the compiler script resolve your issue?
     
    Is that the whole error message?

    Have you made any changes inside the Compiler scripts section? I'm not sure what else could cause this kind of problem, unless maybe one of the default trainers is talking about something (e.g. a Pokémon or item) that's missing from your other PBS files?

    If you cut it down to just one trainer does the error still occur?

    So I tried it and, yes, it still crashed.
    It doesn't help that the Message just say "field".
    Will try to shift over an old trainers.txt file that worked before, and see what happens. In the mean time, if all else fails, is there any way to transfer map data?
     
    it's highly possible that your scripts may have gotten corrupted which happens occasionally (as this is a program from 2005 with many fine parts). Does copying a base-essentials copy of the compiler script resolve your issue?

    I'm generally bad at coding, which one is the compiler script?
     
    Have you made changes to the scripts in general? If not you could copy over a clean Scripts.rxdata to be sure.

    Other things to consider include deleting all the *.dat files in Data (e.g. items.dat) that contain cached compiled versions of the PBS files, or I think there's a button you can hold when you start playtesting (ctrl maybe? idk) that causes Essentials to recompile all the PBSs.
     
    Have you made changes to the scripts in general? If not you could copy over a clean Scripts.rxdata to be sure.

    Other things to consider include deleting all the *.dat files in Data (e.g. items.dat) that contain cached compiled versions of the PBS files, or I think there's a button you can hold when you start playtesting (ctrl maybe? idk) that causes Essentials to recompile all the PBSs.

    I have not made any changed to any scripts, in fear of breaking the game (using a previous version, changing a single pokemon of a gym leader deleted half the trainers.txt file for some reason)
    I'll try that tomorrow, and let you know how it goes. Thanks for bearing with me thus far. :)
     
    Have you made changes to the scripts in general? If not you could copy over a clean Scripts.rxdata to be sure.

    Other things to consider include deleting all the *.dat files in Data (e.g. items.dat) that contain cached compiled versions of the PBS files, or I think there's a button you can hold when you start playtesting (ctrl maybe? idk) that causes Essentials to recompile all the PBSs.

    So I tried all the things you suggested, unfortunately, the error message still comes up.
    One thing to note is that is always comes up at the same time, when the title bar (at least I think thats what its called) says "Compiling trainers..."
    So I think there might still be a problem with that but the trainers.txt file looks fine.
     
    Alright, so I copied all the map data into a base Essentials project, and the bug doesn't show up anymore. So I think I found at least a temporary solution.

    Thank you both for the help! :D
     
    Back
    Top