Dedicated server script help

Discussion in 'Automobilista 2 - Help & Support' started by Fabrice L, Mar 21, 2024.

  1. Fabrice L

    Fabrice L New Member

    Joined:
    Feb 23, 2024
    Messages:
    6
    Likes Received:
    0
    Hello,

    I'm trying to automatically import race results into a separate folder or if possible a database after succesfull race finishes.

    I tried multiple options, os.rename as expected isn't available.

    Another option I tried is reading the sms_stats_data.json with the IO library and writing it to said folder, but that also isn't possible because it's only allowed to read from "steam/output/" according to the errors I get.

    Now my question is, does the DS allow the use of external libraries such as LuaFileSystem or LUA-Mysql? I'll ask before I start installing things for no reason.

    Friendly greets
     
  2. Fabrice L

    Fabrice L New Member

    Joined:
    Feb 23, 2024
    Messages:
    6
    Likes Received:
    0
    Anyone? Can I have lua create a text file anywhere? I tried writing to /steam/output but same error:
    WARNING: Using <I/O> to access files outside of the /steam/output/ folder. Please only use files in there.
     
    Last edited: Mar 23, 2024

Share This Page