I am a starter in lua. I wrote this script to use on our smp forge server for the stargates: https://pastebin.com/PnVPDLG1 When it's running it works, but when, for example, I go through the stargate to another dimension, or just far enough to unload the chunks which the computer and the stargate is in, and I come back to this: https://i.imgur.com/EAgwanr
I even tried to copy the peripheral api to the computer root, make a new line after line 74 and add sleep(0.1) there, but it didn't work.
SG Craft, to my knowledge, loads the surrounding chunks as soon as dialling starts, and it would be great to have the computer start as soon as dialling, if not already.
I am looking forward to your answers.
Peripheral line 74, too long without yielding
Started by HedShot15, Aug 26 2017 10:43 AM
3 replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












