LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2001, 06:27 PM   #1
Crusufix
LQ Newbie
 
Registered: Dec 2001
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
Linux Halflife server question.


To setup the Half-life linux server you are suppose to copy or create a link to a file called libhlwon.so
I don't seem to have this file. It's not in the tar.gz file for the server nor does a HDD search come up with it (the I have never let the search complete because it just keeps running and running and really really bogs down my system).
Is this a file I am suppose to have or is this a file that is suppose to come with the hlds_l tar.gz? I am running Mandrake 8.1
 
Old 12-09-2001, 01:35 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I have it in

/usr/games/hlds/libhlwon.so

It comes with Halflife

don't get confused with the copy link stuff, just do this... substitute the path you have hlds in.

This line should be added to
/etc/ld.so.conf

/usr/games/hlds


then run....

ldconfig


if you want you can copy it to one of the paths already in ld.so.conf and run ldconf


--------------------------------------

what are you searching with?


slocate will show it instantly if the database has been updated since you installed hl

try slocate libhlwon.so

if you have not used slocate then run updatedb first as root

or just use locate

Last edited by DavidPhillips; 12-09-2001 at 05:47 AM.
 
Old 03-26-2002, 01:21 PM   #3
DiMenSioN
LQ Newbie
 
Registered: Mar 2002
Location: Holland
Distribution: Mandrake 8.2
Posts: 11

Rep: Reputation: 0
Unhappy I want to run a HLDS to

Help, i have Mandrake 8.2 and a similar problem, i want to run HLDS on it but if i try to run hlds_run it doesnt do anything
I gues i have to do wath u told in the upper message, the only problem is that i dont know what u mean
with the /usr/........
could that be /home/ by me?
i have Hlds under /home/dimension/hlds_l/
Im a compleet n00b with linux

Ok i have put the path where my xxx.so file is in the ld.so.conf file and i have runned ldconfig
If i go to the /home/dimension/hlds_l/ path and i type ./hlds_run
it only says :

"added packfile /home/dimension/hlds_l/valve/pak0.pak (985 files)"
"Protocol version 45"
"Exe version 4.1.0.8"
"Exe build: 15:09:28 sep 17 2001 (1789)"

then it stops, why doesnt it start the hlds?

plz help

Last edited by DiMenSioN; 03-27-2002 at 06:04 AM.
 
Old 03-29-2002, 07:53 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
You will have to load the map


Are you connecting to the Auth server, maybe a firewall issue if your not.
 
Old 03-31-2002, 11:58 AM   #5
DiMenSioN
LQ Newbie
 
Registered: Mar 2002
Location: Holland
Distribution: Mandrake 8.2
Posts: 11

Rep: Reputation: 0
Talking yeah

It works now, it was indeed a firewall, but now i have another problem.
I run a dedicated HLDS on mandrake 8.2 shell, its a p133 with 48mb ram, i have a cable connection
The server works fine but evrytime it changes map all the clients disconnect with a timeout message.

So if i join the server and it changes map, i get the following message: connection to server timed out
I have to reconnect to get in again, why is this?


Thank U for ur answer

DiMenSioN
 
Old 03-31-2002, 11:01 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It's been a while since I ran a server, Had one setup on the boat at work and one at home. I never had that problem.

Maybe it's something in the setup files, but I'm not sure what it would be.


It should just say loading... if I remember correctly.


What does the server say when you are disconnected?



Last edited by DavidPhillips; 03-31-2002 at 11:04 PM.
 
Old 04-01-2002, 09:13 AM   #7
DiMenSioN
LQ Newbie
 
Registered: Mar 2002
Location: Holland
Distribution: Mandrake 8.2
Posts: 11

Rep: Reputation: 0
Unhappy HLDS

The server gives the folowing message:

Droped client Dimension
reason: client timed out


I dont know why, it almost seems as if the server doesnt load the level fast enough and the client drops because it doesnt get data for a while.

Thanks for ur answer

DiMenSioN
 
Old 04-01-2002, 09:28 AM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I saw a problem with masqed ip's on IRF that was something to do with the same port being used for the connection, but never on HLDS.
 
Old 04-01-2002, 11:36 AM   #9
DiMenSioN
LQ Newbie
 
Registered: Mar 2002
Location: Holland
Distribution: Mandrake 8.2
Posts: 11

Rep: Reputation: 0
Question uhhhh?

sorry , i dont realy understand that reply, or maybe i do, but cant see the connection with it to HLDS.

Could u plz explain it to me?

Thanks

DiMenSioN
 
Old 04-01-2002, 02:04 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Is the hlds server directly connected to the internet?

Do internet clients and Lan clients both get disconnected?
 
Old 04-02-2002, 12:06 PM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I installed the server again,


What it will do at the end of the level is freeze the screen and when someone clicks the screen it will say loading...


It must still be a firewall issue, or your setting for max ping may be causing a problem.


Try the ping booster

http://www.udpsoft.com/booster/
 
Old 04-02-2002, 03:15 PM   #12
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Rep: Reputation: 30
I'm not trying to be mean but that doesn't sound like much of a machine to be running a dedicated server on. How many clients are you allowing to connect. You should definitely limit that number. I ran the hl server a while back and if I remember correctly it was fairly resouce intensive..and I was running it on a dual P3-800 with 256MB RAM. I would start by limiting the number of clients...of course, this is assuming there aren't any other network related problems. (firewall, etc)
 
Old 04-03-2002, 03:25 AM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I had it running good on a P100 a while back, Now It's on a 400.

CPU's doing good, memory not a problem.

The ping booster will let it use the cpu to get about 100 fps if the clients pull it. Also it will work harder to update client data.


Try it without the ping booster because it's much easier on the cpu, then try it with it.


What's in server.cfg and valve.rc?
What are your firewall settings?
 
Old 04-03-2002, 07:11 AM   #14
DiMenSioN
LQ Newbie
 
Registered: Mar 2002
Location: Holland
Distribution: Mandrake 8.2
Posts: 11

Rep: Reputation: 0
Thumbs up HLDS

Hello

Well for some information, i already have pingbooster running but it doesnt make any differcence
I tried the server with 4-8 clients 4 clients runs fine, 8 clients is a bit of a problem, it gets a little laggy then.
At startup is says:
server running at (40-60)
I have never made that 100fps that is should be running at :S

About the firewall, the serverpc (P133) is also running as an inet router in my LAN so its directly connected to the inet, the standaard firewall from Mandrake 8,2 is set to low security.

The message i get (as a client) is this:
disconnected from server, connection timed out

The server says this:
dropped client DiMenSioN from server
reason: client timed out

THis is not literary wat it says, but i hope U get what i mean.

THanks for the help

DiMenSioN

Last edited by DiMenSioN; 04-03-2002 at 07:13 AM.
 
Old 04-03-2002, 07:18 AM   #15
DiMenSioN
LQ Newbie
 
Registered: Mar 2002
Location: Holland
Distribution: Mandrake 8.2
Posts: 11

Rep: Reputation: 0
I dont get disconnected

Since im running ping booster, and changed my cl_timeout on my client machine (LAN) i dont timeout on the server, it sometimes does a bit funny with loading the map but i think thats something on the clients pc CS. That has nothing to do with the Linux server.

The inet clients almost always timeout, even if they set cl_timeout to 600 to. Sometimes ppl with a fast connection dont time out if the mapchange is fast.

I suspect that is has something to do with loading the map, if it takes to long then the clients timeout, if it would go faster (changing to a map that has allready been played) then they dont always timeout.

Did u have the same problem with ur p100 HLDS?

Thanks for the help

DiMenSioN
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Implications when giving out a shell account to execute halflife server scripts nistelrooy Linux - General 4 02-24-2006 12:00 AM
Halflife Server wonderwally Linux - Software 3 04-03-2004 02:11 PM
Halflife server won't go secure! horsepower300 Linux - Newbie 4 07-23-2003 01:26 PM
making halflife server start at boot up progster Linux - Software 2 07-20-2002 07:06 AM
weird halflife server problem k3v0 Linux - General 2 07-05-2002 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration