How to: setup a "dedicated" (gamehost) server

How to: setup a "dedicated" (gamehost) server

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

How to: setup a "dedicated" (gamehost) server

Post by Dr.InfernO »

I'm starting now to write my first tutorial, so bare with me if I make mistakes.
I'll also improve this tutorial all the time.
If it is in the wrong Forum move it please!

There is now way of setting up a server in a mode which is "almost" very close to a real dedicated sever.

You need some things for it:
- a separate machine (there is no way of running 2 TA:S applications on one)
- Windows 2k, XP, x64, 2k3... (sorry I don't know if it's working under linux this way)
- Altarics lobby-client (posting the link later) or michilus_nimbus hosting bot (not released yet)
- big bandwith with more than 512kbit/s upstream (more is allways better)
- [radmin, pcanywhere or something like that, if your server is not at home. The standard remote desktop administration will not work because of the graphic card emulation.]
- A working spring instalation :wink:
- a CPU better than 2.5 Ghz and at least 512MB RAM is needed if you host more than 4v4.

Quickstart Guide:
------------------------------------------
Step 1:
- install TA:S

Step 2:
- set every setting to minimum and the resolution to 640x480(smallest) and type in the pixel window 1x1.

Step 3:
- install altarics lobby client by copying the files into the TA:S folder.

Step 4:
- run altarics lobby file

Step 5:
- get an account for your server

Step 6:
- host a game

Step 7:
- go on the Altamod menu and activate the bot and the "auto close RTS" feature (very important)
------------------------------------------

Newer versions have also a help.txt included, this file can be use to customize the help message showed by typing "!help".

To keep the preformance up even within a mapchange use the mapcache, which can be created with the included mappicker.

You should also set up your administration rights under:
- options --> altamod --> Rights

Don't forget to set the administrator names:
- options --> altamod --> Admin

Now you are almost ready. You can still do some individual tweaking for yourself, like setting up a new welcome message.

So have fun with running a "pseudo" ded.server.
This is the the only way. (FOR NOW)
It's not a 100% real dedcated server because it still has the GUI in a "reduced as much" way.
I also regonized that the CPU useage was around 10% lower than on the same cpus with a normal GUI on great battles.


So before you start flameing me with something like: "this shit, is not the shit..." - READ FIRST!

If I forgot something tell me here in the Messageboard, please.

Regards Dr.InfernO
Last edited by Dr.InfernO on 05 May 2006, 11:51, edited 2 times in total.
monohouse

Post by monohouse »

lol
User avatar
Rayden
Posts: 377
Joined: 01 May 2005, 13:15

Post by Rayden »

hey mono what's your problem???
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

yeah mono, "what do you mean?"
User avatar
Tim Blokdijk
Posts: 1242
Joined: 29 May 2005, 11:18

Post by Tim Blokdijk »

Well it's very creative way to use of the software. 8)
But monohouse why don't you join the technical discussion in the mailing list and help code a "real" dedicated server.
Instead of hanging around the forum trying to be "l33t".
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

What happened here?

[edit] NM, can we pretend it didn't happen anyways?
monohouse

Post by monohouse »

what problem ? no problem, "this shitt is not the shitt" was just lol
lol, l33t, damn..... duudes you're so heavy.

discussion ? yhea give mee duude, where is that ?
User avatar
Tim Blokdijk
Posts: 1242
Joined: 29 May 2005, 11:18

Post by Tim Blokdijk »

Awhh well, sorry no bad intentions here.

The mailinglist and the archives:
http://lolut.utbm.info/cgi-bin/mailman/ ... ring-linux
http://lolut.utbm.info/pipermail/taspring-linux/
If your quick you can read & comment on the roadmap.
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

I would be very pleased, if some guys will tell us how the experiences with the dedicated server are!
I'm running for now Final Frontier 1.15 on it.
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

just updated the tutorial.
User avatar
Targ Collective
Posts: 202
Joined: 12 Nov 2005, 14:16

Post by Targ Collective »

Nice job. This should be handy for a lot of people, especially for those with slower computers (like me).
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

Targ Collective wrote:Nice job. This should be handy for a lot of people, especially for those with slower computers (like me).
The one problem of the dedicated server is, that it doesn't take the CPU charge from other clients.
That means:
If someone has a very slow computer (1.3Ghz Athlon/P3 or something)
than it will lag/slow down game when bigger battles occur. (like in all normal games)
The dedicated server is thought for long range connections.
That means it will have a much lower ping from europe to america, in comparison to normal broadband connections (this also includes ADSL2+).
And on machines with RAM like 256MB and some unclean 512MB machines it will dramaticly inrease the possibilty of desync.

So keep your computer allways optimized.
Post Reply

Return to “Engine”