6 posts
Posted 26 October 2012 - 11:20 PM
So I just started trying to figure out this lua coding. If confusing and I think it would be easier to copy and paste some of the codes into the console but it doesn't seem to work. Is there a way to do this? Because a code I found that I like happens to be 2000 lines long and pasting line by line will take me forever. I do not know why they made it that long but oh well. Any suggestions?
P.S.
I'm trying to setup a cc controlled reactor with a 3x5 monitor. Can't fine a short and sweet code for on/off for 5 reactor or power lvls/eu output.
2088 posts
Location
South Africa
Posted 26 October 2012 - 11:27 PM
Well, copy the code into a file either within the ID of the computer or within the mod folder.
Tekkit_Server_3.1.2modsComputerCraftluaromprogramscomputer
or in appdata:
AppDataRoaming.techniclaunchertekkitmodsComputerCraftluaromprogramscomputer
6 posts
Posted 26 October 2012 - 11:30 PM
Well, copy the code into a file either within the ID of the computer or within the mod folder.
Tekkit_Server_3.1.2modsComputerCraftluaromprogramscomputer
or in appdata:
AppDataRoaming.techniclaunchertekkitmodsComputerCraftluaromprogramscomputer
Only problem is it is not my server so I do not have access to the files. :D/>/>
2088 posts
Location
South Africa
Posted 26 October 2012 - 11:34 PM
Oh then upload it to
pastebin and then get the ID from the upload eg:
www.pastebin.com/qwertyy1qwertyy1 is the 'ID' of the code. Now in the game, go to a computer and type:
pastebin get qwertyy1 startup
It download's the content in on the website and saves it to the file called 'startup'.
In order for this to work, HTTP api needs to be enabled. Ask the server host to enable it if it isn.t
6 posts
Posted 26 October 2012 - 11:36 PM
Oh then upload it to pastebin and then get the ID from the upload eg:
www.pastebin.com/qwertyy1qwertyy1 is the 'ID' of the code. Now in the game, go to a computer and type:
pastebin get qwertyy1 startup
It download's the content in on the website and saves it to the file called 'startup'.
In order for this to work, HTTP api needs to be enabled. Ask the server host to enable it if it isn.t
Thank you abunch! Life saver ;p
6 posts
Posted 26 October 2012 - 11:45 PM
Oh then upload it to pastebin and then get the ID from the upload eg:
www.pastebin.com/qwertyy1qwertyy1 is the 'ID' of the code. Now in the game, go to a computer and type:
pastebin get qwertyy1 startup
It download's the content in on the website and saves it to the file called 'startup'.
In order for this to work, HTTP api needs to be enabled. Ask the server host to enable it if it isn.t
So if it says no such program, that means its not enabled?
1214 posts
Location
The Sammich Kingdom
Posted 26 October 2012 - 11:58 PM
Oh then upload it to pastebin and then get the ID from the upload eg:
www.pastebin.com/qwertyy1qwertyy1 is the 'ID' of the code. Now in the game, go to a computer and type:
pastebin get qwertyy1 startup
It download's the content in on the website and saves it to the file called 'startup'.
In order for this to work, HTTP api needs to be enabled. Ask the server host to enable it if it isn.t
So if it says no such program, that means its not enabled?
Yes, the pastebin program will only show up if HTTP is enabled.
2005 posts
Posted 27 October 2012 - 12:39 AM
There is a solution in the works for this, but if http is disabled then you can try a program that "types" input into the focus window. Here's one.
Minecopy V2 [Linux][Windows] in
API's and UtilitiesBe sure to read the whole thread, there are links to other similar utilities.