Päätin rustata ENGLANNIKSI pienen Enemy-Territory oppaan! RATE ME!

Viestiketju PC:n pelit -osiossa. Ketjun avasi tomi25 09.09.2008.

Viestiketjun tila:
Viestiketju on suljettu.
  1. tomi25

    tomi25 Member

    Liittynyt:
    12.06.2013
    Viestejä:
    37
    Kiitokset:
    0
    Pisteet:
    16
    *edit:Q* - ****OPAS KOPIOITU TÄÄLTÄ http://www.ycn-online.co.uk/guide/ SINNE SIIS KIITOKSETKIN!!**** *edit:Q*

    Many peoples have asked me about how i host dedicicated servers on Enemy-Territory game, well its quite easy, just follow my introductions on this guide.

    RTCW:ET - Home Server Guide
    Who is this guide for? (READ THIS FIRST)
    (A quick note for Linux users, I think you will benefit more from this Advanced Server Guide, It is also for windows however is at a more advanced level and probably faster and better for the advanced user than this guide. It even has links for Linux specific guides)

    Let me start by explaining the limitations and requirements of this type of server:
    1. This Server will run on your PC and will only be online as long as it is open and your internet is on.
    2. You MUST have a fast internet connection (Broadband)
    3. There will undoubtedly be lag, the extent of which will be see section below.
    4. It is unlikely that you can run any other server (e.g. Teamspeak, Web Server) at the same time as this server.
    5. You will not be able to provide fast map download speeds and I recommend you to find a Web Server for this.

    I have attempted to make this guide easy to follow and also hopefully easy to translate with Altavista Babelfish. However some basic computer and RTCW:ET knowledge is required.

    So what's the good news?
    1. Its absolutely free XD !!!
    2. You have full control over the server an can change anything you wish.
    3. You have direct access to the real console, unlike the RCON feature you can see the whole raw server output.

    If you are using a router then you will need to configure it to allow Port Forwarding. In most cases this require that you know the username and password of your router administration page, information about this can be found in your user manual or on the manufactures website. The configuration is explained further down in the guide.

    Lag
    The Lag will depend on your internet connection, here are some guide lines to how many players your connection can handle:
    (These may vary depending on your sv_maxrate setting and on whether you don't mind some lag)

    Connection Download Speed Estimated Upload Speed Max Players
    0.5Mbit/s - 2 Mbit/s 50Kb/s - 200Kb/s 25/Kb/s 6
    4Mbit/s - 8Mbit/s 400Kb/s - 800Kb/s 40/Kb/s 8
    10Mb + ADSL 2 1Mb/s - 2.2Mb/s 80/Kb/s 14
    Tier 1 or higher 1Mb/s + 1Mb/s + 40+


    So why trust my guide? I'm probably not the best Admin out there, but I had my fair share of experiences in Administrating Game Servers, especially Return To Castle Wolfenstein: Enemy Territory with practically every mod that exists for it. I have more recently been developing an ET Mod called ETPHP (more similar to ETAdmin than ETPro/ETPub), this mod focuses mainly on providing ETPro with admin !commands as well as integrating your Clan Portal website (such as nuked-klan or php-nuke, visit www.lss-clan.co.uk for an example). With the help of TuuT (organiser of ETWars) we have recently applied a Fix to Linux ET 2.55 Servers preventing the Boom Bug (a buffer overflow bug causing a fatal crash). These fixed server files are run on all YCN Online Servers and will soon be available for public download (including windows version).
    It is safe to say that I know what I 'm doing.


    Guide Overview
    This guide will not have everything about how to start and admin a RTCW:ET server, far from it. I will start with ET 2.55 but provide instructions for upgrading to the latest versions. This guide focuses on Windows systems but many of the content covered in this guide also applies to Linux servers. It will however cover all the important features and provide links for other relevant guides, manuals and documentations. Here is a brief outline of the content covered in this guide:

    1. Router/Firewall Configuration (Port Forwarding).
    2. Server File Layout (Which file/folder does what).
    3. CVARs and Server Configuration file (Server.cfg).
    4. How to Start/Stop your server (using ET.bat file).
    5. Applying Mods.
    6. Upgrading to 2.60b.

    Almost every thing on this guide can be found within other guides/documentation on the internet. As a server administrator, Google (or your preferred search engine) will be your best friend, so you should get good at searching the web. Never ask any one for any advice until you have checked Google, people write these guide for people to read them and NOT to be asked the same questions that the guide answers!


    1. Router And Firewall Configuration (Port Forwarding).
    (You can skip this section if your PC is connected directly to the internet (e.g. through a USB modem) and you do not have a Firewall. However this is extremely insecure, you should consider installing a firewall then reading this section)

    For those of you who know what your are doing, RTCW:ET uses UDP port 27950-27970 (for both incoming and outgoing connections). I have not checked the exact ports required to be open but this range definitely covers all of them. You must have at least port 27960 forwarded.

    If you are new to Port Forwarding then let me explain why this has to be done and who needs to do it. If you are using a router or connecting to the internet through another PC/Gateway (not connected directly to your Modem) then your router needs to be configured to allow people to connect from the internet. The first thing you need to do is set a Static IP, follow this Static IP Manual. Remember your LAN Static IP after you have done this.

    The second step is to configure your router to forward all the ports used by RTCW:ET to your PC. Please read the following manual (after you have setup a Static IP address) on how to do this. Port Forwarding. The website also tells you your external IP address, depending on your internet connection this may change every time you connect, this is what other players will need to enter in order to connect to your RTCW:ET server however your server should also display in the server list. With most broadband connections you are given a "Sticky" IP address, which means that it is unlikely to change, however it will probably change when you change your network hardware.

    A quick word about firewalls. They are undoubtedly your best friend and your biggest enemy at the same time, especially if you do not know how to use them. In most cases your firewall can allow rules for specific applications, once you actually run this RTCW:ET server your firewall may ask you if you want to Allow/Deny access, Select Yes - Always, and you are sorted. For those with a hardware firewall or one that does not ask you if you simply want to give an application full internet access, you will need to configure firewall rules. Read your firewalls documentation about how to do this, you need to allow connections on these ports: UDP 27950-27970.


    2. Server File Layout (Which file/folder does what).
    Windows XP tends to hide file extensions to make life easier for the average user, however this makes our life difficult, so before you start this step do the following:
    1. Open any folder (e.g. My Computer).
    2. On the menu bar go to: Tools > Folder Options.
    3. Select the "View" tab.
    4. Disable (un-tick) "Hide extensions for known file types".

    This is most important part of the guide, I will be explaining what does what and where you need to load mods/maps/configuration files. Firstly you will need to make a folder which we will run the server from, you can make this folder anywhere (your desktop if that's convenient). However I do not recommend that you actually play RTCW:ET game from this directory. Since every one will make this different, I will refer to this folder as the ServerRoot from now on. I will also refer to where you installed RTCW:ET (program files by default) as GameDir (Directory).

    Server Files
    There are two ways to obtain the server files for your game. I recommend you use the second option because these files have been checked by me, however the first option requires less downloads.

    Option 1 (Less to download)
    All the server files can be found in your GameDir so you can simply copy the content of your GameDir into your ServerRoot and then delete the extra files/folders. I recommend that you download the ET.bat file and place it in your ServerRoot (next to ET.exe) since this file makes it easier to start the server.
    ET.bat

    Option 2 (Recommended)
    You can download the tested server files here: et.zip
    Once you have downloaded the file, unzip it into your ServerRoot. I have excluded the pak0.pk3 file from this zip file since it is over 200Mb, and it can simply be copied from your GameDir/etmain/ folder into ServerRoot/etmain/. If you do not have access to your game dir then you can download this file here (warning large download)
    pak0.pk3


    3. CVARs and Server Configuration file (Server.cfg).
    First of all lets define CVAR: Console Variable, which means a variable which can be seen/edited through the in game console (accessible by ` key in game or as a separate window for your server). There majority of CVARs can be modified while the server is running however some CVARs cannot be set after the game has started and A few are Read Only and cannot be modified at all after set. Such variables are added into the command line (explained later) and are loaded before the rest of the game.

    By using the ET.bat file to start the game we can view/set all the command line variables to be set before the games. You can simply edit the ET.bat file with note pad and change or add any off the CVARs. Do not remove the CVARs in the ET.bat file provided, however you can modify the fs_game variable (explained later) and the sv_punkbuster to disable/enable punkbuster. The last part of the command line is the "+exec server.cfg" command which tells the game to read and process the server.cfg file which contains all the other variables which do not need to be defined in the command line (the exec command can be used within the server.cfg to load further configuration files).

    The server.cfg is the main configuration file which loads all the settings and maps that the server will run. I cannot explain every CVAR that you will find in the server.cfg but most off them have comments (starting with // which are ignored by the game engine). The most useful resource on the internet for administrating RTCW:ET servers by far is CVAR List (this list also includes ETPro variables, only use ETMain CVARs). This website also contains a guide similar to this one but it is written for the advanced administrator with experience unlike this guide which is suitable for even the novice user.

    You should now open your server.cfg (located in ServerRoot/etmain/) and edit it to your liking. Most of the default CVARs are explained in this link: Server Config. Please note that the in the default config the punkbuster settings are loaded from the punkbuster.cfg file (loaded by exec punkbuster.cfg). I recommend you keep these files separated (unlike shown in that link) since long config files are both confusing and can cause a buffer overflow. I strongly recommend that if you add any big blocks of settings that you write them to a separate file and add a exec ConfigName.cfg line to your server.cfg. Do not modify or remove the "exec campaigncycle.cfg" line.

    All your config files should be in etmain or your mod folder which is defined by the fs_game cvar (explained later).


    4. How to Start/Stop your server (using ET.bat file).
    (The .bat extension tells your computer to run the .bat file as command line, basically run the programs defined in the file)

    There are many ways to start a server but I have decided to run the server from a .bat file for the following reasons:

    1. They are easy to edit with notepad.
    2. They are very easy to run.
    3. The directory variables (that let the server know where it is being run from) are set properly so your server will always know where to find the game files.
    4. Similar to above they do not have any absolute directories, and can be run from any where, you can copy the same .bat file to run on a different server.

    You can open your .bat file with notepad by right click > edit. It simply says run the ET.exe executable and send it the instructions (after the ET.exe).
    Assuming you have edited your server.cfg correctly then you can now try starting it. Simply double click on the ET.bat file to run it and it should bring up a MSDos Prompt window which will tell you what it is trying to run. It will also load RTCW:ET and if you left the "+set dedicated 2" part intact then it should only load the console (and not the full game). If you get an error then you have not followed this guide properly and are most likely missing the pak0.pk3 file from the ServerRoot/etmain/ directory.

    You can then check that the server is running by typing "status" into the Server Console. It should reply with the map name and an empty list of players, if the server is not running (you will get a different message) then you have edited the server.cfg incorrectly, make sure that there is an "exec campaigncycle.cfg" line and that the campaigncycle.cfg exists in the ServerRoot/etmain folder.

    5. Applying Mods.
    If you are not happy with what RTCW:ET offers on its own or just want to try something new then you can add a mod to the server, but first you need to decide what mod you want to run. Remember that your server will lag so a competition (scrim) server may not be such a good idea, the best choice is probably to get a small public mod. Here is a list of all popular mods for RTCW:ET:
    Mod Name fs_game Type Mod Links Version Restrictions
    ETPro etpro Competition ETPro
    Documentation
    CVAR List 2.55 up to ETPro 2.0.7
    ETPub etpub Public ETPub
    Documentation -
    Jaymod jaymod Public Jaymod
    Documentation (pdf) 2.0.3/4 Recommended
    2.0.10/11 for advanced users only
    NoQuarter noquarter Public NoQuarter
    Documentation 2.55 up to NoQuarter 1.0.2

    After you have chosen a mod make sure you download the Windows version which is compatible with 2.55. You should follow the instillation instructions provided by each website, however I will also explain the outline of the instillation procedure:
    (I will refer to the name of your mod as FS_GAME, it is good practice to use Lower Case letters for your FS_GAME, so etpub not ETPUB)
    1. Edit the ET.bat file, change the +set fs_game "etmain" to +set fs_game "FS_GAME" where FS_GAME is the fs_game of your mod (e.g. etpub).
    2. Download and unzip the mod files (do not unzip into the server).
    3. Create a folder in your ServerRoot called FS_GAME for your mod. I will refer to this as FS_GAME_DIR
    4. Copy the "qagame_mp_x86.dll" from the downloaded mod to the folder you just created.
    5. In the FS_GAME_DIR you just made create a file called FS_GAME.cfg (replace FS_GAME, e.g. etpub).
    6. Copy all the CVAR settings for that mod only (not etmain ones) into the newly created cfg file. Every mod will supply you with some sort of an example.cfg or a server.cfg.
    7. Edit your ServerRoot/etmain/server.cfg and add a line at the end: "exec FS_GAME.cfg" (replace FS_GAME, e.g. etpub).

    Shrubbot (For Public Mods accept Jaymod 2.10 only)
    Most public mods now support admin levels in the form of a shrubbot.cfg file. Copy this file to your FS_GAME_DIR and then open it with notepad to edit it. The shrubbot syntax is quite easy to understand, the flags for a level are the commands that the level will have, more information about the syntax and flags can be found in the documentation or your mod. (READ IT!)
     
    Viimeksi muokattu: 09.09.2008
  2.  
  3. BforeDusk

    BforeDusk Senior member

    Liittynyt:
    15.09.2006
    Viestejä:
    6,570
    Kiitokset:
    7
    Pisteet:
    118
    I will RATE you, fusking lousy copycat, rip-off leecher.
    http://www.ycn-online.co.uk/guide/
    Credit where the credits due.

    Kiitokset oikealle tekijälle: (Lone Soldier Squadron) Clan Leader
    Toi on ainoa sun kirjoittama ja siinäkin kirjoitusvirheitä.

    Miksi vaivautua lukemaan sun visuaalisti rumempaa tekstiasemointia?
    Miksi katsoa ohjeita ilman kuvia?

    Olisit edes vaivautunut kääntämään ton tekstin, niin täällä Lontoota ymmmärtämättömät kiittäis sua, tackar o pockar!
    Missä on linkki?
    Ai niin, pakkohan se oli poistaa, muuten olis heti nähnyt mistä toi on kopioitu.
    (Missä muut linkit?)
     
    Viimeksi muokattu: 09.09.2008
  4. kerbo

    kerbo Regular member

    Liittynyt:
    15.05.2005
    Viestejä:
    2,796
    Kiitokset:
    4
    Pisteet:
    48
    Hehheh.. BUSTED!
     
  5. spektain

    spektain Member

    Liittynyt:
    22.03.2008
    Viestejä:
    80
    Kiitokset:
    0
    Pisteet:
    16
    vittu mitä runkkareita taas liikenteessä
     
  6. spotless

    spotless Regular member

    Liittynyt:
    13.09.2006
    Viestejä:
    1,678
    Kiitokset:
    0
    Pisteet:
    46
  7. pclekuri

    pclekuri Regular member

    Liittynyt:
    30.11.2005
    Viestejä:
    311
    Kiitokset:
    0
    Pisteet:
    26
    Todellaki BUSTED! näin jo tossa heti alussa vähä control c:tä
    mun mielestä aika vanha peliki jo eiköhän netistä jo ole löytyny kauan aikaa ohjeita kyseiseen peliin.
     
  8. 79atanos

    79atanos Regular member

    Liittynyt:
    20.05.2008
    Viestejä:
    1,945
    Kiitokset:
    15
    Pisteet:
    48
    Heh =) Vai tämmöstä :D Noh, yritys hyvä kymmenen vai miten se meni, voi voi...
     
  9. OneMember

    OneMember Active member

    Liittynyt:
    12.01.2006
    Viestejä:
    3,197
    Kiitokset:
    60
    Pisteet:
    78
    Raportoitu, joten seurataan mielenkiinnolla mikä on jannun kohtalo :p
     
  10. _MiCe_

    _MiCe_ Member

    Liittynyt:
    12.06.2013
    Viestejä:
    43
    Kiitokset:
    0
    Pisteet:
    16
    buhahhhahahahaah...



    "Many peoples have asked me about how i host dedicicated servers on Enemy-Territory game, well its quite easy, just follow my introductions on this guide. "
    Siis kyllä ton ois paremminki voinu tehä ei oikee selvii kaikki.
     
  11. LoBer

    LoBer Regular member

    Liittynyt:
    24.01.2006
    Viestejä:
    467
    Kiitokset:
    0
    Pisteet:
    26
    Ei vittu inhoon näitä korostusotsikoita ja sitte kahtoo viestin nii täyttää copy paskaa. Sais antaa pitkät bannit ihan periaatteesta. -.-
     
  12. Quiote

    Quiote Moderator Ylläpitäjä

    Liittynyt:
    20.12.2005
    Viestejä:
    2,215
    Kiitokset:
    0
    Pisteet:
    46
    *lukittu*

    Periaatteen vuoksi voisi pistää ulos melkein kaikki ketjuun vastanneet vähäksi aikaa.

    -ei kiroilua
    -ei turhia postauksia

    Jatkossa siis myhäilkää toisen kiinni jäämistä mielessänne, joohan.

     
Viestiketjun tila:
Viestiketju on suljettu.

Jaa tämä sivu