@ -10,7 +10,7 @@ local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
# Fixes: [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam,or a local steamclient.so.
if [ ! -f " ${ HOME } /.steam/sdk32/steamclient.so " ] ; then
fixname = "steamclient.so general "
fixname = "steamclient.so"
fn_fix_msg_start
mkdir -pv " ${ HOME } /.steam/sdk32 " >> " ${ lgsmlog } "
cp -v " ${ steamcmddir } /linux32/steamclient.so " " ${ HOME } /.steam/sdk32/steamclient.so " >> " ${ lgsmlog } "
@ -23,7 +23,7 @@ if [ "${shortname}" == "ss3" ]; then
fixname = "libsteam.so"
fn_fix_msg_start
mkdir -pv " ${ HOME } /.steam/bin32 " >> " ${ lgsmlog } "
cp -v " ${ serverfiles } /Bin/libsteam.so " " ${ HOME } /.steam/bin32/libsteam.so " >> " ${ lgsmlog } "
cp " ${ serverfiles } /Bin/libsteam.so " " ${ HOME } /.steam/bin32/libsteam.so " >> " ${ lgsmlog } "
fn_fix_msg_end
fi
elif [ " ${ shortname } " = = "hw" ] ; then
@ -31,13 +31,13 @@ elif [ "${shortname}" == "hw" ]; then
if [ ! -f " ${ serverfiles } /Hurtworld_Data/Plugins/x86/steamclient.so " ] ; then
fixname = "steamclient.so x86"
fn_fix_msg_start
cp -v " ${ steamcmddir } /linux32/steamclient.so " " ${ serverfiles } /Hurtworld_Data/Plugins/x86/steamclient.so " >> " ${ lgsmlog } "
cp " ${ steamcmddir } /linux32/steamclient.so " " ${ serverfiles } /Hurtworld_Data/Plugins/x86/steamclient.so " >> " ${ lgsmlog } "
fn_fix_msg_end
fi
if [ ! -f " ${ serverfiles } /Hurtworld_Data/Plugins/x86_64/steamclient.so " ] ; then
fixname = "steamclient.so x86_64"
fn_fix_msg_start
cp -v " ${ steamcmddir } /linux32/steamclient.so " " ${ serverfiles } /Hurtworld_Data/Plugins/x86_64/steamclient.so " >> " ${ lgsmlog } "
cp " ${ steamcmddir } /linux32/steamclient.so " " ${ serverfiles } /Hurtworld_Data/Plugins/x86_64/steamclient.so " >> " ${ lgsmlog } "
fn_fix_msg_end
fi
elif [ " ${ shortname } " = = "tu" ] ; then