X4 REST Server - getting basic info?

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
MarcusInVR
Posts: 117
Joined: Fri, 15. Apr 22, 14:33

X4 REST Server - getting basic info?

Post by MarcusInVR »

I am talking about the REST-Server for X4 found here: https://github.com/Alia5/X4-rest-server

With the example provided, it is trivial to figure the current name of the ship, it's speed, shield and hull values.

But I couldn't find other things like the player's current location (system or sector), or maybe the current guidance object or location. Does anyone have input on that, or how to achieve that?
kuertee
EGOSOFT
EGOSOFT
Posts: 818
Joined: Sun, 14. Dec 03, 13:05
x4

Re: X4 REST Server - getting basic info?

Post by kuertee »

Mycu has an External App mod (https://www.nexusmods.com/x4foundations/mods/818) that grabs data from the game and puts it on a tablet/phone.
It uses Sir Nukes Pipe Server and Mycu's own External App Server.
Maybe check with him?

Return to “X4: Foundations - Scripts and Modding”