问题描述
我正在尝试根据this post和Valve documentation使用gamestate_integration_name.cfg文件获取游戏数据。但是,当我将Uri指向我的本地主机http://127.0.0.1 :(这里的任何端口)时,玩比赛后游戏数据不会出现。相反,我得到下面的屏幕。 如何正确设置Uri,以便在比赛后看到比赛数据?谢谢!
The site can't be reached screenshot
配置文件:
{
"uri" "http://127.0.0.1:7000"
"timeout" "5.0"
"buffer" "0.1"
"throttle" "0.1"
"heartbeat" "30.0"
"data"
{
"provider" "1"
"map" "1"
"round" "1"
"player_id" "1"
"allplayers_id" "1" // Same as 'player_id' but for all players. 'allplayers' versions are only valid for HLTV and observers
"player_state" "1"
"allplayers_state" "1"
"allplayers_match_stats" "1"
"allplayers_weapons" "1"
"allplayers_position" "1" // output the player world positions,only valid for GOTV or spectators.
"phase_countdowns" "1" // countdowns of each second remaining for game phases,eg round time left,time until bomb explode,freezetime. Only valid for GOTV or spectators.
"allgrenades" "1" // output information about all grenades and inferno flames in the world,only valid for GOTV or spectators.
"bomb" "1"
"player_position" "1"
}
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)