Jump to content

Recommended Posts

Posted

Hi, i'm new to Solder and have been spending ages setting it up (new to linux as well) i've got as far as linking up the Solder to Technic Platform, but i cant seem to add a modpack to it.

i'm not sure what i'm doing wrong here, i've tried just about every combination of my modpack 'slug' but it does not show up in the Technic site and i'm not able to download the modpack (only has forge in it atm, for testing)

 

Thanks,

Myth494

  • Discord Moderator
Posted (edited)

So, the slug on the platform (Technic's site) must exactly match the slug in your personal Solder installation in order to link the pack. Technic's slug is "testing-server". What is the slug in your Solder installation? You can test/set this in the pack's settings page in your Solder. I ask this because that slug does not seem to be available in your Solder setup.

For example. I have a modpack named JCLite with a slug of "jclite". The link for that pack into my Solder setup looks like this:

http://solder.circlecraft.info/api/modpack/jclite

 

Edited by plowmanplow
Posted

well.. i feel like a peanut right now, had a spelling mistake in technic instead of server i had sever *facepalms* so its intergrated now i found that out. but i'm getting another error message when i try to install:

Invalid URL: markofthephoenix.playat.ch/ClientMods/mods/modpack/modpack-11.zip

when i added it to Solder, it successfully hashed, but if i was to click on the URL download link it tells me 'mod not found' the file is in that directory (assuming that /home/Solder isnt included because thats the root of Solder) correct file permissions are set i believe, all users have at least read/excute permission

  • Discord Moderator
Posted
  • Your modpack download URLs are missing the "http://" at the beginning. Double check your solder settings files.
  • Your settings and the actual folder path where the mods exist seem to be different. Again, this is a settings issue.
Posted

ok fixed the http not being right, and that changed the error to: 

Failed to download: http://markofthephoenix.playat.ch/CliendMods/mods/modpacl/modpack-11.zip

what do you mean about my setting and actual folder path being different? should the URL mirror be the same as the repository path, just with the web address infront of it? so http://markofthephoenix.playat.ch/home/Solder/ClientMods/Mods/modpack/modpack-11.zip 

would you be able to tell me what files i should be looking in?

 

thanks for your help so far :) your helping me better understand how solder works by telling me what i need to know :D

  • Discord Moderator
Posted

What URL is required to hit the ZIP files for your mods? I see "ClientMods" in that URL, but are they actually in a folder by that name? What is the full directory path to the Solder public folder? What is the full directory path to the mods folder? What are the settings for paths/URLs in your solder.php config file?

Posted

ClientMods is the actual folder its in.

full directory path to the Solder public folder is: /home/Solder/public

full directory to the mods folder is: /home/Solder/ClientMods

 

The URLs in the solder.php is:

    'repo_location' => '/home/Solder/ClientMods/',

    'mirror_url' => ' http://markofthephoenix.playat.ch/ClientMods/',

i've tried the repo_location to be what the mirror_url is currently too (so they were both identical)

Posted

oh sorry, no after the ClientMods there's another folder named mods, like it tells me to do in the adding mods to the mod library

 "2.  Create a new folder called "mods" (no quotes) inside the repo folder"

  • Discord Moderator
Posted

A couple observations:

Above, you have a link like so:

http://markofthephoenix.playat.ch/CliendMods/mods/modpacl/modpack-11.zip

Notice that it says "modpacl/modpack-11.zip". Is that just a typo, or is the folder name actually "modpacl" and the zip file named "modpack-11.zip". I ask because the folder name should be exactly the same as the mod slug, and the filename should be named "slug-versionnumber.zip". Anything other than that will screw up Solder being able to identify things.

Also, I am unable to actually link to that file. The ZIP files should be able to be hit with a direct URL. Are you able to get to the files through the browser by typing in a direct URL? If so, what do you have to type in. If not, you have either a web server or Solder configuration issue.

Posted

apologizes, those are typo's, i thought i double checked them the full correct path is:

/home/Solder/ClientMods/mods/modpack/modpack-11.zip (triple checked that haha)

the address's are correct this end too (just this i had typo's in)

i do not know the address to directly download the zip files. so it could be an error on nginx? as solder's got MD5 done successfully and i have the repo_location set as a path '/home/Solder/ClientMods'

but the mirror_URL is set for 'http://markofthephoenix.playat.ch/ClientMods/' would that work? or do i need to do more to get that adress to work?

with the 'mods' folder that i'm told to create, do i need to add that part to the end for technic to work? 

 

  • Discord Moderator
Posted

With that setup this URL should work but does not:

http://markofthephoenix.playat.ch/ClientMods/mods/modpack/modpack-11.zip

This is a web server configuration issue. The challenge here is that you likely have /home/Solder/public/ set as the DocumentRoot (or whatever nginx calls the folder at the top level of the web served files/folders). If that is true then there is no way to get to the ClientMods folder over the web. The "mods" folder and below has to be somewhere which can be hit with a direct URL so either inside of "public" (which is the default and I'm not sure why you changed it), or as a new virtual host (which you could set up and keep your current folder structure).

Posted (edited)

Yep its my web server configuration, i moved a .zip into my public folder and i can download it. I'm not sure why i tried it in a different directory either, didnt understand how it works i guess haha. 

 

So i'll just change my config files over to the public folder, and it should be good :)

one more thing, with the minecraft mod config files (for the mod) do i need to put them inside the same .zip the mod is in? Or can i have the config files seprate to the mods? It has be it in the same .zip file just inside a folder called 'config' right?

 

and if a mod is installed in a folder like '1.7.10' do i just add that into the .zip? so it'll look like:

--mods

   --1.7.10

       --modname.jar

--config

Edited by Myth494
  • Discord Moderator
Posted

Yes, your folder structure query is correct. However, it is a bad idea to include the config file with the mod itself. Configs for a pack should be packaged together and be their own Solder "mod" and not included with the mods themselves:

  • Config files are tiny and an entire set for a pack can be easily updated without the client needing to re-download something that hasn't changed (i.e. the whole mod). The entire point of Solder is so that only the changes need to be sent to the client.
  • Config files don't go with mods, they go with packs. If the config file is with the mod then every pack you make would either need multiple versions of the same mod with its config, or every pack would use the same configs. Configs often need to be tweaked to provide better balance and integration between mods in a pack. Different mods means that integration would also be different.
Posted

ahh yeah, that makes sense, so instead of putting it with the mods i just put it by itself, so the .zip structure is the same as before just without the 'mods' folder. am i right to assume if i want to add a resource pack to the server its the same concept like the mod and config files, but with the folder name 'resourcepack'?

 

  • Discord Moderator
Posted

Well, "resourcepacks". However, it is usually considered bad form to push the options.txt file to clients since that will overwrite all the local client settings any time it is downloaded. You can push the resourcepack, and with Solder it only comes down once, but the players will still need to select it themselves.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...