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.
Website || Community Forum
Server Address: tekkit.craftersland.net:25567
Our Tekkit adventure started with Tekkit now called Classic, that was a long time ago but we love Tekkit and we are now here with the latest version!
> Hosted in USA in a DataCenter on a Dedicated Server.
> Online 24/7.
> Powerful Land Protection with MyTown mod to keep your work safe from grief. Create Towns and Nations!
> PvP and PvE, Clans.
> Economy: Server Shops , Players Market, Trades, Vote Rewards.
> Few restricted items (details below)
> Optimized for minimal lag.
> Turtle's and Quarry's are 100% safe to use.
Disabled Mods: Balkon's WeaponsMod - PvP protection bypass including spawn protection. InventoryTweaks - Item duplication bugs. Redstone in Motion - Used a lot for grief, protection bypass. Restricted Items: Matter Cannon - Applied Energistics - Protection bypass. Needlegun - MineFactory Reloaded - Protection bypass. SPAMR Launcher - MineFactory Reloaded - Protection bypass. Sacred Rubber Sapling - MineFactory Reloaded - A huge tree, once placed it takes space to up to 4 regions bypassing protection in the process and causing very low fps to clients. Plastic Bag - MineFactory Reloaded - Item Dupe Bug; Lux Capacitor - MMM Powersuits - Only restricted for block place for protection bypass. Creative StrongBox - Thermal Expansion - Item duplicator. Florb - Thermal Expansion - Protecion bypass. Confiscate Module - MFFS - Can steal players inventory's. Anti Personnel Module - MFFS - Killing players and stealing items. Desintegration Module -MFFS - Block Grief Sponge Module - MFFS - Fluid Grief Notes: The Mystcraft and DimensionalDoors worlds are wiped once per week to maintain the server stable and without lag - so do not build bases there! You can build towns on the main world, moon and mars, we don't know how stable the last 2 are so the main world is the safest for base building. Up to date restricted list can also be found >here.
Some of our major plugins:
Essentials Buycraft DirectSupport HeroChat PermissionsEX RandomSpawn GlobalMarket DynamicMap Clans VoteParty and Rewards. Crates.
CraftersLand is a Minecraft Community founded on August 2011, first started with a survival server after a wile we opened our first tekkit server now called tekkit classic. Now after more then 2 years we learned a lot and we try to provide as good and as advanced servers as possible. We also have a community forum where you can post problems on our servers or if you need any help.
Now some pictures with our Tekkit server:
[1.1.1] Spearhead Gaming Tekkit Legends || [PvE/Claims/Arenas] [Multiple Plugins] [No mods removed] || Fun & Fairness for AllBy Spearhead Gaming
SPEARHEAD GAMING TEKKIT LEGENDS
A fun, medieval themed PvE server featuring claims, custom content & plugins, no banned items, world anchors, kits, custom terrain, active staff, epic builds and much much more...
discord.gg/gjjqVQR ~ www.spearheadgamingnetwork.com
Server IP: tekkit.sphgaming.com
Discord Server: http://discord.gg/gjjqVQR
We are a sever for the players - everything we do is aimed at a more enjoyable, fun, fair experienced for our player. Our management staff have years of experience under their belts, and our moderation staff are trained and disciplined. Our team is always around to help you out and make your experience here the best that it can be. We are oriented around service and quality.
We strive to be different - we aim to provide a unique, original experience in Tekkit Legends, and put an immense amount of effort into our server, that many other networks are unwilling to do. Everything must be of as high a standard as possible, and we'll always do our best to achieve quality results. Our sever is constantly being updated to ensure we are up to date with the modern community, and to ensure we are always bringing you fresh, new content.
We prioritise integrity - You may have seen many servers in your time, that use fake accounts to boost their numbers, use proxies to vote for themselves, lie about their specs and their community, and only care about their donors... Spearhead will never do this to our community, because we aim for absolute integrity and value an honest experience for our players.
Plugins: Many different quality and custom plugins that disable dupes, bugs, cheats and issues, and give the server an active economy, timed ranks, fun things to do, multiple worlds and much more. For security reasons we do not publicise a precise list of plugins.
Server Rules: The server does not allow hacking, cheating or unfair play of any kind. The chat, while controlled is fairly chill, we just ask you to keep it PG. A list of rules is available on our Website, Discord, Server or just ask any staff member.
Server Uptime: 24/7!
Not convinced? Here's a few reasons that our server stands above the rest....
The server is managed by staff with years of experience on modded servers It's Developed and Built by experts Our mod/admin staff are highly trained and disciplined Custom plugins have been developed to keep the bugs away Advanced security systems are in place to prevent cheating/griefing We allow claims to protect your builds, but have provided an arena in which to fight if you want! Large, detailed, epic exclusive builds are present everywhere you look We feature massive areas of custom, unique terrain We do not cheat our numbers or lie about our sever's stats No banned items World anchors and other highly useful items are available Nice donor perks are available, but the server is not pay to win Timed ranks And many, many, more reasons... Questions? Feel free to join our discord server, to ask any questions or get any help from staff (or just to chat!). http://discord.gg/gjjqVQR
Server Trailer Video:
[1.12.2] NightShade Pixelmon [PvE | 80 Slots | 24/7 | Pixelmon 7.0.6 | Teams | Events | KeepInv | Claims]By Jsnbrown1989
Come by and check us out.
Technic ModPack: https://www.technicpack.net/modpack/nightshade-pixelmon-server.1374867 (Or Just search "Nightshade Pixelmon" in the launcher)
-- This Modpack is for players with lower end PCs. A "NightShade Enhanced" modpack will be released within the week for those with higher end PCs as well. --
Server IP: play.nightshadepixelmon.com