Jump to content

Solder API


DanteChaos

Recommended Posts

  • Replies 165
  • Created
  • Last Reply

Top Posters In This Topic

I'm having some strange issues with my solder modpacks.

http://www.technicpack.net/api/modpack/test-awesonium

It always says "URL":null how can I fix this?

Looks ok to me.


[color=#000000]{"minecraft":"1.5.1","minecraft_md5":"5c1219d869b87d233de3033688ec7567","forge":null,"mods":[{"name":"test-base","version":"0.1","md5":"b7f5d2a223e045c4d48690aee1e82ae9","url":"http:\/\/solder.awesonium.com\/repo\/mods\/test-base\/test-base-0.1.zip"},{"name":"test-config","version":"0.1","md5":"86d12f63563f7ff2f435c918362253f5","url":"http:\/\/solder.awesonium.com\/repo\/mods\/test-config\/test-config-0.1.zip"},{"name":"test-mod","version":"0.1","md5":"a974fd8f6cad7daf30eb356cb5befac6","url":"http:\/\/solder.awesonium.com\/repo\/mods\/test-mod\/test-mod-0.1.zip"},{"name":"test-core","version":"0.1","md5":"b107a0a4fa745b5dee758bfd7237a039","url":"http:\/\/solder.awesonium.com\/repo\/mods\/test-core\/test-core-0.1.zip"}]}[/color]

[color=#000000]

Link to comment
Share on other sites

Looks ok to me.


{"minecraft":"1.5.1","minecraft_md5":"5c1219d869b87d233de3033688ec7567","forge":null,"mods":[{"name":"test-base","version":"0.1","md5":"b7f5d2a223e045c4d48690aee1e82ae9","url":"http:\/\/solder.awesonium.com\/repo\/mods\/test-base\/test-base-0.1.zip"},{"name":"test-config","version":"0.1","md5":"86d12f63563f7ff2f435c918362253f5","url":"http:\/\/solder.awesonium.com\/repo\/mods\/test-config\/test-config-0.1.zip"},{"name":"test-mod","version":"0.1","md5":"a974fd8f6cad7daf30eb356cb5befac6","url":"http:\/\/solder.awesonium.com\/repo\/mods\/test-mod\/test-mod-0.1.zip"},{"name":"test-core","version":"0.1","md5":"b107a0a4fa745b5dee758bfd7237a039","url":"http:\/\/solder.awesonium.com\/repo\/mods\/test-core\/test-core-0.1.zip"}]}

I'm getting null in the url as well when I click his link.

Despite that, the modpack can be added to the launcher.

When attempting to download, it tries 3 times to download test-mod-0.1.zip and all 3 times the md5s are miscalculated.

Link to comment
Share on other sites

Same Issue over here.

Downloaded md5: caf041841ab0965572c474fc2ef8c7d7

Solder md5: d41d8cd98f00b204e9800998ecf8427e

[EDIT]Now it hashes every mod with the above key.

It's hashing your webhost's 404 page. That means that it can't find the files, you probably have your directory structure wrong.

Link to comment
Share on other sites

  • 2 weeks later...

Please tell me your mod repo isn't fully stocked. You will have to totally remake your whole solder repository if it is.

Each mod zip you upload is like a tiny custom pack with only the mod in it.

for example, let's say I wanted to add SparkleFarts mod.

I set the modslug to "fart," then make a new directory on my web host called "fart"

I download version 0.dong of the sparklefarts mod, so I put the sparklefarts mod in a folder called "mods". I then zip that "mods" folder, and name the zip "fart-0.dong.zip"

I upload THAT to my fart directory, then add it to a pack!

the zip that solder downloads is extracted directly. I had this exact same problem, and every mod in my repo started spewing class files all over my modpack directory.

I actually figured this out already, but thanks for confirming me.

Link to comment
Share on other sites

  • 2 weeks later...

So took me a little bit since most of the setup instructions are either out of date or way to overcomplicated, but I finished setting this up on my server have it working and know how the directory structure and mods need to go. I do however have one question, can you automate the modpacks description and changelog through the api as well, the same way the mod list updates on the technic site?

Link to comment
Share on other sites

Has anyone had trouble getting the website to import their solder mod pack? I am having a terrible time. I got solder installed easily enough and put the required resource files where they needed to go. I figured out the solder structure system and put the files where they need to go complete with correct naming conventions. The website recognizes my solder install and even detects the test pack that I have created. When I go to import it, I get error code 500 and it says it is an internal server error. Is this a common problem or is this just me?

Link to comment
Share on other sites

  • 1 month later...

So took me a little bit since most of the setup instructions are either out of date or way to overcomplicated, but I finished setting this up on my server have it working and know how the directory structure and mods need to go. I do however have one question, can you automate the modpacks description and changelog through the api as well, the same way the mod list updates on the technic site?

I haven't seen a way to set the modpack description or edit changelog, but I imagine this is something that will be possible in the future.

Link to comment
Share on other sites

  • 2 weeks later...

the "awesome" guide doesnt even has a link to solder download!!

i'm stuck at verifying solderAPI url, i always get

"There was a problem validating your Solder URL. Make sure you to include a trailing slash. Make sure to include 'api/' at the end of your URL."

When i open the API in browser i get

{"api":"TechnicSolder","version":"0.3","stream":"DEV"}

maybe some1 is able to post the correct link to the actual solder download...

Link to comment
Share on other sites

the "awesome" guide doesnt even has a link to solder download!!

i'm stuck at verifying solderAPI url, i always get

"There was a problem validating your Solder URL. Make sure you to include a trailing slash. Make sure to include 'api/' at the end of your URL."

When i open the API in browser i get

{"api":"TechnicSolder","version":"0.3","stream":"DEV"}

maybe some1 is able to post the correct link to the actual solder download...

Wait, what? Do you have solder setup on a VPN or private computer already?

Link to comment
Share on other sites

i have already installed it on a Root i own for years now. I want to use it to setup my modpack and to host my MC Server.

Everything is set up, Solder is working, i can add mods and modpacks, the /api/ url is working.

When i put the url in my technic profile under My Profile > Configure Solder API i get the error "Problem..."

I've set up the correct API key in solder.php including the correct path and url's

and yes... i have included /api/ and the trailing slash

so, any solution? (i'll not make the url public)

Link to comment
Share on other sites

i have already installed it on a Root i own for years now. I want to use it to setup my modpack and to host my MC Server.

Everything is set up, Solder is working, i can add mods and modpacks, the /api/ url is working.

When i put the url in my technic profile under My Profile > Configure Solder API i get the error "Problem..."

I've set up the correct API key in solder.php including the correct path and url's

and yes... i have included /api/ and the trailing slash

so, any solution? (i'll not make the url public)

The URL should be http://domain/index.php/api/

Link to comment
Share on other sites

I know!

So, any ideas what could be wrong ? (except the url...)

I don't think solderAPI got problems with subdomains?

Im useing subdomain and it works just fine:)

When I had this error it turnd out to be that the API Key got pasted in wrong in the solder.php

Link to comment
Share on other sites

okay, just FYI

TechnicServer prefer IPv6, so if your server is IPv6 capable you HAVE TO use IPv6!

make sure it's working before you try it first time, otherwise it wont work, TechnicServer wont use IPv6 if you add it later, you have to switch domain/subdomain to make it work again. The check for IPv6 seem to be only on the first connect, so if you miss that... you probably wont be able to use your preferred domain!

For me its a big BUG.

Link to comment
Share on other sites

  • 2 weeks later...

It does have to be in a .zip archive. Also found out for it to unpack properly the archive needs to have the destination folder inside. Like for the "modpack.jar" to go inside the "bin" folder, the .zip archive need to contain a "bin" folder with the "modpack.jar". Else it will just unpack it in the modpacks/main folder. Same goes for "mods", "coremods", "configs", "texturepack" and what else you wanna add :)

Link to comment
Share on other sites

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

Announcements

  • Anything claiming to be official Technic servers are not allowed here, for obvious reasons



×
×
  • Create New...