Jump to content




Frequently Asked Questions


  • You cannot reply to this topic
11 replies to this topic

#1 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 18 September 2012 - 11:00 PM

Updated to the latest version of CC (1.5) and all questions that might be pertinent to that version.

Lately I've noticed that a lot of the same questions are being asked over and over... and over again. So I've made this to hopefully stop the 'spam' so that the real questions can shine :)/>

Q: My turtle is not moving! Why?
Spoiler

Q: Events. How do I use them and/or what are they?
Spoiler

Q: Where do I put programs I download?
Spoiler

Q: What are peripherals and how do I use them?
Spoiler

Q: How do I make an api?
Spoiler

Q: How can I detect mouse clicks?
Spoiler

Q: Can I start a computer/turtle remotely?
Spoiler

Q: How do I write to files or how do I read from files?
Spoiler

Q: My file writing program is writing everything on the same line. How do I fix this?
Spoiler

Q: How do I write a program that will accept arguments such as "excavate 3"?
Spoiler

Q: Programs that access the (real) internet are not working
Spoiler

Q: If I'm playing on a server and I want a program how can I get that without typing the whole thing out?
Spoiler

Q: How can I get the ID of an item?
Spoiler

Q: How can I save tables to a file and then load that table later?
Spoiler

Q: How do I use printers in my code?
Spoiler

Q: I'm having trouble with basic lua knowledge such as while loops or for loops
Spoiler

Q:How do I use monitors?
Spoiler

Q: I'm getting this error...
Spoiler

Q: My question is not answered here... What do I do?
A: First, check out the CC wiki. If your question is not answered there, read this AND check through the first three pages of the Ask a Pro/Tutorials forums. If you question remains unanswered, come and ask on Ask a Pro. People are always willing to help, and don't be afraid of sounding 'stupid'. We all have to go through the same learning process as you, so please, ask away... Unless of course your question is answered in the list above. In which case, please don't ask :)/>

If anyone has suggestions or problems with this post, please tell me!

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 18 September 2012 - 11:14 PM

I like this. This should be the first thing that new coders/scripters see when they come asking for help.

#3 Lettuce

  • Members
  • 210 posts
  • LocationIn your fridge.

Posted 19 September 2012 - 01:49 AM

This is incredible. I have seen and answered these same questions, sometimes multiple times. You've been 1 upped, and like Cranium said, I hope people come here and see this, as it answers several actually common questions. If I think of any more I see regularly, I'll bring it to your attention.

I try to help people on the "Ask a Pro" section very often, so I'm sure I'll find one.

Hold on, I did just think of one. Parenthesis. People forget one or both, and get '=' expected. That's confusing, and asked often.

--Lettuce

#4 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 19 September 2012 - 02:43 AM

View PostLettuce, on 19 September 2012 - 01:49 AM, said:

This is incredible. I have seen and answered these same questions, sometimes multiple times. You've been 1 upped, and like Cranium said, I hope people come here and see this, as it answers several actually common questions. If I think of any more I see regularly, I'll bring it to your attention.

I try to help people on the "Ask a Pro" section very often, so I'm sure I'll find one.

Hold on, I did just think of one. Parenthesis. People forget one or both, and get '=' expected. That's confusing, and asked often.

--Lettuce

Thanks for the praise and giving me another to add to the list :)/> I updated my post with a link to Codex of Error Slaying as that should cover the majority of commonly made errors.

#5 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 19 September 2012 - 05:21 AM

I would advise them to pin this thread to the top of the Ask a Pro section, it could significantly decrease post count. good job there

#6 GopherAtl

  • Members
  • 888 posts

Posted 19 September 2012 - 06:10 PM

another one that gets asked a lot (though not often clearly, it's something people want to know how to do anyway)

http://www.computerc...-me-at-runtime/

basically, "how do I make my program take parameters when run from the shell?"

#7 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 19 September 2012 - 08:51 PM

View PostGopherAtl, on 19 September 2012 - 06:10 PM, said:

another one that gets asked a lot (though not often clearly, it's something people want to know how to do anyway)

http://www.computerc...-me-at-runtime/

basically, "how do I make my program take parameters when run from the shell?"

Added

#8 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 29 October 2012 - 02:52 AM

Updated the FAQ to the most recent version of ComputerCraft

#9 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 27 January 2013 - 07:52 AM

I'm not planning on pinning this (as I'd copy the content out first and create a new post), but this is linked to from the Ask a Pro "Useful Tutorials & Resources" topic. :)

#10 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 27 January 2013 - 08:14 AM

View PostLyqyd, on 27 January 2013 - 07:52 AM, said:

I'm not planning on pinning this (as I'd copy the content out first and create a new post), but this is linked to from the Ask a Pro "Useful Tutorials & Resources" topic. :)

Sweet :) I'm glad to hear that it's not been entirely forgotten XD

#11 TeaPartyIdiot

  • Members
  • 12 posts
  • LocationAperture Enrichment Center

Posted 12 May 2013 - 02:50 PM

How do I get a program to detect wether it is running on a Turtle or a computer?

#12 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 12 May 2013 - 03:05 PM

if turtle then
  --is turtle
else
  --is not turtle
end






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users