input from external program

  • #1, by petertermanhansenMonday, 09. August 2021, 22:45 2 years ago
    Hello

    Is it possible to initially import data from an external program.
    I would like to ask the player for birthdata, and be able to import planets position in the game.

    Regards Peter

    Newbie

    81 Posts


  • #2, by afrlmeTuesday, 10. August 2021, 21:35 2 years ago
    If the data is stored inside of a .txt file or something, it should be possible to import. It's also technically possible to import/send data over the internet too with Luasocket &/or cURL, but I have no experience using either of the latter two things I just mentioned.

    Imperator

    7278 Posts

  • #3, by petertermanhansenWednesday, 11. August 2021, 08:17 2 years ago
    Thanks. I found out by looing how ro read config.ini.

    Newbie

    81 Posts