0 Members and 1 Guest are viewing this topic.
...PC vs Mac is like AK47 vs M4A1...
#!/bin/bashPATCH_DIR=$(cd $(dirname "$0");pwd)if [ $# -eq 0 ]; then TARGET_DIR="$PATCH_DIR"elif [ $# -eq 1 ]; then TARGET_DIR=$(cd "$1";pwd)else echo "Usage: ./update.sh soldatserver_dir" echo "If you want to patch multiple servers at the same time you can use the *nix utility find:" echo "Example: find server* -maxdepth 0 -exec ./update.sh \"{}\" \\;" exitfiif [ ! -d "$TARGET_DIR" ]; then echo "Usage: ./update.sh soldatserver_dir" exitfiif [ ! -f "$TARGET_DIR/soldat.ini" ]; then echo "Usage: ./update.sh soldatserver_dir" exitfiecho "Patching server: $TARGET_DIR"cd $TARGET_DIRif [ "$PATCH_DIR" != "$TARGET_DIR" ]; then cp -r $PATCH_DIR/* .firm -rf ./update.txt ./update.sh ./soldatserver.exe ./soldatserver_lazarus.exe ./soldatserver_delphi.exe ./soldatserver_legacy.exe ./soldatserver_lazarus ./soldatserver_delphiif [ -f "./soldatserver" ]; then chmod +x ./soldatserverfiif [ -f "./soldatserver_legacy" ]; then chmod +x ./soldatserver_legacyfiif [ -f "./soldatserver_osx" ]; then chmod +x ./soldatserver_osxfised -i "/PacketRate_Adjusting=.*/d" "$TARGET_DIR/soldat.ini"echo "Patched!"
How to update the server:If you're on *nix run the update.sh script in the patch directory to automatically patch the server.To manually update the patch, do the following steps:1) Add all the files (overwrite existing files) from the patch, except for update.txt and soldat.ini2) Remove following entries in your existing soldat.ini: PacketRate_Adjusting=13) chmod +x the soldatserver* filesDone!
Why do you get bink from teammates when using rett?