Hello everyone.. I need a little assistance.. I have a need to code in a whitelist of a handful of players to prevent them from being kicked due to signature mismatch. I know I could just turn this off globally but would rather just exclude the 3 - 4 players who are constantly being kicked.
So just a small back story, these players have been with the server for years, and I recently put the server back online, and of the 30 - 40 players that come to the server, these 3 keep getting kicked due to the signature issue.. I have trouble shot the issue with them, and have gone as far
as having them remove, reinstall arma and all mods, CRC check files and compared to the server. But could not resolve the issue.. (BTW the miss matches seem to be random each time, and are mostly arma 3 core files.)
What I tried was to create a white list variable in server.cfg and alter the kick command.. like this..
// SAFE PLAYERS
whiteListedPlayers[] = {"76xxxxxxxxxxxx","76xxxxxxxxxxxx","76xxxxxxxxxxxx"};
// SIGNATURE VERIFICATION
onUnsignedData = "if !((_this select 0) in whiteListedPlayers) then {kick (_this select 0); diag_log format ['%1, %2', _this select 0, time];};"; // command to run if a player has unsigned data
onHackedData = "if !((_this select 0) in whiteListedPlayers) then {kick (_this select 0); diag_log format ['%1, %2', _this select 0, time];};"; // command to run if a player has data with invalid signatures
onDifferentData = ""; // command to run if a player has modified data
But get a "missing ;" in the logs.. I have tried with and without the trailing ; with the same result.. (just so you know the diag_log section was to debug what the value of _this select 0 was, didn't know it was by name/uid/guid/slot #, i was assuming uid.)
Thanks for any insight you can offer.
Example of issue.
11:37:12 Player Phil: Wrong signature for file ca\rocks2\data\r2_boulder1_nohq.paa
11:39:39 Player Phil: Wrong signature for file E:\SteamLibrary\steamapps\workshop\content\107410\583496184\addons\cup_terrains_ca_rocks_e.pbo
11:43:29 Player Phil: Wrong signature for file ca\rocks2\r2_boulder2.p3d
11:52:03 Player Phil: Wrong signature for file ca\rocks2\r2_boulder2.p3d