Hey bob et al,
I've come across a rather frustrating issue when setting up a server via a third party provider. I have downloaded the same versions of the 12 updated bobs mods + clock and uploaded to both my local client and the server (after a restart of the server including a fresh 0.15.x update) but when I start the server and wants to join, it gives me an error message saying that the mods differ even if they are the same version.
Is there something I can do to solve this problem? I'd be grateful for any help or people with similar problems.
Thanks in advance
/Crabby
[Bug/Server issue] Same mod version - content differs
Moderator: bobingabout
[Bug/Server issue] Same mod version - content differs
- Attachments
-
- Server Mods.png (48.88 KiB) Viewed 3329 times
-
- Mods mismatch.png (249.49 KiB) Viewed 3329 times
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: [Bug/Server issue] Same mod version - content differs
This is apparantly the result of "Conditional requred()", IE, putting a require(filename) instruction inside an if block.
I only learned of this being a possible cause yesterday, and have already started going through my mods to edit these blocks out, and instead opting to encumpas the entire included file in an if block, but still include the file anyway. In theory, this SHOULD fix the issue, because it should result in the mod always having the same checksum.
I have already released a couple of mods that have this conversion, I think bobplates (MCI) is one that is done, but I'll need to check my notes to see exactly which ones should work, and which still have the bug.
viewtopic.php?f=51&t=45001#p259424
The first post has the change log. All the mods that have been converted should be listed here. If the version number number listed isn't available, then there was likely something else I Wanted to do in that mod before releasing the next update. Those that don't even mention it likely didn't need it. (I'm fairly sure I went through all of them last night)
I would be greatful if you did a test with just library, and those mods where the latest version states it has been fixed, just to see if it works. if it doesn't... it means I probably missed something.
I only learned of this being a possible cause yesterday, and have already started going through my mods to edit these blocks out, and instead opting to encumpas the entire included file in an if block, but still include the file anyway. In theory, this SHOULD fix the issue, because it should result in the mod always having the same checksum.
I have already released a couple of mods that have this conversion, I think bobplates (MCI) is one that is done, but I'll need to check my notes to see exactly which ones should work, and which still have the bug.
viewtopic.php?f=51&t=45001#p259424
The first post has the change log. All the mods that have been converted should be listed here. If the version number number listed isn't available, then there was likely something else I Wanted to do in that mod before releasing the next update. Those that don't even mention it likely didn't need it. (I'm fairly sure I went through all of them last night)
I would be greatful if you did a test with just library, and those mods where the latest version states it has been fixed, just to see if it works. if it doesn't... it means I probably missed something.
Re: [Bug/Server issue] Same mod version - content differs
We downloaded and replaced your updated version of bobplates. My friend was able to connect to the server without problem, and I could connect to the server at work (from my personal laptop) as well. However, when I came back home and tried to connect to the server with the identical modlist (including the updated bobplate version) I get an error that bobsenemies has content mismatch. There is no error message on bobplates so I think it works, but I'm curious why my friend and my laptop are able to connect.
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: [Bug/Server issue] Same mod version - content differs
option settings. Because including files are conditional, the options must be identical for the checksums to be the same.
The reason why the enemies mod still errors is because, although I've gone through and fixed the files, I haven't uploaded the fixed version of that one yet. It's on my list of mods to look at soon.
The reason why the enemies mod still errors is because, although I've gone through and fixed the files, I haven't uploaded the fixed version of that one yet. It's on my list of mods to look at soon.
Re: [Bug/Server issue] Same mod version - content differs
That makes sense. I opened op Factorio and disabled all mods, restarted the game, then activated all mods and restarted once more. When I tried to join the server, it then gave me a new error message saying that I could join if I restarted the game with appropriate settings. When I clicked OK it restarted the game and I could join without issue.
Thanks for you help!
Thanks for you help!
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: [Bug/Server issue] Same mod version - content differs
that does sound more like what should be happening.Crabby090 wrote:That makes sense. I opened op Factorio and disabled all mods, restarted the game, then activated all mods and restarted once more. When I tried to join the server, it then gave me a new error message saying that I could join if I restarted the game with appropriate settings. When I clicked OK it restarted the game and I could join without issue.
Thanks for you help!
I'm slowly going through and updating my mods with this fix, I think there's just one or two out there that can cause the error now, and all other shouldn't
Re: [Bug/Server issue] Same mod version - content differs
Excellent work! Highly appreciated.