Jump to content




Selector Touchscreen

utility computer

25 replies to this topic

#1 R167

  • Members
  • 24 posts

Posted 20 February 2013 - 07:19 PM

What it is
I have recently written a script for advanced computers and advanced monitors. It so far does nothing except for allow you to select the option that you want.

What it does
Currently, nothing. It has huge potential and the possibility to be expanded to larger monitors and control stuff, but for now, it just makes pretty colored text for the words on and off.

Goal
I hope to make this into its own fully standalone setup (not that it isn't already) that can control tier 5 spawners from the soul shards mod. I have not yet done so, but will post when it is done. Tip: If Redpower is installed, you can use cover strips to cover up the gold border around the monitor.

Setup
Requires an advanced computer witha monitor to the right (configurable) with at least the size of 4 wide by 3 high advanced monitors. Right click to change the state of things.

Script
Here is the script, you can directly download from pastebin.com if you have http access turned on in the config by pasting in
pastebin get 6jjXTe4m "name for script"
into the advanced computer.

Code on:
New code: http://pastebin.com/6jjXTe4m
Old code: http://pastebin.com/sdRpkiT1

Screenshots:
Spoiler

Old Code:
Spoiler

If you spot any errors, please point them out. :)

#2 AnDwHaT5

  • Members
  • 244 posts

Posted 21 February 2013 - 05:11 PM

Hmm im getting errors and im not good enough with functions to fix this issue.

#3 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 21 February 2013 - 05:13 PM

Tell him the errors and when they occur

#4 R167

  • Members
  • 24 posts

Posted 22 February 2013 - 05:25 PM

View PostAnDwHaT5, on 21 February 2013 - 05:11 PM, said:

Hmm im getting errors and im not good enough with functions to fix this issue.

What errors? Haven't gotten any except for a while ago before I had updated it. That was pre posting it though. Thanks for the feed back. Please list at lead the line the error was found on. Also, a reinstall might fix it. Thank you again.
R167

#5 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 23 February 2013 - 02:36 AM

Screenshots .. :}

#6 AnDwHaT5

  • Members
  • 244 posts

Posted 23 February 2013 - 09:26 AM

I will when I get home

#7 Cozzimoto

  • Members
  • 221 posts
  • LocationDallas, Tx

Posted 23 February 2013 - 09:35 AM

good stuff, sounds similar to what direwolf created on forgecraft. =P

#8 AnDwHaT5

  • Members
  • 244 posts

Posted 23 February 2013 - 11:25 AM

one error i get is term:16: Invalid redirect object. Thats a different one then i got before...

#9 marted

  • Members
  • 10 posts
  • LocationThe Cloud

Posted 24 February 2013 - 05:40 AM

Errors?

#10 TwelveEight

  • Members
  • 16 posts
  • LocationIn the TARDIS, somewhere in time and space

Posted 25 February 2013 - 07:50 PM

View PostAnDwHaT5, on 23 February 2013 - 11:25 AM, said:

one error i get is term:16: Invalid redirect object. Thats a different one then i got before...

That will happen if you don't read either the script or what the OP told you to.... -.-
No biggie, just place a 4 wide x 3 tall adv. monitor setup next to your advanced computer.

function sayState(n)
  if not n then
    return
  end

If I'm not mistaken, this calls (for lack of the right word) the advanced monitor. Without it, you get an error on line 16/17.

#11 R167

  • Members
  • 24 posts

Posted 12 March 2013 - 11:59 AM

Yes, 4 wide by 3 tall monitor is what this calls for. I also just made this program actually functional and with a purpose. It no has the bundled cable output!!! :) . Here is the link. http://pastebin.com/6jjXTe4m. It may or may not work. Just putting it up there for now.

#12 Amokaci

  • Members
  • 5 posts

Posted 12 April 2013 - 03:52 AM

Hello

i like the idea with that script

but i have a problem i used 1 advance computer and 12 advance monitor but i got a weired error can u help ?

i look at the code and all was fine

i typed: monitor right touch back

then this expand the spoiler:
Spoiler

i hope u can help me

#13 Amokaci

  • Members
  • 5 posts

Posted 12 April 2013 - 10:51 AM

fixed it sry

#14 EntwinedBirch

  • Members
  • 4 posts

Posted 01 May 2013 - 01:49 AM

I have a small problem. The display will appear on my monitor correctly, generally speaking, but at the bottom it tells me lua expected a number at line 213. Can you please help?

#15 darkrising

  • Members
  • 234 posts
  • LocationScotland

Posted 01 May 2013 - 04:32 AM

This is cool! :P

By the way I have a very similar program called dark buttons

#16 EntwinedBirch

  • Members
  • 4 posts

Posted 01 May 2013 - 12:48 PM

Sorry about that. I figured out the my issue was that I used lightGrey with colors. Small error in one letter.

#17 kauqilla

  • Members
  • 18 posts

Posted 03 May 2013 - 01:27 PM

what blocks are those used to suspend the cabling?

#18 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 03 May 2013 - 01:30 PM

View Postkauqilla, on 03 May 2013 - 01:27 PM, said:

what blocks are those used to suspend the cabling?
Its RedPower 2... It provides better cabling and the ability to have suspended cables...
The suspended ones have the identifier Jacketed in front of the cable name.

#19 kauqilla

  • Members
  • 18 posts

Posted 03 May 2013 - 01:35 PM

i meant the obsidian microblocks but its all good now

#20 starwind

  • Members
  • 8 posts

Posted 29 May 2013 - 04:03 AM

Hey ;)

Love your script, tho i have a question,

Is it possible to have this script send a singnal to a turtlee?


like i have a turtle shearing sheeps, would it be possible to turn them on and off from this script?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users