Replies: 2 comments 1 reply
-
I'm assuming you're referring to this code? I don't especially like it, but I guess it makes sense inside the model of an embedded device. You can probably just use reflection to get the underlying
Sorry, I'm really confused by this section. Nothing should have changed with peripherals in this release. Looking at your code, do you actually mean custom APIs? Looking at your API, I don't really see much benefit to it — that probably could just be a built-in program and/or module. However, you can probably do some thing where you have a "computer holder" class, pass that as a custom component, and then tie the knot afterwards. |
Beta Was this translation helpful? Give feedback.
-
The peripheral issue seems to stem back to the embedded API not loading, which is used by autostart programs to signify that a computer is embedded and it does all the weird peripheral stuff i was using to make sure they still worked I can probably make that API a stub and implement all the functions in lua |
Beta Was this translation helpful? Give feedback.
-
Hi, I own a mod named Embedded Computer which adds a headless computer. While I was trying to update it to fix a crash that was reported and to add a new feature i ran into a massive issue. Things i heavily relied on had been changed. I can no longer get my peripheral API to work since it requires calling
this
in the ServerComputer constructor with the new system and to top that, the computer no longer connects to any peripherals whatsoever.Also, on top of the peripheral API not being able to be added, it wouldn't work if able to be added since it uses the old getAPIEnvironment to access the filesystem of a computer
Is there a way to fix this or am I just screwed?
Beta Was this translation helpful? Give feedback.
All reactions