if it is a way around this would be greatly appreciated
(note: I used the lua program in running this and the radar component comes from Computronics)
furthermore:
so while I was waiting I decided to try and move the process to the computer instead of the bot/drone... I got a bot to broadcast its radars data repeatedly again using the lua program:
while true do
component.modem.broadcast(001, serialization.serialize(component.radar.getEntities())) end
then I had the computer/server do this:
local component=require("component")
local event.require("event")
local serialization.require("serialization")
component.modem.open(001)
local function a(_,_,_,_,_msg)
seialization.unserialize(msg)
end
event.listen("modem_message", a)
for k,v in pairs(esrialization.unserialize(msg))
do
if v.name=="PHOBOSS" then
print (v.name,k,v.x,v.y,v.z)
end
end
but instead it does this:
well I shouldn't be complaining since it did what I want but I need this to be running in a loop and I just also want to know what the error means
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.
I have this code
It works on a computer:
Link to post
Share on other sites