Title: Path to lua programs in server
not sure if this goes here, but:
I am working with the new tekkit version released a short while ago (blue space style logo) and in the previous version there was a nice server side folder where I could drop files and have them be in the ROM on each machine. I ran a recursive find on my entire tekkit tree and could find no such folder (I searched for "alongtimeago", a file that exists in rom, and nowhere else). If someone can tell me where this path has gone, or where I should create a folder, I would greatly appreciate it.
Path to lua programs in server
Started by maldridge, Jul 02 2013 09:52 PM
13 replies to this topic
#1
Posted 02 July 2013 - 09:52 PM
#2
Posted 03 July 2013 - 09:33 AM
Split to new topic.
If you want to run alongtimeago, you can simply run: shell.run("rom/programs/secret/alongtimeago")
If you want to run alongtimeago, you can simply run: shell.run("rom/programs/secret/alongtimeago")
#3
Posted 03 July 2013 - 09:36 AM
Cranium, on 03 July 2013 - 09:33 AM, said:
Split to new topic.
If you want to run alongtimeago, you can simply run: shell.run("rom/programs/secret/alongtimeago")
If you want to run alongtimeago, you can simply run: shell.run("rom/programs/secret/alongtimeago")
imo he wants to know where to drop lua files on the server so they are in the ROM of all computers on the server
dont' the newer CC versions keep their lua folder in the zip file?
#4
Posted 03 July 2013 - 09:38 AM
Yes they do, but it can be split to its own folder labelled 'computercraft'
#5
Posted 03 July 2013 - 09:41 AM
As Pinkishu said, the lua folder (where the rom is) is now inside the zip (in older versions you needed to unzip, that's why you had a folder). But you can still add files to the rom (or override existing ones). Just make a folder in mods, called ComputerCraft, inside that another one called lua, and then one called rom. The path would be something like .minecraft/mods/ComputerCraft/lua/rom (not sure what the path is for tekkit, but it should be something like that).
#6
Posted 03 July 2013 - 10:03 AM
the path for the technic launcher is " .techniclauncher/{teknik - mod pack}/mods/ComputerCraft/lua/rom/programs/secret/alongtimeago"
The zip file containing computercraft now is the entire pack in zipped form. (it runs from the zip)
There are two ways to install, the most common now being drag and drop the zip into the mods folder. Uncommon way is to extract the zip into "ComputerCraft" folder in the mods folder. (you can change the rom folder in the zip or extract (extract is easier though))
The zip file containing computercraft now is the entire pack in zipped form. (it runs from the zip)
There are two ways to install, the most common now being drag and drop the zip into the mods folder. Uncommon way is to extract the zip into "ComputerCraft" folder in the mods folder. (you can change the rom folder in the zip or extract (extract is easier though))
#7
Posted 03 July 2013 - 06:58 PM
hmm, no dice.
I created the path inside the server mod folder, chown'd it to the server's user and stuck a few test files in it, and it is not available to the in game computers. I have a folder marked OCSLua, does that figure into any of this?
I have also restarted the server after making config changes.
I created the path inside the server mod folder, chown'd it to the server's user and stuck a few test files in it, and it is not available to the in game computers. I have a folder marked OCSLua, does that figure into any of this?
I have also restarted the server after making config changes.
#8
Posted 03 July 2013 - 07:32 PM
What does the folder structure in mods look like?
#9
Posted 03 July 2013 - 07:49 PM
maldridge, on 03 July 2013 - 06:58 PM, said:
hmm, no dice.
I created the path inside the server mod folder, chown'd it to the server's user and stuck a few test files in it, and it is not available to the in game computers. I have a folder marked OCSLua, does that figure into any of this?
I have also restarted the server after making config changes.
I created the path inside the server mod folder, chown'd it to the server's user and stuck a few test files in it, and it is not available to the in game computers. I have a folder marked OCSLua, does that figure into any of this?
I have also restarted the server after making config changes.
There should be a zip file inside the 'mods' folder named 'ComputerCraft.zip' (or similar). You need to extract the contents of that zip file into a folder called 'ComputerCraft' inside 'mods' folder and delete (or back up) the zip file. Then you can drop files into 'mods/ComputerCraft/lua/rom/programs' and it should be available on all computers. Hope this helps!
#10
Posted 03 July 2013 - 08:12 PM
here is the structure of mods/
I assume that the folder will supersede the zip? -- The computercraft folder is one that I created.
[email protected]:~/Tekkit$ ls mods [1.5.1]bspkrsCorev2.02.zip InventoryTweaks-1.54b.jar AdditionalPipes2.2.0.Tekkit.jar ironchest-universal-1.5.1-5.2.4.368.zip AnObsidianPlate-v1.1.zip MineFactoryReloaded-2.5.4-665.jar appeng-rv10-l.zip ModularPowersuits-0.6.0-444.jar backpack-1.7.8-1.5.1.zip MPSA-0.2.3-110_MPS-422.jar BuildCraft-1.5.1-3.5.0.Tekkit.jar mystcraft-uni-1.5.1-0.10.3.00.zip ChickenChunks 1.3.2.5.jar NetherOres-2.1.3-60.jar ComputerCraft OCSLua ComputerCraft1.52.zip OmniTools-3.1.2.0.jar dimensional-anchor-54.0.0.jar OpenCCSensors-0.1.5e.jar DimensionalDoors-1.5.1R1.3.5RC3-61.zip StevesCarts2.0.0.a109.zip ee3-universal-pre1g.jar ThermalExpansion-2.4.1.0.jar EnderStorage 1.4.2.4.jar tradebooth.0.3.zip GregsLighting-1.8.1-7.jar weaponmod immibis-core-54.0.2.jar WeaponMod.zip
I assume that the folder will supersede the zip? -- The computercraft folder is one that I created.
#11
Posted 03 July 2013 - 08:17 PM
You can go ahead and delete ComputerCraft1.52.zip
#12
Posted 03 July 2013 - 08:18 PM
Edit: please ignore the above poster unless you've also extracted the zip into the ComputerCraft folder.
Yes, that is correct. Inside the ComputerCraft folder should be a "lua" folder, and inside that, a "rom" folder. Inside that, two folders ("apis" and "programs") should be where you place the files you wish to add. Following that, you should be able to use Lua files placed inside. If that still doesn't work, please start the server, place a new computer, verify in-game that the computer cannot find the new files in the rom directory, then stop the server and copy and paste the console log here or to pastebin.
Yes, that is correct. Inside the ComputerCraft folder should be a "lua" folder, and inside that, a "rom" folder. Inside that, two folders ("apis" and "programs") should be where you place the files you wish to add. Following that, you should be able to use Lua files placed inside. If that still doesn't work, please start the server, place a new computer, verify in-game that the computer cannot find the new files in the rom directory, then stop the server and copy and paste the console log here or to pastebin.
#13
Posted 03 July 2013 - 08:25 PM
okay, I did that, but now the in game terminals say "cannot mount lua/rom"
edit, silly mistake, I forgot to make the folder readable to the server user. It all works now, thanks for the howto guys!
edit, silly mistake, I forgot to make the folder readable to the server user. It all works now, thanks for the howto guys!
#14
Posted 03 July 2013 - 09:46 PM
maldridge, on 03 July 2013 - 08:25 PM, said:
okay, I did that, but now the in game terminals say "cannot mount lua/rom"
edit, silly mistake, I forgot to make the folder readable to the server user. It all works now, thanks for the howto guys!
edit, silly mistake, I forgot to make the folder readable to the server user. It all works now, thanks for the howto guys!
You're welcome and good luck with your server!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











