Jump to content

How to catch undocumented industry errors?


Verliezer

Recommended Posts

As far as I know, it is not currently possible to directly distinguish the unknown error status for industry units using the standard lua functions. This functionality has been requested a few times but I suspect the emphasis would instead be on eliminating scenarios where such an error were to occur. However some lua coders have cleverly gotten around this by monitoring the time it takes for a given recipe to complete and subsequently infer a server error has occurred if the reported state is still reported as "running" past the point where it should have completed.

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...