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

[1.6][InDev] ComputerCraft Web Port

Started by TrovadorUrbano, 19 May 2014 - 04:14 AM
TrovadorUrbano #1
Posted 19 May 2014 - 06:14 AM
Current version: 0.0.1-InDev

MUST TO READ
Very important note
This program is dependendant on OpenPeripherals so you might want to install that mod or ask to your server admin to add to the server modpack sorry for the inconvenient

Some days ago i posted an idea on this forum (http://www.computerc...post__p__178043)
(if you dont want to see the post maybe you want to see this video [media]http://www.youtube.com/watch?v=gW0LUueZVdM[/media])
Tonight (00:07 here) im releasing the first dev version of this idea and citing some of what i said, this program its mainly focused for smp servers but if you want let your ssp world opened and then go to school/work/party … well …you can
For now, my main problem is the time, but i hope it can be working (the program) in a few weeks, but i do really want to know what do you think about it

Instructions for instalation:
Instructions
  • If its disabled, enable (ask to your server admin to enable) the http api of computercraft (just go to the config its very easy)
  • Install on your computer the CCWP Installer copypasteringo ► pastebin get w4DZjPR3 installer
  • Run the installer
  • The installer program will automatically update a file called "installer" with the last version of it and will create/update a folder called CCWP wich contains all the codes to work with CCWP DONT DELETE IT.
  • If you choosed to not have an startup file, you can run the main program with this command: "CCWP/webcontrol"
  • When running it will throw a 10 alphanumeric code that is your "ComputerKey", copy and save it in a safe place
  • Login to http://ccwp.herobo.com/ write your ComputerKey in the input box and click "Get Status" to see all your items in the web page!
IMPORTANT NOTE
Every computer running the program will throw a different Key, so you may need multiple windows if you run multiple instances of the program

I hope to continually update this project, but i'll always welcome your reviews, suggestions, comments or whatever

Feature List:
  • Online view of connected chests
    • Current Mods supported for storage view:
      • Iron Chests
      • Better Storage
      • Applied Energistics (must connect via cable to a ME Controller)
Changelog:
  • 20/10/14 0.0.2-inDev
    • Changed (again) the web server to a brand new one
    • Changed web side login system to a simple key asking system, you only need the computer key to access the info
    • Changed a bit the code so it won't overload the web server
    • Still only allows visualization of inventories
    • Edited install instructions on the main post
  • 19/05/14 0.0.1-InDev
    • First dev version of the app
    • Features:
    • Online view of storage
      • Current Mods supported for storage view:
        • Iron Chests
        • Better Storage
        • Applied Energistics (must connect to a ME Controller)
WIP
  • More mods compatibility
  • Energy net view
TO-DO list
  • Web-side rs signals toggling
Edited on 20 October 2014 - 02:41 PM
viluon #2
Posted 19 May 2014 - 07:10 AM
Ehm, feature list?
TrovadorUrbano #3
Posted 19 May 2014 - 07:21 AM
Ehm, feature list?
it is in the changelog (its a mini feature list for now), copied anyway to a new section
Wojbie #4
Posted 19 May 2014 - 08:11 AM
I love how one and more people can get similar ideas and go completely different way with them :D/>
I has spend last 2 weeks working on My little web-based terminal that can be used as redirect target. It allows to duplicate or redirect contents of any computer terminal (or monitor) onto web-page and can trigger mouse-click and key/char events.
Still debugging it but i thought i would post it here for you to take a lookse. I should post it when its done - soonish™ :D/>
flaghacker #5
Posted 16 June 2014 - 10:33 AM
I would really like to use this, but when I click on "Sign up" on that site it gives a weird error:

										[font="Arial"][size="1"][color="#000000"][b]PHP Error Message[/b][/color][/size][/font]			

[b]Parse error[/b]: syntax error, unexpected T_ELSE in [b]/home/a1168395/public_html/minecraft/computercraft/signup.php[/b] on line [b]104[/b]


[center][url="http://www.000webhost.com/"][font="Arial"][size="1"][color="#000000"]Free Web Hosting[/color][/size][/font][/url][/center]
chrdov #6
Posted 30 June 2014 - 12:41 AM
error from website:

Parse error: syntax error, unexpected T_ELSE in /home/a1168395/public_html/minecraft/computercraft/signup.php on line 104
flaghacker #7
Posted 08 July 2014 - 09:13 PM
error from website:

Parse error: syntax error, unexpected T_ELSE in /home/a1168395/public_html/minecraft/computercraft/signup.php on line 104

Sounds familiar… :P/>
TrovadorUrbano #8
Posted 20 October 2014 - 08:23 AM
Hope I'm not reviving the post, i've made some changes to the program so it will not overload the *cof*free*cof* web server and will not crash it every hour, also im gonna be working on this project this month so i hope to bring you a really better system than this (its pretty weird i know).
Ive been testing for about an hour and it don't seem to be throubling by the moment so feel free to test it, hopefully i can implement cookies (or something similar) tomorrow so you dont have to be writting and writting that key code (sorry for that but im very tired and tomorrow i go to work and school)
Here the (mini) changelog
  • Changed (again) the web server to a brand new one
  • Changed web side login system to a simple key asking system, you only need the computer key to access the info
  • Changed a bit the code so it won't overload the web server
  • Still only allows visualization of inventories
  • Edited install instructions on the main post
Edited on 20 October 2014 - 06:27 AM