|
|
|
 |

June 3rd, 2005, 04:13 PM
|
Sergeant
|
|
Join Date: Mar 2004
Location: London, UK
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Wanted: idiot\'s guide to linux server setup
Quote:
Gandalf Parker said:
Ahhhh memory is coming back now.... See if this really REALLY old thread might help.
|
Well, sort of. I did apt-get install xlibmesa-gl, and it then required libGLU.so.1 so in a fit of inspiration I did apt-get install xlibmesa-glu. I don't mind these, they're only a few hundred k each.
So then I tried again, and it asked me for the CD key. So I typed it in, and it bombed with
-bash: my CD key command not found
which is bizarre. Then I realised I was trying to run it in the background ...
You see, I want to run it unattended. Is that possible, for one of the players to choose the map and settings after races have been chosen, instead of having to choose those on the server?
Failing that, I can script all the settings and then run it in the background, right? Or is it going to ask for the damn CD key every time?
While you're there, I've just tried running the client on my other linux box, in Gnome. It takes 100% CPU all the time! What's the solution for this? In Windoze it takes 100% CPU if I'm stupid enough to leave it at the game selection screen, but it's fine once I start the game and move to the main map screen. In Linux it's still using 100% CPU on the main map screen. Am I doing something wrong?
CC
__________________
There will be poor always, pathetically struggling - look at the good things you've got ...
-- from "Jesus Christ Superstar"
|

June 3rd, 2005, 04:57 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Wanted: idiot\'s guide to linux server setup
I hope you read carefully. That was an old answer, and Im on Debian linux. That answer might not have been your best answer
I think the CD key thing is that linux is coming from the unix setup. You installed Dom2 is system wide, but running it is local user. You can have 100 Dom players on a linux system so they all dont need Dom2 loaded in their directory but they will need their own keys.
Copy the key file to your home dir. Actually, if you answered the question once already it might hve made you a local copy
And as for the cpu thing all most hostings were schedulted "run and quit" things so I didnt leave it running
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

June 3rd, 2005, 06:34 PM
|
Sergeant
|
|
Join Date: Mar 2004
Location: London, UK
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Wanted: idiot\'s guide to linux server setup
Quote:
Gandalf Parker said:
I hope you read carefully. That was an old answer, and Im on Debian linux. That answer might not have been your best answer
I think the CD key thing is that linux is coming from the unix setup. You installed Dom2 is system wide, but running it is local user. You can have 100 Dom players on a linux system so they all dont need Dom2 loaded in their directory but they will need their own keys.
Copy the key file to your home dir. Actually, if you answered the question once already it might hve made you a local copy
And as for the cpu thing all most hostings were schedulted "run and quit" things so I didnt leave it running
|
You're right, it only asked for the CD key once, so that's fair enough. It's almost possible to run it totally unattended, after the initial command line. What I need is a switch for game name, which doesn't seem to exist. Currently I can type
./dom2 -TSq --port X --mapfile map.map --other_settings --normai 0 --hardai 3 --impai 7 etc. etc.
and off we go, but then it asks for a game name which I have to type in manually. After typing in the game name I have to do ctrl-z and "bg 1" to background it. It's not a truly big deal, but it would be really cool if I could just start it with
./dom2 -TSq --port X --mapfile map.map --gamename mygame --other_settings --normai 0 --hardai 3 --impai 7 etc. etc. &
Ho hum. Nice to have it up and running.
Did you have any comments on the 100% cpu issue? It'd be nice to play in linux.
Thanks for all your help.
CC
__________________
There will be poor always, pathetically struggling - look at the good things you've got ...
-- from "Jesus Christ Superstar"
|

June 3rd, 2005, 07:00 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Wanted: idiot\'s guide to linux server setup
The name is anything after the switchs. It has to be the last thing on the command line.
You can create a seperate login to run games under, and set the systems paramters so that one login is only allowed a certain amount of CPU
also you can put nice in front of any command to set the amount of load it can have such as
nice ./dom2 -TSq --port X --mapfile map.map --other_settings --normai 0 --hardai 3 --impai 7 MyGame
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

June 4th, 2005, 09:07 AM
|
Sergeant
|
|
Join Date: Mar 2004
Location: London, UK
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Wanted: idiot\'s guide to linux server setup
[quote]
Gandalf Parker said:
The name is anything after the switchs. It has to be the last thing on the command line.[quote]
Ah! Thank you, I'll try that for the next game I host.
Quote:
You can create a seperate login to run games under, and set the systems paramters so that one login is only allowed a certain amount of CPU
also you can put nice in front of any command to set the amount of load it can have such as
nice ./dom2 -TSq --port X --mapfile map.map --other_settings --normai 0 --hardai 3 --impai 7 MyGame
|
Ah, yes it's not the server CPU load that's the problem, it's the client program, running in X. Using nice will just make it slower still. Maybe its a DRI issue, I'll have to look into it. I'm not sure I have my RadeOn card optimised in X yet.
Thanks for all your help - see you in a game sometime,
CC
__________________
There will be poor always, pathetically struggling - look at the good things you've got ...
-- from "Jesus Christ Superstar"
|

June 4th, 2005, 10:59 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Wanted: idiot\'s guide to linux server setup
in the game client there are many switches for lowering it. The graphic level, turning off things like music, animated backgrounds, fades, etc etc
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|