长途客车模拟

长途客车模拟

评价数不足
Telemetry Interface (BETA)
由 Mathias [TML] 和其他 1 人合作完成
Usage of the telemetry interface in Fernbus Coach Simulator
   
奖励
收藏
已收藏
取消收藏
Notice
The Telemetry Interface is still in an early Beta stage. This guide is incomplete and will updated during development. Please provide feedback in our forum:
English: https://www.tml-studios.de/forum/index.php?thread/2577-telemetry-interface-beta/
German: https://www.tml-studios.de/forum/index.php?thread/2576-telemetry-interface-beta/
Enable Telemetry Interface
To enable the telemetry interface go to the game settings and enable the checkbox "Enable Telemetry Interface (BETA)". Then you have to restart the game.


Usage
The Telemetry Interface enables a HTTP server at port 37337. Data is returned as JSON data.

The following functions are implemented currently:

Vehicles
http://localhost:37337/Vehicles
Returns an Array of currently spawned vehicles. E.g.:
["BP_MAN_LionsCoach_C_0"]

Then you get the Vehicle data with:
http://localhost:37337/Vehicles/BP_MAN_LionsCoach_C_0

There is a shortcut:
http://localhost:37337/Vehicles/Current
to get the vehicle data where the player is entered

Miscellaneous
http://localhost:37337/Player
http://localhost:37337/World
http://localhost:37337/Map
http://localhost:37337/Mission
http://localhost:37337/Roadmap
http://localhost:37337/Route
4 条留言
Carlitos 2024 年 11 月 24 日 上午 3:20 
Hello, to get the information from the links as described in the description remember that the game must be open, for me it only appeared when I loaded the route and got on the bus, even disconnected I can see the telemetry data.

Tested with Beta version 1.34.78299 (November 2024) I can confirm that all the above commands work as expected, only the “...localhost:37337/Vehicles/BP_MAN_LionsCoach_C_0” link won't work because the vehicle name has been updated, but you can get the name using the “...localhost:37337/Vehicles” and “...localhost:37337/Vehicles/Current” links.

I'd like to thank the game's developers for the work they continue to do, and I hope that in the future it will come out of Beta mode showing that it will be 100%.
Sexy Hobo 2023 年 7 月 3 日 下午 5:18 
Doesn't work (at least for me). All links are dead.
Wasloco 2023 年 2 月 7 日 下午 12:08 
Diga ai cara?
ɴᴀᴜɴꜱᴀᴅɪᴀʏᴋᴏ 2021 年 11 月 9 日 上午 3:13 
Hi dude, I know we dont know each other but can you add me on steam? I just need to inform you something. Hope you will noticed this comment. Thank you!