Quote Originally Posted by dtrain07 View Post
Sooo since everybody is asking questions about how to validate DayZ / ArmA2 Serials I thought why not make a topic where we can bring together our knowledge!
I will provide some pseudocode in this post.

Checking if a serial has been banned by BattleEye
1. Get the BattleEye-GUID of the serial.
Code:
string BEGuid = md5("BE" + md5("XXXX-XXXXX-XXXXX-XXXXX-XXXXX")); // Replace with your serial
2. Sent 4 randoms characters and the BEGuid via UDP to 81.0.236.117 on port 2324 and wait for a response:
Code:
UDPClient.send("some" + BEGuid); // 'some' can be anything that is 4 chars long. Ex: 'aosq', 'fido', 'blub'
3. If the response contains the string "Global", "Ban" or "Global Ban" the serial has been banned, otherwise it's clean!

Does anybody know, how Darky's program is checking if the serial is VALID and PLAYBLE? I can provide a Wireshark-record of the packets if necessary.

Feel free to contribute!
Very useful, thank you!