• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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] Instance of IO needed error

  • 73
    Posts
    4
    Years
    • Seen Apr 20, 2025
    Hello,

    Today I have given some beta testers the demo of my game (v19.1) and one sent me a reply with this error: "Script 'Game_Map Factory' line 428: TypeError Occured. Instance of IO needed.". I searched online for similar errors, but I haven't found one yet that could have helped me. The weirdest thing is that everything works fine on my folder of the demo, but the map_connections.dat file seems to be involved. I feel it's most likely something simple, but I don't know where to look with my options limited and I don't want to disappoint my testers.

    Thank you in advance.
     
    When did the error occur? On start up or during something specific? Did all of them have the problem or just one? Did they install it correctly?
    I've never had an IO error in essentials, so I would check the script line thats having the issue.
     
    When did the error occur? On start up or during something specific? Did all of them have the problem or just one? Did they install it correctly?
    I've never had an IO error in essentials, so I would check the script line thats having the issue.

    The one who encountered the error later specified it happened when "New Game" was pressed. Another one seemed to have an issue outside Essentials and the last tester didn't respond yet. An IO error usually means that the compiler tries to access something which has the issue, right? The line the error refers to the line "conns = load_data("Data/map_connections.dat")", but the file is clearly in the folder or it could be something else.
     
    Yeah, from what I've seen an IO error is a comply/startup error. You said the demo worked for you, right? Did you startup via the demo you gave your testers, or your original file? If it works for you, that would mean its probably an installation error. Maybe there map_connections.dat is renamed or deleted or in the wrong folder, because that error is the error you get when you remove the map connections data file. I just tested it with my own game.
     
    I've checked out the rar and the file is in the right place with the correct name. I still have the folder from where I have archived it and I used this to test the situation. I even used a clear save file to start the intro scene and everything worked fine. Installation should simply be to extract the folders so you can launch the exe and I tried this too without troubles. It is just annoying to deal with this error without having some king of visual aid. Maybe I can ask the tester if the file is still in the Data folder just to be sure.
     
    Back
    Top