The Snippets Thread
01-18-2012, 02:33 AM, (This post was last modified: 01-18-2012, 02:33 AM by Serial Thrilla.)
#8
RE: The Snippets Thread
Some *nix / Linux batch script for HLDS Valve gaming servers.


Half-Life Dedicated Server (HLDS):
Code:
#!/bin/bash

# Starting
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
while true; do
./hlds_i686 -console -game x -ip x -port x +maxplayers x +map x -pingboost 3
done

Replace the "x" with your value and add other parameters if need.
_______________________________________________________

Source Dedicated Server (SRCDS):
Code:
#!/bin/bash

# Starting
while true; do
./srcds_run -console -game x -ip x -port x +maxplayers x +map x
done

Replace the "x" with your value and add other parameters if need.
_______________________________________________________

Create a empty file and paste this code, modify it, so it looks how you need it and save the file into the root folder of your server (where srcds_run or hlds_i686 is).

Source: http://forum.singularity.us.to/thread-96.html (Yes, I'm the person called Technician)
Reply


Messages In This Thread
The Snippets Thread - by MyDigitalpoint - 08-15-2011, 12:00 PM
RE: The Snippets Thread - by HiddenKnowledge - 10-02-2011, 11:35 PM
RE: The Snippets Thread - by MyDigitalpoint - 10-20-2011, 08:24 AM
RE: The Snippets Thread - by Zach - 10-20-2011, 09:37 AM
RE: The Snippets Thread - by Arthur - 10-27-2011, 01:40 PM
RE: The Snippets Thread - by Zach - 10-27-2011, 02:42 PM
RE: The Snippets Thread - by Arthur - 10-27-2011, 09:01 PM
RE: The Snippets Thread - by Serial Thrilla - 01-18-2012, 02:33 AM
RE: The Snippets Thread - by Arthur - 04-12-2012, 07:28 AM

Forum Jump: