From da8856cd708beadd37e29ce862e9d5f4ca5cbc1c Mon Sep 17 00:00:00 2001 From: notV4l <122404722+notV4l@users.noreply.github.com> Date: Mon, 11 Sep 2023 18:59:05 +0200 Subject: [PATCH] fix: add sleep between sozo auth writer command (#128) --- scripts/default_auth.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/default_auth.sh b/scripts/default_auth.sh index 277c7552b..a6cdd4b3c 100755 --- a/scripts/default_auth.sh +++ b/scripts/default_auth.sh @@ -33,34 +33,42 @@ DECIDE_COMPONENTS=("Player" "Drug") for component in ${CREATE_GAME_COMPONENTS[@]}; do sozo auth writer $component create_game --world $WORLD_ADDRESS + sleep 0.1 done for component in ${JOIN_GAME_COMPONENTS[@]}; do sozo auth writer $component join_game --world $WORLD_ADDRESS + sleep 0.1 done for component in ${SET_NAME_COMPONENTS[@]}; do sozo auth writer $component set_name --world $WORLD_ADDRESS + sleep 0.1 done for component in ${BUY_COMPONENTS[@]}; do sozo auth writer $component buy --world $WORLD_ADDRESS + sleep 0.1 done for component in ${SELL_COMPONENTS[@]}; do sozo auth writer $component sell --world $WORLD_ADDRESS + sleep 0.1 done for component in ${TRAVEL_COMPONENTS[@]}; do sozo auth writer $component travel --world $WORLD_ADDRESS + sleep 0.1 done for component in ${TRAVEL_COMPONENTS[@]}; do sozo auth writer $component decide --world $WORLD_ADDRESS + sleep 0.1 done for component in ${DECIDE_COMPONENTS[@]}; do sozo auth writer $component decide --world $WORLD_ADDRESS + sleep 0.1 done echo "Default authorizations have been successfully set." \ No newline at end of file