1847 posts
Location
/home/dannysmc95
Posted 26 June 2017 - 02:35 PM
Hi,
I can't remember how to setup custom programs and files for CC into a server. I heard about resource files, but not sure if these still work with servers or not? Normally I edit the CC Jar, would rather not if possible?
Thanks in advance.
2427 posts
Location
UK
Posted 26 June 2017 - 03:08 PM
I belive there is a special folder called "server resourcefiles" or something which are resources the just the server needs. The server also can have a "resource" folder but that's for things that clients will need.
1847 posts
Location
/home/dannysmc95
Posted 26 June 2017 - 03:34 PM
I belive there is a special folder called "server resourcefiles" or something which are resources the just the server needs. The server also can have a "resource" folder but that's for things that clients will need.
I am not sure what you mean? server resourcefiles has a space in, which makes me think if that's the correct name? Do you know where I can find out?
2427 posts
Location
UK
Posted 26 June 2017 - 05:50 PM
Have you tried giving the server a normal resourcepack folder? I'm begining to suspect that that will work.
7083 posts
Location
Tasmania (AU)
Posted 26 June 2017 - 11:03 PM
"resourcepacks" is the correct folder title.
1847 posts
Location
/home/dannysmc95
Posted 27 June 2017 - 12:51 PM
"resourcepacks" is the correct folder title.
Is it a zip or folder? like is there any documentation on the zip/folder structure?
1426 posts
Location
Does anyone put something serious here?
Posted 27 June 2017 - 02:21 PM
Is it a zip or folder?
Judging by the code,
both should work. It might have been a little quicker if you'd just tried this yourself though :P/>.
like is there any documentation on the zip/folder structure?
The same as ComputerCraft itself uses. So you should put your files in
assets/computercraft/lua/rom/.
Edited on 27 June 2017 - 12:22 PM
7083 posts
Location
Tasmania (AU)
Posted 27 June 2017 - 02:25 PM
1847 posts
Location
/home/dannysmc95
Posted 28 June 2017 - 08:51 AM
Is it a zip or folder?
Judging by the code,
both should work. It might have been a little quicker if you'd just tried this yourself though :P/>/>.
like is there any documentation on the zip/folder structure?
The same as ComputerCraft itself uses. So you should put your files in
assets/computercraft/lua/rom/.
I did try :(/> I can add it to my local minecraft, but the server one won't pick it up. Which is why I asked to make sure.
8543 posts
Posted 28 June 2017 - 08:03 PM
The only files that CC uses are the ones on the server. In a single player map, it just happens that the server is also your client.
1847 posts
Location
/home/dannysmc95
Posted 28 June 2017 - 08:27 PM
The only files that CC uses are the ones on the server. In a single player map, it just happens that the server is also your client.
Hmm so why won't it pick up the server files, but will pick up the local one.
7083 posts
Location
Tasmania (AU)
Posted 28 June 2017 - 11:48 PM
I think Danny's trying to say that adding his resource pack to his client works, but adding his resource pack to his server does not.
Beats me as to where the problem might lie, but odds are it'd be easier to work it out if a copy of the resource pack in concern were available.
1847 posts
Location
/home/dannysmc95
Posted 29 June 2017 - 09:00 AM
I think Danny's trying to say that adding his resource pack to his client works, but adding his resource pack to his server does not.
Beats me as to where the problem might lie, but odds are it'd be easier to work it out if a copy of the resource pack in concern were available.
Ahh yes, apologies let me zip it up and make it downloadable.
Link:
https://kaos-network.com/files/airwaves.zip
7083 posts
Location
Tasmania (AU)
Posted 29 June 2017 - 02:25 PM
That's not a valid resource pack file. Putting aside the hidden OSX filesystem rubbish you've bundled into it (which probably won't break anything, but still), you simply aren't following the instructions and examples I linked you to. You don't even have pack.mcmeta in place. :S
1847 posts
Location
/home/dannysmc95
Posted 29 June 2017 - 03:43 PM
That's not a valid resource pack file. Putting aside the hidden OSX filesystem rubbish you've bundled into it (which probably won't break anything, but still), you simply aren't following the instructions and examples I linked you to. You don't even have pack.mcmeta in place. :S
Oh apologies, I didn't read that correctly! I see, so why would it work on local and not the server? Hmm I shall look into that now. Apologies; and yes the OSX stuff always gets put in there :/ It's quite annoying.
8543 posts
Posted 30 June 2017 - 03:36 AM
Also, "let me zip it up" may be part of the problem. If I recall correctly, at least CC wants its resource packs to be resource packs, i.e., zipped.
1847 posts
Location
/home/dannysmc95
Posted 30 June 2017 - 09:10 AM
Also, "let me zip it up" may be part of the problem. If I recall correctly, at least CC wants its resource packs to be resource packs, i.e., zipped.
Oh I thought you could leave it without zipping it? as the local works without zipping it up? but okay!
1847 posts
Location
/home/dannysmc95
Posted 30 June 2017 - 06:15 PM
7083 posts
Location
Tasmania (AU)
Posted 01 July 2017 - 07:28 AM
Dunno what to tell you, I set up a server on my local machine, dropped "CCResourcePackExample1.zip" into a "resourcepacks" subfolder, and the "example" script showed up in the programs directory as expected.
Silly question, but you did reboot the server after inserting the pack, yeah?
Did you place the original zip file, or did you repack it for some reason?
1847 posts
Location
/home/dannysmc95
Posted 02 July 2017 - 11:33 PM
Dunno what to tell you, I set up a server on my local machine, dropped "CCResourcePackExample1.zip" into a "resourcepacks" subfolder, and the "example" script showed up in the programs directory as expected.
Silly question, but you did reboot the server after inserting the pack, yeah?
Did you place the original zip file, or did you repack it for some reason?
This was my local; no server, like it didn't even come up in resource packs? (not sure if it should or not) really weird, I must be doing something wrong :s.
And no I didn't repack it.
7083 posts
Location
Tasmania (AU)
Posted 03 July 2017 - 01:50 AM
If you install the pack into your local client and enter an SSP world, the pack should show up on the Resource Packs menu, albeit in a "red" state due to being built for older versions of Minecraft (as we're both currently playing with 1.11.2).
ComputerCraft should automatically load the pack regardless as to whether you tell Minecraft to activate it, however.
2427 posts
Location
UK
Posted 03 July 2017 - 11:51 AM
Just a side note about zipping it or not, I have resource packs (for my singleplayer) which are hardlinks junctions to a directory and they work fine. I can even change a file in the resource pack and it is updated ingame.