Robots cannot attack players(eh, at least on the version I play on, it's slightly outdated), even when PvP is on(fakeplayers, that's why it's important), is this intended? It can still attack entities, but not players. They do successfully swing their sword upon them, but they deal no damage. Should I report to GitHub?
I think a port like port 1 should be reserved for broadcasts, so that computers following this list always have that port open so that new computers attached to the network know what port to use in order to join that network(other computers being aware of it's existence).
It's a very handy program, however there's room for optimization. The robot was wasting a lot of time and energy while building the sphere, because sometimes it was running side by side instead of taking a circular path
mc also means microcontroller if you didn't know.
Hello there, were you banging your head against a wall while you tried to automate Draconic Evolution's Fusion Crafting? Well, I was about to, but I realized OpenComputers has got my back(like always). So, I wrote this simple program that runs on a mc to do this job properly for me. I made it with Applied Energestics auto-crafting in mind and I've got a mod that implements transporting pipes that can round-robin one item at a time(EnderIO) in the modpack I play on, so if you want it to run based on something else, you might need to tweak t
Good to know, so, did you stick with the name or you switched to uuid?
you might as well try changing the i variable with nil to theoretically save some memory if you are into micro-optimization like me, but I am not sure if Lua is ok with that. I would like to know if that works, please .
Not sure if name is for the entity's type, or the name of the player. Try this:
for i, element in ipairs(output)
print(element.name)
print(element.uuid) -- those 2 are for debugging purposes first, you can remove them if it works.
if element.name == "urnamehere" do --you should use element.uuid instead
yourcode()
break
end
end
If player.name is not your expected output, use element.uuid and your uuid instead, which is recommended anyway.
I've heard Plan9k has better multi-threading and virtual components, however I couldn't find any documentation that shows how to use such things, or to even mention plan9k. So, how can I get started with Plan9k?