This can be ANY kind of challenge.If I like you're challenge and its possible for me, then I will post this:
Thats how it would look!Hey!How about a chat program?
Challenge accepted
Bye!Remember to post you're challenges!
Thats how it would look!Hey!How about a chat program?
Challenge accepted
Ok.Moved to general.
Ok, I'll check out the "Ask A Pro" Section.there's the thread in general labeled [challenge] right now, to program a crafty mining turtle that can, entirely by itself, mine the resources to build two more turtles. There's another in the media section to play, and preferably video, yourself playing computercraft with the restriction of doing everything via the turtle programming, so you don't actualy mine yourself - which is similar, but a lot easier since it doesn't require autonomy from the turtle. If neither of those gets you excited, go check out the "ask a pro" section, people who can't code are always in there asking others to write code for them.
Challenge:
Make Computercraft able to interact with IRC. By this, I mean make an IRC reader that can interact with the channel #computercraft, and be able to update a website with it's results. Doing this would allow Computercraft to pull information from #computercraft via the HTTP api, thus being able to display #computercraft on terminals/monitors.
Oh yeah, how do you like my new avatar?Its annoying!(Loading thingy)Challenge:
Make Computercraft able to interact with IRC. By this, I mean make an IRC reader that can interact with the channel #computercraft, and be able to update a website with it's results. Doing this would allow Computercraft to pull information from #computercraft via the HTTP api, thus being able to display #computercraft on terminals/monitors.
Challenge accepted
I made it work IN A WAY.Challenge:
Make Computercraft able to interact with IRC. By this, I mean make an IRC reader that can interact with the channel #computercraft, and be able to update a website with it's results. Doing this would allow Computercraft to pull information from #computercraft via the HTTP api, thus being able to display #computercraft on terminals/monitors.
Ummmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.Don't know…….You quoted my post twice….Why?
I'm actually working on that right now. having a little problem with the sending/receiving, as i have been trying to test on servers, but…….lots of rednet spammers keep messing up what I get… :)/>/>Soooooo, how about a chat system. That can have multiple people in it.
Smartest would be to have a "server" where the info about the chatting computers are.
You know, a computer tells the server that it wants to join. So the server tells everyone that already in the chat that someone just joined.
And so when someone send something, they will send it to the server, and the server will get it and then send it out to everyone.
I hope you get the point!
I made it work IN A WAY.Challenge:
Make Computercraft able to interact with IRC. By this, I mean make an IRC reader that can interact with the channel #computercraft, and be able to update a website with it's results. Doing this would allow Computercraft to pull information from #computercraft via the HTTP api, thus being able to display #computercraft on terminals/monitors.
It gets the website, but it gets the HTML code, but I don't want that…
Anyways, I could make it save the HTML code to a file, then it basicly copys the .html file part of the website…
So, yeah…
EDIT:Thats it…I need a hint on how to get just the chat instead of the html code…
> mine 12 50 30
or
> mine 32 45 Bedrock
will calculate fuel requirements for the operation and request fuel at start if not holding enoughI'll try that :(/>/>I made it work IN A WAY.Challenge:
Make Computercraft able to interact with IRC. By this, I mean make an IRC reader that can interact with the channel #computercraft, and be able to update a website with it's results. Doing this would allow Computercraft to pull information from #computercraft via the HTTP api, thus being able to display #computercraft on terminals/monitors.
It gets the website, but it gets the HTML code, but I don't want that…
Anyways, I could make it save the HTML code to a file, then it basicly copys the .html file part of the website…
So, yeah…
EDIT:Thats it…I need a hint on how to get just the chat instead of the html code…
Just parse the html into a tree and then generate a list from the corresponding branch? Google for 'html parsing' or something ; )
[hint: if you wanna cheat, I once found a rather good lua html parser on the web somewhere]
Soooooo, how about a chat system. That can have multiple people in it.
Smartest would be to have a "server" where the info about the chatting computers are.
You know, a computer tells the server that it wants to join. So the server tells everyone that already in the chat that someone just joined.
And so when someone send something, they will send it to the server, and the server will get it and then send it out to everyone.
I hope you get the point!
Removed dis text.I'm actually working on that right now. having a little problem with the sending/receiving, as i have been trying to test on servers, but…….lots of rednet spammers keep messing up what I get… <_</>/>Soooooo, how about a chat system. That can have multiple people in it.
Smartest would be to have a "server" where the info about the chatting computers are.
You know, a computer tells the server that it wants to join. So the server tells everyone that already in the chat that someone just joined.
And so when someone send something, they will send it to the server, and the server will get it and then send it out to everyone.
I hope you get the point!