Jump to content

Industry control using LUA


LordFrost

Recommended Posts

I would like to be able to control industry units using LUA and a programming board. The problem is that if you log off then the programming board stops and your control is gone. Is there any workaround? If not, will Novaquark be bringing in changes at all?

Link to comment
Share on other sites

  • 2 weeks later...

Hello LoardFrost,

That's normal, the Lua is only executed on the client side. And there is no problem with that. Industries still works when you are offline, but your monitoring can't work when you are offline.

If you were to run Lua on the server, that means that the server has to be aware of everything that's going on in the world, items, players, industry operation, links to other items;...etc all the time, and that's for all the scripts, and you add to that all the server requests between the server and the player when the player is logged in; that's clearly too much.
 

If you set up your industry, manually or with Lua in MAINTAIN mode, it will still work.
Anyway, in the principle, the gameplay of the industry is made to require some player interaction, like changing the schema...etc or using a Lua system but requiring the player to be present.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...