Support | News | Classic | F.A.Q. | Discord | Discussions | Wiki | Roadmap

Quarantine Duplicate part ID: ammo_supply

Multiple parts are specifying ammo_supply as an ID.

    Walt so how should I go about fixing this problem? I'm not the best at all at modding.

      Quarantine Find a text editor that allows you to do a text search in a whole folder (such as Notepad++ or Sublime) and search for ammo_supply to see which parts are using that ID. Then change the ID of one of them.

        Walt okay thanks walt!

        edit: how do i do a whole file search using notepad++?

        edit 2: I did a manual search using ctrl+f but only one part had ammo_supply as an ID. What should I do?

          Walt Okay i did that but it says 0 hits in 0 files

            Quarantine Then I'm pretty sure you're not searching the correct folder.

              Walt the only other folder is strings and that only has one document

              Edit: Hey, I really dont want this to be seen as lazy or rude in anyway (i love this game to death i dont want to insult you) but please could you help me find the ID's? I have the link for the download for the _upgraded_upgraded version.
              Upgraded using both upgraders

                Quarantine In microammo_factory.txt you have a line that says OtherIDs = [ammo_supply,microammo_factory], which is conflicting with the vanilla ammo supply.

                  Walt ohhhhh, so should I take the one in the microammo_factory out?

                  edit: yay 100th post in this discussion

                    Quarantine Yup, just remove it and I think it should work.

                    Walt Thanks!

                      Walt I removed the ID, but when I tried to install it, it gave me this error message:
                      Edit: when I tried to install it, it gave me an error message.

                      Error loading mod MicroTech v1.1.0_upgraded_upgraded: System.IO.FileNotFoundException: Could not find file 'C:\Users\vaughana\Documents\My Games\Cosmoteer\Mods\MicroTech v1.1.0_upgraded_upgraded\mod.txt'.
                      File name: 'C:\Users\vaughana\Documents\My Games\Cosmoteer\Mods\MicroTech v1.1.0_upgraded_upgraded\mod.txt'
                      at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
                      at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
                      at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
                      at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
                      at System.IO.StreamReader..ctor(String path)
                      at Halfling.ObjectText.OTFile.Parse() in C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\ObjectText\OTFile.cs:line 293
                      at Cosmoteer.Mods.ModInfo.TryLoadMod(String modFolder, Boolean isBuiltIn, ModInfo& modInfo, IList`1 errorList) in C:\Users\Walt\Documents\Code\Cosmoteer\Source\Mods\ModInfo.cs:line 143

                        Quarantine Could not find file 'C:\Users\vaughana\Documents\My Games\Cosmoteer\Mods\MicroTech v1.1.0_upgraded_upgraded\mod.txt'.

                          Walt I was trying to fix the issue, but I found that when I rezip the folder to put it back into the Mods folder (It was unzipped so it could be upgraded.) everything inside the zipped folder is put into an unzipped sub-folder of the same name. The strange thing is that I can't move anything out of the subfolder when it is zipped, and if I unzip the folder, take everything out of the sub folder, then delete the sub-folder, then rezip the folder, everything is put back into the sub-folder.
                          aaaaaaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH

                            Quarantine That's why you should use the built-in mod packager, it makes sure the zip file is structured properly. Open the mods manager, right-click on the mod, and you should have an option to create a mod package from the mod.

                            Walt alright, i got it installed, but now it is saying there is a duplicate of aux_cockpit.

                              Quarantine Same problem as ammo_supply, find what's using that ID and remove it.

                                Walt Holy crap! It works! Thank you so much!

                                  Quarantine Where is the link?!