Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: sourceserver.info. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

DeaD_EyE

Administrator

  • »DeaD_EyE« ist der Autor dieses Themas

Beiträge: 3 980

Wohnort: Hagen

Beruf: Mechatroniker (didaktische Systeme)

Rootserver vorhanden: Nein

  • Nachricht senden

1

Donnerstag, 6. November 2008, 17:20

Server für Left4Dead verfügbar

Wiki-Artikel zum L4D-Server: http://sourceserver.info/wiki/tutorial/server/l4d">http://sourceserver.info/wiki/tutorial/server/l4d</a>

Der Server für Linux und Windows können jetzt mit dem Steamupdatetool herunterladen.
Neuerungen des Servers:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Linux dedicated server changes for Left4Dead

There have been many changes, enhancements, and optimizations with the
dedicated server for Linux:

* All of the code is now being compiled with gcc 4.3.0 and glibc 2.8-8
  in order to take advantage of compiler fixes and optimization
  enhancements. In order to run the l4d Linux dedicated server, you
  will need a system which can run binaries built against this version
  of glibc.

* As a performance enhancement, the dedicated server can now use the
  hardware "RDTSC" timer instead of gettimeofday() for its internal
  timing, on systems which support it ( such systems are identified by
  having the "constant_tsc" flag set in /proc/cpuinfo ). When the code
  detects that the system has this, it will execute a benchmark to
  measure the actual rate of the hardware timer, and use this for all
  timing. If this causes trouble on a system, you can set the
  environment variable "RDTSC_FREQUENCY" to "disabled".

* The Linux dedicated server is now capable of running multiple
  server instances as sub-processes off of one parent process. This
  provides a memory savings (through sharing of read-only data), a
  speedup when starting multiple servers, and also enhances server
  stability by having the servers restart as new sub-processes after
  each game is completed. This is controlled by the "-fork n" option.
  For instance, you can run "srcds_run -fork 5" to start up 5 separate
  server instances in this mode.

* When -fork mode is enabled, some options on the command line can be
  parametrized based upon the server instance, by typing '##' on the
  launching line. For instance, "-fork 10 -netconport 90##" would
  cause the first server instance to use port 9001, the second to use
  9002, etc.


* There is a new remote access feature which allows a server
  administrator (or tool) to create a persistent connection to a
  running server, and to see its entire console output and send it
  commands. This feature is enabled by using the "-netconport" option
  when launching srcds_i486. For instance, if a server is started with
  "-netconport 9000", someone with access to port 9000 of the server
  could type "telnet xxxx 9000" and view the console output. This
  feature is disabled by default, and should only be used when an
  appropriate firewall/tunnel is used to control access to this
  port. Multiple clients can connect to the netconport of a running
  server at the same time.

* If the netconsole is enabled, and the option "-netconpassword xxx"
  is set, the network console will not execute commands received
  through the netconport until the command "PASS xxx" is entered.


In Kurzfassung auf Deutsch:
  • Der komplette Code wurde mit gcc 4.3.0 und glibc 2.8-8 kompiliert (Optimierung). Das System muss imstande sein die Binärdateien auszuführen, welche für diese glibc-Version erstellt worden sind.
  • Es kann jetzt ein Server mit mehreren Instanzen gestartet werden. "srcds_run -fork 5" startet z.B. fünf Instanzen. Um Speicher zu sparen, greifen die Prozesse auf einen gemeinsamen Speicher zu (nur lesen).
  • Wenn der Modus -fork aktiviert ist, kann mit dem Raute-Zeichen (#) der Server parametriert werden. Bei "-fork 10 -netconport 90##" würde z.B. der erste Server -netconport 9001 nutzen, der 2. -netconport 9002, usw..
  • Es gibt eine neue Funktion für den Fernzugriff über eine Telnetverbindung. Diese Funktion kann mit "-netconport" aktiviert werden. Bei "-netconport 9000" läuft der Telnet-Dienst dann auf Port 9000. Diese Funktion ist standardmäßig abgeschaltet. Mehrere Telnet-Verbindungen können simultan zum Server aufgebaut werden.
  • Wenn die "netconsole" Aktiviert ist und die Option "-netconpassword xxx" gesetzt ist, führt die "netconsole" keine Befehle aus, bis der Befehl "PASS xxx" eingegeben wurde.


Der Server kann mit dem Parameter "-game l4d_demo" über "steam" unter Linux oder dem "hldsupdatetool.exe" unter Windows installiert werden.
Der Server wird in "./installationsverzeichnis/l4d_demo" installiert Das Modverzeichs, welches für den Parameter "-game" benötigt wird, ist in "./installationsverzeichnis/l4d_demo/left4dead"

Nach dem Download kann man den Server so starten:
Windows

Quellcode

1
srcds.exe -game left4dead -ip xxx.xx.xx -port 27015 +map l4d_hospital01_apartment

Linux

Quellcode

1
srcds_run -game left4dead -ip xxx.xx.xx -port 27015 +map l4d_hospital01_apartment