This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Lyqyd's profile picture

Idea Exchange

Started by Lyqyd, 12 March 2013 - 04:47 AM
Lyqyd #1
Posted 12 March 2013 - 05:47 AM
I've noticed a plethora of idea topics lately. People asking for ideas, people posting ideas. I figure we might as well have one central topic to exchange ideas in. If you have an idea for a program or something else for ComputerCraft that you don't have time/experience/etc. to make yourself, post it. If you need ideas, here's the place to get them. This isn't a program request topic, though. Put an idea out, but don't ask someone to code it for you.

Here are a few to get us started:

A blackjack game
A configurable control program with a user-friendly interface for creating control conditions (such as, when blue on left goes high and red on left is low, set green on right high.)
Kingdaro #2
Posted 12 March 2013 - 06:00 AM
The control program is a really good idea, I might work on that when I get home.

As for blackjack, I can recall someone making a nice blackjack game with some awesome ascii images for cards.

On the subject of card games, how about Egyptian Ratscrew?
tesla1889 #3
Posted 12 March 2013 - 06:21 AM
On the subject of card games, how about Egyptian Ratscrew?

oh. so that's what that's called. we always called it egyptian war
Dlcruz129 #4
Posted 12 March 2013 - 11:54 AM
Rubix cube simulator!
AnDwHaT5 #5
Posted 15 March 2013 - 11:41 AM
Ahh was this based on my post?
Cranium #6
Posted 16 March 2013 - 03:31 AM
Ahh was this based on my post?
That seems awful self centered of you to think that this was your idea to make a central area for ideas. It's been done by a lot of other people.

On topic:
an API to make different gui options. Such as scroll bars, minimenus, buttons, etc.
Mads #7
Posted 16 March 2013 - 04:52 AM
A ray-caster. They are fairly easy to make, and do not require too many calculations. And they'd probably help make some very good games!
remiX #8
Posted 16 March 2013 - 08:52 AM
I've noticed a plethora of idea topics lately. People asking for ideas, people posting ideas. I figure we might as well have one central topic to exchange ideas in. If you have an idea for a program that you don't have time/experience/etc. to make yourself, post it. If you need ideas, here's the place to get them. This isn't a program request topic, though. Put an idea out, but don't ask someone to code it for you.

Here are a few to get us started:

A blackjack game
A configurable control program with a user-friendly interface for creating control conditions (such as, when blue on left goes high and red on left is low, set green on right high.)

Looks like you can cross out blackjack
Smiley43210 #9
Posted 16 March 2013 - 09:12 AM
A GUI creator/editor sounds like an excellent idea. I've heard various people say they're making one though.
Mailmanq! #10
Posted 16 March 2013 - 02:38 PM
A github client :)/>
AnDwHaT5 #11
Posted 17 March 2013 - 06:14 AM
Ahh was this based on my post?
That seems awful self centered of you to think that this was your idea to make a central area for ideas. It's been done by a lot of other people.

On topic:
an API to make different gui options. Such as scroll bars, minimenus, buttons, etc.
No i posted and others followed so i thought it was based on my original post. Its not self centered its bad assumptions.
Lyqyd #12
Posted 17 March 2013 - 06:17 AM
Yours wasn't the original post of this type anyway. Just one in a long line of them.
AnDwHaT5 #13
Posted 17 March 2013 - 06:19 AM
No kidding? Well excuse me anyone may ignore my previous posts i never noticed the ones your stating sorry about that.
1lann #14
Posted 17 March 2013 - 07:15 AM
A computer lock that encrypts all the files on the computer with the password as the key or something, and decrypts all the files when logging in. So if somoene bypasses the login with a disk, they can't really use the files/steal the programs on the computer.
TheOddByte #15
Posted 17 March 2013 - 11:10 AM
[GAME] Bomberman, Don't know if anyone have played it here but it's really fun :D/>
I started with this a while ago but did'nt continue since I couldn't successfully generate a map for it..
GopherAtl #16
Posted 17 March 2013 - 02:16 PM
A ray-caster. They are fairly easy to make, and do not require too many calculations. And they'd probably help make some very good games!

Like this one? (2.5-d wolf3d-style raycaster I made a few weeks ago in an evening)
Kingdaro #17
Posted 17 March 2013 - 09:58 PM
[GAME] Bomberman, Don't know if anyone have played it here but it's really fun :D/>/>
I started with this a while ago but did'nt continue since I couldn't successfully generate a map for it..
I kinda wanna do this, haha.
AnDwHaT5 #18
Posted 18 March 2013 - 01:56 AM
A universal chat and or email system.
Smiley43210 #19
Posted 18 March 2013 - 02:05 AM
Universal email .. like between servers? Look at Thunderbird
Mailmanq! #20
Posted 18 March 2013 - 05:06 AM
An IDE that has many useful features
Tiin57 #21
Posted 20 March 2013 - 02:54 PM
An IRC bot using CCSockets2.
robhol #22
Posted 21 March 2013 - 07:51 AM
To the guys asking about GUIs, check out the project in my signature.
jojoxd #23
Posted 21 March 2013 - 10:41 AM
disk.getLength() so i can see how long a music disk is?
Lyqyd #24
Posted 21 March 2013 - 10:56 AM
That's not really an idea, it's more of a suggestion. An unnecessary suggestion, though.
elfin8er #25
Posted 21 March 2013 - 04:36 PM
How about CC-Twitter? I think the name pretty much speaks for itself. I want to be able to view my twitter, and make twitter posts in computercraft. Fairly sure this is possible with this.
TheOddByte #26
Posted 22 March 2013 - 05:41 AM
A Hello World program that randomly genrates different colors..
Oh sorry I already created this :P/>
Spoiler

textColors = {
colors.red, colors.green, colors.lime, colors.white,
colors.yellow, colors.purple, colors.brown, colors.blue, colors.lightBlue,
colors.magenta, colors.pink, colors.gray, colors.lightGray,
colors.orange, colors.cyan
}

function words()
while true do
random = textColors[math.random(1,#textColors)]
term.setTextColor(random)
term.clear()
term.setCursorPos(1,1)
print("Hello World!")
sleep(0)
end
end

function event()
os.pullEvent("key")
term.clear()
term.setCursorPos(1,1)
error()
end

parallel.waitForAny(words , event)

No but seriously I would love to see some kind of multiplayer worm. :D/>
theoriginalbit #27
Posted 22 March 2013 - 05:46 AM
A Hello World program that randomly genrates different colors..
Oh sorry I already created this :P/>
Spoiler

textColors = {
colors.red, colors.green, colors.lime, colors.white,
colors.yellow, colors.purple, colors.brown, colors.blue, colors.lightBlue,
colors.magenta, colors.pink, colors.gray, colors.lightGray,
colors.orange, colors.cyan
}

function words()
while true do
random = textColors[math.random(1,#textColors)]
term.setTextColor(random)
term.clear()
term.setCursorPos(1,1)
print("Hello World!")
sleep(0)
end
end

function event()
os.pullEvent("key")
term.clear()
term.setCursorPos(1,1)
error()
end

parallel.waitForAny(words , event)
What a waste of time…. :P/> it already exists… type 'hello' into the computer :P/>

also just as a learning point, much nicer code
Spoiler

function clear()
  term.clear()
  term.setCursorPos(1,1)
end

function words()
  while true do
	term.setTextColor( 2 ^ math.random(0,15) )
	clear()
	print("Hello World!")
	sleep(0)
  end
end

function event()
  os.pullEvent("key")
  clear()
end

parallel.waitForAny(words , event)
TheOddByte #28
Posted 22 March 2013 - 05:53 AM
A Hello World program that randomly genrates different colors..
Oh sorry I already created this :P/>
Spoiler

textColors = {
colors.red, colors.green, colors.lime, colors.white,
colors.yellow, colors.purple, colors.brown, colors.blue, colors.lightBlue,
colors.magenta, colors.pink, colors.gray, colors.lightGray,
colors.orange, colors.cyan
}

function words()
while true do
random = textColors[math.random(1,#textColors)]
term.setTextColor(random)
term.clear()
term.setCursorPos(1,1)
print("Hello World!")
sleep(0)
end
end

function event()
os.pullEvent("key")
term.clear()
term.setCursorPos(1,1)
error()
end

parallel.waitForAny(words , event)
What a waste of time…. :P/> it already exists… type 'hello' into the computer :P/>

also just as a learning point, much nicer code
Spoiler

function clear()
  term.clear()
  term.setCursorPos(1,1)
end

function words()
  while true do
	term.setTextColor( 2 ^ math.random(0,15) )
	clear()
	print("Hello World!")
	sleep(0)
  end
end

function event()
  os.pullEvent("key")
  clear()
end

parallel.waitForAny(words , event)
Uhmmm.. I know it already exists..
I just wanted to make a little joke that's all..
But would'nt it be nice to have a multiplayer worm..?
theoriginalbit #29
Posted 22 March 2013 - 05:54 AM
But would'nt it be nice to have a multiplayer worm..?
Could be nice…. go for it! cant wait :P/>
superaxander #30
Posted 22 March 2013 - 07:08 PM
How about CC-Twitter? I think the name pretty much speaks for itself. I want to be able to view my twitter, and make twitter posts in computercraft. Fairly sure this is possible with this.
I've seen one. But I can't remember what it was called.
remiX #31
Posted 22 March 2013 - 07:17 PM
How about CC-Twitter? I think the name pretty much speaks for itself. I want to be able to view my twitter, and make twitter posts in computercraft. Fairly sure this is possible with this.

Hmmm. Good idea. MysticT did make a twitter something, but it only displayed random tweets from an account. You weren't able to tweet.I'll check out the link you posted and see if it's doable and easy :P/>
elfin8er #32
Posted 25 March 2013 - 07:39 AM
How about CC-Twitter? I think the name pretty much speaks for itself. I want to be able to view my twitter, and make twitter posts in computercraft. Fairly sure this is possible with this.

Hmmm. Good idea. MysticT did make a twitter something, but it only displayed random tweets from an account. You weren't able to tweet.I'll check out the link you posted and see if it's doable and easy :P/>
Alright, cool!
Simon #33
Posted 25 March 2013 - 11:55 AM
I'm going to start work on Bomberman, we will see how it turns out

Edit: Finished, but the code was lost when I got my new computer :/
BigSHinyToys #34
Posted 25 March 2013 - 02:39 PM
I have a unfinished user interface system if anyone has use for it.
net api
example usage
If you would like to build on that or release modified versions go a head. I releases this program open source and public domain.
yaaay #35
Posted 25 March 2013 - 09:28 PM
a office suite
Engineer #36
Posted 27 March 2013 - 12:58 PM
Im currently developing an IDE. I am going to try to add code snippets. Will it ever finish? Uuhmm maybee? If I decide to quit the project I will post the unfinished project somewhere on the forums.
Azhf #37
Posted 27 March 2013 - 01:04 PM
A fully working rednet game mortal kombat style and, if possible, a completely online game where you login and can check what other players are online and can play with them?
Azhf #38
Posted 27 March 2013 - 01:06 PM
Also can't wait for Twitter and bomberman ;3
Azhf #39
Posted 27 March 2013 - 01:13 PM
Also, can someone make or is there already an html API? That would be awesome :P/>
elfin8er #40
Posted 27 March 2013 - 02:42 PM
Im currently developing an IDE. I am going to try to add code snippets. Will it ever finish? Uuhmm maybee? If I decide to quit the project I will post the unfinished project somewhere on the forums.
That'll be real nice! Could you post here when you're done?
remiX #41
Posted 28 March 2013 - 01:09 AM
Also, can someone make or is there already an html API? That would be awesome :P/>

html api?
how do you mean?
elfin8er #42
Posted 28 March 2013 - 06:41 AM
Also, can someone make or is there already an html API? That would be awesome :P/>

html api?
how do you mean?
I think he wants to use html to program computercraft.
MysticT #43
Posted 28 March 2013 - 06:54 AM
I started to make an html parser, just for fun, but I never finished it… Why can't I finish a project? :P/>

Also, can someone make or is there already an html API? That would be awesome :P/>

html api?
how do you mean?
I think he wants to use html to program computercraft.
Maybe build GUIs, NEVER to program, html is not a programming language. :D/>
remiX #44
Posted 28 March 2013 - 07:29 AM
I started to make an html parser, just for fun, but I never finished it… Why can't I finish a project? :P/>

May I have a glimpse at it or a description of what it does? :P/>
MysticT #45
Posted 28 March 2013 - 07:40 AM
I started to make an html parser, just for fun, but I never finished it… Why can't I finish a project? :P/>

May I have a glimpse at it or a description of what it does? :P/>
It's just an html parser. It reads the html file and gets the tags. I didn't even started with the rendering, so it's pretty useless :P/>
I'll try to find it and see if I can finish it, or at least release what I have for someone else to continue.
theoriginalbit #46
Posted 28 March 2013 - 05:34 PM
I started to make an html parser, just for fun, but I never finished it… Why can't I finish a project? :P/>

May I have a glimpse at it or a description of what it does? :P/>
here you go, here is a HTML parser made in Lua about 6 years ago… :P/>
https://github.com/luaforge/html/blob/master/html/html.lua
ardera #47
Posted 29 March 2013 - 05:49 AM
A video suite for lightshot :)/>
Azhf #48
Posted 29 March 2013 - 08:33 AM
I started to make an html parser, just for fun, but I never finished it… Why can't I finish a project? :P/>

Also, can someone make or is there already an html API? That would be awesome :P/>

html api?
how do you mean?
I think he wants to use html to program computercraft.
Maybe build GUIs, NEVER to program, html is not a programming language. :D/>
First, I'm 90% sure it is a programming language, if not a coding one, and I mean add html commands in edit <file> So I could make an html-type document. Not ALWAYS to use, just when I feel like refreshing my html memory.
jag #49
Posted 29 March 2013 - 08:44 AM
First, I'm 90% sure it is a programming language, if not a coding one, and I mean add html commands in edit <file> So I could make an html-type document. Not ALWAYS to use, just when I feel like refreshing my html memory.
HTML does not fit into the definition of a "programming language". Therefore you don't say it is.
There are familiar languages such as CSS that aren't either a programming language.

HTML does not give you the functionality to make executable code within it. But it does open the opportunity of embedding other languages such as following:

'# JavaScript #'
<script>
	// Code
</script>

'# Php #'
<?php
	// Code
?>

'# Asp #'
<%
	' Code '
%>

etc.
cotec #50
Posted 29 March 2013 - 10:35 AM
Hey guys, i need some ideas how a "perfect" OS should be. It would be nice if someone would say his/her opinion to the following points:
* Fast OS or nice graphics and animations? (Loading Screen?)
* Keep old programs and link them to the desktop for faster working? (for example: lua console)
* Monitor (touch) support necessary?
* Preinstall often-used programms like Thunderbird ?
* Online Appstore / Online Filestorage or anything like that?
Azhf #51
Posted 29 March 2013 - 11:03 AM
Hey guys, i need some ideas how a "perfect" OS should be. It would be nice if someone would say his/her opinion to the following points:
* Fast OS or nice graphics and animations? (Loading Screen?)
* Keep old programs and link them to the desktop for faster working? (for example: lua console)
* Monitor (touch) support necessary?
* Preinstall often-used programms like Thunderbird ?
* Online Appstore / Online Filestorage or anything like that?
*Balanced
*Yes
*Maybe, though some people such as on servers can't get them.
*Yes
*Yes
Dlcruz129 #52
Posted 29 March 2013 - 12:01 PM
HTML is a markup language, hence the name HyperText Markup Language. It can't even run programs, but it can run scripts. There's a reason it's called the <script> tag and not the <program> tag.
elfin8er #53
Posted 29 March 2013 - 01:43 PM
Hey guys, i need some ideas how a "perfect" OS should be. It would be nice if someone would say his/her opinion to the following points:
* Fast OS or nice graphics and animations? (Loading Screen?)
* Keep old programs and link them to the desktop for faster working? (for example: lua console)
* Monitor (touch) support necessary?
* Preinstall often-used programms like Thunderbird ?
* Online Appstore / Online Filestorage or anything like that?
*Balanced
*Yes
*Maybe, though some people such as on servers can't get them.
*Yes
*Yes
Azhf #54
Posted 30 March 2013 - 07:56 AM
Can someone make an http thing to this life simulation game: http://www.playalterego.com/alterego I've seen people do this by sending responses back from Cleverbot(CCleverbot) And such, and it would be awesome if I could play this game in CC.
sasaa_86 #55
Posted 31 March 2013 - 12:08 AM
I did'nt find it anywhere so just suggesting it.

I would love a programmable cart/train with a chest…

maybe combine a turtle and chest with a cart
or chest-cart with turtle offcourse

i like steve carts but it's a pain to use it with CC

turtle.rail() to see if there's a rail infront of it (so it can deploy one if needed)
turtle.detectLeft(), turtle.detectRight(), turtle.dropLeft() and turtle.dropRight() would be nice to
or the ability to turn the turtle in the cart.

or a commant that would mount the turtle to the cart like
turtle.mountDown()

Please let me know if this already exists.
theoriginalbit #56
Posted 01 April 2013 - 12:35 AM
Someone should make Bejeweled… that is all…
TheOddByte #57
Posted 01 April 2013 - 12:48 AM
Someone should make Bejeweled… that is all…
I was gonna say that! :P/>
So.. You're not the only one thinking about that..
I'll maybe try this.
theoriginalbit #58
Posted 01 April 2013 - 12:50 AM
I was gonna say that! :P/>
So.. You're not the only one thinking about that..
I'll maybe try this.
I was considering making it… but I have way too much on my plate as it is…
robhol #59
Posted 01 April 2013 - 01:23 AM
HTML is *not* a programming language. If you're 90% sure it is, you're 90% wrong.
theoriginalbit #60
Posted 01 April 2013 - 01:32 AM
HTML is *not* a programming language. If you're 90% sure it is, you're 90% wrong.
way to bring back a convo that was a few days old… :P/> we are onto a new topic now. Bejeweled :P/>
Kingdaro #61
Posted 01 April 2013 - 06:43 PM
Someone should make Bejeweled… that is all…
Done!
theoriginalbit #62
Posted 01 April 2013 - 07:08 PM
Wooo hoooo! :P/>
elfin8er #63
Posted 09 April 2013 - 06:01 AM
What about some kind of turtle RTS? It may be pretty hard if not impossible however.
SadKingBilly #64
Posted 10 April 2013 - 03:28 AM
Has anyone ever made a multiplayer game with RedNet? Maybe a TCG or… or… multiplayer Mario clone? :o/>
Lyqyd #65
Posted 10 April 2013 - 06:26 AM
I know Gopher made a multiplayer battleship game at one point.
CoolisTheName007 #66
Posted 10 April 2013 - 07:48 AM
Im currently developing an IDE. I am going to try to add code snippets. Will it ever finish? Uuhmm maybee? If I decide to quit the project I will post the unfinished project somewhere on the forums.
Well, if getting tracebacks improves the IDE, you might like this: http://www.computerc...__fromsearch__1
Dlcruz129 #67
Posted 10 April 2013 - 04:55 PM
Has anyone ever made a multiplayer game with RedNet? Maybe a TCG or… or… multiplayer Mario clone? :o/>/>

NitrogenFingers made a chess game. It's a lot of fun.
Mackan90096 #68
Posted 11 April 2013 - 07:06 AM
Wordfeud in CC
SadKingBilly #69
Posted 11 April 2013 - 07:17 AM
Wordfeud in CC
Hm… I think I will actually try that. Neat idea.
Mackan90096 #70
Posted 11 April 2013 - 09:57 AM
Wordfeud in CC
Hm…. I think I will actually try that. Neat idea.

:)/>
Jarle212 #71
Posted 11 April 2013 - 10:37 AM
What about a small 3D graphics API, that whould be kind of nice. :)/>
Symmetryc #72
Posted 11 April 2013 - 03:31 PM
Someone needs to make a "colorutils" API with options for "clear" Background/Text Colors.
Jappards #73
Posted 12 April 2013 - 08:25 AM
i need idea`s, so i am taking requests, but i am still a bit of a noob at coding and i prefer turtle programs.
Dlcruz129 #74
Posted 12 April 2013 - 08:36 AM
i need idea`s, so i am taking requests, but i am still a bit of a noob at coding and i prefer turtle programs.

Self-reproducing turtle swarm.
Jappards #75
Posted 12 April 2013 - 09:14 AM
that is just impossible to code and one problem is the resources, where does the turtle get other turtles?
and another problem is the programming, so that is just impossible to code, but i tried it and i failed.
Symmetryc #76
Posted 12 April 2013 - 11:03 AM
that is just impossible to code and one problem is the resources, where does the turtle get other turtles?
and another problem is the programming, so that is just impossible to code, but i tried it and i failed.
Agreed, unless turtles have some form of detecting what block is in front of them that I don't know about, there is no way for the turtle to mine for iron and mine trees to get wood. Well, efficiently that is.
Lyqyd #77
Posted 12 April 2013 - 11:14 AM
It's possible. There are a variety of tests which can be performed to determine the type of material you have.
LDShadowLord #78
Posted 12 April 2013 - 11:49 AM
A properly integrated banking system. One that runs through the HTTP API and allows your currency to be 'universal'. It could be improved by utilising tax rates on various servers and such. A though which I have been harboring for some time.
Symmetryc #79
Posted 12 April 2013 - 11:54 AM
It's possible. There are a variety of tests which can be performed to determine the type of material you have.
Oh, sorry, I don't really know much about turtles. That would be cool if someone made a program like that, then!
Derp_Herpsworth #80
Posted 12 April 2013 - 03:45 PM
Not sure if this is possible, but…
How about Internet Radio? I mean, the possibility of listening some internet radios on Computercraft.
A GUI would help a lot. (Advanced Computer)
Dlcruz129 #81
Posted 12 April 2013 - 04:41 PM
Not sure if this is possible, but…
How about Internet Radio? I mean, the possibility of listening some internet radios on Computercraft.
A GUI would help a lot. (Advanced Computer)

Impossible without sound support.
theoriginalbit #82
Posted 12 April 2013 - 05:15 PM
Not sure if this is possible, but…
How about Internet Radio? I mean, the possibility of listening some internet radios on Computercraft.
A GUI would help a lot. (Advanced Computer)

Impossible without sound support.
And unless you feel like making some stuff in square waves, that aint gunna happen any time soon :P/>
Smiley43210 #83
Posted 12 April 2013 - 07:23 PM
A properly integrated banking system. One that runs through the HTTP API and allows your currency to be 'universal'. It could be improved by utilising tax rates on various servers and such. A though which I have been harboring for some time.
Interesting idea, but I doubt servers would want users' accounts linked to other servers. Why? Well…

*Modifies program code to give my account 9999999 more money*
*Runs program again*
*Logs in to another server*
*Buys tons of diamonds*

Of course, I would NEVER do that…. >_>
Jappards #84
Posted 13 April 2013 - 06:09 AM
is there anything else than a reproducing turtle swarm? i prefer building programs.
Lyqyd #85
Posted 13 April 2013 - 08:15 AM
Read through the rest of the topic. See if anything strikes your fancy. That's what it's here for, after all.
Jarle212 #86
Posted 13 April 2013 - 08:31 AM
Not sure if this is possible, but…
How about Internet Radio? I mean, the possibility of listening some internet radios on Computercraft.
A GUI would help a lot. (Advanced Computer)

Impossible without sound support.
And unless you feel like making some stuff in square waves, that aint gunna happen any time soon :P/>

Well you could make a RP2 or redstone APU then use a CCcomputer to download a song. Then you "compress" it into 8 bit, and play it on the API :)/>
theoriginalbit #87
Posted 13 April 2013 - 10:09 PM
Well you could make a RP2 or redstone APU then use a CCcomputer to download a song. Then you "compress" it into 8 bit, and play it on the API :)/>
Uhh? What API?
Jarle212 #88
Posted 14 April 2013 - 01:00 AM
Well you could make a RP2 or redstone APU then use a CCcomputer to download a song. Then you "compress" it into 8 bit, and play it on the API :)/>
Uhh? What API?
LOL ment APU
Symmetryc #89
Posted 16 April 2013 - 03:28 PM
Well you could make a RP2 or redstone APU then use a CCcomputer to download a song. Then you "compress" it into 8 bit, and play it on the API :)/>
Uhh? What API?
LOL ment APU
APU as in ALU?
Jarle212 #90
Posted 20 April 2013 - 12:12 PM
Well you could make a RP2 or redstone APU then use a CCcomputer to download a song. Then you "compress" it into 8 bit, and play it on the API :)/>
Uhh? What API?
LOL ment APU
APU as in ALU?

No, APU as in Audio Processing Unit :P/>
Symmetryc #91
Posted 20 April 2013 - 01:16 PM
Well you could make a RP2 or redstone APU then use a CCcomputer to download a song. Then you "compress" it into 8 bit, and play it on the API :)/>
Uhh? What API?
LOL ment APU
APU as in ALU?

No, APU as in Audio Processing Unit
Ah, I thought you were saying Arithmetic and Logic Unit :P/>.
Azhf #92
Posted 20 April 2013 - 02:04 PM
Could someone make the originial arcade game Galaga? :D/> That would be awesome, also, can someone make YouFindYourselfInARoom on CC? That game is awesome and it would be cool to play it in Minecraft :D/> BTW Google it, it is a game on Newgrounds.
alakazard12 #93
Posted 22 April 2013 - 01:37 AM
Could someone make the originial arcade game Galaga? :D/> That would be awesome, also, can someone make YouFindYourselfInARoom on CC? That game is awesome and it would be cool to play it in Minecraft :D/> BTW Google it, it is a game on Newgrounds.

If I remember correctly, someone create Galaga a long time ago, before advanced computers ever appeared.
TheOddByte #94
Posted 22 April 2013 - 06:14 AM
Could someone make the originial arcade game Galaga? :D/> That would be awesome, also, can someone make YouFindYourselfInARoom on CC? That game is awesome and it would be cool to play it in Minecraft :D/> BTW Google it, it is a game on Newgrounds.

If I remember correctly, someone create Galaga a long time ago, before advanced computers ever appeared.
What is Galaga? I'll try to make it maybe and I'll google it and see if it seems fun..
TheOddByte #95
Posted 22 April 2013 - 06:20 AM
Could someone make the originial arcade game Galaga? :D/> That would be awesome, also, can someone make YouFindYourselfInARoom on CC? That game is awesome and it would be cool to play it in Minecraft :D/> BTW Google it, it is a game on Newgrounds.

If I remember correctly, someone create Galaga a long time ago, before advanced computers ever appeared.
What is Galaga? I'll try to make it maybe and I'll google it and see if it seems fun..
EDIT: Ok.. Looked it up and I have played that before but didn't know that it was called Galaga..
I'll try to make it when I get the time maybe..
But I have a suggestion also: ccSims
Wouldn't it be awesome with The Sims in CC computers?
ironwiccan #96
Posted 23 April 2013 - 12:32 PM
Maybe a hackable terminal like in fallout? You don't have to write the code but please point me in the right direction?
SadKingBilly #97
Posted 23 April 2013 - 01:11 PM
Maybe a hackable terminal like in fallout? You don't have to write the code but please point me in the right direction?
I haven't played enough Fallout to know what you're talking about. Presuming you just mean a program that emulates the behavior of the terminals in Fallout, that's probably really easy to do. Could you explain a little more what you're looking for?
Kryptanyte #98
Posted 23 April 2013 - 01:13 PM
You can cross fallout terminal off: http://www.computerc...h__1#entry95452
yaaay #99
Posted 05 May 2013 - 12:38 AM
an Pda emulator if pdas are there
M4sh3dP0t4t03 #100
Posted 11 May 2013 - 11:11 AM
Well you could make a RP2 or redstone APU then use a CCcomputer to download a song. Then you "compress" it into 8 bit, and play it on the API :)/>/>
Uhh? What API?
LOL ment APU
APU as in ALU?

No, APU as in Audio Processing Unit
Ah, I thought you were saying Arithmetic and Logic Unit :P/>/>.

I thought APU as in Accelerated Processing Unit.
Jarle212 #101
Posted 12 May 2013 - 08:02 PM
Well you could make a RP2 or redstone APU then use a CCcomputer to download a song. Then you "compress" it into 8 bit, and play it on the API :)/>/>
Uhh? What API?
LOL ment APU
APU as in ALU?

No, APU as in Audio Processing Unit
Ah, I thought you were saying Arithmetic and Logic Unit :P/>/>.

I thought APU as in Accelerated Processing Unit.
I can also stand for Audio Processing Unit
theoriginalbit #102
Posted 12 May 2013 - 10:01 PM
I thought APU as in Accelerated Processing Unit.
I can also stand for Audio Processing Unit
Or Auxiliary Power Unit…
FuuuAInfiniteLoop(F.A.I.L) #103
Posted 12 May 2013 - 10:09 PM
Suggestion: A hack the game simulation that can read the mission pack files(they are in plain text)
Jonnhycraft #104
Posted 19 May 2013 - 07:39 PM
I had a server event (or server THEME) idea. The idea is to have an event/server/etc. about locating servers using wireless modems. Another idea was just espionage contests with buildings set up that you have to infiltrate and do something on a computer, like send a signal over rednet or something! :D/>
nutcase84 #105
Posted 20 May 2013 - 12:36 PM
Suggestion: A hack the game simulation that can read the mission pack files(they are in plain text)

Maybe I'll do it. Sounds good.
RRReaperrr #106
Posted 24 May 2013 - 09:04 AM
I had a server event (or server THEME) idea. The idea is to have an event/server/etc. about locating servers using wireless modems. Another idea was just espionage contests with buildings set up that you have to infiltrate and do something on a computer, like send a signal over rednet or something! :D/>
Great Idea.
djawesome456 #107
Posted 24 May 2013 - 09:54 AM
Hello Everybody, DJ here :D/>,
I was thinking about Computercraft Operating systems and some thoughts struck my mind, what would the users (You Guys)
want to see in a operating system!?
I had some ideas of my own.
Ideas:
Email System
Resizable Windows
Desktop bar
Screensaver(s)
A Run Function ( you type in the program name and it runs the program )
Customizable Background ( That you can draw pictures and input them in )
File Permissions
File Explorer
Startup Menu ( Simmilar to BIOS in Windows, But changes Computer Craft Options like the time and monitor side and modem side )
FireWolf
Standard User And Admininstrator Accounts,
Advanced Login System ( If it detects a user trying to login with a unknow account, it will ask if the user wants to create one, and will ask for a
administrator's login )
nPaintPro
Game Sytem ( Loads up into a simple GUI Menu and lets you play games outside of the main OS. )

If Anyone Else Has Any Ideas Please Post Them!
Thanks, DJ :D/>
Lyqyd #108
Posted 24 May 2013 - 05:50 PM
Thread merged.
M4sh3dP0t4t03 #109
Posted 25 May 2013 - 04:00 AM
You could make a little group of turtles following you around the whole time and carrying things/doing other things for you once PDAs come out.
Thefdjurt #110
Posted 25 May 2013 - 01:00 PM
A program that links from the website, www.computercraft.info/ , to a turtle and or a computer.
Mackan90096 #111
Posted 01 June 2013 - 05:20 AM
Hello Everybody, DJ here :D/>/>,
I was thinking about Computercraft Operating systems and some thoughts struck my mind, what would the users (You Guys)
want to see in a operating system!?
I had some ideas of my own.
Ideas:
Email System
Resizable Windows
Desktop bar
Screensaver(s)
A Run Function ( you type in the program name and it runs the program )
Customizable Background ( That you can draw pictures and input them in )
File Permissions
File Explorer
Startup Menu ( Simmilar to BIOS in Windows, But changes Computer Craft Options like the time and monitor side and modem side )
FireWolf
Standard User And Admininstrator Accounts,
Advanced Login System ( If it detects a user trying to login with a unknow account, it will ask if the user wants to create one, and will ask for a
administrator's login )
nPaintPro
Game Sytem ( Loads up into a simple GUI Menu and lets you play games outside of the main OS. )

If Anyone Else Has Any Ideas Please Post Them!
Thanks, DJ :D/>/>

This is actually a great idea! I'd like to see something like that.
nutcase84 #112
Posted 02 June 2013 - 02:20 PM
A program that links from the website, www.computercraft.info/ , to a turtle and or a computer.

Then what would it do? I could make a web file viewer in about 5 minutes.
Engineer #113
Posted 02 June 2013 - 02:26 PM
A program that links from the website, www.computercraft.info/ , to a turtle and or a computer.

Then what would it do? I could make a web file viewer in about 5 minutes.

I think he is suggesting something that would show the actual website. Unfortunately, this is almost impossible.
billysback #114
Posted 02 June 2013 - 07:09 PM
well, this is an idea I had
http://pastebin.com/4VYL3eqZ

it just adds hotkeys…
I made it like a week ago and I think it was finished. I just couldn't be bothered to test and release it.
If anyone wants to take it feel free.

I need ideas for minigames that fit the theme of being a child.
any ideas?
Sxw #115
Posted 03 June 2013 - 12:34 AM
Dwarf fortress….
nutcase84 #116
Posted 03 June 2013 - 09:28 PM
Dwarf fortress….

On computercraft? It would look HORABLE.
superaxander #117
Posted 05 June 2013 - 02:35 PM
Simmilar to BIOS in Windows
Just to clearify the BIOS is NOT part of Windows. It is delivered on your motherboard as a chip.
FuuuAInfiniteLoop(F.A.I.L) #118
Posted 06 June 2013 - 06:11 PM
Monopoly!
FanSofaWall #119
Posted 08 June 2013 - 08:00 PM
ComputerCraft Version Of RollerCoaster Tycoon 2! ComputerCraft Version Of GearCity! ComputerCraft Version Of Car Tycoon
Mackan90096 #120
Posted 09 June 2013 - 03:04 AM
ComputerCraft Version Of RollerCoaster Tycoon 2! ComputerCraft Version Of GearCity! ComputerCraft Version Of Car Tycoon

Why not Game Dev Tycoon ?
ikke009 #121
Posted 09 June 2013 - 02:54 PM
Game dev tycoon would be a huge project though, if it is to be done properly.. I like the idea of making a tycoon tho but im not sure what kind..
Tjakka5 #122
Posted 12 June 2013 - 12:36 PM
Hey guys,

I feel like coding a small game the next few days, but I'm not creative, and I do not know any game to create…
So, I ask you guys, do you know a idea for a small game I could make?


Thanks in advantage.
Symmetryc #123
Posted 12 June 2013 - 12:45 PM
Maybe that one game that had falling arrows and you have to hit the arrow keys when they land on the arrows? It sort of looks like this:
Spoiler
Tjakka5 #124
Posted 12 June 2013 - 12:51 PM
Maybe that one game that had falling arrows and you have to hit the arrow keys when they land on the arrows? It sort of looks like this:
Spoiler

So a sort of Guitar Hero or Dance Hero or something?
Might be fun to make…
Lyqyd #125
Posted 12 June 2013 - 01:14 PM
Threads merged.
elfin8er #126
Posted 12 June 2013 - 03:32 PM
Hm. What about something that syncs your items/health across several servers? Might be a bit hard, and you'd need to have some way of detecting each players inventory, but it may be possible. You could save each persons health, and inventory in a mysql database. There could be a main computer that processes all of the information. When a player joins the game, the computer could send signals to command blocks. The command blocks would then teleport the player to required points, that would trigger other command blocks to give the player their items (I guess there would have to be a command block for each item). The player would then be teleported to a dispenser that would fill their life back up with potions. After that, they player would be teleported to one last point with dispensers, where their life would then be brought down to the required life.

It would be a fun project, but wouldn't be practical for a server for a number of reasons.
TheOddByte #127
Posted 15 June 2013 - 07:17 AM
I have an idea for a game, Bare with me…. Grand Theft Auto 1! That would be nice to have in CC even though the graphics wouldn't be super good this would still be possible to make, I would try to make it myself if I wasn't working on another project.. And I also have another game idea… A strategy based game that works like Heroes of Might and Magic where you move your character somewhere in it's range and if there is an enemy in range you can attack it :)/>
I'm going to make a little demo of this so you can see what I mean(PM me if you would like to make this with me and I mean a full version game) the demo will only contain the battle idea… Anyway I hope anyone makes any of these ;)/>
Mackan90096 #128
Posted 15 June 2013 - 05:59 PM
And I also have another game idea… A strategy based game that works like Heroes of Might and Magic where you move your character somewhere in it's range and if there is an enemy in range you can attack it :)/>/>
I'm going to make a little demo of this so you can see what I mean(PM me if you would like to make this with me and I mean a full version game) the demo will only contain the battle idea… Anyway I hope anyone makes any of these ;)/>/>

I was working on a kindof RPG game.. but I abandoned it.. it has some basic character movement..

Feel free to take that code if you want to.

It's released under "Ascii-RPG pre-alpha"
TheOddByte #129
Posted 15 June 2013 - 06:30 PM
And I also have another game idea… A strategy based game that works like Heroes of Might and Magic where you move your character somewhere in it's range and if there is an enemy in range you can attack it :)/>/>
I'm going to make a little demo of this so you can see what I mean(PM me if you would like to make this with me and I mean a full version game) the demo will only contain the battle idea… Anyway I hope anyone makes any of these ;)/>

I was working on a kindof RPG game.. but I abandoned it.. it has some basic character movement..

Feel free to take that code if you want to.

It's released under "Ascii-RPG pre-alpha"
I looked at the code and well… It wasn't the idea I had… I'm already done with the small demonstration of the game and will upload it tomorrow evening so you all can test it ;)/>

Read the file when it's uploaded for instructions on how to play etc.




This is a screenshot of it(Taken with my phone..)
That shows when the character is choosen and is displaying it's range.
You can move your character anywhere in it's range, Then it's the other players turn..
Mackan90096 #130
Posted 18 June 2013 - 03:43 AM
Ah. Seems cool!

But someone should make like a c++ thing.

Like programming in c++ in cc
TheOddByte #131
Posted 19 June 2013 - 02:25 PM
I have another game idea that would be possible but a little hard to make… Ruzzle
For you who haven't played it here's a link to it:
http://www.ruzzle-game.com/
Tjakka5 #132
Posted 19 June 2013 - 02:26 PM
I have another game idea that would be possible but a little hard to make… Ruzzle
For you who haven't played it here's a link to it:
http://www.ruzzle-game.com/

That would be quite hard and/or laggy thanks to all the words human kind has…
Not impossible though.
TheOddByte #133
Posted 20 June 2013 - 09:49 AM
I have another game idea that would be possible but a little hard to make… Ruzzle
For you who haven't played it here's a link to it:
http://www.ruzzle-game.com/

That would be quite hard and/or laggy thanks to all the words human kind has…
Not impossible though.

Well… You could download an dictionary list and then either have them all in a table and randomly select alot of words that would be in the match And then put those words in another table where the program checks if you actually found a word or not, Or you could have them in a file and let the program read it and store the words in a table as i described above.

I know this isn't very descriptive but hopefully you know what I mean..

Anyway.. Good luck to anyone who'll maybe try to make this :)/>

I'm currently bored so I think I'll make a Tic Tac Toe game..

Here's a link to the Heroe's of Might and Magic idea –> Link
jesusthekiller #134
Posted 23 June 2013 - 04:00 PM
But someone should make like a c++ thing.

Like programming in c++ in cc

Impossible Can be done in LASM… Too hard to do tho.
Zudo #135
Posted 27 June 2013 - 01:23 PM
I want to make an api, a bit like Theoriginalbit's loading bar api, but something other than loading bars. Maybe something else GUI? :)/>

Sorry about my bad explanation.
Alice #136
Posted 06 July 2013 - 12:48 PM
If anyone feels up to the following:
Turtle that maps the surface of an area
Email with a GUI that receives from a database, so a program for
Database
Transmitter for long range connection
Client
PhilHibbs #137
Posted 09 July 2013 - 05:59 AM
Has anyone done a display screen powered by turtles which break and replace colored wool blocks (or colored lamps, if you also have a mod for that like RedPower) to give a giant 16-colour display wall? I'm thinking it would need Rednet to control them all due to the complexity of using wiring in such a densely packed build.
PhilHibbs #138
Posted 09 July 2013 - 06:00 AM
I want to make an api, a bit like Theoriginalbit's loading bar api, but something other than loading bars. Maybe something else GUI? :)/>

Sorry about my bad explanation.
Like Direwolf20's button API? He posted a tutorial for it on youtube recently.
Alice #139
Posted 11 July 2013 - 04:42 PM
Has anyone done a display screen powered by turtles which break and replace colored wool blocks (or colored lamps, if you also have a mod for that like RedPower) to give a giant 16-colour display wall? I'm thinking it would need Rednet to control them all due to the complexity of using wiring in such a densely packed build.

Why not just use a monitor to do that?
ikke009 #140
Posted 13 July 2013 - 05:05 PM
I've had this project in mind for a while now, but I don't have the time to do it anytime soon.. Maybe I'll do it in august if I still feel like it by then but anyone may take this idea and develop it.
-A cannon projectile trajectory simulator (game), in which you can adjust the cannon's power (= start velocity of projectile) and angle, to get nice projectile arcs like this.
I know how to simulate such an arc, using the formulas on the Trajectory of a projectile wiki
If someone thinks this will be a fun project to do, by all means go ahead, I'll glady help out as well if there are problems.
GravityScore #141
Posted 14 July 2013 - 03:35 AM
I've had this project in mind for a while now, but I don't have the time to do it anytime soon.. Maybe I'll do it in august if I still feel like it by then but anyone may take this idea and develop it.
-A cannon projectile trajectory simulator (game), in which you can adjust the cannon's power (= start velocity of projectile) and angle, to get nice projectile arcs like this.
I know how to simulate such an arc, using the formulas on the Trajectory of a projectile wiki
If someone thinks this will be a fun project to do, by all means go ahead, I'll glady help out as well if there are problems.

Also, if anyone is interested more in projectile motion, there's a really nice video by Khan Academy on it here: http://www.youtube.com/watch?v=15zliAL4llE.
TyDoesMC #142
Posted 08 August 2013 - 08:39 PM
a Program That show's Your Computer (One You Use To Play Minecraft) Time, So Full Screen People Can See The Time :P/>
TheOddByte #143
Posted 09 August 2013 - 08:28 AM
a Program That show's Your Computer (One You Use To Play Minecraft) Time, So Full Screen People Can See The Time :P/>/>
You mean a program that shows the irl clock?
That would ofcourse need http enabled and I remember that someone already made this with all time zones available etc.
Just don't remember what it was called…
M4sh3dP0t4t03 #144
Posted 09 August 2013 - 03:55 PM
a Program That show's Your Computer (One You Use To Play Minecraft) Time, So Full Screen People Can See The Time :P/>/>/>
You mean a program that shows the irl clock?
That would ofcourse need http enabled and I remember that someone already made this with all time zones available etc.
Just don't remember what it was called…
I think plastic(that google glass thing) has it.
YASHVISION #145
Posted 10 August 2013 - 05:39 AM
great idea u are giving
Edited on 23 December 2013 - 05:44 AM
jay5476 #146
Posted 11 August 2013 - 06:45 AM
a program that would all ways print/write backwards :P/> gives a use to string.reverse() :)/>
TheOddByte #147
Posted 11 August 2013 - 05:19 PM
a program that would all ways print/write backwards :P/> gives a use to string.reverse() :)/>
You mean like this
olleH

If so then simple :P/> (Though it isn't a program)

local function invPrint(text)
for i = #text, 1, -1 do
  write(string.sub(text,i,i))
 end
end

Or did you mean something like textutils.slowPrint?

local function invSlowWrite(text,x,y)
  local tChars = {}

for i = 1,#text do
  local add = #tChars + 1
  char = string.sub(text,i,i)
  tChars[add] = char
end

local curX, curY = term.getCursorPos()

for i = #tChars,1, -1 do

if x ~= nil and y ~= nil then
 term.setCursorPos(x + i - 1,y)

else
 term.setCursorPos(curX + i - 1,curY)
end

write(tChars[i])
 sleep(0)
  end
end
jay5476 #148
Posted 11 August 2013 - 05:22 PM
But I mean for everything so like:
5.1 SO tfarc
>
Edit: why not do

Function invPrint(text)
Print(text:reverse())
End
Much simpler
TheOddByte #149
Posted 11 August 2013 - 05:34 PM
But I mean for everything so like:
5.1 SO tfarc
>
Edit: why not do

Function invPrint(text)
Print(text:reverse())
End
Much simpler
Even though it wouldn't work :P/>
'Print' > 'print' etc.

But you mean like overriding the term.write function?

local oldWrite = term.write

term.write = function(text)
  oldWrite(text:reverse())
end
This should do it! :D/>

Also.. Never knew about 'reverse' :P/>
jay5476 #150
Posted 11 August 2013 - 05:41 PM
it's an iPod gimme a break, also yeh you have to overwrite term.write and the textutils.tabulate <==
Can get tricky
TheOddByte #151
Posted 11 August 2013 - 05:46 PM
it's an iPod gimme a break, also yeh you have to overwrite term.write and the textutils.tabulate <==
Can get tricky
I figured that, But I'm typing this on my iPhone so :P/>
Also did you find it useful? :3

And I have another game idea!
Falldown or what it's called.
jay5476 #152
Posted 12 August 2013 - 01:33 AM
hmmm I was playing a game like this on ipod might try it
jay5476 #153
Posted 13 August 2013 - 08:38 AM
also i made this code to reverse a screen should be hidden and what not http://www.computercraft.info/forums2/index.php?/topic/14726-a-program-to-reverse-a-screen/page__pid__139734#entry139734
Elrond1369 #154
Posted 20 August 2013 - 05:18 PM
A github client :)/>

I made one of those. It's my package downloader
Zudo #155
Posted 21 August 2013 - 08:24 AM
I want to do something complicated with HTTP, but what?
elfin8er #156
Posted 23 August 2013 - 12:17 PM
I want to do something complicated with HTTP, but what?
Make an email client that can send and receive real emails.
Zudo #157
Posted 23 August 2013 - 02:24 PM
I want to do something complicated with HTTP, but what?
Make an email client that can send and receive real emails.

Hmm.. sounds good…
nutcase84 #158
Posted 28 August 2013 - 08:09 PM
Lookin' for something to do IRL. App or a game idea would be appreciated. No 3D though. Maybe, 2 2/4D, maybe, but don't get your hopes up. I haven't EVER done anything above 2D, so, you know, bad things might happen.
ikke009 #159
Posted 29 August 2013 - 08:55 PM
What about a 5D ultra-hard platformer :D/>
YoYoYonnY #160
Posted 30 August 2013 - 11:31 AM
Maybe Dots and Boxes?
ikke009 #161
Posted 30 August 2013 - 01:07 PM
I like that! Has that not been done before by someone on the forums though?
fealypino #162
Posted 30 August 2013 - 10:04 PM
Universal email .. like between servers? Look at Thunderbird
That's kind of impossible. Even in a server with multiple worlds. Each world has it's own computer craft data.
GravityScore #163
Posted 30 August 2013 - 10:50 PM
Universal email .. like between servers? Look at Thunderbird
That's kind of impossible. Even in a server with multiple worlds. Each world has it's own computer craft data.

Not true. Thunderhawk (used to be called Thunderbird) uses the CC HTTP API to connect to some PHP scripts that stores all the email data in a remote MySQL database. The data isn't stored locally on the CC computer.
TwitchyR92 #164
Posted 01 September 2013 - 09:25 PM
Universal email .. like between servers? Look at Thunderbird
That's kind of impossible. Even in a server with multiple worlds. Each world has it's own computer craft data.

Not true. Thunderhawk (used to be called Thunderbird) uses the CC HTTP API to connect to some PHP scripts that stores all the email data in a remote MySQL database. The data isn't stored locally on the CC computer.

Seems reasonable that a polling computercraft script to a url could display the latest plain text update, whilst a post to that same url would modify that same plain text. Serverside could be done really simply with something like express/node. Just wrap it in a computercraft program to display names and write text/enter to send. Bang, Chatroom.

What I'd like to see is a D*-Lite pathfinding implementation that's optimal for turtles :3.
ElvishJerricco #165
Posted 01 September 2013 - 09:50 PM
That's kind of impossible. Even in a server with multiple worlds. Each world has it's own computer craft data.

On top of what GravityScore said, you can transmit floppies between dimensions. That's another way to do it, even if it is slower and more complicated.
Zee #166
Posted 16 September 2013 - 02:57 AM
How about an XML parser? (I'm actually trying to work on this now.)

// OT: I just had the best turkey ever :P/>
der_grinch_69 #167
Posted 17 September 2013 - 05:50 PM
[Go read the sticky posts. -L]
Edited on 17 September 2013 - 04:48 PM
Alice #168
Posted 18 September 2013 - 11:11 AM
I was working around with Terminal Glasses, and was wondering if you awesome people had some cool ideas for me to attempt. Please reply with your idea.
H4X0RZ #169
Posted 18 September 2013 - 11:50 AM
a GUI which displays the content of a turtle's inventory :D/>
I mean something like that:
SpoilerI'm not so good with GIMP :D/>
M4sh3dP0t4t03 #170
Posted 18 September 2013 - 12:19 PM
a GUI which displays the content of a turtle's inventory :D/>/>
I mean something like that:
SpoilerI'm not so good with GIMP :D/>/>
That wouldn't be to hard, you would just need to make the turtle send it's inventory data using rednt to a normal computer which controls the terminal glasses. The only problem would be that a turtle doesn't know what blocks it has, it can only know if it's fuel.

But I think this should be in the idea exchange topic
Alice #171
Posted 18 September 2013 - 05:49 PM
Excellent; I could do an item counter and other Turtle stats like fuel and anything else you might want
Wojbie #172
Posted 11 October 2013 - 08:20 AM
Idea: Server-less self-correcting GPS system

Got idea while creating Server-less Turtle swarm mining program.

Bit of background - If you have moving turtles that save its positions to file on disk there is chance that because of server stop/crash or chunk unload this data is wrong by 1 block / turtle thinks its facing wrong direction if crash happens in middle of turtle movement.

Idea is that after reload 4 of 10 turtles know where have correct data and 6 others have a bit wrong data.
By sending their positions to each other and analyzing distances they can calculate who is wrong and who is right. (Or where is right/where is left for that matter :lol:/> ).
This would get down to calculating most probable positions based on uncertain data

While i realize its harder than setting up some gps towers up in sky i find this idea interesting and decided to share.
I probably wont have time to write any code in direction of this but well. It could get someones imagination going.
TheRiddl3Mast3r #173
Posted 14 October 2013 - 06:23 PM
This is something i'm not quite sure if it can be done with this mod but something to add a kind of editable text in the top corner of your screen, for like to-do lists or just notes to keep in mind. I'm not sure if this can be done but I think it would be really neat.
TheOddByte #174
Posted 15 October 2013 - 01:56 PM
This is something i'm not quite sure if it can be done with this mod but something to add a kind of editable text in the top corner of your screen, for like to-do lists or just notes to keep in mind. I'm not sure if this can be done but I think it would be really neat.
Do you mean ComputerCraft screen or MC screen in-game?
Both is possible, For the CC screen it wouldn't be difficult at all, For MC screen you would need the peripheral OpenPeripheral( I think it's that one) with terminal glasses
TheRiddl3Mast3r #175
Posted 15 October 2013 - 05:41 PM
This is something i'm not quite sure if it can be done with this mod but something to add a kind of editable text in the top corner of your screen, for like to-do lists or just notes to keep in mind. I'm not sure if this can be done but I think it would be really neat.
Do you mean ComputerCraft screen or MC screen in-game?
Both is possible, For the CC screen it wouldn't be difficult at all, For MC screen you would need the peripheral OpenPeripheral( I think it's that one) with terminal glasses


Yeah I meant minecraft screen. I was thinking it would have to use OpenPeriphreal and the Terminal glasses, if someone could do this and show me how or tell me how I would be very greatful
sens #176
Posted 22 October 2013 - 03:54 PM
Hello all,
I'm new here, so you'll have to forgive me if this idea has already been discussed at length / implemented / laughed out of the forum. If that's the case I'll come up with a better one :)/>/&amp;gt;

For turtles that operate mostly in one area, knowing their current GPS coordinates from F3 doesn't have much advantage over knowing the position relative to local waypoints, such as "home base" or "fuel box". (And I've always had the feeling of breaking the fourth wall when I use F3 to setup GPS, but that's another matter!) So, I propose a type of relative positioning where each device maintains its own coordinate reference system (CRS). A newly placed computer or turtle would, by convention, begin at (0,0,0) in its local CRS. While moving, a turtle would try to triangulate its relative position/orientation to nearby devices by sending Rednet pings and listening for a reply. If it successfully triangulates to another device, it would be able to navigate to any waypoint specified in the other device's CRS.

Has anyone tried something like this yet? If so, was it worth the trouble?
jay5476 #177
Posted 23 October 2013 - 05:32 AM
Hello all,
I'm new here, so you'll have to forgive me if this idea has already been discussed at length / implemented / laughed out of the forum. If that's the case I'll come up with a better one :)/>/>/&amp;gt;

For turtles that operate mostly in one area, knowing their current GPS coordinates from F3 doesn't have much advantage over knowing the position relative to local waypoints, such as "home base" or "fuel box". (And I've always had the feeling of breaking the fourth wall when I use F3 to setup GPS, but that's another matter!) So, I propose a type of relative positioning where each device maintains its own coordinate reference system (CRS). A newly placed computer or turtle would, by convention, begin at (0,0,0) in its local CRS. While moving, a turtle would try to triangulate its relative position/orientation to nearby devices by sending Rednet pings and listening for a reply. If it successfully triangulates to another device, it would be able to navigate to any waypoint specified in the other device's CRS.

Has anyone tried something like this yet? If so, was it worth the trouble?
well what your thinking of wouldnt be the best method of doing things you could get the turtles co ordinates some how (enter in consle or GPS )
then basiclly overwrite turtle function so that it can kepp track of which ways it goes eg.

x,y,z = 0,0,0 -- reputable to where it started
local xAxis = 0
local zAxis = 1
-- turtle starts facing north?(z axis goes up by 1 if moves forward)
oldForward = turtle.forward
turtle.forward = function()
if oldForward() then
x = x + xAxis
z = z + zAxis
end
-- do stuff with turning to determine which way its facing
while true do
print(x)
print(y)
print(z)
turtle.forward()
sleep(1)
end
jay5476 #178
Posted 23 October 2013 - 05:39 AM
hi, first of if anyone could help me that would be greatly appreciated

i was wondering of any has made(or could make) a program that captures the entire screen in an array. basiclly i dont have time to do this myself ( im sorta on a holiday atm ) but i would like these requirements meet :

- all paint utils and term functions captured in the table and after there called redraw the screen from the table

- an explaintion of how to use it

thanks for reading, i dont expect you guys to go out of your way to make this for me but if you seem interested in making this or have seen something that is fairly simple to use and could just point it out to me that would be great thanks!
sens #179
Posted 23 October 2013 - 06:59 AM
Thanks for your suggestion! I did some searching this morning and found that someone came up with basically the same idea last year (but never posted his/her code for it):

http://www.computerc...dpost__p__49878

It seems like a more involved problem than I expected.
Lyqyd #180
Posted 23 October 2013 - 02:33 PM
hi, first of if anyone could help me that would be greatly appreciated

i was wondering of any has made(or could make) a program that captures the entire screen in an array. basiclly i dont have time to do this myself ( im sorta on a holiday atm ) but i would like these requirements meet :

- all paint utils and term functions captured in the table and after there called redraw the screen from the table

- an explaintion of how to use it

thanks for reading, i dont expect you guys to go out of your way to make this for me but if you seem interested in making this or have seen something that is fairly simple to use and could just point it out to me that would be great thanks!

Yeah, this has been done a lot. Check out GopherATL's redirect API, or grab framebuffer from either the LyqydOS or the cc-netshell repository on my github.
theoriginalbit #181
Posted 24 October 2013 - 12:28 AM
-snip-

Yeah, this has been done a lot. Check out GopherATL's redirect API, or grab framebuffer from either the LyqydOS or the cc-netshell repository on my github.
Or the one used in Lightshot, or CCTube, or any of Nitrogenfingers' games, or any of the APIs that are made for the sole purpose, or dozens of other sources scattered across the forums, its not hard to miss them.
Forgotten_Boy #182
Posted 24 October 2013 - 04:00 AM
An auction system, similar to how auctions worked in the old game M.U.L.E. on the Commodore 64.
crazyivan532 #183
Posted 25 October 2013 - 11:16 AM
Firstly sorry if this is the wrong place for this im new here today. If there is anyone out there that can help make a program for a turtle that would plant and maintain a tree farm without harvesting them could someone please let me know or could someone work on one for me. I am wanting this code for use in galacticraft as normal ways of oxygen generation seem to be almost impossible to sustain for any pariod of more than minutes. Any help would be greatly appreciated thanks.
Nikitos35 #184
Posted 28 October 2013 - 01:33 AM
The program for the cash desk in the store


Hello! I have a great idea for users with fashion ComputerCraft! This program is for cash in the store!
here is my idea:
My store has a card buyers! Before you start counting the items I insert the card into the drive and the program click on " scan card " on the map file will be "namecard" program reads this file at the top three lines (the first line is a " buyer's address : " The second line is the " name of the buyer " The third line is the " customer number in the system : ")
and displays them in the program , then I take all the goods to the buyer , and introduce them to the computer .
For example the buyer buys me two stone blocks , 3 of bread, one cake :
! 1 block of stone is worth $ 2, 1 bread costs $ 1 , 1 cake costs $ 3 !
Each unit and the object of the game is the ID and in this program are the same as the id of the game but with the id program knows how much is a product with a specific id ( need for me to change the price ) !
so as soon as the buyer gives me the goods I do with each product are:
Playing in the line "ID product " I write the object id and the line " Deviant " I write the number of the item and click the "Add item to list "!
For more information:
2 blocks of stone, the stone id 1 I enter a string "ID Product " 1, and in the line " Number of items " and enter 2 and press the button " Add this item to your " computer counts how many will stand 2 blocks of stone if the stone is worth 1 unit $ 2 and then later in the product list appears :
1. id1 block of stone 2 pieces $ 4
Then I do the same thing with other commodities :
3 of bread, the bread id 306 I enter a string "ID Product " 306 , and in the line " Number of items " and enter 3 and press the button " Add this item to your " computer counts how many will stand if 1hleb 3 bread costs $ 1 and then lower in the list of products appears :
2 . id306 bread 3shtuki $ 3
1 cake, with cake id 363 I enter a string "ID Product " 363 , and in the line " Number of items " and enter 1 and press the button " Add this item to your " computer counts how many will stand 1 1 cake if the cake is $ 3 then below the list of products appears :
3.id363 cake 1shtuka $ 3
Once I do that with all the goods that I buy a buyer later in the program on the shopping list will be bought all these items with id, name , quantity and price . Then, after you add all of these purchased goods I click the " Calculation and Payment " after you press the button, all items added together and the total amount will appear under the list of purchases in the " Total " that is, in the example in the " total " will be written:
TOTAL: $ 10 (I explain why 10 because $ 3 for 1 cake + $ 3 for bread 3 + $ 4 for 2 blocks of stone! )
Then my cursor moves to the line under the name "Cash" in it, I 'll aim
the amount of money that will give me a buyer ! The buyer gives me $ 15 for example , I enter into the " Cash " $ 15 and click the " Filing " and below the line titled " Surrender " appears in the amount of money we have to give to the buyer in this example, $ 5! And after I click "Finish service " after you press the button, the window is printed on the printer.
Should look like the window of the program:
———————————————————————————————————————————
……………………………………………………………. |CASH|…………………………………………………………………..
———————————————————————————————————————————
KEYS: SCAN CARD ADD ITEMS TO LIST COUNTING AND PAYMENT SHORT CHANGE
———————————————————————————————————————————
Shop : ( here the name of your store) ) (this is edited when creating the program )
Nomber cash: ( nomber cash here on which the program is running) (it is edited when creating the program )
Address of the buyer: ( here the buyer's adress is written on a floppy disk in the file "namecard")
The buyer's name ( here the buyer's name is written on a floppy disk in the file "namecard")
Customer number in the system: ( here the customer number in the system is written on a floppy disk in the file "namecard")
———————————————————————————————————————————
Adding product to the list :
Item ID : ( here enter the id of purchased goods )
Number of item ( here enter Number of item that we have introduced above)
———————————————————————————————————————————
List of products :
Number ID Name Quantity Price
1. (Here the product information )
2 . (Here the product information )
3 . (Here the product information )
and so on
———————————————————————————————————————————
TOTAL:(Here the total amount for purchase)
Cash ( here enter the amount of money that we were given by the buyer for the payment)
Short change: ( then there is the amount of money that we have to give to the buyer in the form of the remainder of his money)

I'm sorry for the bad translation from my native language! I look forward to your help, or you create a theme for my program!
Sincerely Nikitos35! :)/>
bloodofgore #185
Posted 28 October 2013 - 11:58 AM
What about a turtle guard?
Agoldfish #186
Posted 30 October 2013 - 12:33 PM
Hi, I was going to make a program so you choose what OS to boot into, but i'm not sure how you would start. If someone could either do it, (not likely) or give me a head start on how to do it, that would be awesome. Cheers.

-Agoldfish
M4sh3dP0t4t03 #187
Posted 30 October 2013 - 01:08 PM
Hi, I was going to make a program so you choose what OS to boot into, but i'm not sure how you would start. If someone could either do it, (not likely) or give me a head start on how to do it, that would be awesome. Cheers.

-Agoldfish
I think MudkipTheEpic(or was it someone else??) has done something like this a while ago.

Edit: found it: http://www.computercraft.info/forums2/index.php?/topic/11598-osrunner-the-solution-for-multiple-oses-new-wired-peripheral-management/
Agoldfish #188
Posted 30 October 2013 - 02:48 PM
Hi, I was going to make a program so you choose what OS to boot into, but i'm not sure how you would start. If someone could either do it, (not likely) or give me a head start on how to do it, that would be awesome. Cheers.

-Agoldfish
I think MudkipTheEpic(or was it someone else??) has done something like this a while ago.

Edit: found it: http://www.computerc...ral-management/
Thanks. I will look at the code.
MudkipTheEpic #189
Posted 30 October 2013 - 05:55 PM
Hi, I was going to make a program so you choose what OS to boot into, but i'm not sure how you would start. If someone could either do it, (not likely) or give me a head start on how to do it, that would be awesome. Cheers.

-Agoldfish
I think MudkipTheEpic(or was it someone else??) has done something like this a while ago.

Edit: found it: http://www.computerc...ral-management/
Thanks. I will look at the code.

Please don't. It's very scary.

But seriously, you can if you want, but it is a horrible mess of nested if statements that needs to be completely rewritten.

TL;DR: Take the code with a grain of salt.
sens #190
Posted 30 October 2013 - 06:09 PM
Please don't. It's very scary.
:lol:/> I wish some programmers at work would be this honest!
Agoldfish #191
Posted 31 October 2013 - 08:45 AM
Hi, I was going to make a program so you choose what OS to boot into, but i'm not sure how you would start. If someone could either do it, (not likely) or give me a head start on how to do it, that would be awesome. Cheers.

-Agoldfish
I think MudkipTheEpic(or was it someone else??) has done something like this a while ago.

Edit: found it: http://www.computerc...ral-management/
Thanks. I will look at the code.

Please don't. It's very scary.

But seriously, you can if you want, but it is a horrible mess of nested if statements that needs to be completely rewritten.

TL;DR: Take the code with a grain of salt.
Good to know.
Skydyn #192
Posted 05 November 2013 - 02:49 AM
I'm currently working on a specification for a networking protocol that runs on top of the computercraft modem API. I came up with the idea when trying to figure out how to interconnect a diverse array of networks spread across my server. It includes/will include client addressing, a system for name resolution, routing and tunneling between networks, and a few other odd things that would be expected of an IP-esque network stack. I would just post a thread about it, but I apparently have to make several posts before I can create a thread, so I figured, why not discuss here.

Any thoughts?
distantcam #193
Posted 05 November 2013 - 03:02 AM
@Skydyn Sounds cool. I'd like to see some sort of encryption or spoofing protection built into the protocol. Also subnets so you can set up a wireless network and not have it interfere with someone else's wireless network nearby.
Skydyn #194
Posted 05 November 2013 - 03:46 AM
Encryption or signature verification is something that will have to be included in the second version of the protocol. I wanted to implement encryption using immibis's excellent cryptographic accelerator peripheral, but I found that to be too restrictive of an approach for everyone–not everyone has that mod, and not everyone wants to have to have a cryptographic accelerator attached to their computer. On the other hand, a Lua implementation of RSA/similar would probably be restrictively slow for keys of any substantial size (i.e. >= 512 bit RSA). I could write an implementation of like, 16-bit RSA, though, just to serve as a deterrent to "promiscuous" clients.
sens #195
Posted 05 November 2013 - 05:55 AM
I'm currently working on a specification for a networking protocol that runs on top of the computercraft modem API. I came up with the idea when trying to figure out how to interconnect a diverse array of networks spread across my server. It includes/will include client addressing, a system for name resolution, routing and tunneling between networks, and a few other odd things that would be expected of an IP-esque network stack. I would just post a thread about it, but I apparently have to make several posts before I can create a thread, so I figured, why not discuss here.

Any thoughts?
Ambitious idea, have you seen this project yet?

http://www.computercraft.info/forums2/index.php?/topic/14496-tornet-a-basic-http-networking-layer-a-rewritten-version-of-bluenet/
deleted #196
Posted 08 November 2013 - 09:52 PM
CC-Twitter and that would be awesome. But maybe like a text based game where you have a option menu and shoot zombies. Sort of like Typing of The Dead. But without spelling words. I sorta started it for the intro and stuff.
pastebin get BMQebSu8 TextGun
jamd315 #197
Posted 01 December 2013 - 10:43 AM
A bank system with wireless/wired atms, parking meters, cash registers, vending machines, user support w/ passwords, gui, encryption, etc.

EDIT: Just finished, without central server, just one computer. Working on server.
Zambonie #198
Posted 04 December 2013 - 08:46 PM
A bank system with wireless/wired atms, parking meters, cash registers, vending machines, user support w/ passwords, gui, encryption, etc.

EDIT: Just finished, without central server, just one computer. Working on server.

Meh Good Idea. Im bored, so ill make my own.
D3matt #199
Posted 04 December 2013 - 08:59 PM
A bank system with wireless/wired atms, parking meters, cash registers, vending machines, user support w/ passwords, gui, encryption, etc.

EDIT: Just finished, without central server, just one computer. Working on server.
A banking system without a central server isn't much of a banking system, is it?
Alice #200
Posted 04 December 2013 - 10:05 PM
I just saw Castform post this but it was locked, so someone should build an OS for Terminal Glasses, since this IS an idea area. Have fun!
KillaVanilla #201
Posted 06 December 2013 - 01:15 AM
I'm currently working on a specification for a networking protocol that runs on top of the computercraft modem API. I came up with the idea when trying to figure out how to interconnect a diverse array of networks spread across my server. It includes/will include client addressing, a system for name resolution, routing and tunneling between networks, and a few other odd things that would be expected of an IP-esque network stack. I would just post a thread about it, but I apparently have to make several posts before I can create a thread, so I figured, why not discuss here.

Any thoughts?
My suggestion would be to focus on the routing aspect first and foremost; everything else (name resolution, tunneling) can be built above it.
As for client addressing: Why would you even need that? Computer IDs are a good and easy way to identify clients.

Encryption or signature verification is something that will have to be included in the second version of the protocol. I wanted to implement encryption using immibis's excellent cryptographic accelerator peripheral, but I found that to be too restrictive of an approach for everyone–not everyone has that mod, and not everyone wants to have to have a cryptographic accelerator attached to their computer. On the other hand, a Lua implementation of RSA/similar would probably be restrictively slow for keys of any substantial size (i.e. >= 512 bit RSA). I could write an implementation of like, 16-bit RSA, though, just to serve as a deterrent to "promiscuous" clients.
RSA (and other asymmetric protocols such as Diffie-Hellman Key Exchange) start to get very slow when handed big numbers. I've actually implemented RSA myself using standard Lua number types.
Using a bignum library with CC-Lua will only make the implementation slower.
Using bit operations results in much the same effect; the overhead of a function call can simply be too much when implementing arithmetic (and encryption) routines, which is unfortunate because most algorithms and coders assume the opposite.


In any case, I've actually written a routing protocol myself; it's called CRF. You could take a look at the code there, if you want.
oeed #202
Posted 06 December 2013 - 01:30 AM
I'm currently working on a specification for a networking protocol that runs on top of the computercraft modem API. I came up with the idea when trying to figure out how to interconnect a diverse array of networks spread across my server. It includes/will include client addressing, a system for name resolution, routing and tunneling between networks, and a few other odd things that would be expected of an IP-esque network stack. I would just post a thread about it, but I apparently have to make several posts before I can create a thread, so I figured, why not discuss here.

Any thoughts?
My suggestion would be to focus on the routing aspect first and foremost; everything else (name resolution, tunneling) can be built above it.
As for client addressing: Why would you even need that? Computer IDs are a good and easy way to identify clients.

Encryption or signature verification is something that will have to be included in the second version of the protocol. I wanted to implement encryption using immibis's excellent cryptographic accelerator peripheral, but I found that to be too restrictive of an approach for everyone–not everyone has that mod, and not everyone wants to have to have a cryptographic accelerator attached to their computer. On the other hand, a Lua implementation of RSA/similar would probably be restrictively slow for keys of any substantial size (i.e. >= 512 bit RSA). I could write an implementation of like, 16-bit RSA, though, just to serve as a deterrent to "promiscuous" clients.
RSA (and other asymmetric protocols such as Diffie-Hellman Key Exchange) start to get very slow when handed big numbers. I've actually implemented RSA myself using standard Lua number types.
Using a bignum library with CC-Lua will only make the implementation slower.
Using bit operations results in much the same effect; the overhead of a function call can simply be too much when implementing arithmetic (and encryption) routines, which is unfortunate because most algorithms and coders assume the opposite.


In any case, I've actually written a routing protocol myself; it's called CRF. You could take a look at the code there, if you want.

I agree with your point about the computer IDs, that's what they're there for.

But, to be honest, I think encryption in ComputerCraft is rather pointless. There are virtually no uses for it in reality, considering the open nature of the code. You can simply open the computer and edit the code to remove the need of the encryption. It is cool, but it's rather pointless.
Imque #203
Posted 06 December 2013 - 08:01 AM
I really don't want to put anyone to much out of their way. I would love to see a fully-fledged graphics calculator. The whole 9-yards. I worked on it for a week but found it was too buggy if I put in graphing. I never got to a UI.

- User interface would be nice but I do like it via console

E.g
cal> graph(tonumber(x = y - 2^4 / 2), "10*10;trace;");

etc, etc..
Symmetryc #204
Posted 06 December 2013 - 03:12 PM
I really don't want to put anyone to much out of their way. I would love to see a fully-fledged graphics calculator. The whole 9-yards. I worked on it for a week but found it was too buggy if I put in graphing. I never got to a UI.

- User interface would be nice but I do like it via console

E.g
cal> graph(tonumber(x = y - 2^4 / 2), "10*10;trace;");

etc, etc..
Would this work?: [shameless_plug]http://www.computerc...aphing-utility/[/shameless_plug]
Edited on 06 December 2013 - 02:35 PM
KillaVanilla #205
Posted 06 December 2013 - 04:42 PM
-snip-

I agree with your point about the computer IDs, that's what they're there for.

But, to be honest, I think encryption in ComputerCraft is rather pointless. There are virtually no uses for it in reality, considering the open nature of the code. You can simply open the computer and edit the code to remove the need of the encryption. It is cool, but it's rather pointless.
…but then the application you're using can't read messages and such that were encrypted by other, unmodified instances of the same application.
Edited on 06 December 2013 - 03:43 PM
Zambonie #206
Posted 06 December 2013 - 05:02 PM
I just saw Castform post this but it was locked, so someone should build an OS for Terminal Glasses, since this IS an idea area. Have fun!
Heh. I never seen a os for advanced turtles yet anyways, why not anyone make that as well?
Imque #207
Posted 06 December 2013 - 07:18 PM
I really don't want to put anyone to much out of their way. I would love to see a fully-fledged graphics calculator. The whole 9-yards. I worked on it for a week but found it was too buggy if I put in graphing. I never got to a UI.

- User interface would be nice but I do like it via console

E.g
cal> graph(tonumber(x = y - 2^4 / 2), "10*10;trace;");

etc, etc..
Would this work?: [shameless_plug]http://www.computerc...aphing-utility/[/shameless_plug]

That is really nice!
Csstform #208
Posted 10 December 2013 - 02:13 PM
I just saw Castform post this but it was locked, so someone should build an OS for Terminal Glasses, since this IS an idea area. Have fun!
Please do! Mine won't be out for a whileXD

EDIT: out
Edited on 11 December 2013 - 09:48 PM
Alice #209
Posted 11 December 2013 - 09:29 AM
Lol hey Castform :D/> That's actually a good idea I can tack on to CreepOS. Want credit for idea?
Csstform #210
Posted 11 December 2013 - 10:48 PM
Lol hey Castform :D/>/> That's actually a good idea I can tack on to CreepOS. Want credit for idea?
Nah. Unless you want to link to mine, it's fine. It will be fun to have competition.
Encreedem #211
Posted 13 December 2013 - 12:06 PM
I recently had this idea while I was trying to improve one of my programs and I don't think it has been suggested before.
How about an API which would allow a program to automatically "create code" using templates? It should basically be able to…
  • perform simple tasks like creating new files which already contain some default variables or functions to save some time for the user.
  • edit files and insert methods into them which can be adapted to the situation.
Here's an example for an event handler which should be called after e.g. button "clickMe" got clicked.
Template "defaultFunction":

function <1>_<2>(<3>)
  local buttonName = <3>[1]
  local param1 = <3>[2]

  -- Your code here.
end

… and then you would only need to write something like this:

api.insertTemplate("defaultFunction", "randomFile.lua", "clickMe", "clicked", "eventArgs")
In this case "clickMe", "clicked" and "eventArgs" would replace <1>, <2> and <3> inside the template.

I'm actually already trying it myself but I would like to see what you guys think of it. I guess it could be very useful for some programs.
Csstform #212
Posted 13 December 2013 - 12:44 PM
That should be added in to the CC-IDE. Once you finish it, I'd like to take a look.
oeed #213
Posted 14 December 2013 - 01:39 AM
I recently had this idea while I was trying to improve one of my programs and I don't think it has been suggested before.
How about an API which would allow a program to automatically "create code" using templates? It should basically be able to…
  • perform simple tasks like creating new files which already contain some default variables or functions to save some time for the user.
  • edit files and insert methods into them which can be adapted to the situation.
Here's an example for an event handler which should be called after e.g. button "clickMe" got clicked.
Template "defaultFunction":

function <1>_<2>(<3>)
  local buttonName = <3>[1]
  local param1 = <3>[2]

  -- Your code here.
end

… and then you would only need to write something like this:

api.insertTemplate("defaultFunction", "randomFile.lua", "clickMe", "clicked", "eventArgs")
In this case "clickMe", "clicked" and "eventArgs" would replace <1>, <2> and <3> inside the template.
I'm actually already trying it myself but I would like to see what you guys think of it. I guess it could be very useful for some programs.

Are you trying to make them object oriented? If so I'll send you a link to a program I'm working on that does that, PearOS works similarly. For example, you'd do something like:


Button:Initialize(x, y, width, height, title, click)

--for example
button = Button:Initialize(2, 4, 6, 1, "Test", function()print("Hello!") end)
button:Draw()

If you, or anyone else, wants this program PM me.
Encreedem #214
Posted 14 December 2013 - 05:02 AM
– snip –

Are you trying to make them object oriented? If so I'll send you a link to a program I'm working on that does that, PearOS works similarly. For example, you'd do something like:


Button:Initialize(x, y, width, height, title, click)

--for example
button = Button:Initialize(2, 4, 6, 1, "Test", function()print("Hello!") end)
button:Draw()

If you, or anyone else, wants this program PM me.

The API shouldn't directly be helping others with object oriented programming. It should simply provide the same feature that IDEs like Visual Studio (probably also Eclipse but I'm not sure…) have: When you add an object (button, etc.) to your window, you can double click it to automatically add an event handler to your code file. That feature could be very useful for an IDE for GUIs. *cough* Graffiti *cough*

EDIT: grammar
Edited on 14 December 2013 - 08:09 AM
oeed #215
Posted 14 December 2013 - 05:06 AM
– snip –

Are you trying to make them object oriented? If so I'll send you a link to a program I'm working on that does that, PearOS works similarly. For example, you'd do something like:


Button:Initialize(x, y, width, height, title, click)

--for example
button = Button:Initialize(2, 4, 6, 1, "Test", function()print("Hello!") end)
button:Draw()

If you, or anyone else, wants this program PM me.

The API shouldn't be directly be helping others with object oriented programming. It should simply provide the same feature that IDEs like Visual Studio (probably also Eclipse but I'm not sure…) have: When you add an object (button, etc.) to your window, you can double click it to automatically add an event handler to your code file. That feature could be very useful for an IDE for GUIs. *cough* Graffiti *cough*
– snip –

Are you trying to make them object oriented? If so I'll send you a link to a program I'm working on that does that, PearOS works similarly. For example, you'd do something like:


Button:Initialize(x, y, width, height, title, click)

--for example
button = Button:Initialize(2, 4, 6, 1, "Test", function()print("Hello!") end)
button:Draw()

If you, or anyone else, wants this program PM me.

The API shouldn't be directly be helping others with object oriented programming. It should simply provide the same feature that IDEs like Visual Studio (probably also Eclipse but I'm not sure…) have: When you add an object (button, etc.) to your window, you can double click it to automatically add an event handler to your code file. That feature could be very useful for an IDE for GUIs. *cough* Graffiti *cough*

Oh I see, sorry, didn't understand.
kind-sir #216
Posted 26 December 2013 - 12:43 AM
A 3D modeler meant for turtles

Essentially, due to the new Advanced turtles (or new from since I have last used Computer Craft), the possibility to use the cursor and different colors to draw on a terminal could be adapted into a sort of 3-dimensional command system for a turtle.
The modeling space would be the "world" known by the turtle, and in this space the user could draw lines and shapes in order to command the turtle what path to mine or travel in.

Maybe even something like a 2D image with Z layers to account for a 3rd dimension.
Symmetryc #217
Posted 26 December 2013 - 06:55 PM
A 3D modeler meant for turtles

Essentially, due to the new Advanced turtles (or new from since I have last used Computer Craft), the possibility to use the cursor and different colors to draw on a terminal could be adapted into a sort of 3-dimensional command system for a turtle.
The modeling space would be the "world" known by the turtle, and in this space the user could draw lines and shapes in order to command the turtle what path to mine or travel in.

Maybe even something like a 2D image with Z layers to account for a 3rd dimension.
NPaintPro's 3d turtle addon is practically the exact same thing you just said I believe.
Lootman5 #218
Posted 06 January 2014 - 10:43 AM
A Pinball Game would be fun.
TheOddByte #219
Posted 13 January 2014 - 12:26 PM
Hmm.. A doorlock :P/>
Why would I suggest something that have been done 1000 times? Well I didn't mean an regular doorlock where you enter a password, Rather that you draw an image and it needs to be identical to what the original image has been set as and that would be the "password".
So this is basically a doorlock but you use an image as a password and input
Allow me to demonstrate

- = Nothing
1 = White color
2 = Orange
3 = Pink
etc.

Original Image( Password )

1----11----11----11
-1---1-1---1-1---1-
--1--1--1--1--1--1-
---1-1---1-1---1-1-
----11----11----11-

Image ( Input )

2----22----22----22
-2---2-2---2-2---2-
--2--2--2--2--2--2-
---2-2---2-2---2-2-
----22----22----22-

The image( input ) wouldn't match the original image( password ) since it's a different color even though it matches the pattern, Meaning they have to be identical.
- Hellkid98
ikke009 #220
Posted 13 January 2014 - 04:55 PM
^ you gave me an idea :D/>
If i can find the time and will to do this soon I'll explore the use of the mouse.drag events to make one of those smartphone sliding locks where you have to draw a certain pattern.. Should be fairly easy..
Zimbo #221
Posted 18 January 2014 - 06:31 AM
A universal chat and or email system.

I tried doing one of them but there is an error in my code and I don't know how to fix it
Lyqyd #222
Posted 18 January 2014 - 01:37 PM
Try asking over in Ask a Pro.
awsmazinggenius #223
Posted 18 January 2014 - 02:07 PM
^ you gave me an idea :D/>
If i can find the time and will to do this soon I'll explore the use of the mouse.drag events to make one of those smartphone sliding locks where you have to draw a certain pattern.. Should be fairly easy..
Dang…that's already one of the features in awsmazingOS. But feel free to make it anyways, as mine can't be used separately as it relies on the awsmazingOS Authentication API.
Csstform #224
Posted 20 January 2014 - 07:05 AM
I like all the properitery names. :D/>
gollark8 #225
Posted 03 February 2014 - 02:37 PM
Interactive mods documentation would be great.
Andrew2060 #226
Posted 07 February 2014 - 10:14 AM
i am a newbie at computer craft, but i have created my own modpack for my friends server for tekkit. In which we all have factions or countries.
my country skynet holds alot of members and is a sole gigantic island made by single player commands. the server is equipped with icbm mod so dangers lurk everywhere. here is what i have done and what i will need to get done.

done:
missile launch sites, silos, on alert missiles, configured radar systems to fire on defense, radar systems to trigger emp burst as last resort, Forcefield creation if multiple missile threats detected, basically the missile defensive and offensive systems are finished to advance position.

not done:
because if LOAD (launch on a detection) for missiles happens the system auto triggers the anti-ballistic missile to take it down prior to detection in a quadrant area (one of four quarters island is divided in)
what i actually need is to give more than simple buttons and levers to my members, which led me here to cc's im bad with coding so i am trying to make a database in which all skynet members have a username and password, logging in on the network will bring up information, logging in with officer account gives launch missile access, member info database and classified information. i also need a way to be 50k blocks from the island yet still be able to launch the missile using the cc's. Radar stations detect missiles and fire back at them i need a way to pinpoint the location of which the missile came from.

1. database username +password = member access/ officer access
2. location of origin for enemy missiles
3. output of that information into a launcher
4.wireless to be able to launch missiles from far far away.
5. be able to cause massive scale nuclear war by typing a single command.

my island currently is thriving well of independent defense systems which only shoot down more than twenty to thirty missiles per week thanks to our enemies. our offensive system is dependent on the controller to input the coordinates which causes nuclear missile rally not to occur.

basically: i need a code that gives me a database for users in which i can give them passwords/usernames by mailing them and typing into code so it recognizes. The system should be able to connect to other computers. The database should be able to cause nuclear warfare on its own including export of coordinates for origin of missiles. The database should also be able to send emails or messages around the island. the island is the size of 12.5k blocks in area it is also a gigantic circle going 12.5k blocks in every direction, which is why my NORAD cant defend against incoming missiles since i dont have a computer system that can send signals 12 thousand blocks away and trigger the retaliation.

so 1. code written for me can save the island, should have a auth system, networking capabilities, drive key startup such as a floppy that holds the password.

my friends country called aspenguard have already done this but wont show me the code, ive tested their systems its exactly how i want mine to be but the only issue is i cant see their code since it would weaken their advantage over the server and i dont want to be rude and beg them 24/7 for a looksy. now in case of nuclear war their system has proven to fire back on the missile and 6 more back at the base it was launched from, i tested by launching from several different sites each more than 11k apart. their database is easy to hack into as user/user gets you into basic information such as faction raids and member info but my tech team has not come up with this "code" and it is really pissing me off since we get hit with nuclear blasts that disrupt lifestyle because we have to put the godforsaken forcefield up which prevents air travel by flans mod and kills export of goods which can lead to bankruptcy for our country.

please help me with a code that can do this or write one for me.
Agoldfish #227
Posted 20 February 2014 - 01:05 PM
Not sure if this has been suggested before, but how about some kind of farm control with a turtle, controlled from a computer.

Like, harvest melons, press <key>
Harvest wheat, press <key>
Etc…
predatorxil #228
Posted 20 February 2014 - 08:40 PM
So im bringing you a complicated but useful problem. I plan on using this for computer craft and of course, windows 7! I wanna make a program/script, that will change a password within a set amount of time. Sec/min/hours, does not matter. I normally would not ask someone to make a program like this, but I REALLY want it to work. I am looking into learning some programming and scripting, Can someone please help or suggest anything?
Csstform #229
Posted 21 February 2014 - 06:57 AM
Not sure if this has been suggested before, but how about some kind of farm control with a turtle, controlled from a computer.

Like, harvest melons, press <key>
Harvest wheat, press <key>
Etc…
I did that once…
Agoldfish #230
Posted 21 February 2014 - 08:41 AM
Not sure if this has been suggested before, but how about some kind of farm control with a turtle, controlled from a computer.

Like, harvest melons, press <key>
Harvest wheat, press <key>
Etc…
I did that once…
Really? Awesome!
Alice #231
Posted 21 February 2014 - 09:04 AM
Not sure if this has been suggested before, but how about some kind of farm control with a turtle, controlled from a computer.

Like, harvest melons, press <key>
Harvest wheat, press <key>
Etc…
I think an easier way to do this is to have turtles connected to the 'control panel' computer and wait for a simple *ping* type thing, then when it gets it, it'll run
Seems like an easy project. Not sure which would be harder, the UI or the messages.
Csstform #232
Posted 21 February 2014 - 10:31 AM
Not sure if this has been suggested before, but how about some kind of farm control with a turtle, controlled from a computer.

Like, harvest melons, press <key>
Harvest wheat, press <key>
Etc…
I did that once…
Really? Awesome!

I looked and I dont have the code anymore. :P/>
Also, I forget all of my rednet knowledge. I'll see what I can come up with. ;)/>
Zyme #233
Posted 21 February 2014 - 12:01 PM
Can I make a request here if somebody is up for it?

What I would like to see is a HTTP cache API.

My scenario:

I use http.get to get an array with values that can change on over 15+ computers across the world. There is no way I could edit them all manually to update said array.

The problem is they run in a constant loop with sleep(5) which means they would make a request to the HTTP server every 5 seconds, times the amount of computers.

I think this just puts extra strain on the server, both processing and doing external connections that often.

This file also updates very rarely, maybe once per week or even months sometimes.

The solution would be a wrapper or something for the HTTP API where it caches the file requested, set by a variable to determine how many minutes it will be cached. The cache can be stored in a dir cache/ with the file and a timestamp in either the filename, or in the file itself.

I think this is easily done by a good programmer, which is not me.

Thanks.
KillaVanilla #234
Posted 11 March 2014 - 10:12 PM
Can I make a request here if somebody is up for it?

What I would like to see is a HTTP cache API.

My scenario:

I use http.get to get an array with values that can change on over 15+ computers across the world. There is no way I could edit them all manually to update said array.

The problem is they run in a constant loop with sleep(5) which means they would make a request to the HTTP server every 5 seconds, times the amount of computers.

I think this just puts extra strain on the server, both processing and doing external connections that often.

This file also updates very rarely, maybe once per week or even months sometimes.

The solution would be a wrapper or something for the HTTP API where it caches the file requested, set by a variable to determine how many minutes it will be cached. The cache can be stored in a dir cache/ with the file and a timestamp in either the filename, or in the file itself.

I think this is easily done by a good programmer, which is not me.

Thanks.

I could try that, it'd be easy.

EDIT: And here it is!
Edited on 12 March 2014 - 07:46 AM
oeed #235
Posted 12 March 2014 - 09:06 AM
The problem is they run in a constant loop with sleep(5) which means they would make a request to the HTTP server every 5 seconds, times the amount of computers.



This file also updates very rarely, maybe once per week or even months sometimes.

If it's only updated once a week or month then I'd only check twice a day at the most.
Csstform #236
Posted 17 March 2014 - 12:16 PM
Not so much a program, but a peripheral. The topic is 'Idea Exchange' so don't slam on me.

A pair of glasses (possibly an addon to OP's glasses) that can collect certain key presses (i.e. - WASD, Space) and also mouse movement (i.e. - up, down, left, right) and can print pixels across the enite screen that can be used as a VR helmet. Perhaps as a test you could hook it up to gopher's wolf 3D engine, or something. This is an idea i've had for a little while, and wanted to get it out to see what others think.

//oftopic: LeGoldFish: Ima try and work on that automated turtle thinggy too in my spare time.
cmdpwnd #237
Posted 25 March 2014 - 11:22 PM
I am looking to make an OS that runs on a floppy disk and you can take it to any computer and decide wether to make that computer a: router,switch,server or standard computer.
I will need to write seperate OS's for each of the options other than standard computer. I have a little base code but realize i need help making it. Would anyone be interested?
awsmazinggenius #238
Posted 26 March 2014 - 11:30 PM
I am looking to make an OS that runs on a floppy disk and you can take it to any computer and decide wether to make that computer a: router,switch,server or standard computer.
I will need to write seperate OS's for each of the options other than standard computer. I have a little base code but realize i need help making it. Would anyone be interested?
The Cisco thing again? As it has been said many times by a few different users, you'd be better off doing something else than creating a buggy stimulation in Minecraft.
sin_samsonsin #239
Posted 27 March 2014 - 06:33 PM
Hey, i need to make a program using the "Sensor" ot detect players. I need it because i want a Force Field to turn on when other players besides me and my 2 friends are nearby. I have tried to write the program myself but i suck at writing code. Spent hours on tutorials but still cant make the program work as i want it to. I would be very happy and so will my generators be. Thank you to everyone that are trying to help me.

Sin
TheOddByte #240
Posted 27 March 2014 - 10:11 PM
Hey, i need to make a program using the "Sensor" ot detect players. I need it because i want a Force Field to turn on when other players besides me and my 2 friends are nearby. I have tried to write the program myself but i suck at writing code. Spent hours on tutorials but still cant make the program work as i want it to. I would be very happy and so will my generators be. Thank you to everyone that are trying to help me.

Sin
This isn't a request topic, This is for giving other people ideas as the topic is called "Idea Exchange" :P/>
gollark8 #241
Posted 29 March 2014 - 06:51 AM
A PDA OS with a status bar showing things like GPS position,time and also including a chat/mail app for sending messages to computers.
And something automatically opening doors with programs when the PDA is within range would be useful too.
awsmazinggenius #242
Posted 29 March 2014 - 03:37 PM
And something automatically opening doors with programs when the PDA is within range would be useful too.
oeed's Ultimate Door Lock, go search for it.
oeed #243
Posted 30 March 2014 - 07:47 AM
A PDA OS with a status bar showing things like GPS position,time and also including a chat/mail app for sending messages to computers.
And something automatically opening doors with programs when the PDA is within range would be useful too.

As awsmazinggenius mentioned, my ultimate door lock will do the latter.

I'm working on PDA integration for OneOS at the moment. What would the GPS status bar show? Is this chat app essentially like Skype, or more of an email app. There's no point reinventing the wheel (although, the main issue is I don't want to spend the next 4 moths making an OS again).
Edited on 30 March 2014 - 05:57 AM
Csstform #244
Posted 01 April 2014 - 08:35 PM
An interpreter for this. Let's have some fun, folks!
LoneRangerGuy #245
Posted 08 April 2014 - 10:25 PM
My first computer was a TRS-80 and my second an Apple II+ and I also had some experience with other similar computers of the late 70's and early 80's and I am noticing strong similarities between those computers and the CC computers. There weren't all that many off-the-shelf programs you could get. Most applications for personal computers were written in Basic. There were many magazines of that time that offered listings of Basic programs that could be easily adapted for different computers with most differences being in graphic displays.

The reason I am mentioning this here is that many of those early program listings are still available. Early Basic is very simple and Basic subroutines could easily be replaced with Lua functions. The long defunct Creative Computing magazine was a great resource for program listings of games that could be easily adapter to ComputerCraft. There should also be other good sources for early Basic programs. Early Basic is line oriented with user numbered lines which should be the biggest conceptual hurdle for users of more modern interpreted languages like Lua but not all that difficult to figure out. If nothing else it would be a decent history lesson for early personal computing.

Here are a couple of links to sites I found in a Google search:
https://archive.org/details/creativecomputing
http://blog.codinghorror.com/the-best-of-creative-computing/
apemanzilla #246
Posted 13 April 2014 - 05:33 PM
can someone make a program what is happening at Redstone signal the Star Wars movie?
upload this please at pastebin
What?
Csstform #247
Posted 14 April 2014 - 05:52 PM
can someone make a program what is happening at Redstone signal the Star Wars movie?
upload this please at pastebin
What?
Translation: Can you make a program that starts the Star Wars movie (alongtimeago) when i gets a redstone pulse? Thanks, please upload it to pastebin for me!
caramba2654 #248
Posted 16 April 2014 - 12:02 AM
Hmmm…. I'm debating whether I should create a mini-OS that has all my control programs in it. A very simple one, but very useful too. I need to fiddle with the new stuff a little more, though. And maybe create a few more control programs, because I currently only have a mob spawner control program.
c4ooo #249
Posted 21 April 2014 - 03:18 AM
A Piet emulator

http://esolangs.org/wiki/Piet
c4ooo #250
Posted 21 April 2014 - 03:24 AM
Title explains all. I have to go to bed so I can't post my idea. See you in 4 hours (my sleep time) :)/>

[Note: original title of merged thread was "what would a good CC shell look like?" -L]
Edited on 21 April 2014 - 04:57 AM
c4ooo #251
Posted 21 April 2014 - 11:07 AM
A So I see it was moved. I would like to address some points
1) it most have a file browsing system of selecting from a list of lines of text so the user won't have to bug them selves with cd, dir, mv and so on.
2) don't make it like that–> http://www.computercraft.info/forums2/index.php?/topic/11338-jupiter-a-customizable-os-111/ as to not over wehlm the user. Stick to #1!!
3) it should have a central hub from which the user can select from built in functions(browse file, API manager, ect.) the hub will also have coman things like shut down options,time of day ect.
4) there would be a way to link file extensions to programs.

Well that's preaty much it :)/>/>/>
Sorry for spelling :(/>/>/>
Edited on 21 April 2014 - 06:57 PM
Lewisk3 #252
Posted 28 April 2014 - 10:00 PM
A computer lock that encrypts all the files on the computer with the password as the key or something, and decrypts all the files when logging in. So if somoene bypasses the login with a disk, they can't really use the files/steal the programs on the computer.

i tryed to make something similar to this and it jacked up all my files.
pretty difficult program
TechMasterGeneral #253
Posted 02 May 2014 - 03:16 PM
An interpreter for this. Let's have some fun, folks!
OMG! Why would you waste time learning that…
TheOddByte #254
Posted 05 May 2014 - 07:27 PM
An interpreter for this. Let's have some fun, folks!
OMG! Why would you waste time learning that…
Because the fun of it? Why did you waste your time learning Lua? :P/>
augustas656 #255
Posted 06 May 2014 - 06:54 PM
So as the title suggests I am creating an API called util, this API sofar allows simpler colour settings no longer needing the color., also finding the X and Y of the cursor pos seperately rather than both at the same time, same for screen width and height. I'm going to add a highly customisable read function, where defaultly it works like the normal version read(), but you can add features to it such as length limit and clicking rather than pressing enter to finish the input. Small X and Y validifers, that check if the X and Y are within the screen border co-ordinates. Simple functions that are helpful and more.

I'd like some ideas or already-existing features that I could add to my API and it would be nice. I'm trying to make this as least broad as possible, if this seems as it isn't fully explained ask me questions and I'll answer them, but this is as far as I can explain on my own. So please do post some nice ideas.

Regards,
Augustas
Lyqyd #256
Posted 06 May 2014 - 07:05 PM
Threads merged. You can expand the scope of your existing topic about more features for read(), you don't need a second topic to trawl for ideas.
TrovadorUrbano #257
Posted 11 May 2014 - 09:49 PM
Hey guys its me again, now with an idea and i hope you can understand it

As the title says, the idea is to make a "web bridge" so people could be able to monitor and even control their [automation system] - [base] from web [virtually anywhere]. I started working on some code last night, but i've got something that i can show you

[media]http://www.youtube.com/watch?v=gW0LUueZVdM[/media]

Obviously its mainly focused for smp servers but if you want let your ssp world opened and then go to school/work/party … well …you can :lol:/>

For now, my main problem is the time, but i hope it can be working (the program) in a few weeks, but i do really want to know what do you think about it
Edited on 13 May 2014 - 03:09 AM
bfox #258
Posted 17 May 2014 - 04:17 AM
Hello everyone.
What this program is for is to give players the ability to auto-craft ANY item from any mod in its 3x3 crafting grid using the Crafty Turtle.

The Program runs as follows

Program gets user input as <Name of Item> <quantity> <Is Item or Block>

Then it pulls that info and creates a directory out of it except for the quantity.
The <Name of Item> is saved as a Directory.

When the <Name of Item> doesnt exist, it will ask you to place the crafting recipe within its 3x3 grid.

Lets say for example it is compressed cobble stone from Extra Utilities. You would put 1 of each item in its grid as if you are making the item.

This is how you save it. The program with save those slot numbers and store then within the Items Directory as "slotNum(number of slot)".

When you ask it to make the item, it will search for the slotNum files. And depending on what File number it is, it will know that this slot contains a item for a recipe.

Then it will somehow use the slotNum to locate the slot within its grid and place the appropriate item in the grid.

How will the turtle know which item to place yet alone where will it get the item? Well

There will be a chest above the turtle that acts as a "recipe holder" for the turtle. Each slot within the chest has a role.

When the turtle uses turtle.suckUp() it will pull the first item from the slot, then place it in the slot that the Item Directory contains.

Since the turtle reads the slots 5,6,7,9,10,11,13,14,15

It pulls and places in the same order, for compressed cobble, it will pull cobble then place in slot 5. If it were a pickaxe, since slotNum5 is blank, it doesnt include slot 5 as apart of the recipe.

This is how i imagine the program to run, as of now Its still missing alot of features and still being worked on, i will upload pastebin as soon as i return home.

When i do upload, please bare in mind that my coding skills only go as far as i know, if there is an easier way to do it, please let me know:)

Is there anything im missing or something you would like to know or even something you would like to see?
Want to help with the programming?

Please leave your comments as I widely appreciate them.
KingofGamesYami #259
Posted 17 May 2014 - 02:25 PM
I'm looking for someone(s) with experience in turtle programming and Operating Systems to help with a project. The aim of my project is to create an optimal environment for advanced turtle programming, where much of the 'heavy' work will be done by the OS. A few of the features planned:
*buildLine
*buildWall
*buildFloor (buildWall but horizontal)
*getLocation
*automatic position saving
*slot item info (look at the self-replicating turtle to see what I mean)
*manual add items
*internal map
*object avoidance (would have an option to turn off for your script, if it's mining or something)
*ability to attach programs to coordinates (eg. setProg(100, 100, 10, "farm") or something similar)
*and anything else someone thinks up + more

if you wish to contribute, send me a pull request - https://github.com/KingofGamesYami/Advance-Turtle-Operating-Environment
Edited on 17 May 2014 - 12:29 PM
viluon #260
Posted 17 May 2014 - 02:30 PM
@KingofGamesYami I'm working on something similar, it will take a long time to finish however…
awsmazinggenius #261
Posted 18 May 2014 - 05:11 AM
I'm working on something similar too, as part of my Creative Craft suite. I've had to put CC/OC dev on hold for a while though, as I misplaced my awesome Bluetooth keyboard that my fingers love to code on. Fortunately, I found it yesterday and started coding again :P/>
apemanzilla #262
Posted 18 May 2014 - 04:34 PM
Hello everyone.
What this program is for is to give players the ability to auto-craft ANY item from any mod in its 3x3 crafting grid using the Crafty Turtle.

The Program runs as follows

Program gets user input as <Name of Item> <quantity> <Is Item or Block>

Then it pulls that info and creates a directory out of it except for the quantity.
The <Name of Item> is saved as a Directory.

When the <Name of Item> doesnt exist, it will ask you to place the crafting recipe within its 3x3 grid.

Lets say for example it is compressed cobble stone from Extra Utilities. You would put 1 of each item in its grid as if you are making the item.

This is how you save it. The program with save those slot numbers and store then within the Items Directory as "slotNum(number of slot)".

When you ask it to make the item, it will search for the slotNum files. And depending on what File number it is, it will know that this slot contains a item for a recipe.

Then it will somehow use the slotNum to locate the slot within its grid and place the appropriate item in the grid.

How will the turtle know which item to place yet alone where will it get the item? Well

There will be a chest above the turtle that acts as a "recipe holder" for the turtle. Each slot within the chest has a role.

When the turtle uses turtle.suckUp() it will pull the first item from the slot, then place it in the slot that the Item Directory contains.

Since the turtle reads the slots 5,6,7,9,10,11,13,14,15

It pulls and places in the same order, for compressed cobble, it will pull cobble then place in slot 5. If it were a pickaxe, since slotNum5 is blank, it doesnt include slot 5 as apart of the recipe.

This is how i imagine the program to run, as of now Its still missing alot of features and still being worked on, i will upload pastebin as soon as i return home.

When i do upload, please bare in mind that my coding skills only go as far as i know, if there is an easier way to do it, please let me know:)

Is there anything im missing or something you would like to know or even something you would like to see?
Want to help with the programming?

Please leave your comments as I widely appreciate them.
Look at MacLeopold's opencraft program that does something similar to this using Open Peripheral.
ProxyUser #263
Posted 20 May 2014 - 03:25 PM
I have a idea for a RedNet encryption to be harder to crack,

So the user of the first computer types the message, this will be turned into a file and will be sent to a server (in real live) through the HTTP Api, of course that message is encrypted, you get a code back. That code will be sent through RedNet (with encryption). The code will be decrypted on the other computer, then they send a message with the code to the server through HTTP, they get the message back, they decrypt it and the second computer shows the file on the screen.

And if i made mistakes, sorry for my language…
Edited on 20 May 2014 - 01:26 PM
apemanzilla #264
Posted 20 May 2014 - 04:24 PM
I have a idea for a RedNet encryption to be harder to crack,

So the user of the first computer types the message, this will be turned into a file and will be sent to a server (in real live) through the HTTP Api, of course that message is encrypted, you get a code back. That code will be sent through RedNet (with encryption). The code will be decrypted on the other computer, then they send a message with the code to the server through HTTP, they get the message back, they decrypt it and the second computer shows the file on the screen.

And if i made mistakes, sorry for my language…
Why not just encrypt the message and send it directly through rednet?
ProxyUser #265
Posted 22 May 2014 - 08:16 PM
I have a idea for a RedNet encryption to be harder to crack,

So the user of the first computer types the message, this will be turned into a file and will be sent to a server (in real live) through the HTTP Api, of course that message is encrypted, you get a code back. That code will be sent through RedNet (with encryption). The code will be decrypted on the other computer, then they send a message with the code to the server through HTTP, they get the message back, they decrypt it and the second computer shows the file on the screen.

And if i made mistakes, sorry for my language…
Why not just encrypt the message and send it directly through rednet?
That is the extra encryption, you make much more work for somebody who wants to decode the encryption. They first need to decode the RedNet message, and then they have to get to the actual server, hack the server and decode the message. That is lots of work for just a message
Edited on 22 May 2014 - 06:16 PM
skwerlman #266
Posted 26 May 2014 - 08:48 AM
I'm working on a documentation reader that will read a JSON and output something similar to man(1). Hooray *nix! I say as I post from my Win7 rig.

Link to the ~40% complete format specification: link
Link to the ~30% complete development branch: link

Also, I have no idea how to do this, but what about a full (or mostly full) implementation of bash?

EDIT: What about a CC emulator written for Rainmeter? Rainmeter already implements most of lua, so it shouldn't be too hard. The only challenge would be to emulate getfenv and setfenv.
Edited on 27 May 2014 - 05:21 AM
TheOddByte #267
Posted 27 May 2014 - 07:07 PM
This should be possible, But with worse graphics :P/>
The game Uplink, would be a fun game to have in CC :)/>
awsmazinggenius #268
Posted 28 May 2014 - 12:49 AM
I'm working on porting two minimalist iOS puzzle games to CC. Though I have the issue of having so many projects that I can't get myself to work on any of them, so I'm not releasing any details until it's done
Jemmerl #269
Posted 31 May 2014 - 04:25 PM
I had a great idea for an AI script for talking.. but since im not at all advanced at programming, i cant make it. It involves adding personality to words stored in areas of script. when u type "newword" in the program, it will bring up; word: (type new word)
partofspeech: (noun verb or adverb) and then personality: (anger 0-10) (happiness 0-10) and (sadness 0-10) then it stores, for example,
WORD: meanie
PARTOFSPEECH: noun
PERSONALITY: 6 <this is anger> (higher number, mor chance of bieng used in a certain situation) 0 <happiness> 4<sadness> or 6 0 4

it will then add this to a section of code containing all "nouns" (if this automatic sorting doesnt work, you can add manually)
after adding enough nouns, verbs, and adverbs it can respond to your words.
(hello, you, hi, run, and a couple basic nouns or verbs will come with program) the computer will pick a noun, then a verb

each word has personality, these are precents. it makes the computer have feelings too. if u say a word in its system (any thing it doesnt recognise it says, "hunh?" or "what did you say?") like jerk, it will become sad and angry. (you an tamper with this by setting something like jerk to 1 10 1, so it feels happy when you say it) but say "jerk" is 4 0 2, it will store up to 20 points of each feeling in it. The computer starts at 1 1 1. after you say jerk, the computer will be 5 1 3. now that its anger and sad points are up more, it has a greater chance of choosing a anger or sad word/sentence in responce.

anything in ALL CAPS immediately gets +3 anger points and +1 sad point

ps. due to the fact that this IS a computer, bad grammer can always happen. and it can only respond to what you teach it

whenever 3 anger points are added, based on your words, its happiness goes down by one. if 2 sadness are added, down by 1 aswell. if 3 happiness are added then sadness goes down by 2 and anger goes down by 1. so you can make your computer feel better :)

If anything seems wrong with my idea or you like it, im up for critizism. if you think you can make it, GO ON AHEAD, just give me some credit
Geforce Fan #270
Posted 08 June 2014 - 12:08 AM
Here's an idea: You know how wireless PDAs have that red light when rednet is on? Well you could flash that by opening and closing rednet and use it for notifcations! You could still send and receive signals while it's open. If you're constantly sending or receiving signals it might not work too well though, though especially if you're trying to receive them, because you might miss some of them.
Edited on 07 June 2014 - 10:09 PM
RoD #271
Posted 08 June 2014 - 08:36 PM
[Note: This was split from here. -L]

This is actually the best one i've saw.
Here, i modified it so it looks better:

local chars = {}
local function new(t)
t.y = 0
table.insert(chars, t)
end
setmetatable(chars, {__call = function(t)
local i = 0
return function()
  i = i + 1
  return t[i], i
end
end})
local function timer(period)
return {
  id = nil;
  run = function(self)
   self.id = os.startTimer(period)
  end;
}
end
local updateTimer = timer(0.1)
local creator = timer(0.1)
updateTimer:run()
creator:run()
term.setBackgroundColor(colors.black)
term.clear()
term.setCursorPos(1,1)
while true do
local _, t = os.pullEvent('timer')
local w,h = term.getSize()

if t == updateTimer.id then
  for char, i in chars() do
   char.y = char.y + 1
  
   if char.y > h then
	table.remove(chars, i)
   else
	term.setCursorPos(char.x, char.y)
	if char.color == colors.black then
	 term.setBackgroundColor(colors.black)
	 term.write(' ')
	else
	 term.setTextColor(char.color)
	 lastColor = char.color
	 term.write(string.char(math.random(38, 126)))
	end
   end
  end

  updateTimer:run()
elseif t == creator.id then

  local time = math.random()*0.4 + 0.1
  local tailEnd = timer(time + math.random()*0.10 + 0.5)
  local tail = timer(time)
  local gray = timer(time + math.random()*0.20 + 0.5)
  local eraser = timer(time + math.random()*0.30 + 0.95)
  new {
   x = math.random(w);
   color = colors.white;
   tail = tail;
   tailEnd = tailEnd;
   gray = gray;
   eraser = eraser;
   ishead = true;
  }

  creator:run()
  tail:run()
  tailEnd:run()
  gray:run()
  eraser:run()
else
  for char in chars() do
   if char.ishead then
	if t == char.tail.id then
	 new {
	  x = char.x;
	  color = colors.lime;
	 }
	 break
	elseif t == char.eraser.id then
	 new {
	  x = char.x;
	  color = colors.black;
	 }
	 break
	elseif t == char.tailEnd.id then
	 new {
	 x = char.x;
	 color = colors.green;
	 }
	end
   end
  end
end
end
Edited on 08 June 2014 - 06:43 PM
Geforce Fan #272
Posted 09 June 2014 - 05:20 AM
^^^that's actually really cool.
Geforce Fan #273
Posted 09 June 2014 - 10:27 PM
Adventure maps that give you a wireless advanced pda and you have to hack your way through the network to open doors and such!
Heck, why not a CC video game where you do this?
Edited on 09 June 2014 - 08:28 PM
apemanzilla #274
Posted 10 June 2014 - 04:44 PM
Adventure maps that give you a wireless advanced pda and you have to hack your way through the network to open doors and such!
Heck, why not a CC video game where you do this?
watch_dogs
SpencerBeige #275
Posted 12 June 2014 - 03:38 PM
hello. i am currently making my own custom programming language. if you would like to be an editor of this language, please make an application and send it to me. but if you would like to help without touching a bit of it, i need some help. what apis should it have, and please list a few commands possibly to be used with this api. if your ideas are recognized and used, you will be in the credits.!

website: http://coderofthree.weebly.com/
SpencerBeige #276
Posted 12 June 2014 - 04:11 PM
a pastebin/github type program to download code other then ACTUALLY using pastebin
apemanzilla #277
Posted 12 June 2014 - 07:34 PM
a pastebin/github type program to download code other then ACTUALLY using pastebin
For GitHub repos
For any single file accessible online
Edited on 12 June 2014 - 05:35 PM
TheOddByte #278
Posted 12 June 2014 - 10:58 PM
Adventure maps that give you a wireless advanced pda and you have to hack your way through the network to open doors and such!
Heck, why not a CC video game where you do this?
The part about an adventure map sounded cool, would be cool if there was an "OS" or whatever that limited you to a command prompt like the one in windows and you had to scan for networks and figure out ways to hack your way forward and stuff, not like the map called "Hacker" where you pretty much had to find floppy disks and put them in disk drives to move forward :P/>
Csstform #279
Posted 16 June 2014 - 04:33 AM
Adventure maps that give you a wireless advanced pda and you have to hack your way through the network to open doors and such!
Heck, why not a CC video game where you do this?
The part about an adventure map sounded cool, would be cool if there was an "OS" or whatever that limited you to a command prompt like the one in windows and you had to scan for networks and figure out ways to hack your way forward and stuff, not like the map called "Hacker" where you pretty much had to find floppy disks and put them in disk drives to move forward :P/>/>

Wut. >_< Sounds like a horrendous map.

But I am interested in making this, if anone wants to join me.
Geforce Fan #280
Posted 16 June 2014 - 05:49 AM
Adventure maps that give you a wireless advanced pda and you have to hack your way through the network to open doors and such!
Heck, why not a CC video game where you do this?
The part about an adventure map sounded cool, would be cool if there was an "OS" or whatever that limited you to a command prompt like the one in windows and you had to scan for networks and figure out ways to hack your way forward and stuff, not like the map called "Hacker" where you pretty much had to find floppy disks and put them in disk drives to move forward :P/>/>

Wut. >_< Sounds like a horrendous map.

But I am interested in making this, if anone wants to join me.
Well, sure! I'd join for sure.
We could also do some cool graphics on the PDA. Maybe edit shell a little and add some more… green?
PM me with how I can join… after all it's my idea c:
Edited on 16 June 2014 - 03:50 AM
TheOddByte #281
Posted 17 June 2014 - 12:29 AM
Adventure maps that give you a wireless advanced pda and you have to hack your way through the network to open doors and such!
Heck, why not a CC video game where you do this?
The part about an adventure map sounded cool, would be cool if there was an "OS" or whatever that limited you to a command prompt like the one in windows and you had to scan for networks and figure out ways to hack your way forward and stuff, not like the map called "Hacker" where you pretty much had to find floppy disks and put them in disk drives to move forward :P/>/>

Wut. >_< Sounds like a horrendous map.

But I am interested in making this, if anone wants to join me.
Well, sure! I'd join for sure.
We could also do some cool graphics on the PDA. Maybe edit shell a little and add some more… green?
PM me with how I can join… after all it's my idea c:
Can I join then? :3
Geforce Fan #282
Posted 01 July 2014 - 11:39 PM
A massive storage network using wired modems that could use computers or disks as storage. It could split programs across computers or disks. This could allow for any ammount of storage! A 20x20 tower of computers would be 400MB; imagine what a 100x100 would be!(10GB!!)
Another thing you could do with these storage computers is have them do prosesses. This would allow you to have a massive network for your base, and probably make your computers really fast.
edit: I'm going to do this myself. It will not use computers, rather, it will use drives with either pocket computers or disks. I'm already 3/4s done, it's not that hard of a task, actually.
Edited on 07 July 2014 - 07:02 PM
awsmazinggenius #283
Posted 03 July 2014 - 05:36 AM
If I recall correctly, CC only executes 1 computer's script at a time. Speed won't increase, but it's still a cool idea and I'd like to see a proof of concept.
theoriginalbit #284
Posted 03 July 2014 - 05:59 AM
I'd also like to add that ComputerCraft would most likely fall over trying to run that many computers, I tried to run 256 (16x16) Turtles at once the other day to quickly clear out a chunk worth of land, it caused ComputerCraft to lock up and made everything unusable; it actually required a server reboot.
AlkamlBan #285
Posted 04 July 2014 - 05:43 PM
Hello there, I came here to talk about an idea that came to my mind while I was jogging around my house(thats where every idea come from I guess ;)/> ). Anyway what I was thinking is that all the computercraft "pros" (not wanting to offend anyone) gather their forces to create the INTERNET in computercraft (I guess you can call it minenet but…anyway…). Basically it will be a bunch of programs and apis that will help for the simple development of websites, search engines and a lot of other stuff revolving around the internet. So for example:

Everything starts in the web browser (eg. Firedog, Internet Miner etc.).
From there the adress is given(eg. mww.minebook.com or mww.enderbox.com etc.)
Then the request is send to the modem (Not the ones featured in the mod basically computers that will act as modems using programs that run continiously.)
From the modem the adress is send to a computer which is connected to all the "hosts" (Basically computers that have the program of minebook or enderbox)
The computer then creates ONLY viewable copy of the program and sends it back all the way to the computer that asked for it. Which program is in turn viewed using the browser and ones the browser gets closed the copy of the program gets deleted.

(I know the image sucks but it was the best I could do :(/> )

Now one extra thing would be to create an API (eg html api) the would be used to create websites and anything associated with this…"project". It could be distributed to "developers" to aid them in their creations.

NOTE: I am no special in computercraft and have no knowledge about the way the modems (in real life) and generally how the hardware works. This is just an IDEA after all.

Well thnx for reading this and I would be really happy if it actually worked out! :D/>
Edited on 04 July 2014 - 03:47 PM
AlkamlBan #286
Posted 04 July 2014 - 06:28 PM
Well I would suggest creating internet in computercraft (I had a post about this but it disappered :(/> ). Basically the creation of…AHHH…so many stuff to talk about so little space…. Anyway what I wanted is the creation of an API that could be used to create "websites"(Basically programs that are stored in hosts). If a computer using the connection enters an adress(eg mww.minebook.com). Then a viewable ONLY version of the program will be sent to the comp. that requsted it. The program is automatically run by the browser and gets deleted when the browser closes. Anyway…if the post was here everything could be explained in much more detail <_</> .
AlkamlBan #287
Posted 04 July 2014 - 07:04 PM
Adventure maps that give you a wireless advanced pda and you have to hack your way through the network to open doors and such!
Heck, why not a CC video game where you do this?
The part about an adventure map sounded cool, would be cool if there was an "OS" or whatever that limited you to a command prompt like the one in windows and you had to scan for networks and figure out ways to hack your way forward and stuff, not like the map called "Hacker" where you pretty much had to find floppy disks and put them in disk drives to move forward :P/>/>

Wut. >_< Sounds like a horrendous map.

But I am interested in making this, if anone wants to join me.
Well, sure! I'd join for sure.
We could also do some cool graphics on the PDA. Maybe edit shell a little and add some more… green?
PM me with how I can join… after all it's my idea c:

Wait a minute!. If you use wireless Pocket Computers you could make Watch_Dogs in minecraft. Man that would be awesome! Hacking stuff with your "phone"
Csstform #288
Posted 04 July 2014 - 07:08 PM
-snip-
Already kinda working on that. :3
Lyqyd #289
Posted 04 July 2014 - 07:31 PM
Well I would suggest creating internet in computercraft (I had a post about this but it disappered :(/>/> ). Basically the creation of…AHHH…so many stuff to talk about so little space…. Anyway what I wanted is the creation of an API that could be used to create "websites"(Basically programs that are stored in hosts). If a computer using the connection enters an adress(eg mww.minebook.com). Then a viewable ONLY version of the program will be sent to the comp. that requsted it. The program is automatically run by the browser and gets deleted when the browser closes. Anyway…if the post was here everything could be explained in much more detail <_</>/> .

The post you are talking about got merged into this topic. It's literally right above this post you just made.
AlkamlBan #290
Posted 04 July 2014 - 08:10 PM
When exactly did I write "-snip-"?

I know I just realized it but was bored to write a response sry about that :D/>
oeed #291
Posted 06 July 2014 - 11:32 AM
Here's an idea: You know how wireless PDAs have that red light when rednet is on? Well you could flash that by opening and closing rednet and use it for notifcations! You could still send and receive signals while it's open. If you're constantly sending or receiving signals it might not work too well though, though especially if you're trying to receive them, because you might miss some of them.
I know it's a bit of an old post, but I think that'd be quite cool/useful. But yea, it could cause some issues.

Hello there, I came here to talk about an idea that came to my mind while I was jogging around my house(thats where every idea come from I guess ;)/> ). Anyway what I was thinking is that all the computercraft "pros" (not wanting to offend anyone) gather their forces to create the INTERNET in computercraft (I guess you can call it minenet but…anyway…). Basically it will be a bunch of programs and apis that will help for the simple development of websites, search engines and a lot of other stuff revolving around the internet. So for example:
–snip– (snip is just to save excessive page heights)
When I get around to finishing everything else I'd like to make an HTML based web site… thingy. I was thinking that rather than using Pastebin or Rednet, have all the pages hosted on actual servers. This allows you to use PHP and things like forms and dynamic content. The pages would either use a doctype or a file extension, although an file extension wouldn't work for things like PHP. I'd also allow people to upload their own pages for free without needing to host their own site of course. Heck, maybe even a version of Google for it too.
AlkamlBan #292
Posted 07 July 2014 - 10:47 AM
Here's an idea: You know how wireless PDAs have that red light when rednet is on? Well you could flash that by opening and closing rednet and use it for notifcations! You could still send and receive signals while it's open. If you're constantly sending or receiving signals it might not work too well though, though especially if you're trying to receive them, because you might miss some of them.
I know it's a bit of an old post, but I think that'd be quite cool/useful. But yea, it could cause some issues.

Hello there, I came here to talk about an idea that came to my mind while I was jogging around my house(thats where every idea come from I guess ;)/> ). Anyway what I was thinking is that all the computercraft "pros" (not wanting to offend anyone) gather their forces to create the INTERNET in computercraft (I guess you can call it minenet but…anyway…). Basically it will be a bunch of programs and apis that will help for the simple development of websites, search engines and a lot of other stuff revolving around the internet. So for example:
–snip– (snip is just to save excessive page heights)
When I get around to finishing everything else I'd like to make an HTML based web site… thingy. I was thinking that rather than using Pastebin or Rednet, have all the pages hosted on actual servers. This allows you to use PHP and things like forms and dynamic content. The pages would either use a doctype or a file extension, although an file extension wouldn't work for things like PHP. I'd also allow people to upload their own pages for free without needing to host their own site of course. Heck, maybe even a version of Google for it too.

Even though I didn't really understand what you said let me explain what I meant by ann html api. It can be an api that will specialize in creating programs that will be viewed as websites. For example a command could be like this:
html.createButton(startx, starty, endx, endy, color/icon, <text>, <where the text is>, <text color>)
startx/y - determines the pos. of the top left corner of the button
endx/y - determined the pos. of the bottom right corner of the button
color/icon - what color the button will be but an image can be used instead
<text> - self explanatory
<where the text is> - eg right, left, center
<text color> - self explanatory
This way you create sommething that would take like 10 lines of code and make it 1 thus saving space and increaing redability. It ofcourse has some limitations but the most important stuff are covered plus the command could be improved in the future.
Dustmuz #293
Posted 07 July 2014 - 05:50 PM
Hello dear folks..

My Girlfriend and i, got the idea of making a Bank (yes a bank) where we store items in an AE system for different users fo the server..

what we are in need of here, is the following.

a full program, that has following

a user database with passwords, login names and what else is needed.
possibility to add more uses and passwords.
capability to turn on and off multiple energy cells (most likely resonant energy cells)

If its possible, make it as secure as possible, so that people CAN'T get access to other users usernames/passwords.
feel free to make the setup that is necesary to do this.. ex 2-4 computers with running different sub program.. if thats a way to do it..

1: a user logs in using the computer
2: the computer turns on a energy cell connected to that user (the more users, the more cells, which powers an AE system, one for each user) the signal here, only needs to be a pulse, as i will be using a Toggle-latch from project red, to keep the signal turned on/off
3: when the user is done taking their items, they should be able to log out from the computer, that then turns off the redstone signal to the cell.

that was the general idea of the program we had.

is there someone out here, who is willing to take this challenge on?

if there is ANY questions, feel free to ask them.
we hope to get this working,

A lot of thanks and gratitude.
Thomas &amp; Maria
Geforce Fan #294
Posted 07 July 2014 - 09:05 PM
Hello there, I came here to talk about an idea that came to my mind while I was jogging around my house(thats where every idea come from I guess ;)/> ). Anyway what I was thinking is that all the computercraft "pros" (not wanting to offend anyone) gather their forces to create the INTERNET in computercraft (I guess you can call it minenet but…anyway…). Basically it will be a bunch of programs and apis that will help for the simple development of websites, search engines and a lot of other stuff revolving around the internet. So for example:

Everything starts in the web browser (eg. Firedog, Internet Miner etc.).
From there the adress is given(eg. mww.minebook.com or mww.enderbox.com etc.)
Then the request is send to the modem (Not the ones featured in the mod basically computers that will act as modems using programs that run continiously.)
From the modem the adress is send to a computer which is connected to all the "hosts" (Basically computers that have the program of minebook or enderbox)
The computer then creates ONLY viewable copy of the program and sends it back all the way to the computer that asked for it. Which program is in turn viewed using the browser and ones the browser gets closed the copy of the program gets deleted.

(I know the image sucks but it was the best I could do :(/> )

Now one extra thing would be to create an API (eg html api) the would be used to create websites and anything associated with this…"project". It could be distributed to "developers" to aid them in their creations.

NOTE: I am no special in computercraft and have no knowledge about the way the modems (in real life) and generally how the hardware works. This is just an IDEA after all.

Well thnx for reading this and I would be really happy if it actually worked out! :D/>
check the link in my siggy, it has a browser that uses HTTP and has dynamic web pages
Dustmuz #295
Posted 08 July 2014 - 07:35 AM
Hello there, I came here to talk about an idea that came to my mind while I was jogging around my house(thats where every idea come from I guess ;)/> ). Anyway what I was thinking is that all the computercraft "pros" (not wanting to offend anyone) gather their forces to create the INTERNET in computercraft (I guess you can call it minenet but…anyway…). Basically it will be a bunch of programs and apis that will help for the simple development of websites, search engines and a lot of other stuff revolving around the internet. So for example:

Everything starts in the web browser (eg. Firedog, Internet Miner etc.).
From there the adress is given(eg. mww.minebook.com or mww.enderbox.com etc.)
Then the request is send to the modem (Not the ones featured in the mod basically computers that will act as modems using programs that run continiously.)
From the modem the adress is send to a computer which is connected to all the "hosts" (Basically computers that have the program of minebook or enderbox)
The computer then creates ONLY viewable copy of the program and sends it back all the way to the computer that asked for it. Which program is in turn viewed using the browser and ones the browser gets closed the copy of the program gets deleted.

(I know the image sucks but it was the best I could do :(/> )

Now one extra thing would be to create an API (eg html api) the would be used to create websites and anything associated with this…"project". It could be distributed to "developers" to aid them in their creations.

NOTE: I am no special in computercraft and have no knowledge about the way the modems (in real life) and generally how the hardware works. This is just an IDEA after all.

Well thnx for reading this and I would be really happy if it actually worked out! :D/>
check the link in my siggy, it has a browser that uses HTTP and has dynamic web pages

thanks.. i will have a look at this today :)/>
Kizz #296
Posted 11 July 2014 - 03:16 PM
Computer Craft PC monitoring in game reactor > Sends HTTP request to local RaspberryPi server > Uses C to manipulate GPIO and light a red LED warning of imminent failure, meltdown, explosion, low fuel, low coolant, etc…

Wouldn't be too difficult. I already have the RaspberryPi ready to go. It runs Fedora, and I have chosen to use C to control the GPIO. I have several LED's already controlled through a browser using PHP. Even more simply I could just have a CC computer access the HTTP directory required to trigger the light when an event is called. :D/>

What do you guys think?

Would you want to see a project documentary or maybe a tutorial?
Mo_ #297
Posted 12 July 2014 - 01:07 AM
Anyways basically, what it will end up doing is being a To-Do List on a touchscreen monitor for my team on an anarchy ftb server. Each task on the list will have a point value rated on difficulty, and when you complete one a menu is brought up to select your username, and after a verification, the points for the task will be awarded to the selected person. Then displayed on a leaderboard for bragging rights.
RubysownII #298
Posted 24 July 2014 - 09:50 AM
Ive been looking around on tekkit(Main) And i notice an owner have a computercraft program that the computer some how changes the dye on a enderchest (Ender storage) and it steals from it anyone mind helping me out and develop a code i can test out my ender chest is on the left of my computer i just cant figure out how he did it he showed me the code once but never again So anyone out there can figure this our mind taking a shot at it and showing me a code that works? (Needs to input items into a chest above)
Cranium #299
Posted 24 July 2014 - 05:34 PM
Ive been looking around on tekkit(Main) And i notice an owner have a computercraft program that the computer some how changes the dye on a enderchest (Ender storage) and it steals from it anyone mind helping me out and develop a code i can test out my ender chest is on the left of my computer i just cant figure out how he did it he showed me the code once but never again So anyone out there can figure this our mind taking a shot at it and showing me a code that works? (Needs to input items into a chest above)
We're not going to write that code for you, because that could be considered griefing, and as such, would be malicious software. That's just something we don't support on this forum.
Rectar2 #300
Posted 04 August 2014 - 04:49 AM
Someone should try making Minecraft in Minecraft. Not like the adventure game included with CC, or ComputerCraftFan11's 2D version of Minecraft, but a full 3D version of Minecraft. It's been done in Petit Computer, so surely it's possible in ComputerCraft.
TheOddByte #301
Posted 07 August 2014 - 11:43 PM
Someone should try making Minecraft in Minecraft. Not like the adventure game included with CC, or ComputerCraftFan11's 2D version of Minecraft, but a full 3D version of Minecraft. It's been done in Petit Computer, so surely it's possible in ComputerCraft.
It would be possible but the game would be extremely slow and the graphics would be bad( unless you use a monitor to get as much pixels as possible, but it still wouln't look as great as you think xP )
Rectar2 #302
Posted 13 August 2014 - 06:30 AM
It would be possible but the game would be extremely slow and the graphics would be bad( unless you use a monitor to get as much pixels as possible, but it still wouln't look as great as you think xP )
You could use text for edges, and such. If you've seen the example program for the camera in Computronics, that thing looks pretty awesome when programmed right.
TheOddByte #303
Posted 25 August 2014 - 08:22 PM
This would be cool to see, http://www.haxball.com/
AlkamlBan #304
Posted 28 August 2014 - 03:06 PM
So I was thinking the other day and (well this is not exactly an idea but) what if we declared some OSs as "dominant"? I mean like in real life we all know Windows, OSX, Linux and nobody (apart from a small amount of people) develop new OSs. So why not do that in CC? Ofcourse people who don't want can say no but I mean everybody from us hass at least once tried to make an OS with 80% of us failing. So why not develop the already "good" ones? Because people try to make OSs so hard they don't make the most of CC (meaning that they don't have time to create other programs that can open an whole new array of possibilities). For example for PC use OneOS with which an API can be distributed for those who want to make new programs for that OS. Most of those OS developers have stuff like App Store etc. which unfortunatelly never really get used because the guys who make the OS focus on it and not on the programs it can offer. I mean this should stop. I don't saay that making your own things is something bad but if we continue like this we will go nowhere. Its like each CCer has his own house and they make their own weapons BUT they end up making the exact same weapon over and over again not focusing on making other stuff. Ofcourse this will stop newbies from learning "real" Lua but if they want to then they can just stop using the OS and once they have learned come back. For example ideas for programs that can be milestones are baried because the guy who though of it wants to make an OS. Again I am not against making new things but by staying like this we just take advantaage of only one aspect of CC kind of like using only 1 fourth of a color pallet.
BlinkGaming #305
Posted 03 September 2014 - 04:08 PM
Hey! I have this idea which would be cool for trades, its where you put a specific item in a chest (or anything of the sort) and then it opens options on a monitor for what you can trade for that item, for example, i put a diamond in a chest and then i can pick between trading it for an emerald, a gold block or a nether star by a simple click of a monitor. Thanks :D/>
Ashton #306
Posted 13 September 2014 - 04:03 AM
Ok, Hard to explain in a title, but basically I want an app that I can load onto a PocketPC and give to each of my builders that will let them give themselves blocks — but only certain blocks — and possibly a few other commands like teleporting to set locations or healing, but that's all.

I know how to set and execute a command using a PC and a command-block, however, I am not sure how to lock down the interface where it's not possible for them to execute other commands (like enchanting and giving diamonds/emeralds or teleporting to other worlds) is it possible to force a program on a PC to terminate when your sending data to it over a PocketPC? (especially when all your hopefully sending is a short string of 10 characters or less — not the actual command but like "2A7B3")

On that note, how can I designate the player to give the blocks to? Obviously "@p" wont work, can I use a command on the pocketPC to somehow grab the player's username? (or failing that, the XYZ so I can have it generate a stack at that location? (if I can even do that x_x, getting more and more 'maybe?' about this it seems…))

Also, how can I set it so that the pocketPC can communicate with the "builder server" anywhere in my server's universe? I know there's usually a limit on distance that a wireless signal will travel, is there a way to dissable the limit? (since computercraft is only for staff use anyway)

Thanks in advance!
Lego Stax #307
Posted 13 September 2014 - 04:33 AM
This might take a while to make. So, the PocketPCs that you give your builders would have to have their usernames stored on them. Or you could set up GPS location systems in the sky, however these become inaccurate over long distances. Anyway, you can go into the CC config and change the rednet distance for all 4 circumstances to some astronomical number. Also, you'd have to have your "builder server" in a place where your builders wouldn't be able to get into. Your PocketPC's would then connect to your builder server with the username key, as described earlier. This single computer could run and change the commands on the command block, as I'm sure you already know. However, you'd need a peripheral mod or a plugin or something to restrict command block access to that one computer. Or, you'd have to have your builders in survival mode and not give them access to commands. As for "locking down the interface," you'd have to program your computer for only that commands that you want your builders to have access to and so on. You don't have to program in the other commands. This is assuming that you're not going to send one string to the computer to run.

Hope that jumble of information and my thoughts helped you. :)/>
TheeIntrepidGamer #308
Posted 13 September 2014 - 05:08 AM
Hello dear folks..

My Girlfriend and i, got the idea of making a Bank (yes a bank) where we store items in an AE system for different users fo the server..

what we are in need of here, is the following.

a full program, that has following

a user database with passwords, login names and what else is needed.
possibility to add more uses and passwords.
capability to turn on and off multiple energy cells (most likely resonant energy cells)

If its possible, make it as secure as possible, so that people CAN'T get access to other users usernames/passwords.
feel free to make the setup that is necesary to do this.. ex 2-4 computers with running different sub program.. if thats a way to do it..

1: a user logs in using the computer
2: the computer turns on a energy cell connected to that user (the more users, the more cells, which powers an AE system, one for each user) the signal here, only needs to be a pulse, as i will be using a Toggle-latch from project red, to keep the signal turned on/off
3: when the user is done taking their items, they should be able to log out from the computer, that then turns off the redstone signal to the cell.

that was the general idea of the program we had.

is there someone out here, who is willing to take this challenge on?

if there is ANY questions, feel free to ask them.
we hope to get this working,

A lot of thanks and gratitude.
Thomas &amp; Maria

I have already started working, (more like 70% done) on a banking system for an in-game economy,
I'm sure I could implement a deposit box type feature you speak of using the AE system, with minimal effort.
I accept your challange, my good sir. ;)/>
TheOddByte #309
Posted 17 September 2014 - 10:28 PM
I have already started working, (more like 70% done) on a banking system for an in-game economy,
I'm sure I could implement a deposit box type feature you speak of using the AE system, with minimal effort.
I accept your challange, my good sir. ;)/>
Just a question, are you hashing + salting the credentials? if not then I would suggest that you'd do that :)/>
Dustmuz #310
Posted 18 September 2014 - 04:41 PM
Hello dear folks..

My Girlfriend and i, got the idea of making a Bank (yes a bank) where we store items in an AE system for different users fo the server..

what we are in need of here, is the following.

a full program, that has following

a user database with passwords, login names and what else is needed.
possibility to add more uses and passwords.
capability to turn on and off multiple energy cells (most likely resonant energy cells)

If its possible, make it as secure as possible, so that people CAN'T get access to other users usernames/passwords.
feel free to make the setup that is necesary to do this.. ex 2-4 computers with running different sub program.. if thats a way to do it..

1: a user logs in using the computer
2: the computer turns on a energy cell connected to that user (the more users, the more cells, which powers an AE system, one for each user) the signal here, only needs to be a pulse, as i will be using a Toggle-latch from project red, to keep the signal turned on/off
3: when the user is done taking their items, they should be able to log out from the computer, that then turns off the redstone signal to the cell.

that was the general idea of the program we had.

is there someone out here, who is willing to take this challenge on?

if there is ANY questions, feel free to ask them.
we hope to get this working,

A lot of thanks and gratitude.
Thomas &amp; Maria

I have already started working, (more like 70% done) on a banking system for an in-game economy,
I'm sure I could implement a deposit box type feature you speak of using the AE system, with minimal effort.
I accept your challange, my good sir. ;)/>


sorry for the late reply :)/>

NOW thats what i like to hear :D/>
im trying to learn this Lua myself now, and only gotten as far as getting a monitor to work and such..
working on peripherals (chest with a proxy from Openperipherals) and have huge trouble with that :D/> hehe

i wouldnt even start trying with an ME system yet.. hehe..

but i would love to see what you come up with, and what you got already (if thats okay) just to see if i can understand ANYTHING at all :D/> hehe
elfin8er #311
Posted 02 October 2014 - 03:54 PM
I've always loved the HTTP API in Computercraft. I like letting my programs roam free, and interact with the world outside of Minecraft. Specifically, I enjoy working with things in the real world. For an example, a cell phone, or some type of controller. For the past year or so, I feel like I've run out of ideas. Even if it's some crazy hacky way that it'd have to be done, I'm all for it, as long as it's not too expensive. I've got a raspberry pi, so maybe I can do something with that? Any ideas? Or maybe use NFC tags to preform different tasks in-game? I don't know. I need ideas. Unique ideas.

I've already controlled Computercraft via SMS, and a turtle with an Xbox controller. I even made a media player that played music from your real-life computer. Looking for something that nobody (including me) has done before.
TurtleHunter #312
Posted 02 October 2014 - 04:03 PM
Make computercraft control a real screen?
elfin8er #313
Posted 02 October 2014 - 04:05 PM
Make computercraft control a real screen?
Huh. Interesting idea. Unfortunately, I don't really have another computer to allow it to control. Though if/when I get another one, I'll definitely keep that idea in mind.
Rectar2 #314
Posted 04 October 2014 - 05:41 AM
-snip-
something that nobody (including me) has done before.
A program that controls a turtle based on Miley Cyrus's Twitter feed?
Dragon53535 #315
Posted 04 October 2014 - 07:42 AM
-snip-
something that nobody (including me) has done before.
A program that controls a turtle based on Miley Cyrus's Twitter feed?
Perhaps someone already has
TheOddByte #316
Posted 04 October 2014 - 05:38 PM
-snip-
something that nobody (including me) has done before.
A program that controls a turtle based on Miley Cyrus's Twitter feed?
Perhaps someone already has
Yeah totally, there's like 100 persons who've made that! xP
elfin8er #317
Posted 04 October 2014 - 07:11 PM
-snip-
something that nobody (including me) has done before.
A program that controls a turtle based on Miley Cyrus's Twitter feed?
May do it just for the laughs and giggles xD How would it work exactly? Would the turtle look for keywords in her tweets, and preform actions accordingly? Then, the turtle would only move every few tweets… Maybe I'll do something with the Reddit API. That seems interesting…
Edited on 04 October 2014 - 05:16 PM
LDDestroier #318
Posted 15 October 2014 - 02:29 AM
I've been asking for a program for quite a while now, and no one has coded a working version of it. What I was requesting was a way to communicate across any distance using duplicated disks. It is true that disks that were duplicated always share the same data, because of how disk data is stored. I need someone (oeed perhaps?) to make a program that does the following:

1. Receives data from a file on the disk and broadcasts it on rednet.
2. If it sees anything on that file, then it broadcasts the contents of it on rednet, then deletes it.

It should be tested on two networks. Each network should be on a normal computer with a wired modem (connected to a rednet client), and a disk drive with a duplicated disk. If it is set up correctly, then the two rednet clients should be able to chat with each other while not being directly connected with rednet.

If you are confused, then look at me and a couple of other people struggle with KingOfGamesYami's disknet api.
http://www.computerc...1-beta-disknet/

EDIT: i lived bitch (https://github.com/LDDestroier/CC/blob/master/disknet.lua)
Edited on 02 May 2019 - 04:33 AM
Lyqyd #319
Posted 15 October 2014 - 02:37 AM
I've merged your thread into the Idea Exchange topic, as you can see. Ask a Pro is for getting help with programs you're writing, not for asking people to write programs for you.
Jeffrey2365 #320
Posted 20 October 2014 - 06:54 PM
Hello everyone! I want to ask if some can make me a program when it will turn Off Big Reactors mod Turbines if their speed is above 1900RPM and they will turn on if the speed is belov 1800. So can please make that for me? I would be very happy if that would. Paste the text in pastebin please.
Agent Silence #321
Posted 20 October 2014 - 08:30 PM
I had an Idea for a Tinkers Construct Wrapper called E-Forge, which used openperipheral to scan a chest for materials and use a gui on a monitor to make a better interactive forge. It would take supplies from an AE system with creative cells for all the parts used in tinkers construct. Just a suggestion but it would be really awesome.
SGunner2014 #322
Posted 28 October 2014 - 08:12 PM
How about a game of Shut The Box? Here's an explanation if you don't know what it is.

- Sam
TurtleHunter #323
Posted 28 October 2014 - 10:06 PM
How about a game of Shut The Box? Here's an explanation if you don't know what it is.

- Sam

I will start working on this
Dragon53535 #324
Posted 06 November 2014 - 11:58 AM
An idea that popped into my head a while ago, a sort of pseudo-code compiler. Where one would write in pseudo-code, and the program reads through and compiles it into functioning lua code. It would allow those who don't exactly know the lua syntax but have experience programming to easily create a program :D/> Just curious if someone would take the idea.
TheOddByte #325
Posted 12 November 2014 - 09:34 PM
Some kind of "state restore" if you know what I mean, but that description is kinda vague so I guess I'll have to give a better one.
So if you've ever used an emulator you've might have noticed that there's something called gamestate which you can load and save, now I'm not sure if it's possible or not but I feel like it would be useful on servers. So basically it would be most useful on turtles, because don't you hate it when you've set a turtle to build something big and the server restarts? well that's why it would be useful, so when the server has restarted and you start your turtle/computer again it would restore from where you last were.
cdel #326
Posted 15 November 2014 - 05:11 AM
If you didn't know already, I am working on a 'Jailbreak' for OneOS by Oeed. I am not quite sure how I want tweaks and such to be hosted, I was thinking of setting up a webserver to host them. Any other suggestions? The user needs to be able to see every tweak on the server.
TheeIntrepidGamer #327
Posted 21 November 2014 - 02:36 AM
I have already started working, (more like 70% done) on a banking system for an in-game economy,
I'm sure I could implement a deposit box type feature you speak of using the AE system, with minimal effort.
I accept your challange, my good sir. ;)/>
Just a question, are you hashing + salting the credentials? if not then I would suggest that you'd do that :)/>

Sorry for such a late response haven't been on CC forums much recently, but yes the credentials will be salted, and hashed.

sorry for the late reply :)/>

NOW thats what i like to hear :D/>
im trying to learn this Lua myself now, and only gotten as far as getting a monitor to work and such..
working on peripherals (chest with a proxy from Openperipherals) and have huge trouble with that :D/> hehe

i wouldnt even start trying with an ME system yet.. hehe..

but i would love to see what you come up with, and what you got already (if thats okay) just to see if i can understand ANYTHING at all :D/> hehe

Again sorry for late reply, I had to rework the system from scratch sadly because there was a bit of a loophole. <_</> Anyways I'd be happy to show you an example of what I have done currently if you wanted.
Edited on 21 November 2014 - 01:44 AM
Communeguy #328
Posted 21 November 2014 - 11:31 AM
I have an idea for a terminal glasses app. When running, the app would cycle between various base monitoring systems and display their stats in a pleasing way. Unfortunately this would likely require a very similar setup to mine, which would probably require something like an ISO of base monitoring systems for other players to find this useful.

Edit adds second idea/my current project: A credentials sharing standard. Basically a server app, administration app, and number of additional applications that all use a common login system that includes permissions levels.
Edited on 25 November 2014 - 12:50 AM
Emma #329
Posted 25 November 2014 - 05:22 AM
Some kind of "state restore" if you know what I mean, but that description is kinda vague so I guess I'll have to give a better one.
So if you've ever used an emulator you've might have noticed that there's something called gamestate which you can load and save, now I'm not sure if it's possible or not but I feel like it would be useful on servers. So basically it would be most useful on turtles, because don't you hate it when you've set a turtle to build something big and the server restarts? well that's why it would be useful, so when the server has restarted and you start your turtle/computer again it would restore from where you last were.
Woah, that was heavy.
I would like to take this on, but the only thing is, local variables.
I mean, the rest, phhh peice of cake, but how to restore local variables to programs… hmm…
KillaVanilla #330
Posted 28 November 2014 - 11:40 AM
Some kind of "state restore" if you know what I mean, but that description is kinda vague so I guess I'll have to give a better one.
So if you've ever used an emulator you've might have noticed that there's something called gamestate which you can load and save, now I'm not sure if it's possible or not but I feel like it would be useful on servers. So basically it would be most useful on turtles, because don't you hate it when you've set a turtle to build something big and the server restarts? well that's why it would be useful, so when the server has restarted and you start your turtle/computer again it would restore from where you last were.
Woah, that was heavy.
I would like to take this on, but the only thing is, local variables.
I mean, the rest, phhh peice of cake, but how to restore local variables to programs… hmm…

One (relatively) easy and fast way to do this would be to dynamically rewrite variable definitions (and function parameters) to make use of a "hidden table" or something.
Something that would transform

function a( c )
	local b = 13 + c
	return b + c
end

into


function a( c )
	hiddenTable.c = c
	hiddenTable.b = 13 + hiddenTable.c
	return hiddenTable.b + hiddenTable.c
end

though you would have to perform some sort of lexical or syntactical analysis to account for aliasing, scopes, etc.

You would also have to add bits to functions to replicate the call stack (which would on its own provide a handy way to keep track of locals)
Edited on 28 November 2014 - 10:43 AM
oeed #331
Posted 28 November 2014 - 12:01 PM
I think you'll find restoring states as you've put it would be bordering on impossible. I think Lua 5.2 can, but in 5.1 it won't work. Ignoring variables, you'd need to be able to resume the coroutine at the point where it last left off, and I really don't think there are anyways to do that unfortunately.

The biggest use of state restoring is certainly for turtle programs, so it's more important to just retain the position that anything else. Although with GPS that isn't as essential.
Agent Silence #332
Posted 20 December 2014 - 12:45 AM
A game engine for my SimuCube
_removed #333
Posted 04 January 2015 - 10:53 PM
Skype in CC is my big idea.
Catwood99 #334
Posted 09 January 2015 - 04:22 AM
Hello, I am a junior (ish?) coder with computercraft and I want to code things. But I have a problem. I am terrible at choosing what I want to code! Please comment what you want me to make a computercraft code for (From auto cobbles to a 3x3 door), and what modpack it is in, in the comments below. When/If I finish the code I will add a pastebin code lower in this thread. Thanks!
Joe_Schmo2840 #335
Posted 09 January 2015 - 08:09 AM
Ive got an idea for an automatic and extremely efficient mining solution. Using turtles and digital miners. If anyone is interested in hearing my idea please respond to this post I guess. Im still a newb here so I can make a new thread. I cant figure out how to msg ppl either.
Agent Silence #336
Posted 09 January 2015 - 08:27 AM
Hello, I am a junior (ish?) coder with computercraft and I want to code things. But I have a problem. I am terrible at choosing what I want to code! Please comment what you want me to make a computercraft code for (From auto cobbles to a 3x3 door), and what modpack it is in, in the comments below. When/If I finish the code I will add a pastebin code lower in this thread. Thanks!
You should try making a configurable redstone logic gate
Joe_Schmo2840 #337
Posted 09 January 2015 - 04:03 PM
Expanding on my digital miner idea.

Digital miner code showing calls/functions for computers to control them. https://github.com/a...iner.java#L1145



Features:

Server program that prompts the user to input coordinates, Digital miner configurations (radius, depth, filters, modes) that commands the turtle via rednet/gps

Server Program to display status of operation, and have abort/ish feature

Turtle program to move to desired coordinates, build the small platform and configure the Digital miner and start it.

Turtle program to monitor and check for miners completion and then deconstruct the platform and bring everything back home

Optional ideas:
Remotely changing Miner configuration
Displaying current completion of mining
Turtle automatically places a gps satellite (ive seen an already coded program)
Turtle automatically places rednet repeaters/servers so that way it doesnt go out of range
Turtle gathers materials needed from a chest/me system
Turtles that use a Crescent Hammer to ensure the machines are picked up properly

Items involved for my setup:
Advanced Turtle with chunk loading abilities or have the turtle place a chunk loader
Wind turbines for power
Ender Storage enderchest for importing items to an ME network

Wouldnt really mind if the turtle/computer didnt already know what items it needed to make the platform. Just what slots the items would be in. I could always show it in the forum thread what you need and where. And of course programming the miner thru the computer isnt crucial, they save their configuration even when picked up. So you could preprogram the miner and then send it with the turtle.
Edited on 09 January 2015 - 03:35 PM
cdel #338
Posted 22 January 2015 - 05:30 AM
I think a botnet of some sorts would be awesome, a network full of computers which can be controlled from a single computer.

A Tor network would also be pretty awesome, end to end encryption and such.
Edited on 22 January 2015 - 04:32 AM
ByteMe #339
Posted 22 January 2015 - 05:33 AM
I think a botnet of some sorts would be awesome, a network full of computers which can be controlled from a single computer.

A Tor network would also be pretty awesome, end to end encryption and such.
What did we spend like 3 days doing then. :P/>
TurtleHunter #340
Posted 31 January 2015 - 08:28 PM
Holo chamber using the new command computer, saves blocks and place blocks
TheOddByte #341
Posted 01 February 2015 - 01:42 PM
Holo chamber using the new command computer, saves blocks and place blocks
Something like this?
cdel #342
Posted 02 February 2015 - 06:35 AM
A rednet messaging encryption system that does not require the user to enter a key, generating one itself depending on various variables.
LDDestroier #343
Posted 02 February 2015 - 06:41 AM
A map/specialized program set where you can hack into anything with pocket computers, "Watch Dogs" style.
ByteMe #344
Posted 02 February 2015 - 08:39 PM
A map/specialized program set where you can hack into anything with pocket computers, "Watch Dogs" style.
That is a great idea, I'll try get a team together. :D/>
Konlab #345
Posted 03 February 2015 - 05:46 PM
A turtle following the player? Using rednet's distance
MajorStorm #346
Posted 06 February 2015 - 12:20 AM
It would be nice to be able to have enchantable tools that can be equipped to an advanced turtle, or just have all turtles be silk touch.
Gumball #347
Posted 16 February 2015 - 08:34 PM
- 2\16\15

This is my first post on my "blog" and heres one of my "brilliant" ideas.
This one is, a tool, (but this basically makes middle click mouse event fire constantly)
its for people who want to have a mouse hover, where a tool constantly fires the mouse scroll click,
and it checks if the coordinates are different than the last check, and if it is, it does:

os.queueEvent("mouse_hover",X,Y)

But if its not, it doesnt do anything.

Basically its a mouse hover checker, but try not to use a program that makes use of scroll click, like with a button with this, other wise your mouse would just fire the button whenever the mouse is over it,
unless thats what you would like.

New event called mouse hover, just returns where your mouse is in the terminal.

Or,

for people who want one without an added feature, something that constantly fires the mouse_click event with the scroll click as the type, and if the coordinates arent the same as the last, it does: os.queueEvent("mouse_hover",mouseLocX,mouseLocY)
cdel #348
Posted 18 February 2015 - 01:05 AM
Could someone post some ideas relating to the HTTP API? Need to refine my skills a bit before beginning a much larger project.
ElvishJerricco #349
Posted 18 February 2015 - 09:35 AM
Could someone post some ideas relating to the HTTP API? Need to refine my skills a bit before beginning a much larger project.

Just pick a website with an HTTP based API and build a CC front-end for it. Github is one, but it's been done a lot. I dunno if Facebook has an HTTP based API.
_removed #350
Posted 19 February 2015 - 11:26 PM
After the unsuccessful reign of smiggerOS, I have deceided to make my own OS. However, I need a few good ideas for it because it would just be BORING without any community suggestions. If you have any suggestions or ideas, let me now in the comments section!
guesswhat123212 #351
Posted 20 February 2015 - 06:31 PM
I am sure most people on here has made a remote for their base. I wrote mine to be able to accept menus, submenus, remote functions, multipage, dynamically placed buttons and even some slight security (for when on a server).

However now I trying to think of what all I can put on it to control here is my current list and i would like to hear your Ideas.

Main Door to base
AE System
AE Wireless System
Ore AutoProcessing
BR Reactor
1 button for each of my BR 12 turbines
1 button for each of my 10 MFR Lasers
Ender IO Monster Spawners
Essence berry farm
cut power output
UberMiner (32 mining wells being moved by funky locomotion)

I would do mystcraft portal as well but I decided not to put that into my world
also do not have thaumcraft so anything there is out the window

trying to find more things to add to it. Currently upgrading the code to fetch data from each of the reactors/turbines on request so I can have full control of them (even tho I run then full bore all the time)
Geforce Fan #352
Posted 21 February 2015 - 12:27 AM
A trade system using CommandComputers that allows you to list an item on sale for digital currency, and get money when someone decides to buy it. It will store it until someone comes and purchases it, whom will then receive it.
TheOddByte #353
Posted 22 February 2015 - 11:12 PM
I'd like to see a NAS program that would create a virtual folder on the computer, e.g the host has the files, and the client "has" the files
But this should be encrypted and password protected, and there shouldn't really be a GUI.
So for example, you could run the program like this

NAS <host/connect/disconnect> <hostname> <password> <path>

So the one who wants to host would do this

NAS host foo bar shared_files

And the ones who want access to the files would do this

NAS connect foo bar
edit foo/test


I'm sorry that I'm bad at explaining, but you get the idea :P/>
Lyqyd #354
Posted 22 February 2015 - 11:14 PM
It's neither encrypted nor password protected, but LyqydOS + LyqydNet does have such a feature.
TheOddByte #355
Posted 23 February 2015 - 02:21 AM
It's neither encrypted nor password protected, but LyqydOS + LyqydNet does have such a feature.
Just looked it up, and it looks quite useful. But by looking through your code it doesn't seem that you can edit files on the server, which is what I had in mind with my suggestion.
Lyqyd #356
Posted 23 February 2015 - 02:26 AM
With a server running rnfsd and a share configured, clients could use rnmount to mount up the shared file in a folder. From that point, the files will appear to be, for all intents and purposes, local files, which can be edited "locally" (changing the file contents on the server when written, of course).

If that wasn't what you meant, could you clarify? :)/>
TheOddByte #357
Posted 23 February 2015 - 04:29 PM
And where can I find this rnfsd and rnmount? It was filed and filec that I checked out on your Github, which only seemed to have "get" and "put" that simply uploaded/downloaded programs, it didn't allow "realtime-editing" on the host server. If this does exactly what I hope, would you mind if I modified it to have encryption and password protection?
Lyqyd #358
Posted 23 February 2015 - 10:31 PM
They're both in the LyqydOS repo, and they require both LyqydOS and LyqydNet installed on a computer to run successfully. They are released under MIT, so you are welcome to do anything to them, within the bounds of the license.
SpencerBeige #359
Posted 25 February 2015 - 03:11 PM
A turtle following the player? Using rednet's distance

rednet doesn't return distance. how come SO many people think it does?
Lupus590 #360
Posted 25 February 2015 - 03:21 PM
A turtle following the player? Using rednet's distance

rednet doesn't return distance. how come SO many people think it does?

because pre-1.6 it did
Quintuple Agent #361
Posted 25 February 2015 - 09:41 PM
A turtle following the player? Using rednet's distance

rednet doesn't return distance. how come SO many people think it does?

because pre-1.6 it did

You can still use the modem_message event to get distance
LDDestroier #362
Posted 04 March 2015 - 02:47 AM
Would it be possible to allow a player to talk, then have a chatbox take that chat message, put it through an http server, and then output it in another server with another chatbox? It seems like a really frickin cool idea, and something that could be done, given the limitations of chatboxes and the ability of external web servers.

You know what, hey oeed! Try making a web server on your domain, and the lua software for connecting to it and sending player chatting (from certain players) to it to be sent to another server! Chatboxes are in LuaLand, so it could be put there.

EDIT: I forgot this post existed…sorry
Edited on 04 March 2015 - 10:35 AM
LDDestroier #363
Posted 05 March 2015 - 01:32 PM
Someone has got to make a sort of 'apt-get' for CC which uses program names to download programs, rather than URL codes or numbers.
Lupus590 #364
Posted 05 March 2015 - 02:05 PM
I had an idea of doing that via red-net for all the programs I commonly use. Another use is download once, update everywhere (good if you have limited internet on a local game, although you could just copy using you IRL computer's file explorer)

Having it use HTTP would be cooler though, but names would likely need to be unique.
Edited on 05 March 2015 - 01:06 PM
Lyqyd #365
Posted 05 March 2015 - 04:08 PM
Someone has got to make a sort of 'apt-get' for CC which uses program names to download programs, rather than URL codes or numbers.

My packman tool (used in the LyqydOS installer and installed along side it), and AmandaC's ac-get both do this. I believe there is at least one other one as well. I need to get around to making a forum post about packman one of these days.
Lupus590 #366
Posted 05 March 2015 - 04:50 PM
A more advanced turtle dance program which uses rednet so all the turtles do the same moves in sync.

Could have them all gather round to "watch" a dance off.
KingofGamesYami #367
Posted 05 March 2015 - 05:01 PM
Spoiler
local movements = {“forward”, “back”, “turnLeft”, “turnRight”, “up”, “down”}

for _, v in ipairs( peripheral.getNames() do
  if peripheral.getType( v ) == “modem” and peripheral.call( v, “isWireless” ) then
    rednet.open( v )
  end
end

local moves = {}
for k, v in pairs( movements ) do
  moves[ #moves + 1 ] = function()
    rednet.broadcast( k )
  end
end

if not turtle then
  while true do
    moves[ math.random( 1, 6 ) ]()
    sleep( 1 )
  end
else
  while true do
    local id, message = rednet.recieve()
    if movements[ message ] then
       turtle[ message ]()
    end
  end
end
Modify as you please, it's pretty basic.
Edited on 05 March 2015 - 04:01 PM
Lupus590 #368
Posted 06 March 2015 - 11:05 AM
robot turtle wars
LDDestroier #369
Posted 06 March 2015 - 11:27 AM
A piece of paper from which you can boot off of.
RoD #370
Posted 06 March 2015 - 04:41 PM
But I mean for everything so like:
5.1 SO tfarc
>
Edit: why not do

Function invPrint(text)
Print(text:reverse())
End
Much simpler
Even though it wouldn't work :P/>
'Print' > 'print' etc.

But you mean like overriding the term.write function?

local oldWrite = term.write

term.write = function(text)
  oldWrite(text:reverse())
end
This should do it! :D/>

Also.. Never knew about 'reverse' :P/>

Now just reverse the entire CraftOS (overwrite all the functions so the terminal shows up from right to left) :P/>
RoD #371
Posted 06 March 2015 - 04:47 PM
Someone has got to make a sort of 'apt-get' for CC which uses program names to download programs, rather than URL codes or numbers.

we could have a webhoster with a list of the program names and their respective pastebin page. Pretty easy to make.
GopherAtl #372
Posted 06 March 2015 - 05:16 PM
Now just reverse the entire CraftOS (overwrite all the functions so the terminal shows up from right to left) :P/>

pastebin run 6QpZpQP5
Edited on 06 March 2015 - 04:17 PM
Lyqyd #373
Posted 06 March 2015 - 05:38 PM
Someone has got to make a sort of 'apt-get' for CC which uses program names to download programs, rather than URL codes or numbers.

we could have a webhoster with a list of the program names and their respective pastebin page. Pretty easy to make.
My packman tool (used in the LyqydOS installer and installed along side it), and AmandaC's ac-get both do this. I believe there is at least one other one as well. I need to get around to making a forum post about packman one of these days.

I even posted a new topic about it yesterday.
RoD #374
Posted 06 March 2015 - 05:51 PM
Now just reverse the entire CraftOS (overwrite all the functions so the terminal shows up from right to left) :P/>

pastebin run 6QpZpQP5

excelent ahahah
This is so useless, yet so fun. :P/>
Lupus590 #375
Posted 07 March 2015 - 02:17 PM
An emulator for continuous intergeneration programs (I.E. Travis and Jenkins) so your scripts can have automated testing
SquidDev #376
Posted 07 March 2015 - 02:26 PM
An emulator for continuous intergeneration programs (I.E. Travis and Jenkins) so your scripts can have automated testing

My Howl contains an 'Interop Layer' which emulates the most privative elements of ComputerCraft in normal Lua, so I guess it wouldn't be too hard to extend to support most functionality.

Comp500 has started work on porting Mimic to NodeJS so that might also be worth taking a look at, as is this similar version by Sxw. My emulator also runs in the terminal though I wouldn't consider it ready for production yet.
Edited on 07 March 2015 - 01:28 PM
Galbi3000 #377
Posted 11 March 2015 - 02:00 AM
Hi,
I was toying with the idea for a turtle command prompt and scripting program and thought I would see here how popular the idea would be.

It would be based very loosely on the Logo Turtle Graphics programming language with obvious differences due to the nature of ComputerCraft turtles.

The prompt would be able to accept certain commands to execute them immediately so a user can control the turtle directly.

Scripts saved to the turtle's drive could be run to automate a turtle. This would be easier to learn than Lua scripting for beginners to programming.

To make the scripts obvious I have the idea that the script files have the prefix of 'turtle.' but are referred to as the script name without that prefix. For example a script saved as 'turtle.buildHouse' would be run in the prompt with the command 'RUN buildHouse'.

To give a better idea of how the language looks here is an example script that would make a mining turtle dig a 3x3 tunnel 40 blocks long:


REPEAT 40
[
  DIG
  FORWARD
  LEFT
  DIG
  DIG UP
  UP
  DIG
  DIG UP
  UP
  DIG
  RIGHT 2
  DIG
  DOWN
  DIG
  DOWN
  DIG
  LEFT
]

Please let me know if this is a worthwhile project for me to start and ultimately share on this forum :)/>
jerimo #378
Posted 11 March 2015 - 05:04 AM
By all means do try if you are so inclined, but personally feel it is pretty close to what I have been working on as well (do) which makes it easy to use the turtles in command line, and was thinking of adding saving and loading the scripts in due time, although not a currently listed planned feature.

The main difference between our methods is that in mine it would be also ng the lines of
do ( digDown ( forward digDown forward digDown turnRight ) 3 forward digDown turnRight forward digDown turnLeft forward turnLeft forward ) 40[\code]
(Woops just reread your post and noticed you were doing a horizontal tunnel not a hole, the concept remains the same though)
Which can be entered directly in the command line of turtleOS 

Honestly its a fun project so if you want to make it anyways then go ahead!
Edited on 11 March 2015 - 04:06 AM
Galbi3000 #379
Posted 11 March 2015 - 10:32 PM
I already have a collection of simple command programs of LEFT, RIGHT, FORWARD, BACK, UP, DOWN and DIG that can be used singularly at the TurtleOS command prompt. My program would be an alternative command prompt just for commands that control the turtle in much the same way but adding scripting support.

The overall program name would be called TURTLE. So at the TurtleOS you would type TURTLE to get the TURTLE Prompt. One of those commands is the RUN command that runs the scripts. But I also think that it would be good for the TURTLE program to be able to run a script then exit back to the TurtleOS prompt by adding the script name as a parameter to TURTLE.

So to expand on my previous example of having a script called buildHouse stored on the disk as turtle.buildHouse I would type at the TurtleOS prompt 'turtle buildHouse' (as opposed to typing 'turtle' then 'run buildHouse' followed by 'exit' to return to TurtleOS).

So basically you have 2 modes of using the program, first to give turtle commands directly to the turtle using a specialised command prompt and second to run scripts containing those commands.

Just as in the Logo language, many of the commands will have alternatives or abbreviated versions of the command. For example FORWARD, FORWARDS, FWD, FD or F would move the turtle forward. UP, RISE, U to go up. And I think you get the idea :)/>

I will keep the first version simple and then see how well it is received before adding more features to make the scripting side a bit more powerful without making it too complex to learn :)/>
jerimo #380
Posted 12 March 2015 - 05:07 AM
I already have a collection of simple command programs of LEFT, RIGHT, FORWARD, BACK, UP, DOWN and DIG that can be used singularly at the TurtleOS command prompt. My program would be an alternative command prompt just for commands that control the turtle in much the same way but adding scripting support.

The overall program name would be called TURTLE. So at the TurtleOS you would type TURTLE to get the TURTLE Prompt. One of those commands is the RUN command that runs the scripts. But I also think that it would be good for the TURTLE program to be able to run a script then exit back to the TurtleOS prompt by adding the script name as a parameter to TURTLE.

So to expand on my previous example of having a script called buildHouse stored on the disk as turtle.buildHouse I would type at the TurtleOS prompt 'turtle buildHouse' (as opposed to typing 'turtle' then 'run buildHouse' followed by 'exit' to return to TurtleOS).

So basically you have 2 modes of using the program, first to give turtle commands directly to the turtle using a specialised command prompt and second to run scripts containing those commands.

Just as in the Logo language, many of the commands will have alternatives or abbreviated versions of the command. For example FORWARD, FORWARDS, FWD, FD or F would move the turtle forward. UP, RISE, U to go up. And I think you get the idea :)/>/>

I will keep the first version simple and then see how well it is received before adding more features to make the scripting side a bit more powerful without making it too complex to learn :)/>/>
Seems interesting, cant wait to see a useable build! If you wanna check out do to reuse some of the code feel free, in case you need an API call without checking a specific one
The Lone Wolfling #381
Posted 12 March 2015 - 12:31 PM
Hmm… It should be possible to use a cell phone or tablet as a monitor, using the HTTP API. Has anyone already done this?
jerimo #382
Posted 12 March 2015 - 03:12 PM
Hmm… It should be possible to use a cell phone or tablet as a monitor, using the HTTP API. Has anyone already done this?
Wouldnt you also need to make an app for the cellphone or tablet in question to display it though?
The Lone Wolfling #383
Posted 12 March 2015 - 03:41 PM
Hmm… It should be possible to use a cell phone or tablet as a monitor, using the HTTP API. Has anyone already done this?
Wouldnt you also need to make an app for the cellphone or tablet in question to display it though?
You could, but I don't think you need to. A fullscreened web page should be enough. I think you'd need a web server running somewhere though, as as far as I know CC doesn't allow HTTP servers. (Although: That would be a neat peripheral.)

See, for example, Mote. And Mote's API could allow this, assuming one could find some way to serve the "glue" page.

Although you could skip the web server by making an app.
DannySMc #384
Posted 12 March 2015 - 10:31 PM
A trade system using CommandComputers that allows you to list an item on sale for digital currency, and get money when someone decides to buy it. It will store it until someone comes and purchases it, whom will then receive it.

I have started something like this :D/>

Would it be possible to allow a player to talk, then have a chatbox take that chat message, put it through an http server, and then output it in another server with another chatbox? It seems like a really frickin cool idea, and something that could be done, given the limitations of chatboxes and the ability of external web servers.

You know what, hey oeed! Try making a web server on your domain, and the lua software for connecting to it and sending player chatting (from certain players) to it to be sent to another server! Chatboxes are in LuaLand, so it could be put there.

EDIT: I forgot this post existed…sorry

I will make this?
DannySMc #385
Posted 13 March 2015 - 04:36 PM
So over the past few weeks I have been working on the App Store / CCSystems php script.

I have added new things including comments systems, updateing/editing programs, but now I am stuck on what next to add.
So here is what I ask, would you be able to give me some awesome ideas that should be added to the App Store?
These can be things like rating systems or extra functions to help you use the store.

Another thing is before I do who is up for using the CCSystems User Database? I have had this working and already have over 100 users registered. Currently you can register and login, the idea was to have a centralised database so everyone can use the same database. This is all up to you but I have released a few code snippets for you to use which are below so you can also use the system!

If you have any ideas on what next to add then do tell me!! :D/>

Code uses sha256 to hash the password, please don't stop this otherwise people won't be able to login/out.

How to use:
Copy the large code below and put it at the top of your program, then use the following functions to use:

users.login(<username>, <password) -- login
users.register(username, email, password)
-- Username and password (and email if registering) will need to be got using a read function etc.


users = {}
users.__index = users
function users.login(username, password)
local req = http.post("https://ccsystems.dannysmc.com/ccsystems.php", "ccsys="..textutils.urlEncode(tostring("user")).."&amp;cccmd="..textutils.urlEncode(tostring("login")).."&amp;username="..textutils.urlEncode(tostring(username)).."&amp;password="..textutils.urlEncode(tostring(users.sha256(password))))
local status = req.readAll()
if status == "true" then
  return true
else
  return false
end
endfunction users.register(username, email, password)
local req = http.post("https://ccsystems.dannysmc.com/ccsystems.php", "ccsys="..textutils.urlEncode(tostring("user")).."&amp;cccmd="..textutils.urlEncode(tostring("register")).."&amp;username="..textutils.urlEncode(tostring(username)).."&amp;password="..textutils.urlEncode(tostring(users.sha256(password))).."&amp;email="..textutils.urlEncode(tostring(email)))
local status = req.readAll()
	if status == "true" then
		return true
	else
		return false
	end
end
local MOD = 2^32
local MODM = MOD-1
local function memoize(f)
	local mt = {}
	local t = setmetatable({}, mt)
	function mt:__index(k)
		local v = f(k)
		t[k] = v
		return v
	end
	return t
end
local function make_bitop_uncached(t, m)
	local function bitop(a, B)/>/>
		local res,p = 0,1
		while a ~= 0 and b ~= 0 do
			local am, bm = a % m, b % m
			res = res + t[am][bm] * p
			a = (a - am) / m
			b = (b - bm) / m
			p = p*m
		end
		res = res + (a + B)/>/> * p
		return res
	end
	return bitop
end
local function make_bitop(t)
	local op1 = make_bitop_uncached(t,2^1)
	local op2 = memoize(function(a) return memoize(function(B)/>/> return op1(a, B)/>/> end) end)
	return make_bitop_uncached(op2, 2 ^ (t.n or 1))
end
local bxor1 = make_bitop({[0] = {[0] = 0,[1] = 1}, [1] = {[0] = 1, [1] = 0}, n = 4})
local function bxor(a, b, c, ...)
	local z = nil
	if b then
		a = a % MOD
		b = b % MOD
		z = bxor1(a, B)/>/>
		if c then z = bxor(z, c, ...) end
		return z
	elseif a then return a % MOD
	else return 0 end
end
local function band(a, b, c, ...)
	local z
	if b then
		a = a % MOD
		b = b % MOD
		z = ((a + B)/>/> - bxor1(a,B)/>/>) / 2
		if c then z = bit32_band(z, c, ...) end
		return z
	elseif a then return a % MOD
	else return MODM end
end
local function bnot(x) return (-1 - x) % MOD end
local function rshift1(a, disp)
	if disp < 0 then return lshift(a,-disp) end
	return math.floor(a % 2 ^ 32 / 2 ^ disp)
end
local function rshift(x, disp)
	if disp > 31 or disp < -31 then return 0 end
	return rshift1(x % MOD, disp)
end
local function lshift(a, disp)
	if disp < 0 then return rshift(a,-disp) end
	return (a * 2 ^ disp) % 2 ^ 32
end
local function rrotate(x, disp)
	x = x % MOD
	disp = disp % 32
	local low = band(x, 2 ^ disp - 1)
	return rshift(x, disp) + lshift(low, 32 - disp)
end
local k = {
	0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5,
	0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,
	0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3,
	0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,
	0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc,
	0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,
	0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7,
	0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,
	0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13,
	0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,
	0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3,
	0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,
	0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5,
	0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,
	0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208,
	0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2,
}
local function str2hexa(s)
	return (string.gsub(s, ".", function(c) return string.format("%02x", string.byte(c)) end))
end
local function num2s(l, n)
	local s = ""
	for i = 1, n do
		local rem = l % 256
		s = string.char(rem) .. s
		l = (l - rem) / 256
	end
	return s
end
local function s232num(s, i)
	local n = 0
	for i = i, i + 3 do n = n*256 + string.byte(s, i) end
	return n
end
local function preproc(msg, len)
	local extra = 64 - ((len + 9) % 64)
	len = num2s(8 * len, 8)
	msg = msg .. "\128" .. string.rep("\0", extra) .. len
	assert(#msg % 64 == 0)
	return msg
end
local function initH256(H)
	H[1] = 0x6a09e667
	H[2] = 0xbb67ae85
	H[3] = 0x3c6ef372
	H[4] = 0xa54ff53a
	H[5] = 0x510e527f
	H[6] = 0x9b05688c
	H[7] = 0x1f83d9ab
	H[8] = 0x5be0cd19
	return H
end
local function digestblock(msg, i, H)
	local w = {}
	for j = 1, 16 do w[j] = s232num(msg, i + (j - 1)*4) end
	for j = 17, 64 do
		local v = w[j - 15]
		local s0 = bxor(rrotate(v, 7), rrotate(v, 18), rshift(v, 3))
		v = w[j - 2]
		w[j] = w[j - 16] + s0 + w[j - 7] + bxor(rrotate(v, 17), rrotate(v, 19), rshift(v, 10))
	end
	local a, b, c, d, e, f, g, h = H[1], H[2], H[3], H[4], H[5], H[6], H[7], H[8]
	for i = 1, 64 do
		local s0 = bxor(rrotate(a, 2), rrotate(a, 13), rrotate(a, 22))
		local maj = bxor(band(a, B)/>/>, band(a, c), band(b, c))
		local t2 = s0 + maj
		local s1 = bxor(rrotate(e, 6), rrotate(e, 11), rrotate(e, 25))
		local ch = bxor (band(e, f), band(bnot(e), g))
		local t1 = h + s1 + ch + k[i] + w[i]
		h, g, f, e, d, c, b, a = g, f, e, d + t1, c, b, a, t1 + t2
	end
	H[1] = band(H[1] + a)
	H[2] = band(H[2] + B)/>/>
	H[3] = band(H[3] + c)
	H[4] = band(H[4] + d)
	H[5] = band(H[5] + e)
	H[6] = band(H[6] + f)
	H[7] = band(H[7] + g)
	H[8] = band(H[8] + h)
end
function users.sha256(msg)
	msg = preproc(msg, #msg)
	local H = initH256({})
	for i = 1, #msg, 64 do digestblock(msg, i, H) end
	return str2hexa(num2s(H[1], 4) .. num2s(H[2], 4) .. num2s(H[3], 4) .. num2s(H[4], 4) ..
		num2s(H[5], 4) .. num2s(H[6], 4) .. num2s(H[7], 4) .. num2s(H[8], 4))
end
Edited on 13 March 2015 - 03:38 PM
CastleMan2000 #386
Posted 14 March 2015 - 09:48 AM
It's relatively easy to set up a GPS program on a pocket computer. I did it myself with ActiveGPS, a simple program to tell you your XYZ coordinates. However, if you have limited wifi range, or the chunk simply unloads, your GPS will disconnect and stop working. So here's an idea: Use turtles. Having one to three turtles (I don't know how many would actually be necessary) you could use the distance parameter in rednet to automatically keep up with you while you carry a pocket computer running a special program, and then they would automatically update the coordinates they are broadcasting, allowing you to virtually always know where you are. I think the best way to do this would be to put the turtles up at the sky limit, and then follow your every step from above. I think that something similar could be done for things like chat or file servers, allowing constant access to whatever data you need.

What do you think of this idea?
oli414 #387
Posted 14 March 2015 - 10:08 AM
It's a nice idea, however when you log out and back in you'll have to start all the turtles again, which will be a pain if they're really heigh to prevent them from getting stuck in mountains
MKlegoman357 #388
Posted 14 March 2015 - 11:08 AM
After server restart, chunk reload, etc.. all computers that were running before it are automatically turned on. You can then just have a startup script on them to re-run the GPS.
Bomb Bloke #389
Posted 14 March 2015 - 11:24 AM
But then how would the turtles know where they are, in order to function as GPS hosts? They'd either need to spam HDD writes to track their locations (in preparation for the next server reboot, which could happen at any time), or remain in range of a static GPS cluster.

Really though, the main issue is that there's no way for turtles to keep up with a roaming player. Better to have the turtles simply wander around placing static GPS clusters down in preparation for a player to come wandering through. If you've got MoarPeripherals installed, maybe use its long-range towers instead. Scratch that, pocket computers don't support any peripheral that isn't a regular wireless modem…
Edited on 14 March 2015 - 10:30 AM
Lupus590 #390
Posted 14 March 2015 - 11:37 AM
Almost ninjad

What I was going to say but is mostly repeating BombBloke:
The bigger problem is what if the chunk uploads (SMP: log out, SSP: close world) and one (or more) of the turtles was in mid move and hadn't saved its new position yet. Its saved position on load would be one block off from where it actually is.

New information:
There are some ways to get around this problem, Lama is/was one (no idea if it still works) and the other would be having 5 turtles where only one moves at a time and on chunk load they compare positions to find out who may have got lost during the unload. There is a problem with the latter though, your turtles will be moving even slower then they do now, and turtles have a hard time keeping up with the player already.
Edited on 15 March 2015 - 10:52 AM
Galbi3000 #391
Posted 15 March 2015 - 02:24 AM
I already have a collection of simple command programs of LEFT, RIGHT, FORWARD, BACK, UP, DOWN and DIG that can be used singularly at the TurtleOS command prompt. My program would be an alternative command prompt just for commands that control the turtle in much the same way but adding scripting support.

The overall program name would be called TURTLE. So at the TurtleOS you would type TURTLE to get the TURTLE Prompt. One of those commands is the RUN command that runs the scripts. But I also think that it would be good for the TURTLE program to be able to run a script then exit back to the TurtleOS prompt by adding the script name as a parameter to TURTLE.

So to expand on my previous example of having a script called buildHouse stored on the disk as turtle.buildHouse I would type at the TurtleOS prompt 'turtle buildHouse' (as opposed to typing 'turtle' then 'run buildHouse' followed by 'exit' to return to TurtleOS).

So basically you have 2 modes of using the program, first to give turtle commands directly to the turtle using a specialised command prompt and second to run scripts containing those commands.

Just as in the Logo language, many of the commands will have alternatives or abbreviated versions of the command. For example FORWARD, FORWARDS, FWD, FD or F would move the turtle forward. UP, RISE, U to go up. And I think you get the idea :)/>/>

I will keep the first version simple and then see how well it is received before adding more features to make the scripting side a bit more powerful without making it too complex to learn :)/>/>
Seems interesting, cant wait to see a useable build! If you wanna check out do to reuse some of the code feel free, in case you need an API call without checking a specific one

I have a first beta version posted in the Turtle Programs section of the forum :)/>

http://www.computercraft.info/forums2/index.php?/topic/22386-turtle-promptscripting/
jerimo #392
Posted 15 March 2015 - 02:32 PM
Yeah saw that yesterday, if you need help with anything dont hesitate wr will probably run into the same problems anyways eh!
Galbi3000 #393
Posted 15 March 2015 - 05:55 PM
Yeah saw that yesterday, if you need help with anything dont hesitate wr will probably run into the same problems anyways eh!

The only problems I have had so far is learning differences between C/C++ and Lua. This project is the first time I have used tables which do not exist in C/C++ :)/>

I used to write software for Windows professionally back in the days of Windows 3.1 then on to Windows 95+, mostly GUI stuff (oops, showing my age a bit there!!). So conceptually this stuff is easy, I just need to learn Lua as I go along :)/>
Edited on 15 March 2015 - 05:04 PM
jerimo #394
Posted 17 March 2015 - 04:18 AM
Yeah saw that yesterday, if you need help with anything dont hesitate wr will probably run into the same problems anyways eh!

The only problems I have had so far is learning differences between C/C++ and Lua. This project is the first time I have used tables which do not exist in C/C++ :)/>/>

I used to write software for Windows professionally back in the days of Windows 3.1 then on to Windows 95+, mostly GUI stuff (oops, showing my age a bit there!!). So conceptually this stuff is easy, I just need to learn Lua as I go along :)/>/>
Actually coming from the same background, albeit being much younger, and yup some ways that you learnt to program won't hold up but have much simpler ways here, do is actually my first real push into lua as well, strangely enough
SpencerBeige #395
Posted 19 March 2015 - 01:16 PM
[IDEA]
LISC is a game which will allow you to mine, and craft in your own world. basically a ripoff of mc. however: a few things have been planned: a ranking system, for example, when you spawn you are asked: evil, or good? after you chose, you are 'humanic' meaning, that you are on the basic level. at this point, you are in the neutral world. leveling up is based on killing animals, or doing good things. killing animals will earn red points, and good things will earn green points. if you are evil, and earn 100 green points, you have the choice to become good, and visa - versa. after you gain enough points, you will be able to move onto different worlds. the evil side has: underworld, darklands, then hell. good has: overworld, peacelands, and heaven.

another idea is alchemy. mixing that herb, with this chemical, to get…a healing potion. blah blah blah,

this is the basic steps of production, so, this forum is very basic. i will post more ideas soon

extra note: the game will DEFINITELY not release until mouse_up event is made by dan200. a mouse_up function will make sure that i can integrate a time to mine function, that will make it take time to mine blocks, like in minecraft
Edited on 19 March 2015 - 12:22 PM
DannySMc #396
Posted 19 March 2015 - 03:35 PM
[IDEA]
LISC is a game which will allow you to mine, and craft in your own world. basically a ripoff of mc. however: a few things have been planned: a ranking system, for example, when you spawn you are asked: evil, or good? after you chose, you are 'humanic' meaning, that you are on the basic level. at this point, you are in the neutral world. leveling up is based on killing animals, or doing good things. killing animals will earn red points, and good things will earn green points. if you are evil, and earn 100 green points, you have the choice to become good, and visa - versa. after you gain enough points, you will be able to move onto different worlds. the evil side has: underworld, darklands, then hell. good has: overworld, peacelands, and heaven.

another idea is alchemy. mixing that herb, with this chemical, to get…a healing potion. blah blah blah,

this is the basic steps of production, so, this forum is very basic. i will post more ideas soon

extra note: the game will DEFINITELY not release until mouse_up event is made by dan200. a mouse_up function will make sure that i can integrate a time to mine function, that will make it take time to mine blocks, like in minecraft

This is an awesome idea, should definitely make it multiplayer!
AssossaGPB #397
Posted 20 March 2015 - 03:43 PM
IDEA

A raytracer in cc! Probably would be very slow, but it would be good practice and very interesting.
Lupus590 #398
Posted 20 March 2015 - 05:40 PM
Some people have done that already
http://www.computercraft.info/forums2/index.php?/topic/21266-raycaster-a-3d-graphics-api/
(not the one i remembered google, but i guess this works)
Possseidon #399
Posted 25 March 2015 - 02:28 PM
An IDE that has many useful features
You mean something like this? :D/>
Lupus590 #400
Posted 18 April 2015 - 08:06 PM
I had this idea a while ago that probably is inspired by robot wars.

Teams of wireless mining turtles will be pitted against each other in mortal robotic combat.

Turtles will be placed into an arena of about one chunk big (16*16 blocks) and 1-5 blocks high (any size really but 16*16*5 seams sensible).

Before you ask "But turtles are blind, how will they find each other to do combat?" Turtles can "hear", after every move, a turtle has to send a rednet message ("Turtle Wars" will be the standard), not sending this moved message will result in disqualification. This move sound mechanic could result in interesting stealth turtles which just wait for a chance encounter with their opponent.

A smart turtle would wait to work out the heading of its target and attack from behind or the side.

The team of turtles are allowed to communicate with each other, also you are allowed to capture your enemy and convert him to your team (disk drive and disk with overriding startup file). Combatant are also allowed to build in the arena, they can also destroy, provided as the blocks destroyed are not the arena's border.

To summarise the rules again, make a noise when you move and don't try to escape.

It will be interesting to see this on some servers, could be a fun way for people to learn turtle programming.
Edited on 18 April 2015 - 06:51 PM
Agent Silence #401
Posted 18 April 2015 - 08:22 PM
If I have the time, I could set up controllers for each, that connect over rednet protocols and dont allow the turtles to attack each other. And you can see your allies on the map. Although, this doesn't seem like the players are controlling the turtles, so it could just be an analyzer that overwatches the turtles.
Edited on 18 April 2015 - 06:26 PM
Lignum #402
Posted 18 April 2015 - 09:10 PM
I've worked on something like this once. If anyone wishes to use my code: server and client. I didn't work on it for very long; it's just a server-client model but it could help someone get started.
Lupus590 #403
Posted 18 April 2015 - 09:14 PM
An overview map could be cool, would need a reversed GPS though.
DannySMc #404
Posted 18 April 2015 - 09:27 PM
OMG this would be so awesome to make!!!!!!!!!!!!!!!
Creator #405
Posted 18 April 2015 - 10:23 PM
How would an overviewer need reversed GPS?
Lupus590 #406
Posted 18 April 2015 - 11:12 PM
How would an overviewer need reversed GPS?

instead of the turtle locating itself, from the distance of 4 computers, the 4 computers will have to combine their data to locate the turtles
Lupus590 #407
Posted 18 April 2015 - 11:37 PM
I may have a git repo binging problem, https://github.com/l...590/Turtle-Wars

This is my third CC project, my uni work is outnumbered 3:1, or 3:2 if it teams up with my tabletop RPG engine
Edited on 18 April 2015 - 09:38 PM
Creator #408
Posted 18 April 2015 - 11:43 PM
Well, about reverse locating, it could work like this: turtle determines position and the sends it to recievers. Tada… ;)/>
Lupus590 #409
Posted 19 April 2015 - 12:14 AM
then other combatants can snoop in on that data and easily locate their opponents.

the "reversed gps" allows for combatants to be a bit stealthy
Creator #410
Posted 19 April 2015 - 12:28 AM
They could also do it by using reversed GPS, so there really is no difference. You could use diffie hellman to encrypt data.
Lupus590 #411
Posted 19 April 2015 - 02:59 PM
the turtles are then sending more data, revealing their position (more often) to opponents, also the reverse GPS sound like a cool thing to try to make
Creator #412
Posted 19 April 2015 - 09:47 PM
A cool way to waste your time. Like browsing the forums… In both cases, the turtle sends 1 msg.
Lupus590 #413
Posted 19 April 2015 - 09:55 PM
however, in your idea, the turtle needs to know his location, and the enemy can snoop in of this to easily hunt each other as the first turtle tells the server his location
Creator #414
Posted 19 April 2015 - 10:17 PM
Yeah,but when we send the sugnal, the enemies could do the same thing the server does to determine location.
Lupus590 #415
Posted 19 April 2015 - 10:22 PM
Which I would encourage, as it causes the team to truly cooperate, also for the locating turtles to track a location, they would have to share their data, which would make more rednet "noise" giving the other team more data to track.
TheOddByte #416
Posted 20 April 2015 - 10:40 AM
Wouldn't it be better if you continued this discussion in a PM? :P/>
And the turtle could send it's location directly by encrypting it or something.
Lupus590 #417
Posted 20 April 2015 - 12:32 PM
Wouldn't it be better if you continued this discussion in a PM? :P/>
And the turtle could send it's location directly by encrypting it or something.

the problem is the fact that the turtle is sending more rednet messages, not just that the transmitted location could be intercepted

to prevent hijacking the thread, please use the github page from now on for turtle wars
if you do not have a github account then PM me
Edited on 20 April 2015 - 10:40 AM
KingofGamesYami #418
Posted 22 April 2015 - 01:08 AM
What we really need is a github client that'll let us upload / download scripts. If I remember, it's impossible to write one in pure CC, but perhaps with some sort of PHP relay system it'd be possible.
Lupus590 #419
Posted 22 April 2015 - 01:15 AM
I did have the idea of porting git to CC, but that would mean managing the local repository, which may be what CC will fail to do properly.

https://github.com/git/git
Edited on 21 April 2015 - 11:17 PM
cmdpwnd #420
Posted 26 April 2015 - 03:42 PM
Networking Devs. I've been working on my own but its a slow process
DannySMc #421
Posted 26 April 2015 - 06:34 PM
I did have the idea of porting git to CC, but that would mean managing the local repository, which may be what CC will fail to do properly.

https://github.com/git/git

I have a version of this coming :PPPP Using git's API :DDD
Lupus590 #422
Posted 10 May 2015 - 11:53 PM
Compatibility layer for various energy/power storage devices. (IC2, TE, if I knew of more, they would be in this list)
Lupus590 #423
Posted 13 May 2015 - 09:08 PM
a error fix suggester (debugger?)
basically it takes this list and attempts to suggest corrections to solve errors
e.g. if the error isattempt to index ? (a nil value) then it will tell you if the variable you are attempting to use as a table is a table and if it is it will list the keys in that table

it may need to be able to check for similar variable names (just in case the problem is cased by a typo)
HPWebcamAble #424
Posted 14 May 2015 - 01:52 AM
a error fix suggester (debugger?)
basically it takes this list and attempts to suggest corrections to solve errors
e.g. if the error isattempt to index ? (a nil value) then it will tell you if the variable you are attempting to use as a table is a table and if it is it will list the keys in that table

it may need to be able to check for similar variable names (just in case the problem is cased by a typo)

So Eclipse, but for Lua
Lupus590 #425
Posted 25 May 2015 - 12:22 AM
being able to access lines in a file like an index in a table

--#example usage
myFile = fs.open(fileNameAndPath)
print("line 3 says: "..tostring(myFile[3]))
myfile[4] = "replacement line"
myFile.close()
Edited on 24 May 2015 - 10:34 PM
ItsRodrick #426
Posted 25 May 2015 - 01:08 AM
being able to access lines in a file like an index in a table

--#example usage
myFile = fs.open(fileNameAndPath)
print("line 3 says: "..tostring(myFile[3]))
myfile[4] = "replacement line"
myFile.close()

That's actually quite easy:

function readFile( file )
  local h = fs.open( file, "r" )
  local line = ""
  local r = {}
  while line do
    line = h.readLine()
    r[#r+1] = line -- Faster than table.insert
  end
  h.close()
  return r
end

-- Usage:
myFile = readFile( "myFile" )
print( "Line 3 says: "..myFile[3] )

Just a small snippet…
Edited on 24 May 2015 - 11:10 PM
Lupus590 #427
Posted 25 May 2015 - 11:49 AM
not quite what I was thinking, was thinking of it injecting itself into the fs table (in the global table) and being able to use it both the old way and this way, also your solution is read only.
Edited on 25 May 2015 - 12:32 PM
flaghacker #428
Posted 25 May 2015 - 02:15 PM
not quite what I was thinking, was thinking of it injecting itself into the fs table (in the global table) and being able to use it both the old way and this why, also your solution is read only.

That's not actually that difficult, why not try it yourself? If you don't, I might actually do this when I'm bored someday. Nice idea!
Creator #429
Posted 25 May 2015 - 02:38 PM
not quite what I was thinking, was thinking of it injecting itself into the fs table (in the global table) and being able to use it both the old way and this why, also your solution is read only.

That's not actually that difficult, why not try it yourself? If you don't, I might actually do this when I'm bored someday. Nice idea!

If you are not bored, then what are you doing?
Lupus590 #430
Posted 29 May 2015 - 07:39 PM
a recreation of the debug API

(I know what the performance issues are going to be like)
Pyuu #431
Posted 29 May 2015 - 07:45 PM
a recreation of the debug API

(I know what the performance issues are going to be like)

That would be really hard but challenging to create. I remember someone making a debugger in the past though.
SquidDev #432
Posted 29 May 2015 - 08:12 PM
a recreation of the debug API

(I know what the performance issues are going to be like)

A very basic getlocal, getupvalue would be possible by creating an upvalue for every local inside a function:

local function a()
  local a = thing()
  local b = another()

  return a + b
end
becomes

local function a()
  local a, b
  pushStack(function() a, b end)
  local result = a + b
  popStack()
  return result
end
This doesn't begin to cover most of the scenarios though - upvalues are closed after a for loop, multiple exit points, etc… I started a long time ago but it seems like too much effort for the resulting product.
MKlegoman357 #433
Posted 29 May 2015 - 09:11 PM
a recreation of the debug API

(I know what the performance issues are going to be like)

Well, you could run a Lua VM written in Lua :P/> Oh, the speed would be the best part of it!
Edited on 29 May 2015 - 07:11 PM
Pyuu #434
Posted 29 May 2015 - 09:27 PM
a recreation of the debug API

(I know what the performance issues are going to be like)

Well, you could run a Lua VM written in Lua :P/> Oh, the speed would be the best part of it!
Even with the speeds I think it'd still be faster than old retro PCs running at 2 MHz
Lupus590 #435
Posted 30 May 2015 - 07:22 PM
A clone of this: https://www.quintet.us/
You could even build a room on a server to look like a ship command bridge.

Edit: I can't believe I'm doing this, again: https://github.com/lupus590/cc-quintet
I have enough projects already!
Edited on 02 June 2015 - 03:22 PM
Waitdev_ #436
Posted 07 June 2015 - 11:24 AM
An IDE that has many useful features
i don't fully understand what IDE means, but apparently it has something to do with drives.
disk drive manager? i'll give it a go
Creator #437
Posted 07 June 2015 - 11:32 AM
Isomething developement environement
flaghacker #438
Posted 07 June 2015 - 11:52 AM
An IDE that has many useful features
i don't fully understand what IDE means, but apparently it has something to do with drives.
disk drive manager? i'll give it a go

Integrated Devellopment Environment.

A program that helps you type code with syntax highlighting, auto-completion, variable renaming, real-time error checking and so forth. The edit program included in computercraft is about as simple an IDE can get.
Edited on 07 June 2015 - 09:53 AM
DannySMc #439
Posted 07 June 2015 - 12:02 PM
An IDE that has many useful features
i don't fully understand what IDE means, but apparently it has something to do with drives.
disk drive manager? i'll give it a go

Integrated Development Environment.

A program that helps you type code with syntax highlighting, auto-completion, variable renaming, real-time error checking and so forth. The edit program included in computercraft is about as simple an IDE can get.

Yeah like LuaIDE, xEdit, etc
Waitdev_ #440
Posted 07 June 2015 - 01:41 PM
An IDE that has many useful features
i don't fully understand what IDE means, but apparently it has something to do with drives.
disk drive manager? i'll give it a go

Integrated Devellopment Environment.

A program that helps you type code with syntax highlighting, auto-completion, variable renaming, real-time error checking and so forth. The edit program included in computercraft is about as simple an IDE can get.
ok thanks. (still not gonna make me stop the disk manager :P/>)
TheOddByte #441
Posted 11 June 2015 - 09:56 PM
Visual Studio, in CC :P/>
DannySMc #442
Posted 11 June 2015 - 10:42 PM
Visual Studio, in CC :P/>

That is a neat idea…
TheOddByte #443
Posted 12 June 2015 - 08:27 PM
Visual Studio, in CC :P/>

That is a neat idea…
Yeah, I'd love to do it myself, the only problem I have is actually finishing projects :P/>
DannySMc #444
Posted 13 June 2015 - 10:16 PM
Visual Studio, in CC :P/>

That is a neat idea…
Yeah, I'd love to do it myself, the only problem I have is actually finishing projects :P/>

Same problem here ;)/>
Lupus590 #445
Posted 19 June 2015 - 12:43 PM
A tutorial for Git and Github and how to use it for CC projects.

These may be useful;
http://www.computerc...ed-with-github/
http://www.computerc...c/22326-github/


I made one: http://www.computercraft.info/forums2/index.php?/topic/26002-what-are-git-and-github-how-do-i-use-use-them-and-why-should-i-use-version-control-a-tutorial-on-collaborating-through-github/
Edited on 26 August 2016 - 10:49 PM
Lupus590 #446
Posted 21 June 2015 - 03:25 PM
An index thread to the ask a pro and tutorial sub-forums.
Creator #447
Posted 21 June 2015 - 03:37 PM
An index thread to the ask a pro and tutorial sub-forums.

That'd be so hard with these thousands of topics.
Lupus590 #448
Posted 23 June 2015 - 09:33 AM
a frame buffer system designed for nested buffers, each buffer would check if it's parent is a compatible buffer and if it is then do some kind of buffer magic to negate the lag from nested buffers
Edited on 23 June 2015 - 07:34 AM
Lyqyd #449
Posted 24 June 2015 - 05:31 AM
My framebuffer API can do this, sort of. Instead of calling framebuffer.draw(buffer), you check your target term object to see if it has a render method and if so, instead call target.render(buffer). It's not built-in to the drawing method, though, so not entirely "automatic". Since the draw method uses the current redirect target, it can't do this check for you, as term.redirect doesn't make available any functions from the redirect object it's passed other than the standard term functions.
Grim Reaper #450
Posted 24 June 2015 - 05:37 AM
a frame buffer system designed for nested buffers, each buffer would check if it's parent is a compatible buffer and if it is then do some kind of buffer magic to negate the lag from nested buffers

Could you elaborate on this a little bit, please? I'd like to think that my buffer might be easily re-purposed to do this, but I'm not entirely sure what you're suggesting.
Lupus590 #451
Posted 24 June 2015 - 09:22 AM
a frame buffer system designed for nested buffers, each buffer would check if it's parent is a compatible buffer and if it is then do some kind of buffer magic to negate the lag from nested buffers

Could you elaborate on this a little bit, please?

Sure, I was reading CCJam2015 and one of the judges mentioned in feedback that the submission suffered because of the lag caused by rendering nested buffers. This idea is a suggestion to try and reduce that problem, by perhaps allowing the nested frames to have a psudo buffer, with the buffer that they write to actually being it it's parent. I'm not familiar with buffers so I can't do details.


My framebuffer API can do this, sort of. Instead of calling framebuffer.draw(buffer), you check your target term object to see if it has a render method and if so, instead call target.render(buffer). It's not built-in to the drawing method, though, so not entirely "automatic". Since the draw method uses the current redirect target, it can't do this check for you, as term.redirect doesn't make available any functions from the redirect object it's passed other than the standard term functions.
perhaps you could overload term.redirect?
Grim Reaper #452
Posted 24 June 2015 - 04:48 PM
Sure, I was reading CCJam2015 and one of the judges mentioned in feedback that the submission suffered because of the lag caused by rendering nested buffers. This idea is a suggestion to try and reduce that problem, by perhaps allowing the nested frames to have a psudo buffer, with the buffer that they write to actually being it it's parent. I'm not familiar with buffers so I can't do details.
With my buffer, the redirect object that is drawn to is passed to the buffer on construction, so you can pass one buffer's redirect table as the redirect object for another buffer when it's constructed.

Something like

local tMainBuffer = Buffer.new(51, 19, 1, 1, term.current())
local tSecondary = Buffer.new(51, 19, 1, 1, tMainBuffer:redirect())
should work, although I haven't tested it.

As for the specifics of the CC Jam project,
Spoiler
SquidDev said:
There was an slight issue with visual lag in some programs, though that is inevitable with nested frame buffers.

The cause of this issue was that there was a main frame buffer that had to be re-rendered every update to ensure that the current display was accurate to what input the user had given (pressed hotkeys, etc.). To circumvent this problem, I wrapped the base terminal redirect with the buffer's redirect, so when the buffer was redirected and written to, so was the base terminal. This way, the main buffer didn't have to be redrawn all the time, reducing visual lag.

Of course, though, I was unable to implement this solution during the competition because I was spending too much time building content as opposed to fixing issues with the system itself :P/> That was definitely my bad.

The issue, if you're interested, with my solution was that the buffer, when rendered, redirected to its set redirect object but never redirected back to the redirect object that was in place before it. That sounds really confusing. Basically, the buffer would redirect to the terminal, draw, but never redirected back to what was redirected to before the buffer did its redirect stuff. This meant that the calling function had to re-redirect after rendering a buffer. This was problematic because the calling function wasn't always sure what the redirect object was, and it would have been really poor design to have to do this over and over.
Edited on 24 June 2015 - 03:57 PM
SquidDev #453
Posted 24 June 2015 - 05:14 PM
Visual Studio, in CC :P/>

Sorry to bump this, but a good Visual Studio replacement for CC is this IDEA plugin. I've used it with great success in the past.
Lupus590 #454
Posted 02 July 2015 - 05:28 PM
turtle emulation layer for emulators
Lupus590 #455
Posted 05 July 2015 - 07:32 PM
an api for OpenPeripheral which converts the directions for inventory interactions to directions relative to the computer. if the computer is a turtle which moves then please allow pushing of a function which gets the facing of the turtle

basically i want a wrapper function which abstracts the direction and allows me to suck items from a particular slot in an inventory into the turtle without having to tell the chess which direction the turtle is from the chess
jerimo #456
Posted 05 July 2015 - 07:41 PM
an api for OpenPeripheral which converts the directions for inventory interactions to directions relative to the computer. if the computer is a turtle which moves then please allow pushing of a function which gets the facing of the turtle

basically i want a wrapper function which abstracts the direction and allows me to suck items from a particular slot in an inventory into the turtle without having to tell the chess which direction the turtle is from the chess
Our server added it in the last time we changed the mods and since then I just make sure that if I need that functionality that turtles can go over the chest so its easy to do
H4X0RZ #457
Posted 10 July 2015 - 01:06 PM
turtle emulation layer for emulators

I made something like this a "while" ago already. http://pastebin.com/KJnLLmGP

It's not really good, so I'll rewrite it soon.
クデル #458
Posted 10 July 2015 - 02:50 PM
3D Modelling Software
Potential 3D Printer to print 3D models ^

Animation Studio (animation creator)
Waitdev_ #459
Posted 11 July 2015 - 10:56 AM
i might try animation studio
MKlegoman357 #460
Posted 11 July 2015 - 02:22 PM
An app to interface for pCloud. API docs

I once wanted to make a program for this cloud but at the time their APIs required OAuth. But a few days ago I checked their APIs and looks like they have expanded it, letting simple POST and GET requests to authenticate the user. I might do this myself with my upcoming GUI framework - Frames. But if I don't, I figured I could just post an idea here so someone else could do this.

Also, the API allows to 'emulate' some sort of remote file opening and reading/writing, so I'd like to see a layer for connecting to the cloud and creating (emulating) a folder for the files. So I'd write into a command line something like this:


CraftOS 1.7
> pcloud connect USERNAME PASSWORD
connected to pcloud
> list
rom  pcloud  pcloud_folder
> cd pcloud_folder
pcloud_folder> list
these would be the files that are actually in the cloud

I'm not best at explaining, but I hope you get the idea.
Edited on 11 July 2015 - 12:24 PM
Waitdev_ #461
Posted 20 July 2015 - 06:19 AM
this is mainly for lyqyd, but i've thought this topic could be better.

make it like a game :)/>

so someone starts with 4 ideas, then the next person chooses one from those ideas and makes it. this is the order:

1. Easy
2. Medium
3. Hard
4. Harder

for example,
1. a polling program with yes/no answers
2. a polling program with clickable yes and no, and supports comments.
3. an advanced paint program with saving
4. an animation maker with saving

rules:
Spoiler1: don't add duplicates, here's an example:
Spoiler1. disk manager
2. disk manager
3. disk manager
4. disk manager

this is so people don't force people to code a specific thing, cause people don't want to think they are just being forced to do something without a variety.
2: nothing inappropriate.
3: make a good variety, and you can add more than one for each difficulty. for example
Spoiler1. command prompt, colorful hello world, ect… (beginner programs)
4. read these rules
5. you can do programs from older posts, but don't copy them completely from other people
HPWebcamAble #462
Posted 20 July 2015 - 06:46 AM
3. an advanced paint program with saving

Advanced Paint Eh?

http://www.computercraft.info/forums2/index.php?/topic/21558-advanced-paint
Waitdev_ #463
Posted 24 July 2015 - 11:24 PM
3. an advanced paint program with saving

Advanced Paint Eh?

http://www.computerc...-advanced-paint
i see what you did there..
Scratchthatguys #464
Posted 25 July 2015 - 12:48 AM
Using distance to stop MITM attacks. Basically, assuming Computer A and Computer B are stationary, you use the distance between Computer A and Computer B as well as the sending computer's ID in order to certify that both computers are who they say they are.

An attacker would have to find out A) the distance between both computers, and B) the computer's ID, as well as having to C) put a computer at the exact same distance, in order to hijack or intercept messages.

This wouldn't work for pocket computers, though, and pocket computers might even make it unfeasible (walk around with your pocket computer, trying random distances and IDs, until you intercept a message).
Edited on 24 July 2015 - 10:48 PM
H4X0RZ #465
Posted 25 July 2015 - 07:50 AM
Using distance to stop MITM attacks. Basically, assuming Computer A and Computer B are stationary, you use the distance between Computer A and Computer B as well as the sending computer's ID in order to certify that both computers are who they say they are. An attacker would have to find out A) the distance between both computers, and B)/> the computer's ID, as well as having to C) put a computer at the exact same distance, in order to hijack or intercept messages. This wouldn't work for pocket computers, though, and pocket computers might even make it unfeasible (walk around with your pocket computer, trying random distances and IDs, until you intercept a message).

I think I'm going to work on something LIKE this, but not EXACTLY this. I actually got some ideas for this :3
HPWebcamAble #466
Posted 25 July 2015 - 07:52 AM
assuming Computer A and Computer B are stationary, you use the distance between Computer A and Computer B as well as the sending computer's ID in order to certify that both computers are who they say they are.

An attacker would have to find out A) the distance between both computers, and B)/> the computer's ID, as well as having to C) put a computer at the exact same distance, in order to hijack or intercept messages.

Interesting idea, but if you want it to be secure, just use an encryption API

For example SquidDev's AES Encryption API: http://www.computercraft.info/forums2/index.php?/topic/18930-aes-encryption/
SquidDev #467
Posted 25 July 2015 - 11:51 AM
For example SquidDev's AES Encryption API: http://www.computerc...aes-encryption/

Just a warning - a lot of things using the bit API (like my AES library) are broken under 1.74. I guess that is another thing to look at this weekend :)/>.
Lupus590 #468
Posted 25 July 2015 - 01:24 PM
Backwards comparability emulator.

(In game) have craftOS emulate an older version of itself, including hiding new functions, restoring bugs/quirks, and restoring old functions.
Edited on 25 July 2015 - 11:25 AM
biggest yikes #469
Posted 25 July 2015 - 02:40 PM
have craftOS emulate an older version of itself, including hiding new functions, restoring bugs/quirks, and restoring old functions.
Restoring getfenv("").sub? Pretty much impossible.
Waitdev_ #470
Posted 01 August 2015 - 01:35 AM
here, i'll think of some ideas in the order i thought of before.

1. disk drive viewer?
2. comment device using rednet &amp; host
3. facebook-type thing using rednet &amp; host (you can post, and it will broadcast to a 'post' protocol, showing up on any other 'facebook' program, and possible to have support for comments)
4. credits maker (scrolls through credits &amp; has saving, viewing from save, exporting (which exports it to a program, not a save file), and editing)
Tis' MINE!
Edited on 04 August 2015 - 10:11 AM
Lupus590 #471
Posted 21 August 2015 - 02:45 PM
an API which allows turtles to navigate via a table of compass directions.
you pass a function a table of strings which moves the turtle in that direction
here is an example table:
{"north", 2, "east", 5} – will move the turtle north twice and east five times

those who know how quadrocopters move will know what I mean
Edited on 21 August 2015 - 12:46 PM
Agent Silence #472
Posted 22 August 2015 - 05:32 AM
Command Computer Schematic Builder, if anyone is up for the challenge.
Lupus590 #473
Posted 23 August 2015 - 04:47 PM
cyberheist but with turtles as the evil robots
HPWebcamAble #474
Posted 25 August 2015 - 07:41 PM
A modular Tutorial program

- Anyone can write a tutorial for anything, the program just displays the tutorials.
- The tutorial creators can 'link' words to definitions. If you are reading a passage and come across a term you don't understand, simply click it, and the program displays a simple definition
- The program auto-links common phrases to their definition (function, ComputerCraft, API, ect), but content makers can override the default
- Creators can have the user write a small bit of code to test out what they've just learned - The program runs their code in a protected environment, complete with error analysis, to help solve any problems.

This would be epic, though quite a challenge in ComputerCraft, might be smart to make it a stand alone Java program, or even a mod to use it in-game.
CoderPuppy #475
Posted 26 August 2015 - 11:52 PM
A modular Tutorial program

- Anyone can write a tutorial for anything, the program just displays the tutorials.
- The tutorial creators can 'link' words to definitions. If you are reading a passage and come across a term you don't understand, simply click it, and the program displays a simple definition
- The program auto-links common phrases to their definition (function, ComputerCraft, API, ect), but content makers can override the default
- Creators can have the user write a small bit of code to test out what they've just learned - The program runs their code in a protected environment, complete with error analysis, to help solve any problems.

This would be epic, though quite a challenge in ComputerCraft, might be smart to make it a stand alone Java program, or even a mod to use it in-game.

I've started work on that.

Could you expand on how the code part would work?
HPWebcamAble #476
Posted 27 August 2015 - 12:00 AM
Could you expand on how the code part would work?

I'd be happy to go into more detail, but do you want me to explain the whole thing, or just a certain part :P/>
CoderPuppy #477
Posted 27 August 2015 - 12:28 AM
Spoiler
Could you expand on how the code part would work?

I'd be happy to go into more detail, but do you want me to explain the whole thing, or just a certain part :P/>

I want to know what the code thing would do other than protected environment and error analysis, but lots of details would be good :D/>.

So far I have pages (right now can be a limited form up markdown) that can have a next page and a prev page (both optional).
HPWebcamAble #478
Posted 27 August 2015 - 01:36 AM
but lots of details would be good :D/>.

Ok you asked for it :D/>



Tutorials would likely be a file, and each file stored in a category (API, redstone, wireless communication, for example)
Ideally, each tutorial could have several categories, and the program would allow you to browse by a category

I imaged a system like WikiMedia's wiki software for writing tutorials,
For example:
Spoiler===This is a heading=== (There would be a menu to select a heading in your current tutorial)
[[Link]] (Links to the page 'Link')
[[Link|example/example]] (Links to page 'example' in the category 'example', but displays the text 'Link'

Maybe some more helpful stuff like this.

The code writing could be done in the default edit program, as its lightweight, but has good functionality.
Possibly a community-written program could replace it at some point.

Error analysis is simple enough (The concept anyway)
Spoiler

local state,err = pcall(funcName)

if not state then
  if err:find("Terminated") then
	--# Program was terminated
  elseif err:find("attempt to call nil")
	--# Missing function called, or a function defined after its call
  elseif err:find("attempt to index nil")
	--# Table doesn't exist
  elseif err:find("attempt to compare")
	--# Problem with >= or == or <=, ect, figure out which one it was
  else
	--# No error, or unrecognized error
  end
end
Maybe creators, when making the 'code practice thing', could ask the program to deal with a specific error in a custom way, that is, overriding the default 'help with this error' message

The protected environment could mean a few things:
- Disabling unnecessary functions
- Creating a protected filesystem by modifying the FS API
- Using a fresh env to prevent it's code from actually modifying the computer's globol env
Edited on 26 August 2015 - 11:37 PM
Lupus590 #479
Posted 30 August 2015 - 07:33 PM
turtle self-replication challenge, like this one: http://www.computercraft.info/forums2/index.php?/topic/4462-competition

turtles can now inspect details on items and blocks which should make a new challenge easier. Giving the turtle access to an ore dubbing mod could be an interesting change to the original, as well as allowing the turtle to run off RF. Some other peripheral mods may provide interesting bonus objectives to the turtle.

Someone has posted a solution to the original challenge: http://www.computercraft.info/forums2/index.php?/topic/18592-self-replicating-turtle-revisited
Lupus590 #480
Posted 31 August 2015 - 05:41 PM
two words: dwarf fortress
Edited on 31 August 2015 - 03:42 PM
3d6 #481
Posted 06 September 2015 - 05:56 PM
A properly integrated banking system. One that runs through the HTTP API and allows your currency to be 'universal'.
Wow good one
DannySMc #482
Posted 06 September 2015 - 09:38 PM
A properly integrated banking system. One that runs through the HTTP API and allows your currency to be 'universal'.
Wow good one

I have made this :o/> Do you want me to release the clients? and API?
KingofGamesYami #483
Posted 11 September 2015 - 02:35 AM
An API which blends colors together is specified ratios, according to a table of characters covering different percents of pixels. Would totally use this, if it can be made!
Waitdev_ #484
Posted 16 September 2015 - 12:10 PM
Screensaver.
Lupus590 #485
Posted 19 September 2015 - 02:44 PM
A turtle transportation framework, (using RailCraft/EnderChests/Quadrocopters) to transport turtles long distance quickly and saving (turtle) fuel.

There will be stations 'manned' by mining-turtles. Each station will have two chests (or other inventory which the turtle can access). One is the receive chest the other is the sending chest.

(Stations can have an optional luggage chest just in case the station manager can't find the passenger turtle in the receive chest. Anything not a turtle will go into the luggage chest)

The station turtle will watch the receive chest and place and activate any turtles which arrive at it's station.

If the station turtle receives a redstone signal then it will interpret this as a turtle wanting to be transported. The station turtle will mine the passenger turtle and place it in the sending chest.

It will be up to the passenger turtle to 'pack' and 'collect' their luggage, don't forget to check both the luggage and receive chests.
Edited on 19 September 2015 - 12:45 PM
Lupus590 #486
Posted 24 September 2015 - 08:52 PM
Bomber man clone
HPWebcamAble #487
Posted 25 September 2015 - 12:26 AM
Bomber man clone

I actually wanted to make this a while ago, but didn't really have the motivation.
Maybe I'll put it back on my list of todo programs
KingofGamesYami #488
Posted 25 September 2015 - 10:41 PM
Multitasking with minimizing, maximizing, draggable corners, close, fullscreen
Stack trace for errors
Desktop Icons &amp; Background
Shortcuts
Github for Desktop-like app
Screensavers
Advanced Monitor Mirroring (With click support!)
Highlighting
Themes (highlight color, text color, background color, etc.)
Enhanced shell program
File browser
"Self Service" app (kind of like an app store, but specific for your OS)
Hide-able Sidebars
Program permissions
Multiple Users (Admin level, User level, and Guest level)

That's enough from me for now.
Lupus590 #489
Posted 25 September 2015 - 11:52 PM
http://www.computercraft.info/forums2/index.php?/topic/24491-what-are-some-innovative-features-youd-love-to-see-in-a-shell
http://www.computercraft.info/forums2/index.php?/topic/22320-got-any-tips-for-making-an-os-well-actually-a-shell/
Lupus590 #490
Posted 26 September 2015 - 02:32 PM
Protection beacon, computers which send wireless messages containing the computers location and a radius which turtles receive. Turtles then use this data to know what blocks they should not break.
gollark8 #491
Posted 02 October 2015 - 06:00 PM
A program to handle routing of minecart railways.
Konlab #492
Posted 02 October 2015 - 06:06 PM
Powerpoint in CC
Edit:
A while ago i made one but not released it, and I cant find it now.
Edited on 02 October 2015 - 04:07 PM
Exerro #493
Posted 02 October 2015 - 07:20 PM
Powerpoint in CC
Edit:
A while ago i made one but not released it, and I cant find it now.

I've wanted to make something like this for a while. Not quite sure how in-depth it needs to be though. I'm assuming it needs images, text (with inline colouring, paragraph alignment, etc), and timed animations? Maybe videos? Although there are no video editors…

Idea:
A video editor for CC.
Konlab #494
Posted 03 October 2015 - 08:52 AM
Powerpoint in CC
Edit:
A while ago i made one but not released it, and I cant find it now.

I've wanted to make something like this for a while. Not quite sure how in-depth it needs to be though. I'm assuming it needs images, text (with inline colouring, paragraph alignment, etc), and timed animations? Maybe videos? Although there are no video editors…

Idea:
A video editor for CC.
The one that I made a long time ago only had texts and lots of colors :P/>
I don't think images, videos or animations are needed at all. They would be annoying in CC. Only if u used a monitor with text scale of 0.5…
Lupus590 #495
Posted 03 October 2015 - 09:45 AM
Spoiler
Powerpoint in CC
Edit:
A while ago i made one but not released it, and I cant find it now.

I've wanted to make something like this for a while. Not quite sure how in-depth it needs to be though. I'm assuming it needs images, text (with inline colouring, paragraph alignment, etc), and timed animations? Maybe videos? Although there are no video editors…

Idea:
A video editor for CC.
The one that I made a long time ago only had texts and lots of colors :P/>
I don't think images, videos or animations are needed at all. They would be annoying in CC. Only if u used a monitor with text scale of 0.5…

nitrogenfigures had a sideshow program in CCU1/2, that was just coloured text, but I agree CC doesn't compliment images (and by extension animations and video)
Konlab #496
Posted 03 October 2015 - 10:22 AM
Spoiler
Powerpoint in CC
Edit:
A while ago i made one but not released it, and I cant find it now.

I've wanted to make something like this for a while. Not quite sure how in-depth it needs to be though. I'm assuming it needs images, text (with inline colouring, paragraph alignment, etc), and timed animations? Maybe videos? Although there are no video editors…

Idea:
A video editor for CC.
The one that I made a long time ago only had texts and lots of colors :P/>/>
I don't think images, videos or animations are needed at all. They would be annoying in CC. Only if u used a monitor with text scale of 0.5…

nitrogenfigures had a sideshow program in CCU1/2, that was just coloured text, but I agree CC doesn't compliment images (and by extension animations and video)
Sounds interesting…
Is it avaible for download?
Lupus590 #497
Posted 03 October 2015 - 01:12 PM
Spoiler
Powerpoint in CC
Edit:
A while ago i made one but not released it, and I cant find it now.

I've wanted to make something like this for a while. Not quite sure how in-depth it needs to be though. I'm assuming it needs images, text (with inline colouring, paragraph alignment, etc), and timed animations? Maybe videos? Although there are no video editors…

Idea:
A video editor for CC.
The one that I made a long time ago only had texts and lots of colors :P/>/>
I don't think images, videos or animations are needed at all. They would be annoying in CC. Only if u used a monitor with text scale of 0.5…

nitrogenfigures had a sideshow program in CCU1/2, that was just coloured text, but I agree CC doesn't compliment images (and by extension animations and video)
Sounds interesting…
Is it avaible for download?
not that I know of, but he's on the forums so you could message him or something
Edited on 06 October 2015 - 06:52 AM
ardera #498
Posted 03 October 2015 - 04:07 PM
A genetic algorithm demonstration like this: https://youtu.be/u2t77mQmJiY

An API which blends colors together is specified ratios, according to a table of characters covering different percents of pixels. Would totally use this, if it can be made!
Working on it B)/>
Edited on 03 October 2015 - 02:10 PM
gollark8 #499
Posted 03 October 2015 - 04:18 PM
A system syncing the files of computers over some cloud storage API.
DannySMc #500
Posted 04 October 2015 - 10:20 PM
A system syncing the files of computers over some cloud storage API.

On this one! :D/> Started making something to do, it works like FTP? But checks files, if one has been changed then it will sync it, and when you log in, it syncs all your files! :D/>
FUNCTION MAN! #501
Posted 06 October 2015 - 02:41 AM
Sockets, but in CC. Rednet sockets, AF_UNIX sockets, just sockets.
Konlab #502
Posted 06 October 2015 - 03:04 PM
Idea: Lua compiler in Lua
FUNCTION MAN! #503
Posted 06 October 2015 - 09:09 PM
Lua isn't compiled, and Metalua exists.
SquidDev #504
Posted 06 October 2015 - 09:59 PM
Idea: Lua compiler in Lua

Currently working on a Lua 'compiler' in .Net (waits for hate). When I say compiler I do mean it to some extent - it optimises a fair amount of Lua code. I was originally going to port it to Lua, and still might - but don't really fancy porting over what will probably end up as 10000 lines of code.

The issue with running a Lua compiler/transpiler/whatever in CC is that it is pretty slow, though having to run an external program is kinda annoying - there really isn't an ideal solution.

Lua isn't compiled, and Metalua exists.
I've done a fair bit of work with Metalua and it is pretty good, though the code is kinda horrendous in places. Getting it running in CC though: shudders.
Edited on 06 October 2015 - 08:00 PM
FUNCTION MAN! #505
Posted 07 October 2015 - 12:20 AM
Idea: Lua compiler in Lua

Currently working on a Lua 'compiler' in .Net (waits for hate).

*hates*
101Pazzi #506
Posted 07 October 2015 - 03:03 AM
Pac-man anyone?
I've thought about doing it but I am currently engaged in a sky writing program. (yes I'm sure there are some already out there but, I wanted to make my own!!)
Edited on 08 October 2015 - 05:31 AM
SquidDev #507
Posted 07 October 2015 - 08:28 AM
Currently working on a Lua 'compiler' in .Net (waits for hate).

*hates*

At least I feel vindicated! I'm glad I did though - it has made the process much easier :)/>.
101Pazzi #508
Posted 08 October 2015 - 07:35 AM
I have had this Idea for a while but I haven't got around to it >> I want a writing program that can save text files to the computers HDD. I'm fairly confident that it is possible.
gollark8 #509
Posted 08 October 2015 - 07:27 PM
A system syncing the files of computers over some cloud storage API.

On this one! :D/>/> Started making something to do, it works like FTP? But checks files, if one has been changed then it will sync it, and when you log in, it syncs all your files! :D/>/>

I was thinking about some system that overrides fs.open, fs.flush and fs.close to upload the files to some database.
DannySMc #510
Posted 08 October 2015 - 09:09 PM
A system syncing the files of computers over some cloud storage API.

On this one! :D/>/> Started making something to do, it works like FTP? But checks files, if one has been changed then it will sync it, and when you log in, it syncs all your files! :D/>/>

I was thinking about some system that overrides fs.open, fs.flush and fs.close to upload the files to some database.

Hmm no, I was thinking about it, but I would prefer it is a separate file, and then you can use a git type push and pull
Lupus590 #511
Posted 08 October 2015 - 10:27 PM
A system syncing the files of computers over some cloud storage API.

On this one! :D/>/> Started making something to do, it works like FTP? But checks files, if one has been changed then it will sync it, and when you log in, it syncs all your files! :D/>/>

I was thinking about some system that overrides fs.open, fs.flush and fs.close to upload the files to some database.

Hmm no, I was thinking about it, but I would prefer it is a separate file, and then you can use a git type push and pull

both versions have their advantages and disadvantages, it just depends on what you need
FUNCTION MAN! #512
Posted 09 October 2015 - 02:34 AM
I have had this Idea for a while but I haven't got around to it >> I want a writing program that can save text files to the computers HDD. I'm fairly confident that it is possible.

edit?

Currently working on a Lua 'compiler' in .Net (waits for hate).

*hates*

At least I feel vindicated! I'm glad I did though - it has made the process much easier :)/>.

Anytime.
Lupus590 #513
Posted 11 October 2015 - 06:08 PM
A program which generates a database of every item in the game, including applications of the items (including how much fuel it will give a turtle).
Waitdev_ #514
Posted 12 October 2015 - 06:43 AM
actually, that wouldn't be possible if it was autonomous. though, i'm making Help++ which have customisable packs, which you could add it there. Help++ is computercraft by default.
Lupus590 #515
Posted 12 October 2015 - 08:49 AM
You could attach it to a crafting system or something, or have it learn everything by trial and error. Having a huge database of every item could be usesful though, your crafting system could go mining for that missing iron ingot.
Lupus590 #516
Posted 12 October 2015 - 09:05 AM
a github compatible continuous integration server for computercraft projects
you may want to build off howl

you may want to read this: https://developer.github.com/guides/building-a-ci-server/
Edited on 12 October 2015 - 07:06 AM
SquidDev #517
Posted 12 October 2015 - 04:15 PM
a github compatible continuous integration server for computercraft projects
you may want to build off howl

you may want to read this: https://developer.gi...ng-a-ci-server/

The hardest part would be an extensible emulator (preferably one that can easily be configured/run from the command line). I started one a way back, but gave up. Might have another look at writing one. Then you could just setup some sort of configuration for Travis using it.
Lupus590 #518
Posted 12 October 2015 - 04:34 PM
a github compatible continuous integration server for computercraft projects
you may want to build off howl

you may want to read this: https://developer.gi...ng-a-ci-server/

The hardest part would be an extensible emulator (preferably one that can easily be configured/run from the command line). I started one a way back, but gave up. Might have another look at writing one. Then you could just setup some sort of configuration for Travis using it.

Just had the idea of using minecraft, aside from the ovious security hole for who-ever's account you use to login, you also have the problem of running on a headless server. So the moment that java asks to make a window to put minecraft in, the CI server is going to have problems.

Thought I'd post the bad idea just in case someone else suggests it.



Have the CI server host a minecraft server (the software is free and doesn't require an account). One computer in spawn with our/your CI script and perhaps a TE autonomous activator to bypass the no-auto-turn-on bug. You'd have problems getting it to work on request, but it would work.



Could have the software run on a CC computer in minecraft. I'm sure their is a server somewhere which everyone frequnts or a spare computer which can have their own server
Edited on 12 October 2015 - 02:36 PM
kristoph172 #519
Posted 19 October 2015 - 09:05 PM
Hello Everyone,

I do not know if this would really come under "Ask a Pro" but here is goes anyway.

I am in a bit of a situation at the moment. I will be leaving for military training in about a week for 6 months. I was hoping to have my latest minecraft project done by then,which is a concrete bunker and a Destroyer ship. I finished the layout of the ship and I have completed most of the bunker. I wanted to make it as automated and sweet looking as possible with computercraft. I decided I would make a section of the bunker for launching missiles yesterday. It is pretty much done with working silo doors.

What I really need is a computercraft program(s) to help me launch missiles from the silos in another part of the base. The features I was looking for were along the lines of:
  • All launchers can be launched separately and all together.
  • Be able to launch anti ballistic in a reasonable time with silo doors to account for
  • being able to edit strike positions
  • able to have multiple failsafes(if possible)
I have taken a look at the current ICBM programs posted here but they do not seem to fit my criteria. I am no good at programming of any kind and I do not have the time to learn at the moment.

I guess this is more of a request really, to anyone who wants to try and program it for me. I do not mind what way you do it as long as it works and I am able to follow the conditions ye had.

If you need to know more I will be online for most of the week.

Thank you for reading.

Regards,
kristoph172.
Edited on 20 October 2015 - 12:45 PM
The_Cat #520
Posted 22 October 2015 - 12:26 PM
Yo, I would like to give it ago. Would it be possible for a world download along with the modpack you are using?
kristoph172 #521
Posted 25 October 2015 - 01:31 AM
Thank you, sorry for the delay in reply. Been more busy than I hoped. Yes I can give you the save. I am using Lapitos Galacticraft v2.1.0. on the AT Launcher. There are a few changes to the world since my OP, even my attempt at the program using other programs, but it should make no difference. I changed to creative mode for the programming tests I was doing already in it, as far as I remember anyway.

I will be leaving for 6 months starting tomorrow afternoon. I hope I can answer any questions or anything before I leave. The link to the save is below, you do not need dropbox to download a copy of it.

https://www.dropbox.com/sh/g4b76kl2a8k53bj/AADNqTqLPCxJCmaaZXmoYLzfa?dl=0

Regards,
kristoph172
The_Cat #522
Posted 25 October 2015 - 04:45 PM
Thank you, sorry for the delay in reply. Been more busy than I hoped. Yes I can give you the save. I am using Lapitos Galacticraft v2.1.0. on the AT Launcher. There are a few changes to the world since my OP, even my attempt at the program using other programs, but it should make no difference. I changed to creative mode for the programming tests I was doing already in it, as far as I remember anyway.

I will be leaving for 6 months starting tomorrow afternoon. I hope I can answer any questions or anything before I leave. The link to the save is below, you do not need dropbox to download a copy of it.

https://www.dropbox....aZXmoYLzfa?dl=0

Regards,
kristoph172

So I made a basic login, lets see if you like it :)/>
http://pastebin.com/Zmxg1vRM on a computer you can do "pastebin get Zmxg1vRM" (no quotes)
the login is: "the cat" and pw is "password"
You can add as many users as you want if you copy it within the table I made an example one so if you just replace example text + password to your own
So I havnt done the launching yet, but would you like a touch screen system? (which would take long) or a basic one where you have like 1. Launch 2. Somthing else, then they enter a number to do the following action?
(if you use numbers in the user name the scrolling text will not work as they are not added to the table "whitelist" of text (you can add them if you want it should still work))
if you have any problems with the current code or you want me to change anything just say
-The Cat
kristoph172 #523
Posted 25 October 2015 - 09:08 PM
Thank you, sorry for the delay in reply. Been more busy than I hoped. Yes I can give you the save. I am using Lapitos Galacticraft v2.1.0. on the AT Launcher. There are a few changes to the world since my OP, even my attempt at the program using other programs, but it should make no difference. I changed to creative mode for the programming tests I was doing already in it, as far as I remember anyway.

I will be leaving for 6 months starting tomorrow afternoon. I hope I can answer any questions or anything before I leave. The link to the save is below, you do not need dropbox to download a copy of it.

https://www.dropbox....aZXmoYLzfa?dl=0

Regards,
kristoph172

So I made a basic login, lets see if you like it :)/>
http://pastebin.com/Zmxg1vRM on a computer you can do "pastebin get Zmxg1vRM" (no quotes)
the login is: "the cat" and pw is "password"
You can add as many users as you want if you copy it within the table I made an example one so if you just replace example text + password to your own
So I havnt done the launching yet, but would you like a touch screen system? (which would take long) or a basic one where you have like 1. Launch 2. Somthing else, then they enter a number to do the following action?
(if you use numbers in the user name the scrolling text will not work as they are not added to the table "whitelist" of text (you can add them if you want it should still work))
if you have any problems with the current code or you want me to change anything just say
-The Cat
I am lucky to be near a computer atm. I would like a basic one please, I do not wish to be too much trouble. If a touch screen one would not be trouble for you then go ahead. Honestly I would prefer it as basic as possible.

Na leave the current code, I will leave it as a side project to help learn coding. Thank you very much for offering.
See you in 6 months.
Waitdev_ #524
Posted 30 October 2015 - 08:48 AM
lol, time to request an idea :P/>

i need an idea for what to have in a pocket computer, but only computercraft stuff. maybe not base control
Lupus590 #525
Posted 30 October 2015 - 12:27 PM
lol, time to request an idea :P/>

i need an idea for what to have in a pocket computer, but only computercraft stuff. maybe not base control

The idea exchange is more for trading ideas, not asking for them. If you want an idea then look through the forum thread for them, it take a bit of time, but there are some cool ideas. You may want to copy your favourite ones somewhere, none of the ones that I've copied down are only for pocket computers.

Perhaps you could make a program wrapper for bigger screens, allowing programs designed for normal computers to be ran on a pocket one.
Creator #526
Posted 30 October 2015 - 12:58 PM
Any good program adjusts the elements according to the screen size, so that shouldn't be nessecary .
HPWebcamAble #527
Posted 31 October 2015 - 06:06 PM
Perhaps you could make a program wrapper for bigger screens, allowing programs designed for normal computers to be ran on a pocket one.

Creator has a good point.

How would you go about doing this anyway?
H4X0RZ #528
Posted 31 October 2015 - 06:10 PM
Perhaps you could make a program wrapper for bigger screens, allowing programs designed for normal computers to be ran on a pocket one.

Creator has a good point.

How would you go about doing this anyway?
Create a buffer which is able to be outside of the screen size, term.redirect to that buffer and run the program inside a special environment where every function/variable telling the program that it's running on a PDA is overwritten.

Then you could add custom key-handling which, for example, listens for arrow keys and then moves the buffer around.

Also you would have to "translate" mouse_click and mouse_drag events (not sure if mouse_up returns coordinates too) so they return the position on the buffer, not on the screen.
Edited on 31 October 2015 - 05:11 PM
Exerro #529
Posted 31 October 2015 - 06:34 PM
I actually did that with Flare (pastebin get wTbCHHx3 emu). You can create emulated computers in windows with different sizes, and could even check the "resizeable" box when making one that allows you to resize it while it is running (pointless if the program doesn't adjust automatically, but awesome if it does). Oh and there is a colour/no colour option too, so you can greyscale your program.
Edited on 31 October 2015 - 05:38 PM
H4X0RZ #530
Posted 31 October 2015 - 06:41 PM
I actually did that with Flare (pastebin get wTbCHHx3 emu). You can create emulated computers in windows with different sizes, and could even check the "resizeable" box when making one that allows you to resize it while it is running (pointless if the program doesn't adjust automatically, but awesome if it does). Oh and there is a colour/no colour option too, so you can greyscale your program.
Wow. That is quiet big xD

Here is my attempt: http://pastebin.com/Gzfxby7t (I'm using Grim Reaper's buffer api. http://www.computercraft.info/forums2/index.php?/topic/20335-quick-buffer-a-fast-terminal-buffering-solution/ )

I guess mine works like a "hack" against your polished up Flare program, but well… xD
Gumball #531
Posted 01 November 2015 - 04:10 PM
An IDE that has many useful features

Kinda non-specific, but there is LuaIDE…
HPWebcamAble #532
Posted 01 November 2015 - 07:37 PM
An IDE that has many useful features

Kinda non-specific, but there is LuaIDE…

Well there is now, but not when that comment was posted.
GravityScore first posted LuaIDE on the 20th of April 2013
http://www.computercraft.info/forums2/index.php?/topic/12347-luaide-10-you-might-actually-like-editing-in-game
LeDark Lua #533
Posted 01 November 2015 - 09:27 PM
Neuroevolution ( Genetic algorithm/Neural network ).
Well I'm trying to create it, but someone with greater mind can make this faster.
My rules:
Every generation is monitored [ if child is born and it is smarter, better then parents and others then increase the generatioin count ]
The AI has a life span: ex: AI born in 150 ticks and died at 250 ticks [ 100 tick life span ]
You make a brain with clusters of little brain:
1. ( 1 brain is for walking )
2. ( 2 brain is for eye sensors that makes decisions for walking )
3. ( 3 brain for building skills )
4. ( 4 brain for exchanging knowledge [ this is done by reading the rest of clusters and making a random string ] )
5. ( 5 brain for storing the data that was received from talking/exchanging knowledge )
6. ( 6 learning how to exchange and receive knowledge )
7. ( genetic string for storing every singe thing from those clusters of brain. )
]
This is how I done my rules, I made the AI that its able to walk ( no no brain and genetics are involved ) but now I'm looking for sources to implement Neuroevolution.

PS: I don't know if I explained it right, but I'm really tired. And good news for me, I'm not going to be kicked out of my house :)/> YAY I guess…

EDIT: Ahh yes, instincts, they are hard coded and self made, and stored in the gene or 1's and 0's. The genetic string should look like this: 01011001101101010111010101…. well you get the point.
Edited on 01 November 2015 - 08:31 PM
luaCoder #534
Posted 06 November 2015 - 10:09 PM
I have an idea of a Bank/ATM idea and I was wondering if anyone wanted me to possible make it?
LDDestroier #535
Posted 06 November 2015 - 10:46 PM
A monitor program that outputs one program to four monitors as if it were one giant monitor, with the combined resolution.
Creator #536
Posted 06 November 2015 - 10:49 PM
A monitor program that outputs one program to four monitors as if it were one giant monitor, with the combined resolution.

I started doing that and the code can be seen in OmniOS under drivers/monitor. However the result is extremely slow.
KingofGamesYami #537
Posted 07 November 2015 - 12:42 AM
A monitor program that outputs one program to four monitors as if it were one giant monitor, with the combined resolution.

I have this bookmarked.
Lupus590 #538
Posted 07 November 2015 - 12:43 PM
Duskers in CC
Konlab #539
Posted 07 November 2015 - 03:04 PM
Ideas:
Text editor (there are some good ones, but writing one can be useful for learning)

Image editor (same as above)

Existing/custom language interpreter

Custom datatypes optimalized for a custom task

Hibernation: save status turn off computer and continue from there

Presentation maker (already posted it i think, not sure)

Unity3D in CC

Html Browser with CSS, Javascript support that ignores everything unviewable

Game ideas:

Physics simulation game

Chemistry game

Age of war like game

Unrealistic ideas:

4D world simulation
Creator #540
Posted 07 November 2015 - 04:00 PM
4D world simulation is not unrealistic. Time is a dimension + 3 space dimension = 4 dimensions.
HPWebcamAble #541
Posted 07 November 2015 - 05:34 PM
Presentation maker (already posted it i think, not sure)

PossieTV made one a while ago. He gave me permission to update it (Which I will do… 'soon')
http://www.computercraft.info/forums2/index.php?/topic/21610-goldslide-v10-keynotepowerpoint-in-minecraft-wip/

Hibernation: save status turn off computer and continue from there

I am totally going to try this, but I have a funny feeling that there are a few issues that will render it partially useless…
Creator #542
Posted 07 November 2015 - 05:37 PM
About hibernation: You have to get the whole ram, save it to a file and you have to get locals.
Konlab #543
Posted 07 November 2015 - 05:42 PM
I made a ask a pro question about saving threads, http://www.computercraft.info/forums2/index.php?/topic/24564-saving-threads/
Thats where the idea came from.
About 4D (excluding time) it isn't hard to do but CC has screen limitations. You will only need a 2×4 matrix and an input Vector 4 value and convert it to Vector 2 (not sure about namings but I call vectors like this because of Unity3D's class names)
Lupus590 #544
Posted 08 November 2015 - 03:26 PM
Github flavoured markdown renderer.
DannySMc #545
Posted 09 November 2015 - 09:11 AM
Github flavoured markdown renderer.

That could actually be surprisingly easy to make… :o/> Do you know where you can get a huge list of like the features?
Lupus590 #546
Posted 09 November 2015 - 01:09 PM
Github flavoured markdown renderer.

That could actually be surprisingly easy to make… :o/> Do you know where you can get a huge list of like the features?

https://guides.github.com/features/mastering-markdown/
DannySMc #547
Posted 09 November 2015 - 01:56 PM
Github flavoured markdown renderer.

That could actually be surprisingly easy to make… :o/>/> Do you know where you can get a huge list of like the features?

https://guides.github.com/features/mastering-markdown/

Started working on this! :D/>
FUNCTION MAN! #548
Posted 12 November 2015 - 03:14 PM
Good luck with italic, bold, heading sizes, etc etc.
Exerro #549
Posted 12 November 2015 - 05:27 PM
Grey text by default, bold=black, italic=lightGrey, headings are black and have different spacing or some other significant difference. Sure it's not great, but I did something like that before and it worked quite nicely.
gollark8 #550
Posted 13 November 2015 - 07:17 AM
About hibernation: You have to get the whole ram, save it to a file and you have to get locals.

You could just capture every event since computer boot &amp; save it to a file, then requeue all of them, but you'd need a background program to catch them all.
Creator #551
Posted 13 November 2015 - 12:10 PM
About hibernation: You have to get the whole ram, save it to a file and you have to get locals.

You could just capture every event since computer boot &amp; save it to a file, then requeue all of them, but you'd need a background program to catch them all.

That is actually really smart.
Konlab #552
Posted 13 November 2015 - 01:02 PM
About hibernation: You have to get the whole ram, save it to a file and you have to get locals.

You could just capture every event since computer boot &amp; save it to a file, then requeue all of them, but you'd need a background program to catch them all.

That is actually really smart.
But you need to do it in fs sandboxing and somehow restore the fs to keep your files, turtle sandboxibg to keep position etc. External editors will also probably crash it so it's not a very good solution.
You need to use a custom thread datatype and not the default lua one and save it.
Lupus590 #553
Posted 16 November 2015 - 05:16 PM
Qt for ComputerCraft
LeDark Lua #554
Posted 17 November 2015 - 12:41 PM
Qt for ComputerCraft
Qt IDE? or Qt with IDE and Language or I dont know, this could be possible :)/> Explain please.
Edited on 17 November 2015 - 11:42 AM
Joelahughes #555
Posted 17 November 2015 - 07:21 PM
A C++ Compiler/Interpreter for ComputerCraft
LeDark Lua #556
Posted 17 November 2015 - 07:36 PM
A C++ Compiler/Interpreter for ComputerCraft
This is possible. But would need A LOT OF TIME WORKING ON IT. So I will stay away from this, but if I had a friend, that would help, mabie "we" could start working on it.
Creator #557
Posted 17 November 2015 - 08:03 PM
A C++ Compiler/Interpreter for ComputerCraft

Why, just why? Why do this, when you have mega-speed IRL C++?
Lupus590 #558
Posted 17 November 2015 - 08:48 PM
Qt for ComputerCraft
Qt IDE? or Qt with IDE and Language or I dont know, this could be possible :)/> Explain please.

As in the api/command line tool for making gui's, IDE is optional.
SquidDev #559
Posted 17 November 2015 - 09:23 PM
A C++ Compiler/Interpreter for ComputerCraft

If your going to go for this, you might as well convert LLVM IR to Lua source/bytecode. Clue seems to do some of this (not using LLVM though). Generating bytecode would be much more efficient as you can use jumps directly (which we don't have until Lua 5.2).
Joelahughes #560
Posted 17 November 2015 - 10:12 PM
Well, it would be a good learning experience. Although I am not good at working with other people. How about a Visual Basic like program?
Konlab #561
Posted 21 November 2015 - 10:41 AM
Well, it would be a good learning experience. Although I am not good at working with other people. How about a Visual Basic like program?
W
VB is compiled to .NET common lang (correct me if im wrong) so it is better to do it for that so you can execute C# too.
Creator #562
Posted 21 November 2015 - 10:50 PM
A C++ Compiler/Interpreter for ComputerCraft

Why, just why? Why do this, when you have mega-speed IRL C++?

Actually, I thought this through and it wouldn't be so smart after all for two reasons:

- files will have been written and then the content in the will be different the second time due to the already existing data that has been written during the previous session,

- os.time will behave differently since the actual time that has passed will be shorter because events will be fired immediately when coroutine.yield is called (because you have to make the program process all the events as fast as possible). You might think that an alternative would be to capture the amount of time elapsed between events, but the first point impedes it.

Conclusion: Unless there's a way to get the locals of a functions, capturing the state of a program is impossible (or very difficult and not worth the trouble.)
hugeblank #563
Posted 28 November 2015 - 09:46 AM
So I just thought up a pretty genius idea, make an Internet radio. It's been brought up before, but if you use a little bit of redstone, it's possible. Have the computer output a certain signal strength dependent upon the frequency that is coming in. That signal strength is then taken and made into a sound via noteblocks. Also, noteblocks can play different instruments, so that's a plus. Another plus I just realized, is that they don't obey vanilla 'laws of redstone' (2 game ticks == 1 redstone tick) so theoretically, you might be able to add in voices too!
Konlab #564
Posted 28 November 2015 - 04:25 PM
So I just thought up a pretty genius idea, make an Internet radio. It's been brought up before, but if you use a little bit of redstone, it's possible. Have the computer output a certain signal strength dependent upon the frequency that is coming in. That signal strength is then taken and made into a sound via noteblocks. Also, noteblocks can play different instruments, so that's a plus. Another plus I just realized, is that they don't obey vanilla 'laws of redstone' (2 game ticks == 1 redstone tick) so theoretically, you might be able to add in voices too!
Interesting concept, could be even better with MoarPeripherals' iron note block.
hugeblank #565
Posted 29 November 2015 - 05:34 AM
So I just thought up a pretty genius idea, make an Internet radio. It's been brought up before, but if you use a little bit of redstone, it's possible. Have the computer output a certain signal strength dependent upon the frequency that is coming in. That signal strength is then taken and made into a sound via noteblocks. Also, noteblocks can play different instruments, so that's a plus. Another plus I just realized, is that they don't obey vanilla 'laws of redstone' (2 game ticks == 1 redstone tick) so theoretically, you might be able to add in voices too!
Interesting concept, could be even better with MoarPeripherals' iron note block.

:D/> I decided that I would work on it. The thing is, you need like 60+ turtles, all with the same program on them, and have them wait for a message specific to them. I've finished the first turtle 'chunk' that plays the piano. Now I'm working on a music editor, so that you can create your own dope piano beats!
cmdpwnd #566
Posted 29 November 2015 - 07:19 AM
Getting CC to work with VMs
Lupus590 #567
Posted 29 November 2015 - 03:18 PM
Getting CC to work with VMs

care to explain this more? do you want a VM in CC? or CC in a VM?

CC in a VM is easy to do as the point of a VM is that the OS (and therefore the programs) are unaware that they are in a VM. I personally like VirtualBox.

while not full VM's in CC, there are some sandbox programs in CC, just search the forums.
Edited on 29 November 2015 - 02:19 PM
Terra1 #568
Posted 29 November 2015 - 07:50 PM
An HTML clone would be cool
People could get computers and program in an HTML lookalike language that is just a bunch of lua scripts executing controlling the HTML lookalike code
Has anyone made this??? or does anyone have any time to make this???
Creator #569
Posted 29 November 2015 - 07:58 PM
Do you mean CC in HTML or HTML in CC. There is Mimic, but there is no HTML in CC.
SquidDev #570
Posted 29 November 2015 - 09:24 PM
Oeed made Quest a while back, though IIRC it is far from feature complete. I'm pretty sure he plans to rewrite it once once Silica is finished.
cmdpwnd #571
Posted 08 December 2015 - 03:00 AM
Getting CC to work with VMs
care to explain this more? do you want a VM in CC? or CC in a VM?

Neither: Getting CC to work *with* a VM. VMware has vmnet interfaces for their vNICs. Have a way for CC interfaces to connect to either a host machine interface that is then connected to a vmnet OR CC directly bridges to a vmnet vNIC
Edited on 08 December 2015 - 02:02 AM
KingofGamesYami #572
Posted 14 December 2015 - 04:55 PM
Radial Pong
Jester #573
Posted 14 December 2015 - 07:27 PM
Banking System



STILL IN PROGRESS – HELP IF POSSIBLE

Goal: A Bank System

Specs:
  • Multiple Account (Clients) (All Clients Are Listed In A Database)
  • Admin Account (To Edit The Client List &amp; Other Stuff)
  • Balance On Client Account
  • ATM Computer, Server Computer
  • EMC based Points => 1 Red Matter = 1 Credit
Options:
  • Deposit
  • Withdraw
  • View Balance
  • Log Out
  • Go Back
Details:

Login into the ATM Computer (ATM Computer sends [ read() ] to the Server Computer
If Login is true than Server Computer sends information to go to profile of the specified client
Open Options Menu
Menu Selection [ read() ] send to the Server Computer
Server Computer replies with command to open the Selection (example. View Balance)
ATM Computer shows Balance, ID , Last Log in , Back Option
etc…

Script Code:

NO CODE YET
BEAR WITH ME
Exerro #574
Posted 15 December 2015 - 05:58 PM
Something like Sway would be nice. It should be even easier now we've got the extended character set so can have boxes and nice separators. There's also awesome dragging possibilities with the mouse_up event, which would make it really nice to use.
FUNCTION MAN! #575
Posted 18 December 2015 - 01:09 AM
I was thinking about https://github.com/SirCmpwn/sway, honestly.
ardera #576
Posted 01 January 2016 - 12:23 PM
A program (not necessarily ComputerCraft, maybe Windows/Android) that sends you a notification whenever Dan's hourwatch updates :D/>
Lupus590 #577
Posted 11 January 2016 - 03:08 PM
An API which allows conversion of numbers to their string representation, and vice versa.

examples:
2 -> two
20 -> twenty
200 -> two hundred
three hundred -> 300
five -> 5
twelve -> 12
Creator #578
Posted 11 January 2016 - 05:10 PM
An API which allows conversion of numbers to their string representation, and vice versa.

examples:
2 -> two
20 -> twenty
200 -> two hundred
three hundred -> 300
five -> 5
twelve -> 12

To do that you will need to understand the logic behind how numbers are written out, and then implement it. That shouldn't be too hard. Luckily this is not German or French where there are quite a bunch of special cases.
Edited on 11 January 2016 - 04:31 PM
Lupus590 #579
Posted 14 January 2016 - 06:16 PM
An alien like program to convert packages from all those different package managers and app stores.
KingofGamesYami #580
Posted 14 January 2016 - 07:46 PM
An API which allows conversion of numbers to their string representation, and vice versa.

examples:
2 -> two
20 -> twenty
200 -> two hundred
three hundred -> 300
five -> 5
twelve -> 12

I might do this when I find the time. I did it to roman numerals a while ago.
Lupus590 #581
Posted 19 January 2016 - 03:25 PM
A tutorial on environments and _G
Creator #582
Posted 19 January 2016 - 03:27 PM
A tutorial on environments and _G

This would be useful.
Admicos #583
Posted 19 January 2016 - 05:36 PM
A system like AUR for computercraft.

I don't know how that will be useful, but it could be used to modify programs from the author's source (updated. Probably)

(I think i'm gonna do this someday)
FUNCTION MAN! #584
Posted 23 January 2016 - 09:48 PM
Say no more, fam.
https://raw.githubusercontent.com/TARDIX/Chameleon/master/usr/bin/pkgtool.lua
gaec #585
Posted 06 February 2016 - 10:32 PM
I saw many attempts to implement TCP/IP in ComputerCraft. The problem is that all tried to implement TCP and IP, but IP (the Internet Protocol) is not needed in computercraft, because we´ve got Rednet (RN). Thats why i tried to: specify TCP on top of Rednet: TCP/RN

TCP/RN

a TCP/RN message is a normal Rednet message, with the exception that the first seven chars of the message string are used for TCP purposes

TCP chars

1st and 2nd char:
Port Number of the sender, where the 1-bit is the 1-bit of the 2nd char and the 256-bit is the 1-bit of the 1st char

3rd and 4th char:
the same as above but for the reciever

5th char:
Some Control bits
1-bit: ACK
2-bit: SYN
4-bit: FIN

6th char:
in case of SYN or FIN a number wich should be sended back in addition with one

7th char:
chere the number gets sended back in case of ACK

Examples
SpoilerComputer 3 sends something from port 257 to Computer 7 on port 3 and gets something back

Computer 3 sends: (Note: I write the first seven chars in seperate lines as decimal numbers)

1
1
0
3
2
243
0
Computer 7 answers:
0
3
1
1
3
156
243

Computer 3:

1
1
0
3
1
0
157
give me a random string
Computer 7:

0
3
1
1
0
0
0
here you are: si8e7nlbi7anblnvfigaherrvb
3:

1
1
0
3
4
163
0
7:

0
3
1
1
5
47
164
3:

1
1
0
3
1
0
48
If you like the idea or have improvement ideas, please post an answer.
Lupus590 #586
Posted 07 February 2016 - 02:51 PM
a tutorial on advanced string usage

things like finding patterns in strings, extracting those patterns or using data after that pattern
Lupus590 #587
Posted 08 February 2016 - 04:17 PM
tutorial on making sandboxes
Creator #588
Posted 08 February 2016 - 04:23 PM
Tutorial on tutorials.
HPWebcamAble #589
Posted 09 February 2016 - 03:21 AM
tutorial on making sandboxes

Does this have anything to do with my recent ask a pro post ;)/> ?

I'd love to make one but first I want to get my sandbox as bullet proof as possible.
I was also thinking of doing one on string patterns but I'm not great with them.
Edited on 09 February 2016 - 02:22 AM
caza1112 #590
Posted 10 February 2016 - 09:49 PM
Chat-Bot


Well i have been reading up on AI (Artificial Intelligence), i get that this kid of a program will not

be a true AI because it will have predefined responsive to correlate to the specific inputs, however what if

it learnt when you speak to it, such as when you say something is will prompt with a response that you would like

to set of course it will take a long time to build up a sufficient library of words and phrases but to attempt it and for it to

write to it's own code to add these phrases in, i have slight ideas on how to go about it but would like to know if anyone would

actually be interested in actually using it or having a go with such a program?


Feel free to PM me however i may not respond straight away, i could take a while :')
wilcomega #591
Posted 11 February 2016 - 08:39 AM
Chat-Bot


Well i have been reading up on AI (Artificial Intelligence), i get that this kid of a program will not

be a true AI because it will have predefined responsive to correlate to the specific inputs, however what if

it learnt when you speak to it, such as when you say something is will prompt with a response that you would like

to set of course it will take a long time to build up a sufficient library of words and phrases but to attempt it and for it to

write to it's own code to add these phrases in, i have slight ideas on how to go about it but would like to know if anyone would

actually be interested in actually using it or having a go with such a program?


Feel free to PM me however i may not respond straight away, i could take a while :')

You should look into neural networks maybe, or just search for Machine Learning Algorithms (Click Here)
Waitdev_ #592
Posted 23 February 2016 - 09:27 AM
an editor that multiple people can work on at the same time
Creator #593
Posted 23 February 2016 - 09:38 AM
an editor that multiple people can work on at the same time

Like Google docs but mcn style.
Waitdev_ #594
Posted 23 February 2016 - 09:50 AM
an editor that multiple people can work on at the same time

Like Google docs but mcn style.
Yeah.
Quartz101 #595
Posted 23 February 2016 - 10:59 AM
A modified CC emulator that could be can be interfaced w/ outside programs, like a lua script outside of CC that can detect something on the cc comp and do something on the real PC
Creator #596
Posted 23 February 2016 - 01:35 PM
A modified CC emulator that could be can be interfaced w/ outside programs, like a lua script outside of CC that can detect something on the cc comp and do something on the real PC

And potentially making cc viruses an actual threat?

By the way, I think that std lua is quite capable of doing that. All we'd need would be a sandbox for modified functions and a Graphics lib that can draw actual pixels to the screen.
HPWebcamAble #597
Posted 24 February 2016 - 01:54 AM
A modified CC emulator that could be can be interfaced w/ outside programs, like a lua script outside of CC that can detect something on the cc comp and do something on the real PC
And potentially making cc viruses an actual threat?

By the way, I think that std lua is quite capable of doing that. All we'd need would be a sandbox for modified functions and a Graphics lib that can draw actual pixels to the screen.

Been working on it for a few days now ;)/>
Never having created a standalone Java application, it's taking a bit, but I'm slowly getting there.
Edited on 24 February 2016 - 12:54 AM
Quartz101 #598
Posted 24 February 2016 - 09:45 AM
A modified CC emulator that could be can be interfaced w/ outside programs, like a lua script outside of CC that can detect something on the cc comp and do something on the real PC

And potentially making cc viruses an actual threat?

By the way, I think that std lua is quite capable of doing that. All we'd need would be a sandbox for modified functions and a Graphics lib that can draw actual pixels to the screen.
Not what I meant. The cc comp itself cannot interface with the real PC, and the emulator can be 'hooked' onto by another program and that program can control the cc emu or look at it
SoftNougat #599
Posted 26 February 2016 - 08:24 AM
A computer lock that encrypts all the files on the computer with the password as the key or something, and decrypts all the files when logging in. So if somoene bypasses the login with a disk, they can't really use the files/steal the programs on the computer.

I strongly agree with you! That's a good idea to secure our files.
kristoph172 #600
Posted 01 March 2016 - 06:11 PM
Hello I am back.
Creator #601
Posted 01 March 2016 - 06:33 PM
Hi. If you are still interested, I am working on a networking framework that may help you. Also, how was military training?
TwiztidKrow #602
Posted 01 March 2016 - 10:27 PM
OK browsing the net has brought me to this place and a few nifty programs I have used in my current server. Here is my situation. I currently have 2 Big Reactors that have information being displayed wirelessly on monitors. What i am looking to do is just be able to sut them on and off from a master computer. The only information i want displayed on any monitor connected to it is Reactor1: Active/ Inactive so on and so forth. I have done a bit of searching and havent found anything that would suit my needs. I am a complete noob to CC however I do learn by disecting programs and seeing what makes them tick. Any help would be great. the program dont have to be fancy as long as it works.

THanks for the help and with the noob questions.
Lyqyd #603
Posted 01 March 2016 - 10:42 PM
Moved to General.
KingofGamesYami #604
Posted 01 March 2016 - 11:06 PM
Assuming you could connect them to a wired network,

--#off:
peripheral.find( "computer", function( name, object ) object.shutdown() end )
--#on:
peripheral.find( "computer", function( name, object ) object.turnOn() end )

peripheral.find
computer API*

*includes .turnOn and .shutdown

If you cannot, you'll have to add some sort of code to the computers which listens for a rednet message from the command computer. Be aware that rednet is insecure, and anyone could receive or send your messages. You can even fake the id of the computer sending the message.
Edited on 01 March 2016 - 10:11 PM
SGunner2014 #605
Posted 01 March 2016 - 11:24 PM
Moved to General.

Shouldn't this be in the ask a pro section? After all, the description of it is "Ask all your questions about ComputerCraft here, from the most basic to the most advanced!"
Trooper #606
Posted 02 March 2016 - 01:06 AM
Hi,
i need this script for a Bundle cabel with auto status munitor and refresh rate
i build a big building with many Door´s and i need a status

pls help thanks

sorry for my bad englich

Gerne lass ich mir auf Deutsch helfen

Thanks
Bomb Bloke #607
Posted 02 March 2016 - 01:19 AM
That's indeed the description, though you'll notice TwiztidKrow has not actually asked any questions.
Lyqyd #608
Posted 02 March 2016 - 01:33 AM
This has every appearance of a program request rather than a request for help with an existing script, so it does not belong in Ask a Pro, or really, anywhere.
KingofGamesYami #609
Posted 02 March 2016 - 01:59 AM
Could you provide more detail about your setup? From your description I have determined the following:

*You have a big building with multiple doors
*You want to see whether the doors are open or closed on a monitor
*You want to use bundled cable to communicate this data

I would like to know:

*How will the bundled cable tell the computer when a door is open or closed?
*Are the doors computer controlled?
*If they are computer controlled, are you against using wireless or wired modems instead of bundled cable?
Bomb Bloke #610
Posted 02 March 2016 - 02:17 AM
Sorry, I split his post off from this thread and then managed to lose the resulting new one.
kristoph172 #611
Posted 02 March 2016 - 07:25 PM
Hi. If you are still interested, I am working on a networking framework that may help you. Also, how was military training?
Cool yeah, anything to help would be great. Honestly it felt more like 6 years instead of 6 months. Ups and downs same as most things and almost zero internet usage out there apart from skyping family every week or so. Apart from the downs of it, the training itself went well, thank you for asking.
Edited on 02 March 2016 - 06:25 PM
subzero22 #612
Posted 03 March 2016 - 08:18 AM
Well it's not wireless but its a start of what you want. Krakaen made a program so all you will need is a seperate computer and monitors for each one.

http://www.computercraft.info/forums2/index.php?/topic/26019-big-reactors-automatic-control-program/
Trooper #613
Posted 03 March 2016 - 06:10 PM
Hi,

*How will the bundled cable tell the computer when a door is open or closed?

yes a door is copmuter controlled, and this send a redstone signal than password correkt
all doors send a redstone signal than he are open.

i have current 20 doors with light Red (open) or Green (close) in one room.

i will have a status Monitor for all.

thanks
Waitdev_ #614
Posted 05 March 2016 - 01:06 AM
I've been working on a minecraft world for a while now, and it's got a lot of computers in it. Because I've got so many, I have to fly around a lot to get to them. I thought of the idea to have a program which can control any computer screen remotely. So, that's what I'm requesting.

If you know a program which can control a computer remotely, please tell me the program. If someone can make one for me, that would also be great.

Requirements for the program
Ability to watch screen, and control it.
Show computer info on monitor, with 0.5 text scale (id, label, peripherals, all that stuff)

Thanks
Lyqyd #615
Posted 05 March 2016 - 01:36 AM
I've folded the three or four program request threads into the Idea Exchange topic.

In response to the above post, nsh (perhaps with vncd) can do most of what you listed, though you'd have to create your own utility to display info on a monitor.
Lupus590 #616
Posted 15 March 2016 - 12:40 PM
An OS/Shell where directories are rooms and files are paintings on the wall.

Kind of like: Microsoft Bob

perhaps using: http://www.computercraft.info/forums2/index.php?/topic/10786-wolf3d-style-3d-engine-proof-of-concept/
DannySMc #617
Posted 16 March 2016 - 11:27 AM
An OS/Shell where directories are rooms and files are paintings on the wall.

Kind of like: Microsoft Bob

perhaps using: http://www.computerc...oof-of-concept/
This is an awesome idea!
Trooper #618
Posted 16 March 2016 - 01:12 PM
Could you provide more detail about your setup? From your description I have determined the following:

*You have a big building with multiple doors
*You want to see whether the doors are open or closed on a monitor
*You want to use bundled cable to communicate this data

I would like to know:

*How will the bundled cable tell the computer when a door is open or closed?
*Are the doors computer controlled?
*If they are computer controlled, are you against using wireless or wired modems instead of bundled cable?


Hi,
my doors are computercontrolled and he send a Redstone signal if a door open
All use a bundle cable

i will see a status on a big munitor (4x4)
Door 1 = Close (text background Green)
Door 2 = Close (text background Green)
Door 3 = Open (text background Red)
Door 4 = Close (text background Green)
etc.

I use a Vault door script for doors from Folstaria
Thanks for help
SoruCoder #619
Posted 17 March 2016 - 01:53 AM
A computer lock that encrypts all the files on the computer with the password as the key or something, and decrypts all the files when logging in. So if somoene bypasses the login with a disk, they can't really use the files/steal the programs on the computer.

RedWorksOS does this with the whole computer.
Waitdev_ #620
Posted 17 March 2016 - 10:49 AM
A Java-like language, which compiles into Lua, so it's an easy transition from Lua to Java if someone ever needs it (me)
CrazedProgrammer #621
Posted 17 March 2016 - 02:38 PM
A Chip-8 emulator in CC
DaniFoldi #622
Posted 31 March 2016 - 08:35 PM
Hi guys!

Let's make a super os: SuperOS!

I know, I'm a newbie on the forum, but I can code well in Lua and other languages too. I could make the whole OS alone, but it would take ages. So, that's why I decided to ask help here.

The OS could use all modern possiilities in ComputerCraft 1.7, like:

chat (private rooms, password protections, user levels)
paint (not only backgorund but /|\- characters for ASCII-style drawing)
text editor (printing, text-, background color, version history, image embedding)
app store (maybe from pastebin, git or just a website)
updating system (os, apps)
user profiles (messaging, file permissions, customizable environment)
virus protection (delete disk/startup file automatically)
cloud storage (via rednet)
games (classic ones and unique releases, through app store)
peripheral software connections (os.pullEvent has peripheral, its really useful)
backups (to a specified disk or cloud)
basic apps (notes, calendar, mail, contacts, code editor)
advanced -, network apps (stocks, weather, browser, news reader)
video animator, player (shareable, through app store)
file trash (30 days restorability)
in-game forum access (custom, with faq and q&amp;a sections)
advanced clock (stopwatch, timer, time zones, real-time and in-game)
notifications (by app, like fo peripherals, chat, mail)
.

And of course, basic functions like:
multi-thread
beautiful gui
desktop
docking
encoding, decoding files
compressing, decompressing files
app menu
file system (protected)
.

These are my current ideas, of course, anyone can suggest a new function.

And just to be sure. I'm not paying anone for helping. The project is volunteer work-based.
Just reply to the topic if you would like to participate. THANKS.
Edited on 02 April 2016 - 03:16 PM
TheRockettek #623
Posted 15 April 2016 - 04:10 PM
:P/> Nice
Waitdev_ #624
Posted 16 April 2016 - 03:16 AM
<snip>
tried github yet?
Waitdev_ #625
Posted 16 April 2016 - 02:09 PM
Note
I'm not sure if this should be in general or the idea exchange post, but I've put it here since I'm starting development on it soon. If it's in the wrong place, I don't mind if it's moved, just please tell my why it has to be moved. Just for reference &amp;lt;3
Anyway, onto the post..


I had an idea earlier, when i saw in Idea Exchange someone thought of "SuperOS".
Though, I think this could be a bit improved. They didn't mention GitHub, which would of been better, and they had the thing planned out pretty much telling people what to do. I wanted mine to be modular, a bit like a normal OS, so you'd have a bunch of different programs or services for different things (eg in mac, you'd have finder which displays background and stuff, and things like that). I'm going to start development once I've got used to Lua again, after I've taken a break. It will all be on GitHub.

Contributing
If you'd like to contribute to this, I guess you could make a pull request. Though, I am a bit new to GitHub. There may be a better way?
Otherwise, I might add a few people to edit code as they wish.

Contributors
Just me, currently. Write a reply if you're contributing to the OS, so I can put you here.

Link to repo - https://github.com/WaitCC/Synergy

Thanks for reading this, I hope a few people will like the idea.
(As I said before, I'm new to GitHub, so please feed me with knowledge if you can!)

Warning- I was tired as of writing this. So yeah, don't be surprised if you find any mistakes.

EDIT
I've made a mind map of what I wanted to start of with in the OS.
Spoiler
Edited on 16 April 2016 - 10:09 PM
Lupus590 #626
Posted 16 April 2016 - 02:35 PM
a tutorial on understanding minecraft crash logs

specifically, finding out what cause the crash and what mod/s were involved
Edited on 16 April 2016 - 12:36 PM
Lupus590 #627
Posted 16 April 2016 - 09:37 PM
an addon to the fs api which allows easy creation and management of links (hard links ect.) and mount points
Edited on 16 April 2016 - 07:37 PM
LeDark Lua #628
Posted 18 April 2016 - 05:11 PM
A Chip-8 emulator in CC

Possible but I don't know what to do with 64x32 screen resolution :D/>
Luca_S #629
Posted 25 April 2016 - 05:54 PM
if someone could make something like blittle just for the whole term that would be awesome, coz it would increase resolution like hell.
Anavrins #630
Posted 25 April 2016 - 05:56 PM
A computer lock that encrypts all the files on the computer with the password as the key or something, and decrypts all the files when logging in. So if somoene bypasses the login with a disk, they can't really use the files/steal the programs on the computer.
I just made this for myself recently, would it be allowed to be posted on the forums, or would it fall in the "no file hiding" rule?
MKlegoman357 #631
Posted 25 April 2016 - 08:56 PM
I just made this for myself recently, would it be allowed to be posted on the forums, or would it fall in the "no file hiding" rule?

It's the source code of the program that matters, so moderators could see what the actual program does. An encryption program shouldn't be marked as malicious just because it encrypts your files.
Bomb Bloke #632
Posted 26 April 2016 - 12:50 AM
if someone could make something like blittle just for the whole term that would be awesome, coz it would increase resolution like hell.

Huh?
Luca_S #633
Posted 27 April 2016 - 05:35 AM
if someone could make something like blittle just for the whole term that would be awesome, coz it would increase resolution like hell.

Huh?
Something like blittle, just that it has functions like lteter.clear(),… And you don't Need to make an Image before.
Bomb Bloke #634
Posted 27 April 2016 - 06:46 AM
I'm still not quite getting it; can you explain the difference between what you're after the term objects blittle.createWindow() gives you?

Spoiler
Edited on 27 April 2016 - 04:47 AM
Waitdev_ #635
Posted 21 May 2016 - 02:01 AM
a program to make images be shown at a bigger size, either using normal pictures as input then showing them bigger using blittle meaning you could do 1.5x size, or showing blittle images and normal images with double the size
Bomb Bloke #636
Posted 21 May 2016 - 02:25 AM
Not quite sure what you mean; BLittle shows images smaller, not bigger.

My GIF API and CrazedProgrammer's Surface API each have image resizing tools.

Upscaling images that've been passed through BLittle wouldn't be hard, as such, but you'd be better off simply holding onto the original data from before the time you downscaled it. For one thing, BLittle often has to fudge its output, so expanding that output may not get you your original input back.
KingofGamesYami #637
Posted 21 May 2016 - 02:28 AM
A program that allows visual editing of a turtle path (top / right views clickable and dragable, iso view zoomable / rotatable). Probably make iso view with small pixels.
Edited on 21 May 2016 - 12:29 AM
ExplosiveFerrets #638
Posted 24 May 2016 - 08:58 PM
Hello,

This idea might have been posted before, but I'll still make this topic. Also, didn't want to list it here: http://www.computercraft.info/forums2/index.php?/topic/11067-idea-exchange/page__pid__96171#entry96171

ComputerCraft phone app. Computercraft isn't really that computer heavy, so a mobile app shouldn't be too hard.

I don't know how to make Android or iOS apps sadly.
Edited on 24 May 2016 - 06:59 PM
apemanzilla #639
Posted 24 May 2016 - 09:03 PM
Hello,

This idea might have been posted before, but I'll still make this topic. Also, didn't want to list it here: http://www.computerc...6171#entry96171

ComputerCraft phone app. Computercraft isn't really that computer heavy, so a mobile app shouldn't be too hard.

I don't know how to make Android or iOS apps sadly.

There's versions of cclite that work on Android phones via Love2d.
KingofGamesYami #640
Posted 24 May 2016 - 10:09 PM
I knew this had been suggested before, a minute or two of googling got me the topic.
SnappGamez #641
Posted 01 June 2016 - 09:44 PM
I've recently gotten interested in the programming languages themselves. It would be pretty interesting to create a ComputerCraft program in Lua that can compile/interpet a custom programming language. That's gonna be a bit hard though.
KingofGamesYami #642
Posted 02 June 2016 - 12:18 AM
I've recently gotten interested in the programming languages themselves. It would be pretty interesting to create a ComputerCraft program in Lua that can compile/interpet a custom programming language. That's gonna be a bit hard though.

It's been done for Java.
SnappGamez #643
Posted 02 June 2016 - 02:41 AM
I've recently gotten interested in the programming languages themselves. It would be pretty interesting to create a ComputerCraft program in Lua that can compile/interpet a custom programming language. That's gonna be a bit hard though.

It's been done for Java.

Well…
that's… something… how?????
Anavrins #644
Posted 04 June 2016 - 10:34 PM
A QR-code image generator which can be drawn with CC1.76 pixels or BLittle.
I've recently made a proof of concept of a Two-Factor Authentication lock which can use either HOTP or TOTP.
If someone can manage that, it would make it easier to configure something like Google Authenticator with it :)/>
Edited on 04 June 2016 - 08:51 PM
Bomb Bloke #645
Posted 05 June 2016 - 06:47 AM
I must admit I've little idea as to what you've got in mind for it, but scanning QR codes is nearly a hobby for me. I'll give it a shot.
Anavrins #646
Posted 05 June 2016 - 07:31 AM
Nice, that'd be sweet.
Basically I'm playing around with the concept of one-time passwords, also known as two-factor authentication, and using this in a computer lock.
How it's used in 2FA is to have a QR-code encoded URI like otpauth://totp/IssuerName:AccountName?secret=ABCDEFGHIJKLMNOP&amp;issuer=IssuerName
which can be scanned in smartphone's apps like Google Authenticator to easily register the secret key into the app.
Edited on 05 June 2016 - 05:42 AM
TheOddByte #647
Posted 07 June 2016 - 07:45 PM
3D snake using a command computer.
An Appstore using krist as currency
Edited on 17 June 2016 - 02:00 PM
FoxData #648
Posted 17 June 2016 - 07:58 PM
telegraph system that sends pulses down redstone/network cable.
TheRockettek #649
Posted 17 June 2016 - 08:40 PM
An Appstore using krist as currency

Very possible but could cause phishing :D/>
Anavrins #650
Posted 17 June 2016 - 09:15 PM
telegraph system that sends pulses down redstone/network cable.
This has been made a lot of times by a lot of peoples, including me.

An Appstore using krist as currency
I just thought of a more reliable payment method in order to achieve this, though it would require a modification of the kristwallet to allow user input in the metadata field.
ReBraLaCC #651
Posted 17 June 2016 - 09:19 PM
Maybe an engine that supports 3D and work like Unity, add objects, change size etc.

I think it would give a lot more possibilities although CC is for making your own stuff, like engine, but having 1 simple-one premade would be amazing
CrazedProgrammer #652
Posted 17 June 2016 - 10:34 PM
Maybe an engine that supports 3D and work like Unity, add objects, change size etc.

I think it would give a lot more possibilities although CC is for making your own stuff, like engine, but having 1 simple-one premade would be amazing
That's a HUGE undertaking, but I understand where you're coming from :P/>
Like John Carmack said, game engines can be more complex than rocket science.
Edited on 17 June 2016 - 08:34 PM
FoxData #653
Posted 18 June 2016 - 08:48 PM
KristPal - Like Paypal but for krist
jv110 #654
Posted 18 June 2016 - 09:06 PM
Maybe an engine that supports 3D and work like Unity, add objects, change size etc.

I think it would give a lot more possibilities although CC is for making your own stuff, like engine, but having 1 simple-one premade would be amazing

Exactly what I'm doing
CrazedProgrammer #655
Posted 18 June 2016 - 09:07 PM
KristPal - Like Paypal but for krist
I think you have a serious case of worthless virtual currency addiction, consult a doctor immediately.
FoxData #656
Posted 19 June 2016 - 05:58 PM
KristPal - Like Paypal but for krist
I think you have a serious case of worthless virtual currency addiction, consult a doctor immediately.

A scada system complete with RTU's and PLC's
Lupus590 #657
Posted 22 June 2016 - 02:52 PM
symbolic links in computercraft
Creator #658
Posted 22 June 2016 - 02:59 PM
symbolic links in computercraft

They exist in OmniOS. All that time spent overwriting the FS api.
meeko011 #659
Posted 01 July 2016 - 04:03 PM
Make a factory simulation using ComputerCraft. Turtles come in each day to complete various tasks. In turn, they are given CU (coal units), Turtle currency, based on how much work they have done. Give all of them chatbox peripherals and have them shout things to communicate.
Lupus590 #660
Posted 01 July 2016 - 04:38 PM
Make a factory simulation using ComputerCraft. Turtles come in each day to complete various tasks. In turn, they are given CU (coal units), Turtle currency, based on how much work they have done. Give all of them chatbox peripherals and have them shout things to communicate.

sounds like it should be a Hive easter-egg, I should really get Hive moving again :(/>
FoxData #661
Posted 01 July 2016 - 08:35 PM
Text-To-Speech program that sounds like DECTalk (DECTalk being the speech software used S. H)
weakman54 #662
Posted 07 July 2016 - 08:47 PM
I was reading the specs for rednet and saw it's note about security flaws. I started thinking about the somewhat large number of videos on encryption, spying, and ww1-ww2 era computing and code cracking I've been watching, and how interesting it would be to actually be in such a situation.
So I started thinking about how I could maybe use minecraft with CC and maybe a couple of other mods to setup such a situation.

It would be an information game, not a programmed game, and CC with Wireless Rednet would only be used as the primary means of communication, without any specific API or other extra stuff added on.

The basic sketch I have in my mind right now is this:
  • Team based, you have at least two people working together as a team
  • Multiplayer competition, two or more teams fight each other in some way, over points, to kill each other, etc.
  • Two groups in each team: crackers and explorers
    • Crackers are the main code breakers, their main job is to sit at a computer and write code to crack the codes coming their way
    • Explorers are the people that go out to find information in the "real" world, wether this be a grid playing field or just a normal MC world
Now I'm not sure how feasible this is or how much interest there is for it, but really, I'd be happy to find just three other people interested in fiddling around with this concept
and trying it out.

Oh, and this is more of an invitation to help me develop this than to do it yourselves, but if you feel like trying it on your own, go right ahead.
I'll probably not finish it knowing myself, so I'd rather have the idea out there while I'm thinking of it =P.
The Crazy Phoenix #663
Posted 09 July 2016 - 11:07 AM
I was reading the specs for rednet and saw it's note about security flaws. I started thinking about the somewhat large number of videos on encryption, spying, and ww1-ww2 era computing and code cracking I've been watching, and how interesting it would be to actually be in such a situation.
So I started thinking about how I could maybe use minecraft with CC and maybe a couple of other mods to setup such a situation.

It would be an information game, not a programmed game, and CC with Wireless Rednet would only be used as the primary means of communication, without any specific API or other extra stuff added on.

The basic sketch I have in my mind right now is this:
  • Team based, you have at least two people working together as a team
  • Multiplayer competition, two or more teams fight each other in some way, over points, to kill each other, etc.
  • Two groups in each team: crackers and explorers
    • Crackers are the main code breakers, their main job is to sit at a computer and write code to crack the codes coming their way
    • Explorers are the people that go out to find information in the "real" world, wether this be a grid playing field or just a normal MC world
Now I'm not sure how feasible this is or how much interest there is for it, but really, I'd be happy to find just three other people interested in fiddling around with this concept
and trying it out.

Oh, and this is more of an invitation to help me develop this than to do it yourselves, but if you feel like trying it on your own, go right ahead.
I'll probably not finish it knowing myself, so I'd rather have the idea out there while I'm thinking of it =P.

Monoalphabetical ciphers are very easy to break using frequency analysis, and even the Vigenere cipher can easily be broken with a long enough ciphertext. Frequency analysis is not easy to have a computer automatically do because of how it requires you to know whether a substitution will be valid or not. For example, you might know that "creebers" is not a valid word, but the frequency analysis program won't. As such, it will substitute the ciphertext into "creebers" due to the whichever character the ciphertext uses having the same frequency as "b" in an unencrypted message.
SquidDev #664
Posted 09 July 2016 - 02:43 PM
Monoalphabetical ciphers are very easy to break using frequency analysis, and even the Vigenere cipher can easily be broken with a long enough ciphertext. Frequency analysis is not easy to have a computer automatically do because of how it requires you to know whether a substitution will be valid or not. For example, you might know that "creebers" is not a valid word, but the frequency analysis program won't. As such, it will substitute the ciphertext into "creebers" due to the whichever character the ciphertext uses having the same frequency as "b" in an unencrypted message.

Cracking monoalphabetical substitution isn't that bad to do automatically: instead of looking at individual letters you look at groups of letters (such as 4 successive letters) and math their frequency. The practical cryptography website (http://practicalcryptography.com/cryptanalysis/) has some pretty great docs on how to cracking ciphers through code.

The national cipher challenge in the UK (http://www.cipher.maths.soton.ac.uk) does many of the th things the OP discusses and may be worth checking out.
PossieTV #665
Posted 09 July 2016 - 08:19 PM
Monoalphabetical ciphers are very easy to break using frequency analysis, and even the Vigenere cipher can easily be broken with a long enough ciphertext. Frequency analysis is not easy to have a computer automatically do because of how it requires you to know whether a substitution will be valid or not. For example, you might know that "creebers" is not a valid word, but the frequency analysis program won't. As such, it will substitute the ciphertext into "creebers" due to the whichever character the ciphertext uses having the same frequency as "b" in an unencrypted message.

Cracking monoalphabetical substitution isn't that bad to do automatically: instead of looking at individual letters you look at groups of letters (such as 4 successive letters) and math their frequency. The practical cryptography website (http://practicalcryp.&#46;&#46;/cryptanalysis/) has some pretty great docs on how to cracking ciphers through code.

The national cipher challenge in the UK (http://www.cipher.maths.soton.ac.uk) does many of the the things the OP discusses and may be worth checking out.

Yeah, I actually wrote one a while ago for CS class that did just that. It would look for single letters and judging on the frequency would assign it to either "i" or "a". And because "e" is rarely mis-assigned. You can go through and find the three letter word with the highest frequency ending in the letter assumed to be "e" and assign the first two letters to "t" and "h". I just used a bunch of little stuff like that along with the frequency analysis and it worked pretty good. I mean of course it's not perfect, but it was able to crack a lot of the ciphers I gave it.


//More on topic
I think it would be col to have a pastebin program that stores in a server somewhere how many times people download your program. Kinda like a nelson box for CC.
Edited on 09 July 2016 - 06:25 PM
weakman54 #666
Posted 11 July 2016 - 08:35 PM
Monoalphabetical ciphers are very easy to break using frequency analysis, and even the Vigenere cipher can easily be broken with a long enough ciphertext. Frequency analysis is not easy to have a computer automatically do because of how it requires you to know whether a substitution will be valid or not. For example, you might know that "creebers" is not a valid word, but the frequency analysis program won't. As such, it will substitute the ciphertext into "creebers" due to the whichever character the ciphertext uses having the same frequency as "b" in an unencrypted message.

Cracking monoalphabetical substitution isn't that bad to do automatically: instead of looking at individual letters you look at groups of letters (such as 4 successive letters) and math their frequency. The practical cryptography website (http://practicalcryp.&#46;&#46;/cryptanalysis/) has some pretty great docs on how to cracking ciphers through code.

The national cipher challenge in the UK (http://www.cipher.maths.soton.ac.uk) does many of the th things the OP discusses and may be worth checking out.

Yeah, something like that but more on the go and with an element of realtime racing. Both teams start with nothing but the strategy and knowledge they have, and need to implement both the encryption and cracking programs on the fly, add secret objectives to this for example, and I think you could have some real fun with it. The problem I have in doing something like it though is that you need some people interested and knowledgeable enough to test things out with, hence why I posted here =P
xcrafter_40 #667
Posted 25 August 2016 - 08:42 PM
If anyone want's a place to post spam-related stuff http://www.computercraft.info/forums2/index.php?/topic/27449-public-chat/
TheOddByte #668
Posted 03 October 2016 - 01:50 PM
Don't know if this is possible, but I think it is.

The idea I'm thinking is to create a mod/plugin that lets players edit their scripts on a website. The idea of how this would function is that the player goes on to the website, logs in and the mod/plugin will find all the computers that belong to the player. This way people don't have to edit in-game or edit locally and upload and then download the script all the time.
TheRockettek #669
Posted 03 October 2016 - 03:19 PM
Don't know if this is possible, but I think it is.
The idea I'm thinking is to create a mod/plugin that lets players edit their scripts on a website. The idea of how this would function is that the player goes on to the website, logs in and the mod/plugin will find all the computers that belong to the player. This way people don't have to edit in-game or edit locally and upload and then download the script all the time.

You cpuld do that in a prrgram tbh. Ot could like comunicate with php to show file info amd stuffs. eg:


user connects to a computer and webserver asks for files for the computerb-> client sends file list -> user selects to edit /a/file -> client sends content of /a/file (if stuff in) -> user edits the stuff as its in the textbox and clicks done after, then webserver sends new data to client -> client edits the origional program

tl;dr make a ftp like thing for a program irl to communicate with cc
DannySMc #670
Posted 03 October 2016 - 04:02 PM
Don't know if this is possible, but I think it is.

The idea I'm thinking is to create a mod/plugin that lets players edit their scripts on a website. The idea of how this would function is that the player goes on to the website, logs in and the mod/plugin will find all the computers that belong to the player. This way people don't have to edit in-game or edit locally and upload and then download the script all the time.

This is something I did like last year, never completed it, but it was a mini web server (or you could integrate it with your current server) and basically it would run on a port, giving you a code editor which would list all the files of that computer on the left of the editor, clicking one would show up in the editor with syntax highlighting, and some auto-complete/hints. I also added a API popup which would show the API functions you could use, and to allow your computer to be accessible via the web, you would create a .codenet file with a password in it, which the plugin would read and then ask for that password and boom. I also added a way where a server admin could set it as an auto option which whoever created/placed the block, the file would automatically be created. Not sure if this is what you are thinking but was quite nice to use. Never really finished it, had a few bugs but worked fairly well.
Lupus590 #671
Posted 03 October 2016 - 07:48 PM
Don't know if this is possible, but I think it is.

The idea I'm thinking is to create a mod/plugin that lets players edit their scripts on a website. The idea of how this would function is that the player goes on to the website, logs in and the mod/plugin will find all the computers that belong to the player. This way people don't have to edit in-game or edit locally and upload and then download the script all the time.

This is something I did like last year, never completed it, but it was a mini web server (or you could integrate it with your current server) and basically it would run on a port, giving you a code editor which would list all the files of that computer on the left of the editor, clicking one would show up in the editor with syntax highlighting, and some auto-complete/hints. I also added a API popup which would show the API functions you could use, and to allow your computer to be accessible via the web, you would create a .codenet file with a password in it, which the plugin would read and then ask for that password and boom. I also added a way where a server admin could set it as an auto option which whoever created/placed the block, the file would automatically be created. Not sure if this is what you are thinking but was quite nice to use. Never really finished it, had a few bugs but worked fairly well.

Can you release the code for that? Someone may be interested in finishing it for you.
DannySMc #672
Posted 03 October 2016 - 11:13 PM
Don't know if this is possible, but I think it is.

The idea I'm thinking is to create a mod/plugin that lets players edit their scripts on a website. The idea of how this would function is that the player goes on to the website, logs in and the mod/plugin will find all the computers that belong to the player. This way people don't have to edit in-game or edit locally and upload and then download the script all the time.

This is something I did like last year, never completed it, but it was a mini web server (or you could integrate it with your current server) and basically it would run on a port, giving you a code editor which would list all the files of that computer on the left of the editor, clicking one would show up in the editor with syntax highlighting, and some auto-complete/hints. I also added a API popup which would show the API functions you could use, and to allow your computer to be accessible via the web, you would create a .codenet file with a password in it, which the plugin would read and then ask for that password and boom. I also added a way where a server admin could set it as an auto option which whoever created/placed the block, the file would automatically be created. Not sure if this is what you are thinking but was quite nice to use. Never really finished it, had a few bugs but worked fairly well.

Can you release the code for that? Someone may be interested in finishing it for you.

To be honest I might finish myself, but I shall upload it all to Github or something so people can contribute etc, would be cool to actually finish it, I think it only works with CC 1.7 so will make a branch for 1.8
3d6 #673
Posted 22 November 2016 - 04:39 AM
telegraph system that sends pulses down redstone/network cable.
This has been made a lot of times by a lot of peoples, including me.

An Appstore using krist as currency
I just thought of a more reliable payment method in order to achieve this, though it would require a modification of the kristwallet to allow user input in the metadata field.
This is possible already if you use names. E.g. sending to abcde@krist.kst will send your money to the address that owns krist.kst, and abcde will be prepended to the metadata.
TheKickstart #674
Posted 24 December 2016 - 09:56 AM
I want to work on an Unity-Like DE and Craftpoison(A mouseless desktop)
Rubyheart #675
Posted 25 December 2016 - 07:06 PM
There's an idea I've been kicking around for a while, but not sure if it's possible.

I'd like to send and receive text messages from ingame, through my real life phone. Basically, I'd carry around a pocket computer, and be able to send a message to my phone in real life, and the phone would send that message to a contact.

Also, I could text the server while I'm out to get status updates on automation, like seeing how many diamonds are in storage, or how full my energy cell is.
Lupus590 #676
Posted 25 December 2016 - 11:01 PM
There's an idea I've been kicking around for a while, but not sure if it's possible.

I'd like to send and receive text messages from ingame, through my real life phone. Basically, I'd carry around a pocket computer, and be able to send a message to my phone in real life, and the phone would send that message to a contact.

Also, I could text the server while I'm out to get status updates on automation, like seeing how many diamonds are in storage, or how full my energy cell is.
you'll need a way to send and receive sms on a computer and (likely) a http server, the pocket computer in game will connect to the http server which will act as a bridge to your sms stuff which in turn connects to your phone

A simular project: https://www.youtube....h?v=0jraYGjhyY8
Edited on 25 December 2016 - 10:01 PM
TheOddByte #677
Posted 05 January 2017 - 10:09 PM
Connect Four with a twist, the "board" rotates 90 degrees every turn.
CodeWeaver #678
Posted 23 February 2017 - 04:10 AM
Working on a massive project right now involving a GUI, and developed a means for a fully-user-customizable color scheme. Was wondering if anyone else has ever done/seen this in CC, and if so, how it was implemented!
Lyqyd #679
Posted 23 February 2017 - 05:51 PM
Yeah, LyqydOS has theme files that can change many aspects of its appearance. I know there are a few GUI frameworks out there that can do similar things as well.
CodeWeaver #680
Posted 23 February 2017 - 08:52 PM
Connect Four with a twist, the "board" rotates 90 degrees every turn.

I can see it now. "Connect for …"
That's a really fun idea, actually. Good exercise for CC networking, too (for multiplayer).
Lupus590 #681
Posted 23 February 2017 - 09:11 PM
Working on a massive project right now involving a GUI, and developed a means for a fully-user-customizable color scheme. Was wondering if anyone else has ever done/seen this in CC, and if so, how it was implemented!

store you colours in a table, even better, load this table from a file so that the user just has to change the file

local theme = {}
theme.labelTextColour = colours.red
theme.labelBackgroundColour = colours.black
theme.progressBarColour = colours.green
-- etc..

local function writeLable(text)
  term.setTextColour(theme.labelTextColour);
  term.setBackgroundColour(theme.labelBackgroundColour);
  term.write(tostring(text))
end

JerryWester #682
Posted 17 March 2017 - 04:36 PM
I had the idea of using a Redstone torch on the side/top of a computer to notify a user of said computer that something's going on. I plan on using this for a To-Do List application (where it will open a notification program in another shell using the multishell API), but feel free to use this for anything.

EDIT: Also, can anyone suggest a way to read the names of variables as a string?
Edited on 17 March 2017 - 03:38 PM
DubbelSoftware #683
Posted 19 March 2017 - 12:42 PM
Hello,


I dont know what i wil make. Do someone needs something?

I can make it for you! Reply it:


Example:

Program / OS name

What it need to can do

Features

Programs from others that wil be installed with the program / OS

Inbuild programs / utilities




The program wil be with a license be released!
ObloxCC #684
Posted 19 March 2017 - 03:50 PM
Well, if you really want to make something… Could you make me a coroutine manger that can easily allow me to run other programs in windows (mine is too slow, so its probably better to just get it rewritten)
KingofGamesYami #685
Posted 19 March 2017 - 04:47 PM
Make 8-ball pool. You can get a reasonable resolution if you use blittle.
DubbelSoftware #686
Posted 19 March 2017 - 06:39 PM
Well, if you really want to make something… Could you make me a coroutine manger that can easily allow me to run other programs in windows (mine is too slow, so its probably better to just get it rewritten)

Coroutine is very simple. I wil make one, but it wil take some time.
If you do, can you post your own manager. So i can see what you exactly want to have in the manager.
Then i can make it.

Make 8-ball pool. You can get a reasonable resolution if you use blittle.

I think that that is too hard, i can try it
Edited on 19 March 2017 - 05:43 PM
Emma #687
Posted 20 March 2017 - 12:51 AM
Make 8-ball pool. You can get a reasonable resolution if you use blittle.

I think that that is too hard, i can try it

It's not *that* hard, if you want take a look at the `eball` script from my project Riko4, it's basically 8ball pool, just I haven't added pockets yet. You can find it here
It produces something like this:
Spoiler
FuzzyLitchi #688
Posted 30 March 2017 - 10:40 PM
Make 8-ball pool. You can get a reasonable resolution if you use blittle.

I think that that is too hard, i can try it

It's not *that* hard, if you want take a look at the `eball` script from my project Riko4, it's basically 8ball pool, just I haven't added pockets yet. You can find it here
It produces something like this:
Spoiler

When it's done you should make it work over rednet. :)/>
Dave-ee Jones #689
Posted 26 July 2017 - 06:18 AM
Potentially already thought of before, but I'll give it a go..

Multi-layer OS.
Granted, the one shown below is only two layers, but basically what happens is the OS has 2 (or more) coroutines running - one which runs background processes like timers (like the clock), more important key pressses (like ones that handle "Home", "Back", "Task Manager" etc.), change variables in the background as needed (even things as simple as changing UI colours). This layer will be the BASE. The next layer up can be the OS layer. This is what you see and what you can do. It handles all on-screen UI interaction and handles all the functions that you would expect from a UI.
You click on "Control Panel" you expect the Control Panel to open, where you can change user details, UI colours, system options etc.
You click on "Create a window" and you can create a second window that has DJShell running in it.

It just works, and works better than the one coroutine trying to handle everything at once. Most real OS' use the same technique, you just don't notice it as an end-user because it's not meant to be noticed - it's just meant to work.
Plus, you can have a more constant feel with the OS, accessing windows, taskbar or a specific key from ANYWHERE in the OS, not just where the OS is listening. Because of the BASE layer, the OS will ALWAYS be listening to certain commands, as long as it is running.



"Home", "Back", "Forward" and "Task Manager" can be described as something like Android's Home, Back and Running Processes buttons. These (being on CC) are bound to specific keys, which can be accessed from anywhere in the OS.

Pretty nifty idea, though I've never seen an OS that utilises this layer system enough.
Jummit #690
Posted 17 August 2017 - 10:49 AM
A TV programm where you can make an own TV show or watch a with a GUI selected one. The videos would have support for character and pixels and could use different file formats.
PwnCC #691
Posted 18 August 2017 - 05:58 PM
What about a cloud system.

You have a

Server which can be connected to. Be pushed files to and fetched files from.

A user friendly client that can do those functions.
Be handy. And very cool if you can for example put it on a space station with any rocketry mod. Space secure clouds!
Dave-ee Jones #692
Posted 24 August 2017 - 01:44 AM
I found a REALLY HARD project to do, it's fun but lots and lots of calculations. It's a pretty useless program, really, but could be fun for those who like this sort of thing. It's interesting and could be a bit educational for some who don't know much about the kind of thing it is.

I was so excited to share what I've done but I can't because it's a surprise and if I did say what it was then there would be others who would try and maybe even finish before me and I'd be crying because I wouldn't finish it because there's tonnes better ones out there..

Just know, it's pretty amazing and I haven't seen it in the list of ideas here (probably because we're all nerds and don't think about it..much).


Ma project is up! Still WIP but it's working decently!
Edited on 25 August 2017 - 12:14 AM
Luca_S #693
Posted 16 September 2017 - 04:04 PM
-snip-
Multi-layer OS.
-snap-

This is actually something I'm working on right now. It uses multithreading and e.g. has a timer_task which is responsible for keeping up with the time(Using real time, which requires polling a server, so just getting the time every half second like what you do with os.time() is not really an option here) and is repsonible for handling timers of the multiple running apps(e.g. a background game will pause).
KingofGamesYami #694
Posted 18 September 2017 - 02:29 AM
Some way of registering shell auto-completions for custom programs. You can do it within the program, but then the program has to be run before the completions come into effect, and this doesn't persist across reboots (well, not without file editing magic). Not especially effective. However, if allowing straight up functions, writing to a file becomes an issue. Code snippets (ei strings) are rather difficult as well, simply because of the potential for malicious code.
Dave-ee Jones #695
Posted 18 September 2017 - 07:15 AM
Some way of registering shell auto-completions for custom programs. You can do it within the program, but then the program has to be run before the completions come into effect, and this doesn't persist across reboots (well, not without file editing magic). Not especially effective. However, if allowing straight up functions, writing to a file becomes an issue. Code snippets (ei strings) are rather difficult as well, simply because of the potential for malicious code.

Do you mean auto-completions for arguments or auto-completions for arguments that are programs? E.g.

edit <program>
OR
myprogram <true/false>
OR
myprogram <program>

With programs CC needs to check a directory for programs that can take programs as arguments, therefore allowing you to auto-complete.
With arguments it's a bit harder, but you can still do the same thing. Check a directory for a program config, inside the program config is all the arguments that can be taken and where they can be taken. E.g:

myprogram <expects true / false> <expects "test" / "dev">
So it would auto-complete for true / false as the first argument, but the second argument would only try and auto-complete for "test" or "dev".

This is possible with a custom 'bios.lua' through resource packs..
Edited on 18 September 2017 - 05:16 AM
KingofGamesYami #696
Posted 18 September 2017 - 12:45 PM
For arguments. And ofc it is possible, shell.setCompletionFunction exists. It'd just be a hassle to get everything working. Heck, you could do this with a startup file - no need to go editing the bios!
Exerro #697
Posted 18 September 2017 - 08:30 PM
I've run into the issue KingOfGamesYami is asking for a solution to. I got around it by requiring that the program be run with `–init` first, which adds the autocompletion to the shell. With the multiple startup files in the latest CC (unless I'm mistaken), this could run automatically on startup. It's still quite a pain though. Designated 'autocomplete' files like myprogram.autocomplete.lua could be loaded once a program name has been typed, if there's not an autocompletion function for that program already? So once I've typed "myprogram ", `myprogram.autocomplete.lua` is run (sandboxed?), returning a function, that is the autocompletion function for the program.
EnderVortex3 #698
Posted 04 October 2017 - 08:08 PM
Can someone make a cc laboratory with a periodic table picture that's interactive. Also please make a few science pictures like a beaker or a piece of lab equipment. And 1 more thing a liquid and rf monitor.
PrismaticYT #699
Posted 03 December 2017 - 07:12 AM
Linux Mint Cinnamon. Google it if you don't know what it is.
Purple #700
Posted 17 December 2017 - 03:48 PM
Random question. Is there a submod for this that lets turtles use IC2 power for fuel?
SquidDev #701
Posted 17 December 2017 - 03:54 PM
Random question. Is there a submod for this that lets turtles use IC2 power for fuel?
CCTweaks allows you to refuel from IC2 batteries.
LDDestroier #702
Posted 17 December 2017 - 06:20 PM
Can someone make a cc laboratory with a periodic table picture that's interactive. Also please make a few science pictures like a beaker or a piece of lab equipment. And 1 more thing a liquid and rf monitor.

I've got an interactive periodic table, but it doesn't have any pictures or anything else. Just a periodic table. Doesn't even tell a description of the element from Wikipedia.
https://pastebin.com/vxLQ1fVb
Masken8 #703
Posted 27 December 2017 - 05:47 PM
Please add a way to prevent editing of chosen files it would be very useful for my OS
Lupus590 #704
Posted 28 December 2017 - 03:59 PM
Please add a way to prevent editing of chosen files it would be very useful for my OS

This is not what Idea Exchange is for, also you can achive that by overwriting the FS API.
Zecradox #705
Posted 10 March 2018 - 01:11 PM
This is an idea for how a maps program would work.

A turtle automatically moves and uploads the surrounding data (read below).

The turtle uploads the GPS location of objects that it detected to the server. It also uploads a timestamp, and the block type.

A program can use a wireless pocket computer and use GPS Location Services to download where the objects near the device are from the server to create a detailed and accurate map of the surrounding. This would be very useful for maps.

EDIT: Now in development. It will be called Zmaps.
Edited on 10 March 2018 - 12:20 PM
CLNinja #706
Posted 10 March 2018 - 07:43 PM
http://www.computercraft.info/forums2/index.php?/topic/27007-a-rather-dapper-mapper-%e2%80%93-satellite-gps-maps/page__hl__maps__fromsearch__1
Zecradox #707
Posted 11 March 2018 - 04:21 AM
Okay. Already done. I'll probably make a way more advanced version with directions using pathfinding.
PS: I had no inspiration from that one at all.
Jummit #708
Posted 28 April 2018 - 10:16 AM
I know there is already the Idea Exchange topic, but I had a hard time picking out a game I want to make. I think a new topic for game ideas would be helpful. What do you think?
Purple #709
Posted 28 April 2018 - 11:24 AM
How about you make a simple snake game? Boxes appear randomly on the screen and the player winds around trying to get them without clipping ones own tail.
Bonus points if you give it a demo reel function like the old DOOM game had where there is like a video clip of the game being played that I can use as a screensaver.
Lupus590 #710
Posted 28 April 2018 - 01:53 PM
google for a list of retro games and clone them?
Jummit #711
Posted 28 April 2018 - 03:32 PM
google for a list of retro games and clone them?
Some games are maybe only makable in CC, whilst others don't even come into consideration. I also would like to do someone a favor and make a game he wants, so I don't just make it for myself and don't even finish it because I don't have a reason to.
Lupus590 #712
Posted 28 April 2018 - 06:11 PM
Ages ago I thought about making a clone of this https://store.steamp...340350/Quintet/
Edited on 28 April 2018 - 04:11 PM
Jummit #713
Posted 29 April 2018 - 06:50 AM
Ages ago I thought about making a clone of this https://store.steamp...340350/Quintet/
I love this game! Its such a cool concept.
Purple #714
Posted 12 March 2019 - 05:03 PM
Would anyone be interested in a fully developed inertial navigation API for turtles that features storage to ensure the turtle does not loose its way when the chunk or world are unloaded?

I made one just now for my self and figured I might share if you guys want.
Lupus590 #715
Posted 12 March 2019 - 07:32 PM
Would anyone be interested in a fully developed inertial navigation API for turtles that features storage to ensure the turtle does not loose its way when the chunk or world are unloaded?

I made one just now for my self and figured I might share if you guys want.

This seems a little off topic for idea exchange.

In responce to you post though, I would like to say that I would be interested.
osmarks #716
Posted 24 March 2019 - 06:37 PM
Would anyone be interested in a fully developed inertial navigation API for turtles that features storage to ensure the turtle does not loose its way when the chunk or world are unloaded?

I made one just now for my self and figured I might share if you guys want.

Random late reply, but yes I would use that.
Saldor010 #717
Posted 28 April 2019 - 03:54 AM
Someone should make the Sims in ComputerCraft.
Hydrotronics #718
Posted 08 September 2019 - 05:48 PM
I've been thinking about making a program that can play .wav files in Minecraft. Now, I've had a few ideas of this and I've come up with one that may work, but I don't have the time to test:

We could have a profile for a bunch of useable sounds in Minecraft (Not just noteblocks, but also things like blocks, mobs and ui) which we can compare to sections of the file, making adjustments for pitch. If a profile is considered "close enough" by the computer, it uses it for that section, simply jotting down which sound to play at which pitch. Once the file is fully loaded, it can be stored so that it can repeatedly play that file. Then, it would iterate through the file and play the sounds appropriately

I understand that it won't play back perfectly, this is Minecraft after all, but I do hope that this may work. If ComputerCraft is discovered to be too slow to convert, perhaps a version in C#/C++ may be better. This would mean that we can't directly download the song and play it, but it would still work
bestazy #719
Posted 20 November 2019 - 11:07 AM
Hi.
I downloaded the mod and have some experience with coding in lua.
Right now I’m working on a turtle that will build simple buildings for a village and randomly organize different types of buildings into plots.
What other projects do you guys recommend? Anything challenging but fun?