サーバー

From Team Fortress Wiki
Jump to: navigation, search

ValveのSource Engineをベースにした、他の全てのマルチプレイヤーゲームのように、Team Fortress 2client-server modelを採用しています。クライアントはプレイヤーのコンピュータ上で動作するゲームのコピーです。また、サーバはプレイヤーが接続するソフトウェアです。現在は全世界で数千のTeam Fortress 2 サーバが存在しています。

サーバはTeam Fortress 2のゲームプレイにおける様々な側面での責任を担っています。あるプレイヤーが取った行動に基づいて(例、武器を発砲した)、適切なレスポンスを決定する前に、それぞれの位置や状態を更新します(例、ターゲットにダメージを与えた)。そして結果を全プレイヤーにブロードキャストします(例、与えたダメージ値を表示する)。また、サーバはプレイヤーによって制御されないイベントも管理します(例、マップ時間、セントリーガンの挙動、etc)。

利点

既存のサーバに参加する代わりに、プレイヤーはゲームをホストする自分のサーバを作ることが出来ます。これによりホストしているプレイヤーはマップローテーションを設定したり、特定のマップや同じゲームモードを連続でプレイすることが出来ます。さらに他の構築済みの設定を変更することも可能です。例えば重力やクラススロット制限、ハイランダー制限などです。カスタムモディフィケーションをインストールすることで、通常とは違うゲームモードを提供することも可能です。

タイプ

Source Engineのサーバを動作させるには2つの方法があります。

リッスン/ローカルサーバ

リッスンサーバは基本的なサーバ作成方法で、プレイヤーのTF2クライアントに付属しています。メインメニューのCreate Serverボタンを選択することで簡単に作成できます。他のプレイヤーもサーバに接続できますが、通常のクライアントも同じシステム上で動作するため、ホストプレイヤーのハードウェアに高い負荷がかかります。このタイプのサーバはLANベースのイベントに最適です。

デディケイティッドサーバ

関連項目: Dedicated server configuration

デディケイティッドサーバは動作にSteamが不要なスタンドアロンサーバです。デディケイティッドサーバはいくつかの要因の中でも、特に負荷が少ないために好まれます。また、多くのデディケイティッドサーバはdata centerのハイエンドハードウェアで動作しています。高パフォーマンスで速い、信頼性の高いコネクションをプレイヤーに提供するには、家庭用回線では滅多に保証できないからです。

必須環境

ゲームサーバ提供者は一般的に専用のハイエンドハードウェアでゲームサーバを動作させています。以下のシステムが動作しているコンピュータならば誰でもサーバを作ることが出来ます。

リッスンサーバ

  • Mac OS X 10.5.8 または 10.6.3 以上で、ゲームの必須環境を満たしている。
  • Windows XP 以上で、ゲームの必須環境を満たしている。

Dedicated server

  • Linux (x86 または amd64)glibc 2.3.2 以降
  • FreeBSD (x86 or amd64) running the Linux compatibility code in the kernel and a recent base Linux system from the ports collection.
  • Windows 2000 以降

更新履歴

2007年9月20日 パッチ
  • ベータ版のリナックス用の専用サーバをリリースした。

2007年9月26日 パッチ

  • 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.
  • 使用されている時に問題が多すぎた為、サーバーのmp_friendlyfire cvarを削除した。

2007年9月28日 パッチ

  • 稀にネットワーク内のデータの破損に起因してサーバーがクラッシュする問題を修正した。

2007年10月2日 パッチ

  • スパイのサッパーに起因してサーバーがクラッシュする問題を修正した。
  • 追加オプションとして、「サーバー作成」メニューオプションに「ゲーム」タブを追加した。

2007年10月9日 パッチ

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

2007年10月25日 パッチ

  • DustbowlHydroのラウンドの途中でサーバーが空になった時に起こりうる問題を修正した。
  • ハニーポットサーバーの問題を修正した。

2007年11月20日 パッチ

  • サーバーにsv_pureを追加しました。現在デフォルトではオフに設定されています。完全な説明を取得するには、コンソールで「sv_pure」と入力します。
  • 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、および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.
  • サーバー上の32人のプレイヤーの名前を更新する際のエラーを修正した。

2007年12月20日 パッチ

  • サドンデスモードのサーバーオプション(conver)とデフォルトの設定をオフにした。
  • サーバーのクラッシュを引き起こす可能性があったRCON/ consoleコマンドを修正した。
  • ヒールされているプレイヤーが突然サーバーから離れたときに稀にクラッシュする問題を修正しました。
  • cfgフォルダにマップ固有の.cfgファイルを持っているサーバ用の機能を追加しました。

2007年12月31日 パッチ

  • イベント発生時のプレイヤーの位置情報をサーバーログに追加した(player_death, player_builtobject, teamplay_flag_event, object_destroyed, teamplay_point_captured, teamplay_capture_blocked)。

2008年1月7日 パッチ

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

2008年1月14日 パッチ

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

2008年2月14日 パッチ

  • 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.

2008年2月15日 パッチ

  • 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.

2008年2月28日 パッチ

  • 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.

2008年3月6日 パッチ

  • 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.

2008年3月13日 パッチ

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

2008年3月20日 パッチ

  • 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.

2008年4月1日 パッチ

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

2008年4月2日 パッチ

  • Fixed Linux dedicated server crash on map change.

2008年4月30日 パッチ

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

2008年8月4日 パッチ

  • Fixed _resetgamestats command causing server crash.

2009年7月14日 パッチ

  • 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.

2010年5月27日 パッチ

  • Added client/server version check on client connect.

2010年6月11日 パッチ

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

2010年7月13日 パッチ

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

2011年2月14日 パッチ

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

2011年2月22日 パッチ

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

2011年2月24日 パッチ (Community Map Pack Update)

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

2011年3月10日 パッチ (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.

2011年3月15日 パッチ

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

2011年4月15日 パッチ

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

2011年4月18日 パッチ

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

2011年5月9日 パッチ

  • 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.

2011年5月10日 パッチ

  • Replay
    • Fixed a server lockup during data cleanup.

2011年5月13日 パッチ

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

2011年5月25日 パッチ

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

2011年6月17日 パッチ

  • 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.

2011年6月27日 パッチ

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

2011年7月5日 パッチ

  • Fixed a Linux dedicated server crash in vphysics.so

2011年7月28日 パッチ

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

2011年9月2日 パッチ

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

2011年10月17日 パッチ

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

2011年10月18日 パッチ

  • Fixed a frequent server crash related to packfiles.

2011年10月18日 パッチ #2

  • Fixed a server error about unprecached models.

2012年2月2日 パッチ

  • 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.

2012年2月16日 パッチ

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

2012年2月23日 パッチ

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

2012年3月8日 パッチ

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

2012年5月10日 パッチ

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

2012年5月17日 パッチ

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

2012年6月27日 パッチ (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.
  • [非公開] Servers no longer require a restart during the full moon period to allow players to equip Halloween items.

2012年7月2日 パッチ

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

2012年7月10日 パッチ

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

2012年7月20日 パッチ #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.)

2012年7月23日 パッチ

  • Fixed dedicated servers not being able to set sv_region.

2012年8月3日 パッチ

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

2012年8月17日 パッチ #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.

2012年8月17日 パッチ #2

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

2012年8月21日 パッチ

  • Fixed a rare server crash when firing hitscan weapons.

2012年8月23日 パッチ

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

2012年9月10日 パッチ

  • 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.

2012年9月21日 パッチ #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.

2012年9月21日 パッチ #2

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

2012年10月9日 パッチ

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

2012年10月27日 パッチ

2012年11月21日 パッチ

  • Fixed a dedicated server hang in bot pathfinding

2013年3月19日 パッチ

  • Fixed a server crash related to game stats.

2013年4月3日 パッチ

  • 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

2013年4月18日 パッチ

  • 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.

2014年4月19日 パッチ

  • [非公開] Fixed server, client, and engine problems.

2015年1月9日 パッチ

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

See also

External links