Jump to content




1.4 Internet


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

#1 Bug_out47

  • New Members
  • 8 posts

Posted 29 March 2012 - 04:48 PM

I know that this concept has been done before, but in single player only. What if in 1.4 you could use a computer to connect to the Internet, and what I mean by that is an actual Internet server modified for ComputerCraft. The possibilities of what could be accomplished would be amazing ( stock market trading, world sharing, online storage and program database). If this or any feature like this were to be implemented I would be happy to help with the physical server. If this seems like a good idea please pm me or post your suggestion, and please help this thread come to the attention of moderators or dan200. Any support would be greatly appreciated.

#2 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 29 March 2012 - 05:11 PM

You can use http api and create your own service you know?

#3 Bug_out47

  • New Members
  • 8 posts

Posted 29 March 2012 - 05:15 PM

But what I was going for is a worldwideweb so to speak. For instance later on if this was made compatible with an npc and economy mod for single player you would have a stock market running with one price per stock around the world (physical world not minecraft), and you could also have this page in the Internet and have support and programs tha can be downloaded and installed right there without leaving minecraft.

#4 Bug_out47

  • New Members
  • 8 posts

Posted 29 March 2012 - 05:18 PM

Sorry for the double post but it could also be used with multiplayer servers possibly and synced with the economy plugin, email, factory's, etc without having to wire everything or make the custom program to control another terminal it would be like using remote desktop for windows.

#5 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 29 March 2012 - 05:18 PM

As I said: You can create a site like this yourself and just access it with the http API

#6 Bug_out47

  • New Members
  • 8 posts

Posted 29 March 2012 - 05:28 PM

I know that this is possible but it is limited to being in that single world or server and has to be run off of another computer in that world or server what I am suggesting is to have a physical server (which I can provide and setup) and have an Internet program be included with the mod and no matter what world or server you are in you can access the same exact page.

#7 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 29 March 2012 - 05:45 PM

Yeah http API is an API that gives access to the WWW. You have to activate the API in the config first

#8 xuma202

  • Members
  • 288 posts
  • LocationBonn Germany

Posted 29 March 2012 - 05:46 PM

Yes you have to ensure that your program is running on every Computer on wich you want to use it.
But I think this will never be in another way.

If your lua program is hooked up to an online (MySQL) DB-Server you could by using some PHP scipts and Get-Variables. Create everything you have ever imagined. You can make everything you can do with PHP and a DB.
This can go across Servers and Worlds live.
You can even go vice versa and controll you MC Monitors/Turtles by anything that can connect to the Internet (Smart Phone, Tablet) You could even buy an Arduino and create your own devices controlling billions of MC worlds. Simultaneously!
I know this would be AWSOME!!

#9 Bug_out47

  • New Members
  • 8 posts

Posted 29 March 2012 - 06:26 PM

This is exactly what i was looking for. I would love to see a feAture like this implemented in an upcoming version. My only limitation is programming , but if there is an lua programmer that would like to help with this project pm me. I can take care of all the hardware for the actual server I just need the program to run on it.

#10 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 29 March 2012 - 06:38 PM

This is implemented already, it's just that you need to create the web site and the program to do what you want. But you can access the internet (the real one) from CC computers, this is how the pastebin program works (and ccget), it access the pastebin site to get the files.

#11 EatenAlive3

  • New Members
  • 53 posts

Posted 29 March 2012 - 06:49 PM

You don't need to host anything, nor does every computer need to have access to it. All you need to do is active the HTTP API in your CC configuration. You can use it to get the data from any website that your real-life computer can access, including this one, computercraft.info.

The only thing you would need to view regular sites is a browser, which as far as I know, no one has yet created. However, you can get the raw data from a website's source with nothing but the HTTP API alone.

Edit: Oh, I see, you wanted a dedicated server for multi-world communication. Then go host it, and get someone to program and release the code for you. You don't need dan200's permission.

#12 Bug_out47

  • New Members
  • 8 posts

Posted 29 March 2012 - 07:00 PM

I should clarify when I meant www I meant a modified version for computer craft so that it could be controlled and used with possibly other mods like for instance say you have a mod for npcs and an economy you can log in to your computer and take 100 dollars of your in game money and invest in the craft market ( minecraft equivalent of the stock market) and then sell the stock you purchased when it went up in price. You could then use the money to buy a diamond in minecraft. The reason I am suggesting a modified version of the Internet but not the www is that it can be controlled for special functions tailored for minecraft. Think of it as rednet in a server but the same exact rednet in every server or singleplayer world with a few special features added.

#13 xuma202

  • Members
  • 288 posts
  • LocationBonn Germany

Posted 29 March 2012 - 07:11 PM

Well then the computer craft would have to interact with your economy plugin/mod. I think this would be easiest if someone develops a Peripheral mod wich can give you items and turn them into money and a way to earn money in game maybe by using up your XP or so.

I don't think that something like that should be integrated in CC maybe an add-on

#14 Bug_out47

  • New Members
  • 8 posts

Posted 29 March 2012 - 07:21 PM

Well taking away the possibility of other plugins or mods it would still have applications for servers like social networking money transfers programming and downloading applications. Is it possible to create a server and client such as a graphical browser. I'm new to lua but I have the ability to host it so I would need some help in programming.

#15 xuma202

  • Members
  • 288 posts
  • LocationBonn Germany

Posted 29 March 2012 - 07:57 PM

Also already thought about something like a web browser for CC but as far as I know never created something like this in Lua. One limit would alos be displayability. Dan is not going to add full color single pixel controllable Monitors because of SMP support. But if someone develops a Peripheral. Then you still need the best Lua Programmer in world. I guess it would be possible.

#16 Liraal

  • New Members
  • 477 posts
  • LocationPoland

Posted 29 March 2012 - 08:00 PM

graphic is a no, but a text-only web client shouldn't be that hard. Just to get rid of all the useless metadata in website source.

#17 Bug_out47

  • New Members
  • 8 posts

Posted 29 March 2012 - 08:13 PM

Thank you for the information and quick responses. What is a good way to get started with lua or is there a lua programmer that would be able to help me with this concept.

#18 xuma202

  • Members
  • 288 posts
  • LocationBonn Germany

Posted 29 March 2012 - 08:24 PM

Would be interested. I have some programming knowledge in Delphi, Pascal, PHP but I'm not a good lua programmer although the list of commands is short. So may can help a bit.

#19 Ivan Uginhigher

  • New Members
  • 3 posts

Posted 03 April 2012 - 12:30 AM

minecraft interserver web seems to be a great idea

#20 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 03 April 2012 - 02:02 AM

I'm currently working on a mod for Computer Craft (modception - mod inside of mod).
Current status:
Working on receive + view picture's on webpage

Done:
Basic GUI
Click + Type *Much like windows!*

Ideas:
Voice communication (inside minecraft smp + multiplayer)
Voice commands (might aswell make a plugin for it like window's voice command)

Any Suggestions, PM Me or Quote me.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users