This script uses the Gamespy protocol. In Battlefield 1942, his protocol is badly implemented, but it is the only way to get the hashkey, because the much more reliable, but does not supply the hashkey.