打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Troubleshooting/zh-hans:修订间差异

来自TF2 Classified Wiki
更多操作
Jamie·Quaker留言 | 贡献
Created page with "This page attempts to document common problems with ''TF2 Classic'', and their solutions. Make sure you've completely followed the instructions listed at the Installation page before attempting to solve your problem here. == Current major issues == === Game crashes after the Valve intro/"Failed to apply client patches!" === This is a new issue caused by the recent SDK2013 update, and TF2 Classic not having been updated yet. To temporarily fix this, right click ''So..."
 
Jamie·Quaker留言 | 贡献
无编辑摘要
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
This page attempts to document common problems with ''TF2 Classic'', and their solutions.
{{DISPLAYTITLE:故障排查}}
本页面记录了《军团要塞2经典》的常见问题及其解决方案。


Make sure you've completely followed the instructions listed at the [[Installation]] page before attempting to solve your problem here.
在尝试依靠此列表进行修复前,请确保您已经按照[[Installation|安装]]页面的步骤进行了操作。


== Current major issues ==
== 当前的主要问题 ==
=== Game crashes after the Valve intro/"Failed to apply client patches!" ===
=== 阀门公司游戏开场图标播放后无法进入!/无法应用客户端补丁! ===
This is a new issue caused by the recent SDK2013 update, and TF2 Classic not having been updated yet. To temporarily fix this, right click ''Source SDK Base 2013 Multiplayer'' on Steam, click Properties, go to Beta, and select <code>previous2021</code>.
这是由于最近的SDK2013更新,而非《军团要塞2经典》未更新的问题。要暂时解决此问题,请右键单击 Steam 上的 Source SDK Base 2013 Multiplayer,单击“属性”,转到“测试版”,然后选择<code>previous2021</code>


Whenever TF2 Classic updates to the new SDK2013 version, you'll need to revert this.
每当《军团要塞2经典》更新到新的 SDK2013 版本时,您都需要重复此步骤。


=== "Could not load library client. Try restarting. If that doesn't work, verify the cache." ===
=== 无法加载库客户端。尝试重新启动。如果这不起作用,请验证缓存。 ===
This is a new 2.0.4 issue caused by our crashpad handler requiring libraries that not all users have.
这是 2.0.4 的新问题,由我们的 crashpad 处理程序需要并非所有用户都拥有的库引起。
 
需要从 Microsoft 下载并安装此可再发行组件:


You'll need to download and install this redistributable from Microsoft:
* https://aka.ms/vs/16/release/vc_redist.x86.exe
* https://aka.ms/vs/16/release/vc_redist.x86.exe


=== Microstuttering/Network judder ===
=== 轻微卡顿/网络不稳 ===
This is a new 2.0.4 issue, the cause is currently unknown but we're looking into it. Let us know if you encounter this, along with any relevant information.
这是 2.0.4 的一个新问题,目前原因尚不清楚,但我们正在调查它。如果您遇到这种情况,请告知我们,并提供任何相关信息。


== TF2CDownloader-related issues ==
== TF2CDownloader已出现的问题 ==


=== (Windows) SmartScreen blocked TF2CDownloader! ===
=== (Windows) SmartScreen阻止了TF2CDownloader! ===
It does this for every unsigned application. To sign it would cost us somewhere around $800 per year, so we don't. On the SmartScreen pop-up, click "More info", then "Run anyways".
其对每个未签名的应用程序执行此举动。签署它每年将花费我们大约 800 美元,所以我们不这样做。在 SmartScreen 弹出窗口中,单击“更多信息”,然后单击“无论如何坚持运行”。


=== (Windows) It says TF2CDownloader is missing libraries! ===
=== (Windows) 其说TF2CDownloader缺少库! ===
This happens on Windows 7. We do not and cannot support Windows 7, you must install the game manually.
Th这发生在 Windows 7 上。我们不会也不能支持 Windows 7,您必须手动安装游戏。


=== (Linux) TF2CDownloader gives me an "Error loading Python lib"! ===
=== (Linux) TF2CDownloader跟我说“加载 Python 库时出错”! ===
This happens when the application was built with a version of glibc that's newer than what your distribution carries. Currently, we support Ubuntu 20.04 and any other distribution with glibc 2.31 or newer.
当应用程序是使用比您的发行版更新的 glibc 版本构建的时,就会发生这种情况。目前,我们支持 Ubuntu 20.04 和任何其他带有 glibc 2.31 或更高版本的发行版。
,
=== (Linux) TF2CDownloader downloads a .meta4 file, then crashes when it can't find a .tar.zst file ===
This happens if your version of aria2 was compiled without metalink support. If you're on a Gentoo Linux-based distribution, you can fix it by setting the <code>metalink</code> USE flag for aria2 and then rebuilding it.


=== Why are there so many errors when I run TF2CDownloader? ===
=== (Linux) TF2CDownloader下载了一个 .meta4 文件,然后在找不到 .tar.zst 文件时崩溃 ===
Those are normal. The output is extremely verbose. The first thing TF2CDownloader does is check if the game file already exists for the purpose of verifying it. It usually doesn't exist, which causes it to produce a "Checksum error". Then, if any mirrors are failing, timing out, missing, or otherwise having issues, it'll produce an error when it attempts to contact them as well. These are ''not'' fatal errors, and are expected in its course of operation.
如果您的 aria2 版本是在没有元链接支持的情况下编译的,就会发生这种情况。如果你使用的是基于 Gentoo Linux 的发行版,你可以通过为 aria2 设置<code>metalink</code>USE标志来重组并修复。


=== 为什么运行 TF2CDownloader 时会出现这么多错误? ===
这些都是正常的。输出非常冗长。TF2CDownloader 做的第一件事是检查游戏文件是否已经存在以验证它。它通常不存在,这会导致它产生“校验和错误”。然后,如果任何镜像出现故障、超时、丢失或其他问题,当它尝试联系它们时也会产生错误。这些''不是''致命的错误,并且在其运行过程中是预期的。
=== "PermissionError: [Errno 13] Permission denied: ..." ===
=== "PermissionError: [Errno 13] Permission denied: ..." ===


If you're updating, make sure the game and the launcher are closed, then try again. If the game is already closed, open task manager, and terminate "hl2.exe". The game not properly terminating by itself is a bug.
如果您正在更新,请确保游戏和启动器已关闭,然后重试。如果游戏已关闭,请打开任务管理器,然后终止“hl2.exe”。游戏无法自行正确终止是一个错误。


=== I can't find the folder TF2CDownloader extracted! ===
=== 我找不到 TF2CDownloader 解压的文件夹! ===
If you're not extracting into your sourcemods, your extraction directory is a large and cluttered folder, ''and'' you're sorting by the modified date, you likely won't find the folder it extracted easily. You should instead sort the folder alphabetically, and then scroll until you find the "tf2classic" folder, so you can move it to your sourcemods. Pressing F5 to refresh the folder's contents may also be useful.
如果您没有解压到 sourcemods 中,您的解压目录是一个大而杂乱的文件夹,并且您按修改日期排序,您可能无法轻松找到它提取的文件夹。相反,您应该按字母顺序对文件夹进行排序,然后滚动直到找到“tf2classic”文件夹,以便将其移动到您的 sourcemods。按 F5 刷新文件夹的内容也可能有用。


== Miscellaneous issues ==
== 杂项问题 ==


=== RaiseJSException: Method call failed: Installs.OpenInstallWizard... ===
=== RaiseJSException: 方法调用失败: Installs.OpenInstallWizard... ===
This error most likely comes up when trying to launch TF2 Classic but Source SDK Base 2013 Multiplayer isn't installed. [[Installation#Step 1: Downloading SDK 2013 Multiplayer|Read the first step of the instructions]] to install it.
尝试启动 TF2 Classic 但未安装 Source SDK Base 2013 Multiplayer 时,很可能会出现此错误。[[Installation#Step 1: Downloading SDK 2013 Multiplayer|阅读安装说明的第一步]]来安装。


=== I can't connect to any servers and all of the text starts with #TF! ===
=== 我无法连接到任何服务器,所有文本都以 #TF 开头! ===
The folder of your game (which should contain a <code>gameinfo.txt</code> file) should be named <code>tf2classic</code>. If it is named <code>tf2classic-latest</code> or if all of your files are dumped loosely in <code>sourcemods</code>, that will cause this to happen. Note that if Steam's running, restart it after renaming the folder, or else an error will occur if you attempt to launch the game via Steam.
游戏的文件夹(包含一个<code>gameinfo.txt</code>文件)应被命名为<code>tf2classic</code>。I如果其被命名为<code>tf2classic-latest</code> 或者您的所有文件都零散地转储在<code>sourcemods</code>中,这种情况就会发生。请注意,如果 Steam 正在运行,请在重命名文件夹后重新启动它,否则如果您尝试通过 Steam 启动游戏,则会出现错误。


=== The launcher tells me that SDK2013 isn't installed, but it is! ===
=== 启动器告诉我SDK2013没有安装,但它已经安装了!===
This can happen if Source SDK Base 2013 Multiplayer is installed onto a separate drive from the Steam client. The correct drive will almost always be <code>C:\</code>. Any other drive letters are bound to cause issues. You can move it as shown below:
如果 Source SDK Base 2013 Multiplayer 安装到与 Steam 客户端不同的驱动器上,则可能会发生这种情况。正确的驱动器几乎总是在<code>C:\</code>,任何其他驱动器号都必然会导致问题。您可以按如下图移动它:
[[File:MoveSDK.png|400px|center]]
[[File:MoveSDK.png|400px|center]]
For advanced users, it's also possible to create a symlink from its expected location in the common folder on your <code>C:\</code> drive to its real location on another drive. See instructions [[#Creating_a_symlink_on_Windows|here]] for how to create one.
对于高级用户,还可以创建符号链接,从驱动器上通用文件夹中的预期位置<code>C:\</code> 到另一个驱动器上,有关如何创建,请参阅[[#Creating_a_symlink_on_Windows|此处]]
rest
 
=== The launcher says that SDK2013 needs to be updated, but it is! ===
You should try to launch SDK2013 from Steam once. Even if Steam claims it's fully installed, it may still require validation or other work, which Steam will only perform when you try to run it. After launching and closing it again, restart the launcher.


=== The launcher doesn't work! ===
=== 启动器说SDK2013需要更新,但已经更新好了! ===
If you run into any issues with the launcher, you're safe to ignore it entirely. The game should appear in your Steam library if it was installed correctly, and you can launch it through there instead.
您应该尝试从 Steam 启动一次SDK2013。即使 Steam 声称它已完全安装,它可能仍然需要验证或其他工作,而 Steam 只会在您尝试运行它时执行这些工作。启动并再次关闭后,重新启动启动器。


=== My game doesn't appear in my Steam library! ===
=== 启动器不好使! ===
First, restart Steam completely if you haven't since installing the game. Right-click Steam in your system tray, then click "Exit" from the menu that appears. ''Or'' click the Steam button in the top-left of the window, and click "Exit" from the dropdown. Then start Steam again, and see if it appears.
如果您在使用启动器时遇到任何问题,您可以完全忽略它。如果安装正确,游戏应该会出现在您的 Steam 库中,您可以通过那里启动它。


If that doesn't work, make sure your folder structure is correct. Inside your <code>sourcemods</code> folder, there should be a <code>tf2classic</code> folder, which should contain a <code>gameinfo.txt</code> file. If this doesn't perfectly line up, you extracted it incorrectly. If you have a path that looks like <code>sourcemods/tf2classic-2.0.3/tf2classic</code> or if all of your files are dumped loosely in <code>sourcemods</code>, that will cause it to be undetectable.
=== 我的游戏没有出现在我的 Steam 库中!===
首先,如果您在安装游戏后还没有完全重新启动 Steam。右键单击系统托盘中的 Steam,然后从出现的菜单中单击“退出”。或者单击窗口左上角的 Steam 按钮,然后单击下拉列表中的“退出”。然后再次启动 Steam,看看它是否出现。


This issue can also appear if Steam and ''TF2 Classic'' are installed on separate disks (for instance, Steam on your <code>C:</code> drive and ''TF2 Classic'' on your <code>E:</code> drive). The solution is to create a "symlink", a folder in your Steam installation that redirects to a folder on your external disk. The steps to do this vary depending on your system.
如果这不起作用,请确保您的文件夹结构正确。在您的<code>sourcemods</code>文件夹中, 应该有一个<code>tf2classic</code>文件夹,其应包含一个<code>gameinfo.txt</code>文件。如果这不完全一致,则说明您提取错了。如果您的路径看着像<code>sourcemods/tf2classic-2.0.3/tf2classic</code>或者所有文件都被零散的放在<code>sourcemods</code>中,就会导致其无法检测到。


==== Creating a symlink on Windows ====
如果Steam和''TF2 Classic''没有安装在同一磁盘内(打比方说,Steam在你的<code>C:</code> 盘而''TF2 Classic''在你的<code>E:</code>盘)。解决方案是创建一个“符号链接”,即 Steam 安装中的一个文件夹,可重定向到外部磁盘上的文件夹。执行此作的步骤因您的系统而异。
# Locate your <code>sourcemods</code> folder. If you can't find it, you can run <code>reg query HKCU\Software\Valve\Steam /v SourceModInstallPath</code> in Command Prompt to see the path.
==== 在Windows上创建符号链接 ====
# Delete your <code>sourcemods</code> folder, otherwise the symlink can't be made. If any mods are still in there, transfer them over to your preferred new location.
# 找到您的<code>sourcemods</code >文件夹,如果找不到,您可在命令指示符<code>reg query HKCU\Software\Valve\Steam /v SourceModInstallPath</code>内查看其路径。
# Open Command Prompt as administrator.
# 删除您的<code>sourcemods</code>文件夹,否则符号链接将无法被创建。如果那里还有其他模组,请将他们转移到您喜欢的位置。
# Enter this command: <code>mklink /d /j "path to steam sourcemods" "path to your sourcemods"</code>
# 以管理员身份打开命令指示符。
# 输入以下命令:<code>mklink /d /j "path to steam sourcemods" "path to your sourcemods"</code>


Replace <code>"path to steam sourcemods"</code> with your Steam <code>sourcemods</code> path, for instance: <code>"C:\Program Files (x86)\Steam\steamapps\sourcemods"</code>
替换<code>"path to steam sourcemods"</code> 为您的<code>sourcemods</code>Steam路径。比如:<code>"C:\Program Files (x86)\Steam\steamapps\sourcemods"</code>


Replace <code>"path to your sourcemods"</code> with whatever path you require, for instance: <code>"D:\Games\sourcemods"</code>
替换<code>"path to your sourcemods"</code> 为您所需要的任何路径,比如<code>"D:\Games\sourcemods"</code>


==== Creating a symlink on Linux ====
====在Linux上创建符号链接 ====
# Delete your Steam <code>sourcemods</code> folder, usually found at <code>~/.steam/steam/steamapps/sourcemods</code>
# 删除您的<code>sourcemods</code> 文件夹,通常位于<code>~/.steam/steam/steamapps/sourcemods</code>
# Open a terminal and run <code>ln -s /path/to/your/sourcemods ~/.steam/steam/steamapps/sourcemods</code>
# 打开终端并运行 <code>ln -s /path/to/your/sourcemods ~/.steam/steam/steamapps/sourcemods</code>


Like you would Windows, exchange <code>/path/to/your/sourcemods</code> with the full path to the folder you wish to use on your external disk.
Windows 一样,交换<code>/path/to/your/sourcemods</code> 为您希望在外部磁盘上使用的文件夹的完整路径。


Note that any external disk used for running games '''must be readable and writable by your user, and you must have execute permissions.''' If this is an NTFS disk, follow Valve's guide on preparing it: https://github.com/ValveSoftware/Proton/wiki/Using-a-NTFS-disk-with-Linux-and-Windows.
请注意,用于运行游戏的任何外部磁盘'''都必须是用户可读和可写的,并且您必须具有执行权限'''。如果这是 NTFS 磁盘,请按照 Valve 的准备指南进行:https://github.com/ValveSoftware/Proton/wiki/Using-a-NTFS-disk-with-Linux-and-Windows.


=== (Linux) My game can't connect to servers!/My in-game overlay doesn't work! ===
=== (Linux) 我的游戏无法连接到服务器!/我的游戏内覆盖层不起作用! ===
On Linux, ''TF2C'' requires a special launch option to function properly. Right-click the game in your Steam library, click "Properties", then paste this into the Launch Options field:
Linux 上,''TF2C'' 需要一个特殊的启动选项才能正常运行。右键单击 Steam 库中的游戏,单击“属性”,然后将其粘贴到启动选项字段中:


<code>LD_PRELOAD="$HOME/.steam/steam/ubuntu12_32/gameoverlayrenderer.so" %command% -steam -steam</code>
<code>LD_PRELOAD="$HOME/.steam/steam/ubuntu12_32/gameoverlayrenderer.so" %command% -steam -steam</code>


This should fix the overlay, and allow you to connect to game servers.
这应该会修复覆盖,并允许您连接到游戏服务器。
 
=== "The server you are trying to connect to is running an older version of the game." ===
This error is partially erroneous. Most commonly, the server isn't running an older version of the game, you are. If you downloaded an older version of the game yourself, you'll receive this error when connecting to official servers. Hence, you'll need to reinstall the game from an archive using the latest version of the game.
 
=== Players are invisible in my game! ===
This tends to happen if your network is unreliable or your game stutters. It's possible to run a command to fix this, though you'll need to run this command every time it happens.


# Enable the Developer Console in the game settings.
=== "您尝试连接的服务器正在运行旧版本的游戏。" ===
# Press the ~ (tilde) key on your keyboard to open the console.
此错误为部分错误。最常见的是,服务器没有运行旧版本的游戏,您是。如果您自己下载了旧版本的游戏,则在连接到官方服务器时会收到此错误。因此,您需要使用最新版本的游戏从存档中重新安装游戏。
# Run <code>record demo;stop</code>
=== 我游戏里的玩家是隐形的! ===
如果您的网络不可靠或游戏卡顿,则往往会发生这种情况。可以运行命令来修复此问题,但每次发生时都需要运行此命令。


=== The game is stuck on "Retrieving server info" but I can hear in-game sounds! ===
# 在游戏设置中启用开发者控制台。
# 按键盘上的 ~(波浪号)键打开控制台。
# 运行<code>record demo;stop</code>。


This problem happens if you're running the game with Intel Graphics instead of using a dedicated GPU.
=== 游戏卡在“检索服务器信息”上,但我可以听到游戏内的声音!===


The solution is to lower the graphic settings until the problem no longer shows up.
如果您使用英特尔显卡而不是使用专用 GPU 运行游戏,则会出现此问题。


== See also ==
解决方案是降低图形设置,直到问题不再出现。
* [[Installation]]
== 其他 ==
* [https://discord.gg/3zMk4vn Discord server] (post in the #technical-issues channel if your issue could not be resolved here)
* [[Installation|安装]]
* [https://discord.gg/3zMk4vn Discord服务器] (如果您的问题无法在此处解决,请在 #technical-issues 频道中发布)


[[Category:Guides]]
[[Category:Guides]]