1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-07-18 13:38:48 +02:00

fix: pack player names correctly

This commit is contained in:
aclist 2024-08-04 07:57:37 +09:00
parent 9800e6b346
commit 56a6e7ac3d
2 changed files with 6 additions and 5 deletions
helpers

View file

@ -1287,7 +1287,7 @@ launch(){
update_symlinks
if [[ $debug -eq 1 ]]; then
local launch_options="$steam_cmd -applaunch $aid -connect=$ip:$gameport -nolauncher -nosplash \"-name=$name\" -skipintro \"-mod=$concat\""
local launch_options="$steam_cmd -applaunch $aid -connect=$ip:$gameport -nolauncher -nosplash -name=$name -skipintro -mod=$concat"
printf "Debug mode: these options would have been used to launch the game: $launch_options"
return 0
fi
@ -1312,13 +1312,14 @@ final_handshake(){
params+=("-nolauncher")
params+=("-nosplash")
params+=("-skipintro")
params+=("\"-name=$name\"")
params+=("\"-mod=$saved_mods\"")
params+=("-name=$name")
params+=("-mod=$saved_mods")
$steam_cmd -applaunch $aid "${params[@]}" &
until [[ $(is_dayz_running) -eq 1 ]]; do
sleep 0.1s
done
logger INFO "Caught DayZ process"
printf "\n"
return 6
}
manual_mod_install(){