I get this --> CMD Error <-- when the wood3 base loads in. I understand it has a lot of "Copypaste" errors in there. This error is completely confusing the Raidable Bases pluging to where it just stops spawning in bases.
I note I've noticed:
I had electrical ran from the windmill to a splitter on the wood gate below it. Then ran electrical to a battery in the base. None of the wiring or the splitter spawned in. Could this be the issue?
Error Message When Loading a BaseSolved
I have isolated this to the electrical. So far, the windmill and all 3 batteries cause the error. I removed them all from the base. Then the base loads fine. I add any of those 4 items, i get teh CMD error, and the plugin stops working.
Any help is appreciated. I'd love to have electrical in my raid bases.
hi, I can't reproduce that with a windmill. if you want to upload it somewhere then I can check it out.
copypaste errors would need to be handled by the developer of that plugin though. I can try to prevent it from breaking RB but I can't without a file to reproduce the issue
Here is the file --> Broken Base File <-- This is the base I would like to have working.
I tested one more time with just the windmill, and it works. but once I add the battery it crashes, then I have to remove the battery, splitter, and windmill before anything starts working again. It may be the battery breaking it all.
I would like to note, I'm running carbon on my server. Not sure if that matters, but wanted to let you know. I've already tested this file, and it breaks Raidable Bases.
I see that you fixed it by recopying the base thanks to Mabel
I'll still take a look at the broken file later
If you could, that would be great. I'm very new to this and have not actually used the "CopyPaste" Plugin ingame. I've only used it's folders to house the bases I create from Fortify. So if there is an issue between Fortify and CopyPaste, it would be great to know what it is so an update can be done to one of the plugins.
np I will later
CopyPaste will copy the base, so it would be Fortify that needs updated to work with 3 io entities like batteries
Sounds good. Just lemme know. When I put the battery(ies) in the base in Fority, it did show all (3) ports on the battery. So I'm not sure if they were coded right or not when implemented, but the batteries I tested, DID have the 3 ports on them.
hi, i looked into this some more and the issue happens not because of the battery, but because there are multiple identical keys (keys 1 and 2 in this case) for the io entities within the copypaste file. if Fortify makes the keys unique for each "oldID" then it will be fixed
this doesn't break RB though. it waits up to 15 minutes for each base to spawn before it attempts to spawn another base. if the base spawns sooner than this then it will continue on normally. this is by design.
you can workaround it by editing your copypaste files and changing the keys yourself. recopying the base isn't necessary and likely wouldn't work properly since it won't paste properly to begin with given this error.
08:28 [Info] [Copy Paste] System.ArgumentException: An item with the same key has already been added. Key: 1
this error says Key: 1, so you'd find the first key set to 1 in the copypaste file (wood3.json) and change it to something random like 6912 then save the file again. all of this can be done in notepad. you can paste with /paste wood3 but it will leave behind the base so you must ent kill all of it
in the case of wood3.json there are two identical keys for:
"oldID": 1,and
"oldID": 2,so each one needs to be changed to something random until each is unique.
it might seem like a lot to fix this yourself, but it's very simple. all you're doing is editing the copypaste file, search for "oldID" and making sure each of them are unique
Actually makes complete sense. Thank you for looking into this for me. I really appreciate it.
no problem. happy holidays
Thank You! Happy Holidays to you a well!