.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old June 3rd, 2005, 06:34 PM

magnate magnate is offline
Sergeant
 
Join Date: Mar 2004
Location: London, UK
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
magnate is on a distinguished road
Default 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"
Reply With Quote
  #2  
Old June 3rd, 2005, 07:00 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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!)
Reply With Quote
  #3  
Old June 4th, 2005, 09:07 AM

magnate magnate is offline
Sergeant
 
Join Date: Mar 2004
Location: London, UK
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
magnate is on a distinguished road
Default 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"
Reply With Quote
  #4  
Old June 4th, 2005, 10:59 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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!)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On

Forum Jump


All times are GMT -4. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.