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?
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.
I have seen a couple of these floating around, but none of them seem to fit my use case, so I made one.
As of now it will structure mods into proper zip files and repo folders. It will also allow you to insert mods and versions into the database, and update builds with the newly inserted mods.
It will not upload to your server automatically, but it gives you a nice folder that you can upload the contents of, and it'll "just work". It calculates MD5s and updates them in the database for a nice and easy transition. As of now, it will guess the mod name and version based on the jar name. It discriminates names and version by a hyphen.
appliedenergistics2--rv6-stable-6.jar => name: appliedenergistics2, version: rv6-stable-6
advanced-machines-61-0-1-jar => name: advanced version: machines-61-0-1-jar
I plan on adding a override for this later on, and the program will run fine, but if you want proper names, name your jars accordingly!
The program will ask you if you want to set pretty names. If you say yes, it will ask for a pretty name for each mod to insert. Otherwise, it will stick to the naming scheme like above.
This program requires solder to run on MySQL, so please make sure you have a remote account ready for the database solder runs on. If you want to update builds with this program, you will need to know the build IDs.
This is NOT a gui, you need to run it via a console.
Screenshots of use:
Feel free to ask questions or give feedback. And no, the program doesn't save your database info. Here's the source: https://github.com/MythTheWolf/SolderAutomate/blob/master/src/com/company/Main.java
Click Here to Visit our Fully MC Integrated Site
Custom Mod Pack and Server Community
CHECK OUT OUR MOD LIST
Automation, Tech, Magic, Space and beyond!
Minecraft 1.12.2 Release, 200+ mods and so MUCH MORE!!
Latest releases of your favorite mods.
Tailored configs and mod integration's.
Come join our community at https://www.worldautomation.net.
We have a dedicated server waiting for you, filled with adventure!
JOIN OUR DISCORD FOR SERVER NEWS AND EVENTS
DEDICATED, FAST, RELIABLE SERVER OPEN 24x7
Follow us on Twitter (@wa_revived)
And check us out on Facebook
Custom Launcher Available!
This is my modpack, it is made from mods focused on tech, warfare, space-exploring and industry, however it includes some furniture and decoration mods as well.
Here is a Discord server of the modpack, it includes all the info as well as help and support Discord server instant invite, Note: you do NOT need to register or log in to join the Discord server.
Mod suggestions are welcome !
The modpack also includes a server pack for those who want to make their own server and play with firends
This modpack includes everything needed to live peacefully and make the ultimate automated self-sustained factory and enjoy the ultimate matter-antimatter space war and discover strange new worlds and space where no minecrafter has gone ever before. There are soooooo many different possibilities...
Thank you for reading this, I hope you try the modpack, for any information feel free to join the discord and ask any questions