Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

GabelaGarlaSrl

Members
  • Content Count

    5
  • Joined

  • Last visited

Posts posted by GabelaGarlaSrl

  1. I got every file needed for the text to speech the problem is the server gets shutdown by JVM because the server idles for 60.00 seconds and I don't know how to prevent that, cause the server is only letting me allocated 4095M, no more than that, I have 8GB of ram and it might be cause the server is limiting how much ram i can allocate

    Quick note

    I removed MaryTTS and something else is overloading the server, so nvm i don't need any help

  2. On 4/25/2019 at 12:33 PM, SpaceBeeGaming said:

    Here is a fixed version along with some notes:

    
    local event = require("event") --< event library needs to be requested.
    
    local component = require("component") --< same for component
    local lift = component.lift
    
    while true do
        local e = event.pull("motion") --< Don't use system reserved variable names for your own.
        if (e == "motion") then --< This event is never false, as the 'event.pull()' is filtered => the upper action will alwayus run.
            lift.callFloor(2)
        else --< Cant be 'elseif', would need a conditon to test
            os.run(elevatormotionmanipulation)
        end
    end
    
    -- <= these things are comments, they are used to explain what code does, without affecting its execution, they can be removed without issues.

     

    That's a long script and i know about comments

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.