ComputerCraft Pocket Computer Reactor Control

Discussion in 'Programming' started by LeiserGeist, 30 June 2014.

  1. LeiserGeist

    LeiserGeist Gamer, Software Developer

    Joined:
    26 October 2012
    Messages:
    479
    Likes Received:
    116
    Basically, a while back when I first got my big reactor running, I needed a way to control the output and wanted to be original and not use random basic scripts that others have released - then I realized Pocket Computers were just added.

    I'll release the code once it's more refined. Right now it only supports one client/user and is slightly buggy and complicated.

    The scripts I developed allow the following
    • Components
      • A server computer located somewhere near the reactor, connected to the reactor itself and a wireless modem
        • Pings and keep-alives the pocket computer.
        • Receives info from the reactor, parses it, and sends info packets to the pocket computer.
        • Receives command packets from the pocket computer and controls the reactor with them.
      • A pocket computer running a GUI
        • Pings and keep-alives the server.
        • Displays a GUI with controls on the top and information/status on the bottom.
        • Sends command packets to the server when a button is pressed.
    Screenshots
    My new-ish reactor cooling tower, exterior.
    [​IMG]
    The entryway, showing the server and reactor.
    [​IMG]
    The reactor's CC port, running into the floor (ugly WIP, since it can't go on the bottom).
    [​IMG]
    The control server - the wired modem is on the bottom.
    [​IMG]
    The Pocket Computer's ugly GUI - disabled.
    [​IMG]
    The Pocket Computer's GUI - Automatic mode.
    [​IMG]
    The Pocket Computer's GUI - Manual 60% (Same for the other percents, except for the top right value and status).
    [​IMG]
     
  2. LeiserGeist

    LeiserGeist Gamer, Software Developer

    Joined:
    26 October 2012
    Messages:
    479
    Likes Received:
    116
    The CC FTP/IDE seems to be down at the moment, so I'll clean up and post the code when that's back up.

    Also, if anyone knows how to make posted images smaller without editing them, let me know please.
     
  3. fxstriker

    fxstriker Good Bye skcraft.

    Joined:
    14 January 2012
    Messages:
    259
    Likes Received:
    35
    Looks cool :)

    the act of making the file type smaller would count as editing it.... there no way of making something smaller without editing it you will have to do something like this...

    1.you could chose a different format that would make it smaller but quality would drop jpg would be okay if transparency was not needed, if transparency is needed you could try gif but the quality would take a substantial hit
    this is assuming you started with png.


    2.you could re-size it but you would lose a bit of quality you could

    3.zip it but that's not an option if you wanted to embed a picture somewhere and is more of a storage solution for stuff you don't use a lot

    4.or you could crop it
     
  4. LordRedstone

    LordRedstone Best Coder 2k15

    Joined:
    14 June 2012
    Messages:
    391
    Likes Received:
    73
    I don't think you can do it directly on the forums, but if you upload the image to http://postimage.org then it let's you resize the picture easily.
     
  5. LeiserGeist

    LeiserGeist Gamer, Software Developer

    Joined:
    26 October 2012
    Messages:
    479
    Likes Received:
    116
    T
    Sorry, I meant make the dimensions smaller. I probably could have worded that better :p
    Like some forums have img tag params that let you change the size.
    Thanks anyway though lol
     
  6. SchwertKruemel

    SchwertKruemel New Member

    Joined:
    8 October 2014
    Messages:
    1
    Likes Received:
    0
    Hey, the programm looks very awesome. Where can i download it?