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.)
On the subject of card games, how about Egyptian Ratscrew?
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.Ahh was this based on my post?
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.)
No i posted and others followed so i thought it was based on my original post. Its not self centered its bad assumptions.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.Ahh was this based on my post?
On topic:
an API to make different gui options. Such as scroll bars, minimenus, buttons, etc.
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!
I kinda wanna do this, haha.[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..
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/>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)
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..What a waste of time…. :P/> it already exists… type 'hello' into the computer :P/>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)
also just as a learning point, much nicer codeSpoiler
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)
Could be nice…. go for it! cant wait :P/>But would'nt it be nice to have a multiplayer worm..?
I've seen one. But I can't remember what it was called.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.
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.
Alright, cool!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/>
That'll be real nice! Could you post here when you're done?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.
Also, can someone make or is there already an html API? That would be awesome :P/>
I think he wants to use html to program computercraft.Also, can someone make or is there already an html API? That would be awesome :P/>
html api?
how do you mean?
Maybe build GUIs, NEVER to program, html is not a programming language. :D/>I think he wants to use html to program computercraft.Also, can someone make or is there already an html API? That would be awesome :P/>
html api?
how do you mean?
I started to make an html parser, just for fun, but I never finished it… Why can't I finish a project? :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 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/>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/>
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.I started to make an html parser, just for fun, but I never finished it… Why can't I finish a project? :P/>Maybe build GUIs, NEVER to program, html is not a programming language. :D/>I think he wants to use html to program computercraft.Also, can someone make or is there already an html API? That would be awesome :P/>
html api?
how do you mean?
HTML does not fit into the definition of a "programming language". Therefore you don't say it is.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.
'# JavaScript #'
<script>
// Code
</script>
'# Php #'
<?php
// Code
?>
'# Asp #'
<%
' Code '
%>
etc.
*BalancedHey 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?
*BalancedHey 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?
*Yes
*Maybe, though some people such as on servers can't get them.
*Yes
*Yes
I was gonna say that! :P/>Someone should make Bejeweled… that is all…
I was considering making it… but I have way too much on my plate as it is…I was gonna say that! :P/>
So.. You're not the only one thinking about that..
I'll maybe try this.
way to bring back a convo that was a few days old… :P/> we are onto a new topic now. Bejeweled :P/>HTML is *not* a programming language. If you're 90% sure it is, you're 90% wrong.
Well, if getting tracebacks improves the IDE, you might like this: http://www.computerc...__fromsearch__1Im 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.
Has anyone ever made a multiplayer game with RedNet? Maybe a TCG or… or… multiplayer Mario clone? :o/>/>
Hm… I think I will actually try that. Neat idea.Wordfeud in CC
Hm…. I think I will actually try that. Neat idea.Wordfeud in CC
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.
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.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.
Oh, sorry, I don't really know much about turtles. That would be cool if someone made a program like that, then!It's possible. There are a variety of tests which can be performed to determine the type of material you have.
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)
And unless you feel like making some stuff in square waves, that aint gunna happen any time soon :P/>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.
Interesting idea, but I doubt servers would want users' accounts linked to other servers. Why? Well…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.
And unless you feel like making some stuff in square waves, that aint gunna happen any time soon :P/>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.
Uhh? What API?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 :)/>
LOL ment APUUhh? What API?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 :)/>
APU as in ALU?LOL ment APUUhh? What API?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 :)/>
APU as in ALU?LOL ment APUUhh? What API?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 :)/>
Ah, I thought you were saying Arithmetic and Logic Unit :P/>.APU as in ALU?LOL ment APUUhh? What API?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 :)/>
No, APU as in Audio Processing Unit
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.
What is Galaga? I'll try to make it maybe and I'll google it and see if it seems fun..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..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.
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?
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?Maybe a hackable terminal like in fallout? You don't have to write the code but please point me in the right direction?
Ah, I thought you were saying Arithmetic and Logic Unit :P/>/>.APU as in ALU?LOL ment APUUhh? What API?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 :)/>/>
No, APU as in Audio Processing Unit
I can also stand for Audio Processing UnitAh, I thought you were saying Arithmetic and Logic Unit :P/>/>.APU as in ALU?LOL ment APUUhh? What API?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 :)/>/>
No, APU as in Audio Processing Unit
I thought APU as in Accelerated Processing Unit.
Or Auxiliary Power Unit…I can also stand for Audio Processing UnitI thought APU as in Accelerated Processing Unit.
Suggestion: A hack the game simulation that can read the mission pack files(they are in plain text)
Great Idea.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/>
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/>/>
A program that links from the website, www.computercraft.info/ , to a turtle and or a computer.
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.
Dwarf fortress….
Just to clearify the BIOS is NOT part of Windows. It is delivered on your motherboard as a chip.Simmilar to BIOS in Windows
ComputerCraft Version Of RollerCoaster Tycoon 2! ComputerCraft Version Of GearCity! ComputerCraft Version Of Car Tycoon
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 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 ;)/>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 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/
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.
But someone should make like a c++ thing.
Like programming in c++ in cc
Like Direwolf20's button API? He posted a tutorial for it on youtube recently.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.
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.
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.
You mean a program that shows the irl clock?a Program That show's Your Computer (One You Use To Play Minecraft) Time, So Full Screen People Can See The Time :P/>/>
I think plastic(that google glass thing) has it.You mean a program that shows the irl clock?a Program That show's Your Computer (One You Use To Play Minecraft) Time, So Full Screen People Can See The Time :P/>/>/>
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…
You mean like thisa program that would all ways print/write backwards :P/> gives a use to string.reverse() :)/>
olleH
local function invPrint(text)
for i = #text, 1, -1 do
write(string.sub(text,i,i))
end
end
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
Function invPrint(text)
Print(text:reverse())
End
Much simplerEven though it wouldn't work :P/>But I mean for everything so like:
5.1 SO tfarc
>
Edit: why not doMuch simplerFunction invPrint(text) Print(text:reverse()) End
local oldWrite = term.write
term.write = function(text)
oldWrite(text:reverse())
end
This should do it! :D/>I figured that, But I'm typing this on my iPhone so :P/>it's an iPod gimme a break, also yeh you have to overwrite term.write and the textutils.tabulate <==
Can get tricky
A github client :)/>
Make an email client that can send and receive real emails.I want to do something complicated with HTTP, but what?
Make an email client that can send and receive real emails.I want to do something complicated with HTTP, but what?
I like that! Has that not been done before by someone on the forums though?Maybe Dots and Boxes?
That's kind of impossible. Even in a server with multiple worlds. Each world has it's own computer craft data.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.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.Universal email .. like between servers? Look at Thunderbird
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.
That's kind of impossible. Even in a server with multiple worlds. Each world has it's own computer craft data.
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.a GUI which displays the content of a turtle's inventory :D/>/>
I mean something like that:Spoiler
I'm not so good with GIMP :D/>/>
Do you mean ComputerCraft screen or MC screen in-game?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?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.
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
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 )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 :)/>/>/&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?
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
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!
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.-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.
I think MudkipTheEpic(or was it someone else??) has done something like this a while ago.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
Thanks. I will look at the code.I think MudkipTheEpic(or was it someone else??) has done something like this a while ago.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
Edit: found it: http://www.computerc...ral-management/
Thanks. I will look at the code.I think MudkipTheEpic(or was it someone else??) has done something like this a while ago.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
Edit: found it: http://www.computerc...ral-management/
:lol:/> I wish some programmers at work would be this honest!Please don't. It's very scary.
Good to know.Thanks. I will look at the code.I think MudkipTheEpic(or was it someone else??) has done something like this a while ago.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
Edit: found it: http://www.computerc...ral-management/
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.
Ambitious idea, have you seen this project yet?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?
pastebin get BMQebSu8 TextGun
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?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.
My suggestion would be to focus on the routing aspect first and foremost; everything else (name resolution, tunneling) can be built above it.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?
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.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.
My suggestion would be to focus on the routing aspect first and foremost; everything else (name resolution, tunneling) can be built above it.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?
As for client addressing: Why would you even need that? Computer IDs are a good and easy way to identify 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.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.
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.
Would this work?: [shameless_plug]http://www.computerc...aphing-utility/[/shameless_plug]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..
…but then the application you're using can't read messages and such that were encrypted by other, unmodified instances of the same application.-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.
Heh. I never seen a os for advanced turtles yet anyways, why not anyone make that as well?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!
Would this work?: [shameless_plug]http://www.computerc...aphing-utility/[/shameless_plug]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..
Please do! Mine won't be out for a whileXDI 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!
Nah. Unless you want to link to mine, it's fine. It will be fun to have competition.Lol hey Castform :D/>/> That's actually a good idea I can tack on to CreepOS. Want credit for idea?
function <1>_<2>(<3>)
local buttonName = <3>[1]
local param1 = <3>[2]
-- Your code here.
end
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 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…Here's an example for an event handler which should be called after e.g. button "clickMe" got clicked.
- 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.
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:In this case "clickMe", "clicked" and "eventArgs" would replace <1>, <2> and <3> inside the template.api.insertTemplate("defaultFunction", "randomFile.lua", "clickMe", "clicked", "eventArgs")
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.
Button:Initialize(x, y, width, height, title, click)
--for example
button = Button:Initialize(2, 4, 6, 1, "Test", function()print("Hello!") end)
button:Draw()
– 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.
– 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*
NPaintPro's 3d turtle addon is practically the exact same thing you just said I believe.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.
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-
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-
A universal chat and or email system.
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.^ 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..
I did that once…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…
Really? Awesome!I did that once…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 runNot 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…
Really? Awesome!I did that once…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…
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.
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.
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.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?
This isn't a request topic, This is for giving other people ideas as the topic is called "Idea Exchange" :P/>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
oeed's Ultimate Door Lock, go search for it.And something automatically opening doors with programs when the PDA is within range would be useful too.
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.
What?can someone make a program what is happening at Redstone signal the Star Wars movie?
upload this please at pastebin
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!What?can someone make a program what is happening at Redstone signal the Star Wars movie?
upload this please at pastebin
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.
OMG! Why would you waste time learning that…An interpreter for this. Let's have some fun, folks!
Because the fun of it? Why did you waste your time learning Lua? :P/>OMG! Why would you waste time learning that…An interpreter for this. Let's have some fun, folks!
Look at MacLeopold's opencraft program that does something similar to this using Open Peripheral.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.
Why not just encrypt the message and send it directly through rednet?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…
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 messageWhy not just encrypt the message and send it directly through rednet?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…
This is actually the best one i've saw.
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
watch_dogsAdventure 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?
For GitHub reposa pastebin/github type program to download code other then ACTUALLY using pastebin
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/>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/>/>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?
Well, sure! I'd join for sure.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/>/>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?
Wut. >_< Sounds like a horrendous map.
But I am interested in making this, if anone wants to join me.
Can I join then? :3Well, sure! I'd join for sure.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/>/>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?
Wut. >_< Sounds like a horrendous map.
But I am interested in making this, if anone wants to join me.
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:
Well, sure! I'd join for sure.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/>/>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?
Wut. >_< Sounds like a horrendous map.
But I am interested in making this, if anone wants to join me.
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:
Already kinda working on that. :3-snip-
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 <_</>/> .
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.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.
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.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)
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.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.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.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)
check the link in my siggy, it has a browser that uses HTTP and has dynamic web pagesHello 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 pagesHello 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/>
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.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)
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 )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.
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.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 )
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 & Maria
Just a question, are you hashing + salting the credentials? if not then I would suggest that you'd do that :)/>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. ;)/>
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 & 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. ;)/>
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.Make computercraft control a real screen?
A program that controls a turtle based on Miley Cyrus's Twitter feed?-snip-
something that nobody (including me) has done before.
Perhaps someone already hasA program that controls a turtle based on Miley Cyrus's Twitter feed?-snip-
something that nobody (including me) has done before.
Yeah totally, there's like 100 persons who've made that! xPPerhaps someone already hasA program that controls a turtle based on Miley Cyrus's Twitter feed?-snip-
something that nobody (including me) has done before.
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…A program that controls a turtle based on Miley Cyrus's Twitter feed?-snip-
something that nobody (including me) has done before.
Just a question, are you hashing + salting the credentials? if not then I would suggest that you'd do that :)/>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
Woah, that was heavy.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.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.
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…
function a( c )
local b = 13 + c
return b + c
end
function a( c )
hiddenTable.c = c
hiddenTable.b = 13 + hiddenTable.c
return hiddenTable.b + hiddenTable.c
end
You should try making a configurable redstone logic gateHello, 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!
What did we spend like 3 days doing then. :P/>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.
Something like this?Holo chamber using the new command computer, saves blocks and place blocks
That is a great idea, I'll try get a team together. :D/>A map/specialized program set where you can hack into anything with pocket computers, "Watch Dogs" style.
Could someone post some ideas relating to the HTTP API? Need to refine my skills a bit before beginning a much larger project.
NAS <host/connect/disconnect> <hostname> <password> <path>
NAS host foo bar shared_files
NAS connect foo bar
edit foo/test
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.It's neither encrypted nor password protected, but LyqydOS + LyqydNet does have such a feature.
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?…
A turtle following the player? Using rednet's distance
A turtle following the player? Using rednet's distance
rednet doesn't return distance. how come SO many people think it does?
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
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.
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
Even though it wouldn't work :P/>But I mean for everything so like:
5.1 SO tfarc
>
Edit: why not doMuch simplerFunction invPrint(text) Print(text:reverse()) End
'Print' > 'print' etc.
But you mean like overriding the term.write function?This should do it! :D/>local oldWrite = term.write term.write = function(text) oldWrite(text:reverse()) end
Also.. Never knew about 'reverse' :P/>
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.
Now just reverse the entire CraftOS (overwrite all the functions so the terminal shows up from right to left) :P/>
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.
Now just reverse the entire CraftOS (overwrite all the functions so the terminal shows up from right to left) :P/>
pastebin run 6QpZpQP5
REPEAT 40
[
DIG
FORWARD
LEFT
DIG
DIG UP
UP
DIG
DIG UP
UP
DIG
RIGHT 2
DIG
DOWN
DIG
DOWN
DIG
LEFT
]
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!
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 oneI 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 :)/>/>
Wouldnt you also need to make an app for the cellphone or tablet in question to display it though?Hmm… It should be possible to use a cell phone or tablet as a monitor, using the HTTP API. Has anyone already done this?
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.)Wouldnt you also need to make an app for the cellphone or tablet in question to display it though?Hmm… It should be possible to use a cell phone or tablet as a monitor, using the HTTP API. Has anyone already done this?
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.
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
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")).."&cccmd="..textutils.urlEncode(tostring("login")).."&username="..textutils.urlEncode(tostring(username)).."&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")).."&cccmd="..textutils.urlEncode(tostring("register")).."&username="..textutils.urlEncode(tostring(username)).."&password="..textutils.urlEncode(tostring(users.sha256(password))).."&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
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 oneI 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 :)/>/>
Yeah saw that yesterday, if you need help with anything dont hesitate wr will probably run into the same problems anyways eh!
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 enoughYeah 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 :)/>/>
[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
You mean something like this? :D/>An IDE that has many useful features
How would an overviewer need reversed GPS?
Wouldn't it be better if you continued this discussion in a PM? :P/>…
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.
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
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)
--#example usage
myFile = fs.open(fileNameAndPath)
print("line 3 says: "..tostring(myFile[3]))
myfile[4] = "replacement line"
myFile.close()
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()
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] )
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.
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!
a recreation of the debug API
(I know what the performance issues are going to be like)
a recreation of the debug API
(I know what the performance issues are going to be like)
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.a recreation of the debug API
(I know what the performance issues are going to be like)
Even with the speeds I think it'd still be faster than old retro PCs running at 2 MHza 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!
i don't fully understand what IDE means, but apparently it has something to do with drives.An IDE that has many useful features
i don't fully understand what IDE means, but apparently it has something to do with drives.An IDE that has many useful features
disk drive manager? i'll give it a go
i don't fully understand what IDE means, but apparently it has something to do with drives.An IDE that has many useful features
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.
ok thanks. (still not gonna make me stop the disk manager :P/>)i don't fully understand what IDE means, but apparently it has something to do with drives.An IDE that has many useful features
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.
Visual Studio, in CC :P/>
Yeah, I'd love to do it myself, the only problem I have is actually finishing projects :P/>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/>Visual Studio, in CC :P/>
That is a neat idea…
An index thread to the ask a pro and tutorial sub-forums.
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
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?
perhaps you could overload term.redirect?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.
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.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.
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.SquidDev said:There was an slight issue with visual lag in some programs, though that is inevitable with nested frame buffers.
Visual Studio, in CC :P/>
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 doan 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
turtle emulation layer for emulators
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
3. an advanced paint program with saving
i see what you did there..
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).
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.
For example SquidDev's AES Encryption API: http://www.computerc...aes-encryption/
Restoring getfenv("").sub? Pretty much impossible.have craftOS emulate an older version of itself, including hiding new functions, restoring bugs/quirks, and restoring old functions.
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.
Could you expand on how the code part would work?
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/>
but lots of details would be good :D/>.
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
Wow good oneA properly integrated banking system. One that runs through the HTTP API and allows your currency to be 'universal'.
Wow good oneA properly integrated banking system. One that runs through the HTTP API and allows your currency to be 'universal'.
Bomber man clone
Powerpoint in CC
Edit:
A while ago i made one but not released it, and I cant find it now.
The one that I made a long time ago only had texts and lots of colors :P/>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/>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.
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…
Sounds interesting…Spoiler
The one that I made a long time ago only had texts and lots of colors :P/>/>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.
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)
not that I know of, but he's on the forums so you could message him or somethingSounds interesting…Spoiler
The one that I made a long time ago only had texts and lots of colors :P/>/>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.
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)
Is it avaible for download?
Working on it B)/>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!
A system syncing the files of computers over some cloud storage API.
Idea: Lua compiler in Lua
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.Lua isn't compiled, and Metalua exists.
Idea: Lua compiler in Lua
Currently working on a Lua 'compiler' in .Net (waits for hate).
Currently working on a Lua 'compiler' in .Net (waits for hate).
*hates*
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/>/>
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.
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
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.
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 :)/>.
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/
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.
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
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.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
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
Perhaps you could make a program wrapper for bigger screens, allowing programs designed for normal computers to be ran on a pocket one.
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.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?
Wow. That is quiet big xDI 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.
An IDE that has many useful features
An IDE that has many useful features
Kinda non-specific, but there is LuaIDE…
A monitor program that outputs one program to four monitors as if it were one giant monitor, with the combined resolution.
A monitor program that outputs one program to four monitors as if it were one giant monitor, with the combined resolution.
Presentation maker (already posted it i think, not sure)
Hibernation: save status turn off computer and continue from there
Github flavoured markdown renderer.
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?
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/
About hibernation: You have to get the whole ram, save it to a file and you have to get locals.
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 & save it to a file, then requeue all of them, but you'd need a background program to catch them all.
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.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 & 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.
Qt IDE? or Qt with IDE and Language or I dont know, this could be possible :)/> Explain please.Qt 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.A C++ Compiler/Interpreter for ComputerCraft
A C++ Compiler/Interpreter for ComputerCraft
Qt IDE? or Qt with IDE and Language or I dont know, this could be possible :)/> Explain please.Qt for ComputerCraft
A C++ Compiler/Interpreter for ComputerCraft
WWell, it would be a good learning experience. Although I am not good at working with other people. How about a Visual Basic like program?
A C++ Compiler/Interpreter for ComputerCraft
Why, just why? Why do this, when you have mega-speed IRL C++?
Interesting concept, could be even better with MoarPeripherals' iron note block.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.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!
Getting CC to work with VMs
Getting CC to work with VMs
care to explain this more? do you want a VM in CC? or CC in a VM?
NO CODE YET
BEAR WITH ME
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
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
A tutorial on environments and _G
1
1
0
3
2
243
0
Computer 7 answers:
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
tutorial on making sandboxes
Chat-BotWell i have been reading up on AI (Artificial Intelligence), i get that this kid of a program will notbe a true AI because it will have predefined responsive to correlate to the specific inputs, however what ifit learnt when you speak to it, such as when you say something is will prompt with a response that you would liketo 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 towrite 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 wouldactually 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 :')
an editor that multiple people can work on at the same time
Yeah.an editor that multiple people can work on at the same time
Like Google docs but mcn style.
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
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 itA 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.
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.
--#off:
peripheral.find( "computer", function( name, object ) object.shutdown() end )
--#on:
peripheral.find( "computer", function( name, object ) object.turnOn() end )
Moved to General.
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.Hi. If you are still interested, I am working on a networking framework that may help you. Also, how was military training?
*How will the bundled cable tell the computer when a door is open or closed?
This is an awesome idea!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/
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?
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.
tried github yet?<snip>
A Chip-8 emulator in CC
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?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?
if someone could make something like blittle just for the whole term that would be awesome, coz it would increase resolution like hell.
Something like blittle, just that it has functions like lteter.clear(),… And you don't Need to make an Image before.if someone could make something like blittle just for the whole term that would be awesome, coz it would increase resolution like hell.
Huh?
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.
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.
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.
An Appstore using krist as currency
This has been made a lot of times by a lot of peoples, including me.telegraph system that sends pulses down redstone/network cable.
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.An Appstore using krist as currency
That's a HUGE undertaking, but I understand where you're coming from :P/>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
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
I think you have a serious case of worthless virtual currency addiction, consult a doctor immediately.KristPal - Like Paypal but for krist
I think you have a serious case of worthless virtual currency addiction, consult a doctor immediately.KristPal - Like Paypal but for krist
symbolic links in computercraft
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.
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: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
- 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
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.
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.../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.
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.../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.
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.
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.
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.
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.
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.This has been made a lot of times by a lot of peoples, including me.telegraph system that sends pulses down redstone/network cable.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.An Appstore using krist as currency
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 phoneThere'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.