you could use the JSON library scripts to read and write objects as JSON to text files on the local machine, then run a helper client or daemon push and pull these JSON objects to a webserver. it wouldn't be a true multiplayer but it would enable dynamic content between players.
example flow
player bolgimo loads his saved game up and undocks from argon equipment dock in argon prime in buster sentinel with 6 pacs and fight command 1
1. script captures this and exports me as a json to my local output file:
Code: Select all
object {
created: timestamp in UTC
guid: whatever
ship {
pilot: bolgimo
id: ss_sh_a_m4_3
equip [
ss_ware_sw_fight_1,
ss_laser_pac,
ss_laser_pac,
ss_laser_pac,
ss_laser_pac,
ss_laser_pac,
ss_laser_pac,
]
}
}
2. helper daemon sees the object file has changed, reads it in, checks the guid as new, POSTs it to
http://whatever.xserver:80/
3. another player's daemon GETs the server file and sees the new JSON on the page, saves it to the local input file
4. this player's x3tc then reads the JSON in and creates a buster with fight software mk 1 and six pacs and a pilot named bolgimo, undocks it from argon equipment dock in argon prime
this could be expanded on to include some sort of job, details about the player, what he/she gets up to in a game, etc. could even group up objects with particular pilots, put in their stations and other things. would allow players to chat in reasonably close real time, could even establish online bulletin boards and auction centres in game. while you wouldn't have direct control over someone else's universe, you could certainly see some interesting situations appear in your own, trade rare items, swap well-trained marines or Lucike Traders, have other players fit out ships for you, maybe even sell off completely built complexes to other players.
text should be fairly trivial to output from the game through log files. getting external text back into the game might be iffy; if an external process modifies a text file in the /t/ folder, will a script load this from the file again or does it cache it in memory