Jump to content

Search the Community

Showing results for tags 'computercraft'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Mandatory Reading
    • Global Rules
    • News & Announcements
  • General Technic
    • Cafe Lame
    • Platform Pagoda
    • Server Op Swap Shop
    • Bug Reports
    • Art Art Slap Slap
    • Modding Central
    • The Whale Box
    • Appeals
  • Middle America Suburbia
    • Off Topic Discussion
    • The Arcade
  • Modpacks
    • Hexxit II Discussion
    • Tekkit Legends Discussion
    • Blightfall Discussion
    • Tekkit Discussion
    • Hexxit Discussion
    • Attack of the B-Team
    • Test Discussion, Please Ignore!
    • Tekkit Lite Discussion
    • Tekkit Classic Discussion
    • Big Dig Discussion
    • Voltz Discussion
    • Hack/Mine Discussion
  • Servers
    • Hexxit II Servers
    • Tekkit Legends Servers
    • Tekkit Servers
    • Hexxit Servers
    • Attack of the B-Team Servers
    • Test Servers Please Ignore
    • Tekkit Classic Servers
    • Platform: A Custom Server Zone
    • Tekkit Lite Servers
    • Big Dig Servers
    • Hack Slash Servers
    • Voltz Servers
  • Modes
    • Survival Mode
    • Creative Mode
    • Hardcore Mode
    • Adventure Mode
    • Spectator Mode
  • Multiplayer
    • Multiplayer Meetup
  • News and Events
    • Technic News
    • Minecraft News
  • Mods
    • Mod Discussions
  • Gamepacks
    • Gamepacks Discussion
  • Maps
    • Maps Discussion
  • Skins
    • Skins
  • Servers
    • Servers
  • Technical Help
    • Technic Launcher
    • Minecraft Technical Help
  • Show Off Your Creations
    • Videos
    • Photos
    • Fan Art
  • Off-Topic Discussions
    • Gaming
    • General Modding
    • General Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Minecraft In-Game Name




Found 17 results

  1. Hello, I am new to LUA but not in programming. I am not understanding why my blockchain is not working. It is supposed to go 40 blocks down the row(Hence the for loop for count 40) Then when it gets to 40 come back(I need to change the 3 to a 2) but what it does right now is it digs the first wheat then stays there, then executes the turn then stops. Any ideas on how to fix?
  2. As you see by the title, I am trying to help a random person on the server I play on with ComputerCraft. He made a program called LockExe and he just sells it on the server. It is very simple program. It just reads for the password and when you input it, the computer outputs a redstone signal for 5 seconds out the left side and then stops, then the computer reboots back up to the startup screen where it asks for the password again. But I just discovered the 'terminate' feature through ComputerCraft and I do not think he knows about it. So I am trying to edit his code so it disables/makes it harder to terminate the program so no-one can just steal his code. But everything that I have tried with the code keeps breaking the program. I keep using the os.pullEventRaw and that can read for the terminate event and can make it do other things besides just terminate but there are issues that I have found with using that. The first and main issue is that the os.pullEventRaw stops the programs entirely, meaning that it no longer allows me to type anything in the computer and it insteads waits for the input of the terminate event. I do the terminate event and whatever I made it do after the input happens, it does. Like if I tell it to type something out after I do ctrl + t, it tells me it. But this means that the password cannot be typed in. The second issue is after I use ctrl + t to do that terminate event, I can just do it again and it will terminate that so it will bypass it anyway. Like I said before, I am trying to help him out with his program just so no-one can steal it. Btw, he did not ask me to do any of this, I am doing it because I wanted to see if I could. But it seems I need help. This is the coding of his program just incase it helps.
  3. Minepow Tekkit Legends IP: play.minepow.com Features Anti Grief w/ Modded block protection Online 24/7 Frequent Updates & Events Market shop is done through a GUI (no more messy shop warps!) Gem armor, ComputerCraft, ProjectE etc enabled for all players Earn money whenever you like, using our Jobs system Family Friendly Development team constantly working on new updates Custom Plugins Modified Gameplay ComputerCraft Exploit Fixed (ComputerCraft is enabled for all) Guns Disabled (PvE server) Chunk Loaders disabled (intensive) Land Marks disabled (intensive) Gem armor fixed (enabled for all) Our Community We're looking for friendly, fun, and kind players to join our community. We believe that we're a great community to be a part of. We have our own TeamSpeak server, game nights, contests, give-aways and much more. We go the extra mile in ensuring everyone has a great time on Minepow. We look forward to meeting you!
  4. Hi, I'd like to know how I can change the terminal width and size via the ComputerCraft config for my Tekkit Classic server. I've tried changing terminal_width and terminal_height, but they only seem to work on singleplayer and if I edit them on the server's config, nobody is affected. Here is my config... #MLProperties: name (type:default) min:max -- information #MLProp : computerBlockID (int:207) #MLProp : diskDriveBlockID (int:208) #MLProp : diskItemID (int:4000) #MLProp : diskDriveGUIID (int:100) #MLProp : enableAPI_http (int:0) #MLProp : modem_range (int:64) #MLProp : modem_rangeDuringStorm (int:1) # #Fri Jul 22 00:59:10 CEST 2016 terminal_width=100 terminal_textColour_g=255 modem_rangeDuringStorm=16 computerBlockID=207 diskItemID=4000 diskDriveBlockID=208 enableAPI_http=1 terminal_textColour_b=0 checksum=440 terminal_textColour_r=0 modem_range=64 diskDriveGUIID=100 terminal_height=36 What do I do? As you can see I've set terminal_height and terminal_width to twice the default, however, only the HTTP API setting seems to actually change something in this config file. I'm quite stumped here, my singleplayer configuration has no effect on servers too! If possible, I'd like to make the default text colour green as well, to make the ComputerCraft terminals on my server look like the RedPower computers.
  5. http://www.technicpack.net/modpack/tekkpack-1710.589766
  6. Upon trying to control redwire with computercraft the wire starts flickering weird (also doing this without computercraft) and after a while my server crashes here is the log file of the crash: http://pastebin.com/NcKWUQQL any ideas?
  7. Upon trying to control redwire with computercraft the wire starts flickering weird (also doing this without computercraft) and after a while my server crashes here is the log file of the crash: http://pastebin.com/NcKWUQQL any ideas?
  8. Hiho, I have a problem with the CarriageController and Computercraft. My Setup: There is a modem attached to both computer and Carriage Controller, the modems are connected by network cables. The Modem + Cable on the Controller are within the Template Carriage, so they are moving with the Controller. The problem: I use "peripheral.call("JAKJ_RIM_CarriageController_0","move",0,false,false) to move the Carriage one block down, this works fine. But when I use another move command (no matter if the direction is the same or different), the computer seems to crash, it doesnt react anymore, and neither CTRL+S or CTRL+R will help, only destroying and placing the computer again works. I've tried placing the Carriage Controller both in and out of the template carriage, yielding the same result. Has anyone encountered this problem yet or knows a fix ? Greetings Laudian
  9. i'm trying to make a gate that moves left and right no idea how to code with lua. Anyone have any ideas
  10. Hello guys, I'm working on a small project and I got stuck.. It is about Computercraft. I know this isn't the right place to ask for help. (Hoping that somebody here knows a thing or two about Computercraft & is willing to help out) Here's what I'm working on and what I'd like to achieve: I got a computer on right side and I'd like to have constant redstone signal on top (for the red lights) -> "no go / closed air lock doors" And when I right click on it, it asks for the launch permission password, if you enter the correct password it sends a redstone signal on the bottom block for 40 seconds which then lights up the green lights and opens up the air lock frame. After 40 seconds it reboots/restarts. And this is what I wrote so far, of course it doesn't work, hence why I seek for help :/ ("edit startup") while true do rs.setOutput("top",true) print("Enter the launch password: ") password = read() if password == "blabla" then print("Launch sequence has been initiated!") rs.setOutput("top",false) rs.setOutput("bottom",true) sleep(40) rs.setOutput("bottom",false) os.shutdown() end Any help is appreciated and once again I apologize for posting here. -kind regards- Gomo EDIT: Got the problem solved. Here's the code for those who want something similar. rs.setOutput("top",true) rs.setOutput("bottom",false) while true do print("Enter the launch password: ") password = read("*") if password == "blabla" then print("nLaunch sequence has been initiated!") rs.setOutput("top",false) rs.setOutput("bottom",true) sleep(40) rs.setOutput("bottom",false) rs.setOutput("top",true) print("Launch sequence complete.") else print("nInvalid password.") end sleep(3) term.clear() term.setCursorPos(1,1) end
  11. Hey, M1r077 asked to see my RIM lift, so I'm making this post Here is an imgur album of the lift I use RIM controlled by CC's computers, I commented them in English (I have a bad English). They all work, I just tested them, however, there are constants at the start of the scripts you may need to change according to your setup, like the side of the modem, the controller, or adapt your screen size The lift's "motor": pastebin get EgCcCsg8 startup The call button: pastebin get imBR1Zs2 startup The screen's script: pastebin get R1T6yuHj startup The API used in the screen's script: pastebin get bJC6XrfH screenAPI If you find a bug, have a question or a suggestion, please go ahead, I'll be happy to help/get helped
  12. I just spend an amazing amount of time getting this to work, and I have seen no known solution for it so far. So, here's mine. It may be outdated now, and may not work for you. I haven't tested it well, but my server booted, and I could log in. Related problems - https://github.com/MinecraftPortCentral/Cauldron/issues/1657 https://github.com/MinecraftPortCentral/Cauldron/issues/980 Poor SW9876 of Github, I can't message you directly. -.- Anyways, this is upgrading Ultra Modded Survival Server v1.4.6 http://www.technicpack.net/modpack/details/ultra-modded-survival-pack.266012 So, enough linking is enough. How do I get computercraft to properly update redstone outputs with UMSP? Update from MCPC+ to Cauldron. It's harder than it sounds to figure out, but pretty easy to do. First things first, you need - 1. Your server file for Ultra modded survival. 2. cauldron-1.6.4-1.965.21.197-installer.jar from: http://files.minecraftforge.net/Cauldron/ 3. forge-1.6.4- from: http://files.minecraftforge.net/ 4. run.bat from your server file. 5. minecraft_server.1.6.4.jar (I got this from https://mcversions.net/ and it seemed to work) So, create a new folder with 4 things - cauldron-1.6.4-1.965.21.197-installer.jar, forge-1.6.4-, run.bat, minecraft_server.1.6.4.jar Follow step 5 from here - http://cauldron.minecraftforge.net/wiki/primer-for-cauldron-and-forge/ Or, follow my quick instructions below. Navigate to your new folder in command prompt. Enter in the command below. java -jar cauldron-1.6.4-1.965.21.197-installer.jar --installServer ('--installServer' does require the S to be a capital.) Let it run. Then, run forge-1.6.4- in java (not in a command prompt). Select "Install server" and navigate to your server base folder (where run.bat resides). Hit OK. It will install forge, but no more dependencies. Now, run your run.bat file, after changing it to reference the new server file. Your run.bat file should contain something like: java -Xmx4G -Xms1G -XX:MaxPermSize=256M -jar cauldron-1.6.4-1.965.21.197-server.jar nogui pause Let it just run, make sure it works. Now, last things last. Lets move over your server files. MAKE SURE YOU BACKUP AND ONLY DO COPIES! MOVE OVER 6 THINGS. DELETE PREVIOUS VERSIONS FOR BEST RESULTS. 1. assets 2. config 3. Flan 4. hats 5. TCPlayerData 6. Your world file data. (For me it's 'world') Run your server, ensure it works. No further modifications were needed for it to work for me. A thanks to the whole Forge team, the technic launcher team, dan200, lyqyd, blood, and everyone else who contributes to the modding community! Sorry for the lack of organization and proper grammar, and clearness of instructions. I sacrificed sleep to get it working, I thought i'd sacrifice a bit more to get you guys a working fix. Also, sorry if this isn't in the right place. Happy Minecrafting!
  13. I am trying to use the computer access port from the Big Reactors mod to be able to access my reactor through a computer, but something doesn't seem to be working. I want to use the .getEnergyProducedLastTick function(?) and print it as a string, but when it is printed, it is printed as a nil value, meaning that it either crashes the program, or when I use the tostring() function(?) it shows me a weird set of numbers and letters. What am I doing wrong? Here are the two programs I am using. One of them is for a computer connected to a monitor, the other is for the computer connected to the reactor. monitor computer: mon = peripheral.wrap("top") mon.clear() connect = peripheral.wrap("back") connect.open(25565) local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message") if message == "connected" then mon.clear() mon.setTextScale(1.4) mon.setCursorPos(10,2) mon.write("CONNECTED TO REACTOR!") connect.transmit(25565,25565, "iw") os.sleep(2) mon.clear() end repeat local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message") connect.transmit(25565, 25565, "it") mon.clear() mon.setTextScale(1) mon.setCursorPos(1,1) mon.write("The Current Amount of") mon.setCursorPos(1,2) mon.write("Fuel is:", message) print(message) until message == 0 if message == 0 then mon.clear() mon.setCursorPos(1,1) mon.write("OUT OF FUEL!!!!") end and the reactor computer, connect = peripheral.wrap("right") connect.open(25565) reactor = peripheral.wrap("front") if reactor.getConnected() == true then connect.transmit(25565,25565,"connected") sleep(1) end repeat fAmount = reactor.getFuelAmount Amount = tostring(fAmount) connect.transmit(25565,25565, Amount) sleep(1) until fAmount == 0 in this exact example I am actually using the get fuel amount function(?). Oh, and by the way, each (?) after the word function is me asking if that is the right word to use for that line of code.
  14. So I'm trying to do a big project in ComputerCraft, and I wanted to change the distance that modems operate on(and the terminal text color, less important, still fun), here's what I'd like the file to look like: #MLProperties: name (type:default) min:max -- information #MLProp : computerBlockID (int:207) #MLProp : diskDriveBlockID (int:208) #MLProp : diskItemID (int:4000) #MLProp : enableAPI_http (int:0) #MLProp : terminal_width (int:50) #MLProp : terminal_height (int:18) #MLProp : terminal_textColour_r (int:0) #MLProp : terminal_textColour_g (int:255) #MLProp : terminal_textColour_b (int:0) #MLProp : modem_range (int:512) #MLProp : modem_rangeDuringStorm (int:512) # #Tue Jun 03 21:10:24 EDT 2014 terminal_width=50 terminal_textColour_g=255 modem_rangeDuringStorm=512 computerBlockID=207 diskItemID=4000 diskDriveBlockID=208 enableAPI_http=0 terminal_textColour_b=0 checksum=440 terminal_textColour_r=0 modem_range=512 diskDriveGUIID=100 terminal_height=18 However, each time I open my tekkit installation through the launcher it reverts it back to the following: #MLProperties: name (type:default) min:max -- information #MLProp : computerBlockID (int:207) #MLProp : diskDriveBlockID (int:208) #MLProp : diskItemID (int:4000) #MLProp : enableAPI_http (int:0) #MLProp : terminal_width (int:50) #MLProp : terminal_height (int:18) #MLProp : terminal_textColour_r (int:255) #MLProp : terminal_textColour_g (int:255) #MLProp : terminal_textColour_b (int:255) #MLProp : modem_range (int:64) #MLProp : modem_rangeDuringStorm (int:16) # #Tue Jun 03 21:10:24 EDT 2014 terminal_width=50 terminal_textColour_g=255 modem_rangeDuringStorm=512 computerBlockID=207 diskItemID=4000 diskDriveBlockID=208 enableAPI_http=0 terminal_textColour_b=0 checksum=440 terminal_textColour_r=0 modem_range=512 diskDriveGUIID=100 terminal_height=18 Any help is greatly appreciated, I would prefer not to have to start all over with updated mods and such.
  15. Ever wondered how to make circles in Minecraft ? Well if you're as lazy as I am, you'll want to have a turtle doing it for you, and spend a week working on the program that does it in twice the time it would have took you. And I have good news, because I already spent my week on this program ! You can get the program on pastebin: pastebin get 0v97Mcmu cylinder How it works: -Place the turtle (you don't need a fancy turtle, a normal one is enough) one block above the one you want the circle in, like this: -Run the program with appropriate parameters, for example cylinder 3 1 asks for a cylinder with a radius of 3 (wich gives a diameter of 7) and 1 block tall, and gives this: The cylinder builds upward, so it builds another circle above the previous one Examples of circles: The redstone lamps represent blocks that are not part of any circles Example of builds with the program Don't forget to put blocks in the turtle's inventory ! If you don't have enough fuel, the programs says how much you need, it's an estimation but it's close. But why stop at building cylinders, when you can dig one ? Presenting the digging program: pastebin get GAcEdHKC digCylinder It can dig up, down or in front of the turtle, place it the same way as the cylinder turtle, in front, above or below the center of the cylinder you want to dig out Enter parameters, for example digCylinder 3 2 up It will dig a cylinder of 3 blocks radius and two blocks high above the turtle. This pit was dug up by a turtle, its radius is 6 including the walls, they were built by the cylinder program Example of how the digging porgram works with "front" as direction parameter. I would like feedbacks ! If you have an idea on how I can improve them, or have a request, please go ahead. Thanks for your time ! It could be improved with the new CC 1.63 features, I can't wait for it to be in Tekkit CC addons were updated for the latest version, the only problem now might be MFR's rednet cables integration since CC 1.63 does not support them natively any more, but now includes an API which makes it easy for a mod author to add compatibility The circle making algorithm is based on this
  16. I hope this is the best place to ask this I am looking to make a system to automatically harvest crops from the magical crops mod. I have been recommended to use turtles from computer craft but when looking at the API I couldn't find a command to check if the crops are fully grown is there one? Is there a better mod to use to harvest? I have heard thelmcraft golomes work but they are laggy and unreliable. I want to use steve's carts 2 but aparently the farmer doesn't work with non-vanilla crops. Thank you in advance PS: I am using the Serendipity Unlimited pack but I am using it single player (on the multiplayer turtles are banned so their forums aren't really helpful for turtle questions)
  17. So, I've been playing tekkit for a short while now and I need computers to control a lot of stuff, but I can't find a way to use the bundled Project Red cables. So what is the best way to set multiple redstone devices from one side of the computer?
  • Create New...