• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
5
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?
     
    1,403
    Posts
    10
    Years
    • Seen Apr 29, 2024
    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?
     
    18
    Posts
    5
    Years
    • Seen Feb 13, 2021
    I havent made any changes in the compiler that I know of.
    I'll try that, thanks.
     
    1,805
    Posts
    7
    Years
  • 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?
     
    18
    Posts
    5
    Years
    • Seen Feb 13, 2021
    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?
     
    18
    Posts
    5
    Years
    • Seen Feb 13, 2021
    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?
     
    1,403
    Posts
    10
    Years
    • Seen Apr 29, 2024
    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.
     
    18
    Posts
    5
    Years
    • Seen Feb 13, 2021
    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. :)
     
    18
    Posts
    5
    Years
    • Seen Feb 13, 2021
    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.
     
    18
    Posts
    5
    Years
    • Seen Feb 13, 2021
    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