Script Server + Manager

  • DUC
    1st July Member 0 Permalink

    So TPT itself is built to recognize the filename autorun?

  • jacob1
    1st July Developer 0 Permalink
    Yes, TPT itself looks for a file called "autorun.lua" and runs it on startup. The script manager was created to solve the problem of wanting multiple autorun scripts. The script server was only added later.
  • Miraga
    15th September Member 0 Permalink

    I Have 2 Questions 1.st How Do I Run Lua Script Without Called Autorun.lua
    2.nd Site Not Anymore Working I Mean https://Starcatcher.us. How Do I Get Script Manager Other Ways?

  • jacob1
    15th September Developer 0 Permalink
    @Miraga (View Post)
    scripts besides autorun.lua can be started with the dofile command
    dofile("somescript.lua")

    I put a backup of the script manager here: https://starcatcher.us/scripts/autorun.lua
    Downloading online scripts doesn't work at the moment until the script server has internet / power again. You can still use it to load local scripts though.


    Edit: The server is back online again. (unless it goes down again, which is still possible)
    Edited once by jacob1. Last: 15th September
  • NUCLEAR_FOX
    15th September Member 0 Permalink

    @jacob1 (View Post)

     And it went down again lol. 

  • jacob1
    15th September Developer 0 Permalink
    @NUCLEAR_FOX (View Post)
    Hmm? Looks fine to me
  • PangeaUltima
    17th September Member 0 Permalink

    I found an problem: I'm can't render online mods in LUA. Plox fix