- ComputerCraft | Programmable Computers for Minecraft
- → NilLogic's Content
NilLogic's Content
There have been 28 items by NilLogic (Search limited from 10-February 22)
#245867 Beam stat/chat veiwer
Posted by
NilLogic
on 16 February 2016 - 06:06 AM
in
Programs
Cool program! While it could be improved with small tweaks and perhaps some visual adjustments it functions great!
Remember to localize all your variables!!!
Question now is, how will you improve this? Will you add support for multiple channels? Nice work anyhow!
Monitor detection
mon = peripheral.find(monitor)
if not mon then
error("Connected a monitor")
end
This will give a more useful error if someone forgets to attach a monitor.
Useless variable
monitor = peripheral.wrap("top")
This line is not needed whatsoever.
Repeated Code?
streamid = getStreamId(streamname) obj = json.decode(str)Both of the above variables have been repeated atleast twice, so you may be able to save a few lines there.
Remember to localize all your variables!!!
Question now is, how will you improve this? Will you add support for multiple channels? Nice work anyhow!
#243552 Easy Automatic Tree Farm
Posted by
NilLogic
on 18 January 2016 - 04:59 PM
in
Turtle Programs
Nice work! although I have some questions; question 1: What if slot 1 does not have a valid fuel source? (e.g nothing, or saplings), question 2: What is the point in turtle.suck() in your while true do loop? (turtle.dig() does this), question 3: Why does the fourms not let me scroll up to look at the rest of your code while replying and force me to type as slow as a turtle to print a character?
#242808 NodeQuarry - A Cheap, Scalable, Web-Based Turtle Quarry
Posted by
NilLogic
on 10 January 2016 - 05:16 PM
in
Turtle Programs
#242794 NodeQuarry - A Cheap, Scalable, Web-Based Turtle Quarry
Posted by
NilLogic
on 10 January 2016 - 01:49 PM
in
Turtle Programs
Yes, I'm just not sure why it errors while it tries to install them
#242695 NodeQuarry - A Cheap, Scalable, Web-Based Turtle Quarry
Posted by
NilLogic
on 09 January 2016 - 12:45 AM
in
Turtle Programs
I'm having issues using this, I have downloaded node.js, however I'm unable to install npm. I get an error of: "Couldn't read dependencies" and "no such file or directory" Your program looks fantastic, shame I cant use it correctly. Could anyone give me some help?
#241740 Guess Who's Below
Posted by
NilLogic
on 28 December 2015 - 08:06 PM
in
Forum Games
Dem?
#241697 Guess Who's Below
Posted by
NilLogic
on 28 December 2015 - 04:01 PM
in
Forum Games
Nope!
Hydra?
Hydra?
#241505 Code structure?
Posted by
NilLogic
on 26 December 2015 - 09:39 PM
in
Ask a Pro
Would it be possible for you to explain the situation more? May I see your code and suggest improvements that way?
It is hard for anyone to tell you how to structure your code as everyone structures their own code differently. I personally like to think of a function as a paragraph, so I make a new function every time I would take a paragraph in a story.
Sorry I could not be more helpful
It is hard for anyone to tell you how to structure your code as everyone structures their own code differently. I personally like to think of a function as a paragraph, so I make a new function every time I would take a paragraph in a story.
Sorry I could not be more helpful
#241501 KiwiControl
Posted by
NilLogic
on 26 December 2015 - 09:21 PM
in
Turtle Programs
Fantastic, nice and simple way to wirelessly control a turtle. May I suggest that you add ways for the turtle to be able to break and place blocks above, below and on front? Keep up the good work
- ComputerCraft | Programmable Computers for Minecraft
- → NilLogic's Content


