Servidores

From Team Fortress Wiki
< Servers
Revision as of 21:39, 15 December 2023 by Ryo (talk | contribs)
Jump to: navigation, search

Al igual que todos los juegos de Valve con motor Source, Team Fortress 2 tiene un sistema de cliente-servidor. El cliente es el jugador que esta jugando a Team Fortress 2 desde su ordenador; mientras que el servidor es el software al que se conecta el jugador. En el mundo hay miles y miles de servidores de Team Fortress 2 en funcionamiento.

Un servidor controla diversos aspectos de la jugabilidad de Team Fortress 2. El servidor responde a las acciones de los jugadores actualizando su ubicación y estado respectivo, por ejemplo, si un jugador dispaara se determina un respuesta específica; si causa daño a un enemigo se genera otra, como mostrar el daño causado. El servidor también controla eventos ajenos a los jugadores, como el tiempo del mapa, comportamiento de armas centinela, etc.

Beneficios de tener un servidor dedicado

En vez de unirse a un servidor, los jugadores pueden crear su propio servidor para crear una partida. Esto puede permitir al creador del servidor establecer la rotación del mapa, determinar cuál será el siguiente y los modos de juego jugados. Además, se pueden modificar otros ajustes, como la gravedad, el límite de clases, limitaciones Highlander y mucho más. También se pueden instalar modificaciones personalizadas para añadir modos de juego alternativos.

Tipos

Hay 2 tipos de servidores que se pueden ejecutar en motor Source.

Servidor local

El servidor local se puede iniciar desde cualquier cliente de TF2. Se puede crear fácilmente con el botón Crear servidor del menú principal. Otros jugadores se pueden conectar, pero consumirá más recursos de hardware al propietario, ya que estará jugando y ejecutando el servidor desde el mismo equipo. Estos pueden ser ideales para eventos y partidas en LAN.

Servidor dedicado

Véase también: Configurar un servidor dedicado

Un servidor dedicado es más complejo de ejecutar, se hace de forma independiente y no se necesita Steam ni TF2. Los servidores dedicados permiten que se conecte el número establecido de jugadores, consumiendo recursos del hardware que se encuentra en un centro de datos destinado a eso. De esta manera el rendimiento será más alto y fluido, mejorando la conexión de todos los jugadores. Suelen ejecutarse en los puertos entre 27000 y 27050, principalmente en 27015.

Requisitos

Los proveedores de servidores de juego (GSP por sus siglas en inglés, Game Server Providers) usan equipos destinados a ese fin, pero cualquier puede crear un servidor desde un equipo con las características adecuadas:

Servidor local

  • Mac OS X 10.5.8, 10.6.3 o superior, que cumpla los requisitos del juego.
  • Windows XP o superior, que cumpla los requisitos del juego.

Servidor dedicado

  • GNU/Linux (x86 o amd64) con glibc 2.3.2 o posterior.
  • FreeBSD (x86 o amd64) compatible con código Linux en el kernel y un sistema base Linux para la recolección de puertos.
  • Windows 2000 o posterior.

Historial de actualización

Parche del 20 de septiembre de 2007
  • Se publicó la beta de servidor dedicado para Linux.

Parche del 26 de septiembre de 2007

  • The affinity of the main thread is not set explicitly for dedicated servers. This will properly load balance multiple instances of the dedicated server running on a multi-processor machine. The affinity is still set to CPU 1 for clients and listen servers.
  • Removed mp_friendlyfire cvar for servers. Team Fortress 2 breaks in a number of ways if this is on.

Parche del 28 de septiembre de 2007

  • Fixed rare server crash due to data corruption in networking.

Parche del 2 de octubre de 2007

  • Fixed server crash related to Spy Sappers.
  • Extra options added to 'Game' tab in "Create server" menu option.

Parche del 9 de octubre de 2007

  • Improved startup network initialization to catch issues with server firewalls popping up in the background.

Parche del 25 de octubre de 2007

  • Fixed issues on Dustbowl and Hydro that could occur when a server emptied in the middle of a round.
  • Fixed honeypot server problems.

Parche del 20 de noviembre de 2007

  • Added sv_pure to the server, currently defaults to off. Type "sv_pure" in the console to get the full description.
  • Added server log entries for: Round_Start, Round_Setup_Begin, Round_Setup_End, Round_Overtime, Round_SuddenDeath, Round_Stalemate, Round_Win, Round_Length, Mini_Round_Selected, Mini_Round_Start, Mini_Round_Win, and Mini_Round_Length.
  • Server log entries for Round_Win and level changes will now detail the team scores and player counts.
  • Updated server log entries for flag captures to detail the number of captures and the tf_flag_caps_per_round value.
  • Fixed Windows dedicated server running in -console mode moves its window to the front instead of the back upon startup.
  • Fixed Windows dedicated server bug (in -console mode) where typing anything in the console window was slow and tedious.
  • Fixed an error when updating name of 32nd player on server.

Parche del 20 de diciembre de 2007

  • Sudden death mode is now a server option (a convar) and defaults to OFF.
  • Fixed an rcon/console command that could cause server crashes.
  • Fixed a rare crash that can happen when a player being healed leaves the server suddenly.
  • Added the ability for servers to have map-specific .cfg files in the cfg folder.

Parche del 31 de diciembre de 2007

  • Added player position data to server logging of events (player_death, player_builtobject, teamplay_flag_event, object_destroyed, teamplay_point_captured, teamplay_capture_blocked).

Parche del 7 de enero de 2008

  • Added an option in the Options -> Multiplayer dialog to filter custom game files being downloaded from servers.

Parche del 14 de enero de 2008

  • Added "nextlevel" server cvar. If set to a valid map name, server will change to that map during the next changelevel.

Parche del 14 de febrero de 2008

  • Added server log entry for buildings destroyed by their owner.
  • Fixed idle players not being kicked from the server if mp_allowspectators was set to 0.

Parche del 15 de febrero de 2008

  • Game server will now try 32 sequential ports to start up on if they are all originating on the same machine. Previously it would stop at 10.
  • Fixed server crash with mp_forcecamera set to 1 (reverted to pre-release behavior).
  • Fixed the SourceTV changes not working unless servers launched with +tv_enable 1 in the command line.

Parche del 28 de febrero de 2008

  • Servers can now specify metatags describing the custom rules they've adopted.
  • Added options for servers who want to become custom games: Disable Critical hits (tf_weapon_criticals), eliminate respawn times (mp_disable_respawn_times), and raise maxplayers above 24.
  • Made several improvements to server-side stat reporting (not related to individual player stats).
  • Fixed "-maxplayers" on the command line not correctly setting the maxplayers value for the server.

Parche del 6 de marzo de 2008

  • Removed sv_alltalk from the list of convars that affect custom server tags.
  • Fixed servers with maxplayers <= 24 that are running SourceTV having the "increased_maxplayers" tag added for their server.

Parche del 13 de marzo de 2008

  • Fixed Linux dedicated server map load problems on certain Athlon processors.

Parche del 20 de marzo de 2008

  • Fixed Linux build not handling FCVAR_REPLICATED and FCVAR_NOTIFY cvars correctly.
  • Plugged an exploit where the server could send executable code to the client.
  • Added mp_stalemate_at_timelimit ConVar for server admin to allow SuddenDeath when mp_timelimit hits on non-Valve maps.

Parche del 1 de abril de 2008

  • Fixed problem that was preventing some dedicated servers from uploading gamestats.

Parche del 2 de abril de 2008

  • Fixed Linux dedicated server crash on map change.

Parche del 30 de abril de 2008

  • Fixed clients being able to trigger sv_soundscape_printdebuginfo on the server.
  • Fixed potential "nuke" exploit in rcon subsystem.

Parche del 4 de agosto de 2008

  • Fixed _resetgamestats command causing server crash.

Parche del 14 de julio de 2009

  • Improved connection logic to help servers that aren't automatically reconnecting to Steam.
  • Fixed setinfo exploit that allowed restricted convars to be set while connected to a server.
  • Fixed "sensitivity" ConVar not capping the upper value which sometimes caused a server crash.

Parche del 27 de mayo de 2010

  • Added client/server version check on client connect.

Parche del 11 de junio de 2010

  • Fixed a case where servers could get stuck in an infinite loop while spawning bots.

Parche del 13 de julio de 2010

  • Fixed a server crash related to carrying buildings at round start.

Parche del 14 de febrero de 2011

  • Improved the version mismatch error message received when connecting to a server with a different version than your client.

Parche del 22 de febrero de 2011

  • Fixed a server crash exploit caused by malformed network packets.

Parche del 24 de febrero de 2011 (Community Map Pack Update)

  • Fixed another server crash exploit caused by malformed network packets.
  • [Sin documentar] Fixed trades only displaying one of the items traded to the server.

Parche del 10 de marzo de 2011 (Shogun Pack)

  • Added check to prevent multiplayer servers from transmitting 1 as their maxplayers value to connecting clients.
  • Fixed clients being able to use particle exploits on sv_pure servers.

Parche del 15 de marzo de 2011

  • Fixed a server crash caused by using the Half-Zatoichi to hit someone not holding a weapon.

Parche del 15 de abril de 2011

  • Fixed a server crash caused by the server triggering a nextlevel vote.

Parche del 18 de abril de 2011

  • Fixed a server crash that could occur if TFBots were used across map changes.

Parche del 9 de mayo de 2011

  • Replay publishing system will try to do a rename for local HTTP mode but will manually copy and delete the file if the rename fails, which can happen if the source and destination are on different volumes.
  • Fixed threading issues on Linux, which was causing major lag spikes.
  • Fixed replay data cleanup system, which cleans up stale data at the end of each round. This asynchronous operation can be explicitly invoked by executing a replay_docleanup command on the server.

Parche del 10 de mayo de 2011

  • Replay
    • Fixed a server lockup during data cleanup.

Parche del 13 de mayo de 2011

  • Fixed a server crash caused by a mismatched items schema.

Parche del 25 de mayo de 2011

  • Fixed a few server crashes caused by the replay system.
  • Fixed a server crash caused by the vote system.

Parche del 17 de junio de 2011

  • Fixed a server crash caused by the replay system.
  • Fixed a server crash caused by disguising Spies.
  • Fixed a server crash on startup caused by writing to the console.
  • Fixed a server crash triggered during entity cleanup.

Parche del 27 de junio de 2011

  • Added a server console message when a player is sent to the server via the matchmaking system.

Parche del 5 de julio de 2011

  • Fixed a Linux dedicated server crash in vphysics.so

Parche del 28 de julio de 2011

  • Fixed a damage calculation in the Mantreads on Linux server, which could cause a physics crash.

Parche del 2 de septiembre de 2011

  • Fixed a server crash exploit caused by invalid player viewangles.

Parche del 17 de octubre de 2011

  • Fixed a server crash that occurred when running both SourceTV and Replay.

Parche del 18 de octubre de 2011

  • Fixed a frequent server crash related to packfiles.

October 18, 2011 Patch #2

  • Fixed a server error about unprecached models.

Parche del 2 de febrero de 2012

  • Adjusted error messages on servers when players drop due to Steam authentication failure to be more clear.
  • Additional important server messages now go to the server log instead of just the console.
  • Fixed a server crash caused by Holiday Punch critical attacks on physics objects.

Parche del 16 de febrero de 2012

  • Fixed dedicated server not receiving restart requests when updates are released.

Parche del 23 de febrero de 2012

  • Fixed +randommap not working correctly on server startup.
  • Fixed dedicated server console spew related to the Replay client and viewangles.

Parche del 8 de marzo de 2012

  • Fixed a client crash that could occur when a server used SetCustomModel to change the player model.

Parche del 10 de mayo de 2012

  • Fixed a bug that sometimes prevented servers from reconnecting to the item server after dropping connection.

Parche del 17 de mayo de 2012

  • Added changelevel_next server command which changes to the next map in the map cycle.

Parche del 27 de junio de 2012 (Pyromania Update)

  • Added ConVars sv_rcon_maxpacketsize and sv_rcon_maxpacketbans to allow server admins to control the maximum RCON packet size and whether or not users get banned for exceeding that limit. The defaults reflect the existing behavior.
  • Fixed map triggered annotation events not working on dedicated servers.
  • Votes created by a dedicated server no longer trigger a failed vote cooldown.
  • Using a Name Tag while in game notifies everyone of the name change.
  • [Sin documentar] Servers no longer require a restart during the full moon period to allow players to equip Halloween items.

Parche del 2 de julio de 2012

  • Fixed a problem that allowed spoofed IP addresses to make connections to the game server.

Parche del 10 de julio de 2012

  • Fixed a client/server crash when re-connecting to the item server.

Parche del 20 de julio de 2012 #1

  • Added sv_namechange_cooldown_seconds, to throttle clients from changing their name too rapidly. (Defaults to 20 seconds)
  • Added sv_netspike_on_reliable_snapshot_overflow to selectively enable the automatic dumping of netspike file if a client drops due to "reliable snapshot overflow". (defaults to 0, which disables the debugging)
  • Added check to prevent player names from containing color codes.
  • Fix a bug that caused gameservers to not properly receive client inventory updates. (Frequent cause of the "The server you are playing on has lost connection to the item server" error message.)

Parche del 23 de julio de 2012

  • Fixed dedicated servers not being able to set sv_region.

Parche del 3 de agosto de 2012

  • Fix server crash bug caused by setting tf_mm_servermode before map command.

Parche del 17 de agosto de 2012 #1

  • Updated the dedicated server to exit when attempting to start a Mann vs. Machine map with less than 32 maxplayers.
  • Fixed mp_timelimit causing Mann vs. Machine mode to not reset properly when the defenders lose.
  • Updated the matchmaking ConVar tf_mm_strict.
    • A value of 2 will hide the server from the server browser but will still allow direct connections.

August 17, 2012 Patch #2

  • Fixed a bug where rejected players could leave a "ghost" player that takes up a slot on the server browser.

Parche del 21 de agosto de 2012

  • Fixed a rare server crash when firing hitscan weapons.

Parche del 23 de agosto de 2012

  • Added a command "kickall" which kicks all connected clients except for replay, HLTV, and the listenserver host if applicable.

Parche del 10 de septiembre de 2012

  • Fixed a bug that allowed malicious servers to execute restricted console commands on players.
  • Fixed a bug that allowed malicious servers to prevent players from executing console commands.

Parche del 21 de septiembre de 2012 #1

  • Fixed a server crash related to Demoman bot AI.
  • Community requests:
    • Add a new server ConVar "tf_avoidteammates_pushaway" to control whether or not teammates push each other away when occupying the same space.
    • Add a new server ConVar "tf_arena_override_team_size" to allow server owners to set the maximum team size in arena mode.

September 21, 2012 Patch #2

  • Fixed bug causing gameservers to report themselves as full to the matchmaking system.

Parche del 9 de octubre de 2012

  • Fixed a server crash that could occur if a Spy was disguised holding the Gunslinger.

Parche del 27 de octubre de 2012

Parche del 21 de noviembre de 2012

  • Fixed a dedicated server hang in bot pathfinding

Parche del 19 de marzo de 2013

  • Fixed a server crash related to game stats.

Parche del 3 de abril de 2013

  • Prevent game servers from opening the MOTD panel more than once if the player connected through matchmaking or quickplay
  • Improved performance of Linux dedicated server binaries

Parche del 18 de abril de 2013

  • Disabled plug-ins that would allow users to connect to secure game servers even when -insecure is specified on the command line.
  • Added ConVar sv_motd_unload_on_dismissal to allow server ops to control the default behavior of their MOTD.

Parche del 19 de abril de 2014

  • [Sin documentar] Fixed server, client, and engine problems.

Parche del 9 de enero de 2015

  • Fixed a dedicated server crash related to invalid client commands.

Parche del 7 de noviembre de 2017

  • Fixed a rare client crash related to community server mods.

Parche del 15 de noviembre de 2021

  • Fixed servers not being able to load Mann vs. Machine .pop files for workshop maps.

Parche del 25 de julio de 2023

  • Se añadió -unrestricted_maxplayers para aumentar maxplayer hasta 100 (característica no recomendada).

Véase también

Enlaces externos