Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Famous5000

Leash upgrade for drones ISN'T WORKING

Question

I decided to work on the drones, and I tried to run this command in my processor for the DRONE:

L = component.leash

(RETURNED NOTHING)

L.leash(5)

[string "L.leash(5)"]:1: attempt to index a nil value (global 'L')

And I tried the same thing with just the component:

component.leash.leash(5)

[string "component.leash.leash(5)]:1: attempt to index a nil value (field leash)

 

And yes, I've tried both restarting the drone AND the computer, and even replacing it.

Before you even ask: YES I HAVE THE LEASH UPGRADE.

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Drones don't have the OpenOS libraries, while component.leash would work on a computer running OpenOS it only does so because it creates "primary components" (i.e. adding the ability to do component.blah), on the drone you will need to use the basic component library functions ( see http://ocd.cil.li/tutorial:custom_oses for what you have available ) like component.get and component.proxy to get the leash component.

Link to post
Share on other sites

Join the conversation

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.