LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   HLDS linux dedicated server help installation. (https://www.linuxquestions.org/questions/linux-games-33/hlds-linux-dedicated-server-help-installation-144714/)

RHLinuxGUY 02-11-2004 12:41 AM

HLDS linux dedicated server help installation.
 
I've just downloaded the latest Half-life dedicated server for linux and I would like to know how to install it... so far I got this down... I first make a "hlds" directory, then i do a "chmod +x hlds_l_1120_full.bin", then i do a "./hlds_l_1120_full.bin", it brings me to the license agreement thing and I click yes, but then it says this...

"extracting /usr/steam/hlds_l_1120_full.tgz...
hlds_l_1120_full.bin: error extracting payload, No such file or directory"

what do I do? I've aleady tried "sh ./hlds_l_1120_full.bin"
and it says this? "./hlds_l_1120_full.bin: ./hlds_l_1120_full.bin: cannot execute binary file"

How do I install this dedicated server? I need it for my klan and I would like to get it up before the weekends over. thanx in advance!

Siriond 02-13-2004 02:14 PM

I have the same error and was looking for info but can't find anything. anyone know how to fix this?

iamyourgodnow 02-14-2004 07:39 PM

You need to do this;)
$su -
#mkdir /etc/steam
#chmod 777 /etc/steam
then go back to user mode console and do this
#./hlds_l_1120_full.bin
the file will be on /etc/steam
then move your hlds_l_1120_full.tgz to the dir you want to and extract;)

RHLinuxGUY 02-15-2004 02:05 AM

it says bash: ./hlds_l_1120_full.bin: Permission denied

RHLinuxGUY 02-15-2004 02:16 AM

do i need that steam linux client thing

cillie 02-16-2004 07:32 AM

where can i get the new counter strike steam 1.6 dedicated linux server?

RHLinuxGUY 02-17-2004 12:40 AM

go to http://www.steampowered.com/index.php?area=getsteamnow and download the linux dedicated... :-)

cillie 02-17-2004 05:11 AM

thanx, hint on linux installt
 
Tanx

ill try and download it tonight

dont know yet how the install looks, or work like but u dont maybe can give me a hint or something in advance?

hostage 02-18-2004 07:18 AM

hey it says exactly what it means, you do not have that folder there, it took me a second time to look at it closely to understand. LOL the answer is under our nose. It is kind of stupid how they want it exstracted to that location as I would prefer it in a different location.


It is trying to exstact it to /usr/steam/. /usr/ is there but steam/ isn't. I got it working, this is how..

$ su -
$ mkdir /usr/steam/
$ chown <user> /usr/steam/
$ chgrp <user> /usr/steam/
(user is a user other than root that you want to run it.)
$ exit
(goes back to your pervious user NOT ROOT!)
$ chmod 700 hlds_l_1120_full.bin
$ ./hlds_l_1120_full.bin
(it exstracts it to /usr/steam/)
$ cd /usr/steam
$ gunzip hlds_l_1120_full.tgz
$ tar xvf hlds_l_1120_full.tar
(exstracts it to a /usr/steam/hlds_l/*)

Well good luck guys, that is where I about left out. BTW it's /usr not /etc just fyi

-Doron :D

RHLinuxGUY 02-18-2004 09:44 PM

holey shnit it works! but now it tells me that i need to update my sever or something so restart it and i did over and over again but i think its something else,...
here it is...
[root@lsanca2-ar29-4-42-038-016 hlds_l]# ./hlds_run -game cstrike +exec server.c fg +maxplayers 16 +map de_dust
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash

Console initialized.
scandir failed:/usr/steam/hlds_l/./platform/SAVE
Protocol version 46
Exe version 1.1.2.0/Stdio (cstrike)
Exe build: 13:41:36 Sep 9 2003 (2511)
couldn't exec language.cfg
couldn't exec listip.cfg
couldn't exec banned.cfg
Server IP address 4.42.38.16:27015
Downloading Security Module from Speakeasy.net ...
Completed downloading Security Module from Speakeasy.net
Server is in Secure Mode.
scandir failed:/usr/steam/hlds_l/./platform/SAVE

couldn't exec listip.cfg
couldn't exec banned.cfg
Adding auth server 65.73.232.251:27040
Adding auth server 65.73.232.253:27040
Adding master server 207.173.177.11:27010
Adding master server 207.173.177.12:27010
MasterRequestRestart
Your server needs to be restarted in order to receive the latest update.
MasterRequestRestart
Your server needs to be restarted in order to receive the latest update.
so ya, its being gay but im being patient so ther you go... thanx in advance! :-)

cillie 02-19-2004 06:40 AM

Hi, me again

i get the error

couldn't exec listip.cfg
couldn't exec banned.cfg

as well, then the server freezes
I start the server as i would start the dedicated server of cstrike 1.5, dont know if its wrong but hears the line i normaly use (NB! i use the server on lan's not the internet)

./hlds_run -game cstrike -insecure -nomaster +sv_lan 1 +max_players 32 map de_dust

if anyone got an easier why would apresiate it, but what i did i wrote a script file so i just run "test" for example with the long ./hlds_run.... command in.

thanks

RHLinuxGUY 02-19-2004 08:59 PM

Try running the internet server to see if that works, then with trial and error send backt and someone can give more info. This is what i used and it sarted that download thing...
./hlds_run -game cstrike +exec server.conf +maxplayers 16 +map "whatever"

cillie 02-20-2004 01:55 AM

Ok

so this is what pop's up if I try to start the server:



Auto restarting the server on crash

Console initialized
scandir failed /usr/steam/hlds_l/./valve/SAVE
scandir failed /usr/steam/hlds_l/./platform/SAVE
Protocol version 46
Exe version 1.1.2.0/Stdio (cstrike)
Exe build : 13:41:36 Sep 9 2003 (2511)
Couldnt exec language.cfg
Server IP address 127.0.0.1:27015
Downloading Security Module from speakeasy.net ...
Error downloading Security Module from speakeasy.net
Server is not secure [can fix this by adding -insecure to the run line]
scandir failed /usr/steam/hlds_l/./valve/SAVE
scandir failed /usr/steam/hlds_l/./platform/SAVE

No auth server parsed
Disabling Valve Authentication
No master loaded [can fix this by adding -nomaster to the run line]
Using default master


From there on it just hangs.
Doesnt want to bring up the map that i selected and i used de_dust as the map.

RHLinuxGUY 02-20-2004 10:07 PM

while installing hlds, did you forget to do this?
>export LD_LIBRARY_PATH=/"whever your hlds is located"/hlds_l:$LD_LIBRARY_PATH <enter>
What the above does is tells Linux to look in teh "/"whever you put it/hlds_l" directory for dynamic libraries, don't forget to change the paths to your own system. As I use /usr/steam/hlds_l/ you maybe using /usr/halflife/steam/hlds_l (or whatever...) if you don't use the right path, the server will NOT work, so double check before you start. then do your game....

cillie 02-22-2004 11:39 AM

Jip i didnt know i had to do that.

So do i need to unistall and then reinstall the dedicated server or is there a other way.

And if i need to reinstall where and when do i do the "export LD_LIBRARY_PATH=/usr/steam/./ ?

my system use the same path as urs as i can remember.


All times are GMT -5. The time now is 01:29 AM.