Malformed mods/signatures in Arma 3 listing

I've got an Arma 3 server with an entry on battlemetrics whose mods and signatures have appeared corrupted for some amount of time, and I believe it has to do with how it parses A2S_RULES from Arma 3. Battlemetrics used to render our mods and signatures correctly, but I suspect some change to our modlist may have tripped up the parser. Server link: https://www.battlemetrics.com/servers/arma3/28484414
No description
8 Replies
thegamecracks
thegamecracksOP3w ago
This may fix itself in a few hours since I've got a few mod changes planned, specifically replacing our Expeditionary Forces and Western Sahara CDLC with equivalent compatibility mods, so I'll mention here if that works
thegamecracks
thegamecracksOP3w ago
Not sure if I'm allowed to upload this, but if anyone at BM wants to technically debug it, I've captured a datagram of the A2S_RULES response:
thegamecracks
thegamecracksOP3w ago
i also incidentally wrote my own valve source query parser which appears to handle our server's modlist correctly, so here's what the result should look like:
thegamecracks
thegamecracksOP3w ago
okay, can confirm that arma's creator DLC caused the mod list to break, as after replacing them, the mod list was fixed:
No description
thegamecracks
thegamecracksOP3w ago
if it helps narrow down the bug in BM, this A2S output shows the CDLC are the only mods that contain 0-length names, so maybe that's what caused the BM mod list to be corrupted? also for reference, here is the A2S_RULES response format documentation for arma: https://community.bistudio.com/wiki/Arma_3:_ServerBrowserProtocol3
thegamecracks
thegamecracksOP2w ago
I accidentally found another issue likely related to this parser, but for DayZ instead of Arma 3: https://www.battlemetrics.com/servers/dayz/32351316 This server's modlist is almost correct, but there are five additional "workshop mods" that are actually supposed to be signature filenames, but were misidentified as mods and given invalid workshop links:
No description
thegamecracks
thegamecracksOP2w ago
i had to fix my own library as well and i added their payload to my test suite, so here's what it should look like:
thegamecracks
thegamecracksOP2w ago
(note that there's both a mod named AllCountryFlags and a signature file named AllcountryFlags, the one further up the mod list in BM is correct)

Did you find this page helpful?