diff --git a/misc/linux/start_server.sh b/misc/linux/start_server.sh index da980072..c68292e0 100644 --- a/misc/linux/start_server.sh +++ b/misc/linux/start_server.sh @@ -1,3 +1,7 @@ #!/bin/sh -echo "Edit this script to change the path to ioquake3's dedicated server executable and which binary if you aren't on x86_64.\n Set the sv_dlURL setting to a url like http://yoursite.com/ioquake3_path for ioquake3 clients to download extra data" -~/ioquake3/ioq3ded.x86_64 +set dedicated 2 +set sv_allowDownload 1 +set sv_dlURL "" +set com_hunkmegs 64 "$@" +echo "Edit this script to change the path to ioquake3's dedicated server executable and which binary if you aren't on x86_64." +echo "Set the sv_dlURL setting to a url like http://yoursite.com/ioquake3_path for ioquake3 clients to download extra data." + +# sv_dlURL needs to have quotes escaped like \"http://yoursite.com/ioquake3_path\" or it will be set to "http:" in-game. + +~/ioquake3/ioq3ded.x86_64 +set dedicated 2 +set sv_allowDownload 1 +set sv_dlURL \"\" +set com_hunkmegs 64 "$@" diff --git a/misc/osx/start_server.sh b/misc/osx/start_server.sh index 66a295ff..d9154b2f 100644 --- a/misc/osx/start_server.sh +++ b/misc/osx/start_server.sh @@ -1,3 +1,7 @@ #!/bin/sh -echo "Edit this script to change the path to ioquake3's dedicated server executable.\n Set the sv_dlURL setting to a url like http://yoursite.com/ioquake3_path for ioquake3 clients to download extra data" -/Applications/ioquake3/ioquake3.app/Contents/MacOS/ioq3ded +set dedicated 2 +set sv_allowDownload 1 +set sv_dlURL "" +set com_hunkmegs 64 "$@" +echo "Edit this script to change the path to ioquake3's dedicated server executable." +echo "Set the sv_dlURL setting to a url like http://yoursite.com/ioquake3_path for ioquake3 clients to download extra data." + +# sv_dlURL needs to have quotes escaped like \"http://yoursite.com/ioquake3_path\" or it will be set to "http:" in-game. + +/Applications/ioquake3/ioquake3.app/Contents/MacOS/ioq3ded +set dedicated 2 +set sv_allowDownload 1 +set sv_dlURL \"\" +set com_hunkmegs 64 "$@"