简体   繁体   English

《战地风云2》使用哪种查询协议?

[英]What query protocol does Battlefield 2 use?

I have been searching for this all over the internet, this site claims that Battlefield 2 uses the GameSpy 2 protocol, I have tried this protocol, but it does not respond. 我一直在整个Internet上进行搜索, 该网站声称《战地风云2》使用GameSpy 2协议,我已经尝试过该协议,但没有响应。 I have also been working on the GameSpy 3 protocol, but that one is a lot harder. 我也一直在研究GameSpy 3协议,但要难得多。
I would like to know which one it uses so I know whether I am using the wrong protocol, or have an error in my code. 我想知道它使用的是哪个,所以我知道我使用的是错误的协议,还是代码出错。

Battlefield 2 uses the Gamespy 3 protocol. 《战地风云2》使用Gamespy 3协议。

Source: GameQ library 资料来源: GameQ

From the GameQ config file: 从GameQ配置文件中:

[bf2]
name = "Battlefield 2"
port = 29900
prot = "gamespy3"
pack = "bf2"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM