X4 REST Server - getting basic info?

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

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

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

X4 REST Server - getting basic info?

Post by MarcusInVR » Wed, 25. May 22, 13:23

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: 789
Joined: Sun, 14. Dec 03, 13:05
x4

Re: X4 REST Server - getting basic info?

Post by kuertee » Wed, 25. May 22, 14:19

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?
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.

Post Reply

Return to “X4: Foundations - Scripts and Modding”