From: bones_was_here Date: Thu, 13 Mar 2025 18:33:59 +0000 (+1000) Subject: Document random() affecting the gameplay hash X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=745c9b940e0aa31e880070de241e4ec673e5ee7c;p=xonotic%2Fxonotic-data.pk3dir.git Document random() affecting the gameplay hash Closes #2935 --- diff --git a/qcsrc/tools/sv_game-hashtest.sh b/qcsrc/tools/sv_game-hashtest.sh index d687af1dc..5c0d63cc4 100755 --- a/qcsrc/tools/sv_game-hashtest.sh +++ b/qcsrc/tools/sv_game-hashtest.sh @@ -218,5 +218,7 @@ else # red error print printf "\033[31m%s\033[0m\n" "expected: $EXPECT" printf "\033[31m%s\033[0m\n" " actual: $HASH" printf "\033[1;31m%s\033[0m\n" "!!! ERROR: HASHES DO NOT MATCH !!!" + printf "\033[35mThis is expected if the number or execution order of random() calls changed,\n" + printf "otherwise it indicates a more meaningful change in gameplay and match outcomes.\033[0m\n" exit 1 fi