Page 1 of 2
Custom contentCrc32.con file gives an error
Posted: Sat Aug 29, 2020 5:29 pm
by Diamondback
Hi all,
I've been trying to generate a custom contentCrc32.con file for my mod so that it can be played as an Unpure mode online and have had mixed success so far. I can join the server running my Unpure mod no problem, but when a second player joins, he gets the ''Data differs from server'' error. The second client's game files are indentical to mine and the server's, but he still gets that error when trying to join. Could this possibly be because he has other client mods installed in his Mods folder? In that case, would that break the Unpure mode verification on the server?
Diamondback
Re: Custom contentCrc32.con file gives an error
Posted: Wed Oct 28, 2020 8:08 pm
by Crash42modder
I'll ask around.
Re: Custom contentCrc32.con file gives an error
Posted: Wed Jul 10, 2024 9:48 pm
by Skull Kid
*BUMP*
I'm trying to get my Battlefield 1918 map Testing Range 1918 to work with content check, no dice so far... I've generated a custom contentCrc32.con, it simply gives me Data Differs From Server all the time.
Re: Custom contentCrc32.con file gives an error
Posted: Thu Jul 11, 2024 11:53 am
by Skull Kid
I went as far as making it into a map-based mod, but not even then did it work...
Re: Custom contentCrc32.con file gives an error
Posted: Fri Jul 12, 2024 3:07 pm
by Skull Kid
I lay my case to rest... seems impossible to get mods to work with content check on... even if set to "2" instead of "1".
Re: Custom contentCrc32.con file gives an error
Posted: Mon Dec 23, 2024 12:28 am
by Skull Kid
*BUMP*
I got one map (DC_DesertShield) from Desert Combat to work with content check set to 1. So my map in Battlefield 1918 should then work as well.
Re: Custom contentCrc32.con file gives an error
Posted: Mon Dec 23, 2024 2:09 pm
by Diamondback
Skull Kid wrote: ↑Mon Dec 23, 2024 12:28 am
*BUMP*
I got one map (DC_DesertShield) from Desert Combat to work with content check set to 1. So my map in Battlefield 1918 should then work as well.
Hi Skull Kid,
I’m curious to know how you got that map working with Content Check set to 1. As I recall, 1 is only for vanilla BF content and the expansions, and 2 is for unpure mods.
There is also a readme somewhere with instructions on how to generate the checksums for custom levels. I do remember one instruction being that you can’t have mipmaps in your HUD menu textures.
Re: Custom contentCrc32.con file gives an error
Posted: Mon Dec 23, 2024 4:19 pm
by Skull Kid
I know. I was very surprised to find out! Sadly, I don't know why it worked... all I know is that I tested DC_Oil_Fields, and that one didn't work.
Edit: Here's the instruction:
http://web.archive.org/web/200606212323 ... check.html
Edit2: I noticed Conquest mode doesn't work even on Desert Shield, but only Coop.
Re: Custom contentCrc32.con file gives an error
Posted: Mon Dec 23, 2024 5:39 pm
by Diamondback
Thanks. This is what I was looking for:
For the CRC system to work, the game data must live up to a set of rules that affect how the calculations are performed on client and server:
- The object spawns must be present on both client and server.
- The same con files must be sourced on client and server.
- Most menu and HUD textures cannot have mipmaps.
Without these changes clients will receive DATA DIFFERS errors when connecting to a server running the mod.
Now I understand why it didn’t work all this time. Server and client CON files weren’t the same! Makes sense for a checksum system though.
Re: Custom contentCrc32.con file gives an error
Posted: Mon Dec 23, 2024 5:42 pm
by Skull Kid
For my own mod & map, I have never been able to make it work with the value 1 or 2... I have no clue why Desert Combat worked with Desert Shield. It's strange, but if you've got Desert Combat, feel free to try it.