hi, i'm currently working on autocrafting on the AE2 system thru opencomputers and i seem to have hit a snag. i wanting to check if my CPU's are busy or not before assigning a task to them but when i do:
local components = require("component")
local me = component.proxy(component.list("me_controller")())
print(me.getCpus())
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
hi, i'm currently working on autocrafting on the AE2 system thru opencomputers and i seem to have hit a snag. i wanting to check if my CPU's are busy or not before assigning a task to them but when i do:
it only returns a string. when i looked at the https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/scala/li/cil/oc/integration/appeng/DriverController.scala at line 73 it states that its suppose to return a list of tables, but it only returns
idk if i'm doing something wrong, but that doesn't seem like a list of tables to me. if i am wrong, how would i best find if CPU A is busy or not.
thanks.
Link to post
Share on other sites