How to upload mods to vault

Everything about mods can be found here.

Moderator: Morax

How to upload mods to vault

Postby R_Charger » 31 Dec 2016, 13:49

How do I do it? Is it only possible using Downlord's client? I'm presuming I upload as a zip file - is this right?
R_Charger
Avatar-of-War
 
Posts: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 times
FAF User Name: Reckless_Charger

Re: How to upload mods to vault

Postby Exotic_Retard » 31 Dec 2016, 14:48

1. you have downlord client
2. you have the mod in your mods folder set up exactly how you need to have it run in game
3. you press the uplord button and it should read the info from mod_info.lua and then do black magic to get it into vault
User avatar
Exotic_Retard
Contributor
 
Posts: 1470
Joined: 21 Mar 2013, 22:51
Has liked: 557 times
Been liked: 626 times
FAF User Name: Exotic_Retard

Re: How to upload mods to vault

Postby Lieutenant Lich » 31 Dec 2016, 17:15

I did the steps, my mouse looked as if it did something but the mod doesn't show up afterwards.
Don't complain about that which you aren't willing to change.

My mod:
viewtopic.php?f=67&t=12864
User avatar
Lieutenant Lich
Evaluator
 
Posts: 952
Joined: 01 Feb 2016, 05:28
Location: United States
Has liked: 992 times
Been liked: 818 times

Re: How to upload mods to vault

Postby R_Charger » 31 Dec 2016, 22:23

OK thanks Exotic. Instructions should probably be on the upload page.
R_Charger
Avatar-of-War
 
Posts: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 times
FAF User Name: Reckless_Charger

Re: How to upload mods to vault

Postby Mythixgirl » 02 Jan 2017, 12:40

It does work this way, but it is really buggy sometimes. Are there no alternatives for uploading mods?
Mythixgirl
Crusader
 
Posts: 12
Joined: 26 Nov 2016, 21:00
Has liked: 1 time
Been liked: 1 time
FAF User Name: MythixGirl

Re: How to upload mods to vault

Postby R_Charger » 02 Jan 2017, 14:08

Ok tried it and got this error:
com.google.api.client.http.HttpResponseException: 500 INTERNAL SERVER ERROR
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>

at com.faforever.client.api.FafApiAccessorImpl.postMultipart(FafApiAccessorImpl.java:298)
at com.faforever.client.api.FafApiAccessorImpl.uploadMod(FafApiAccessorImpl.java:252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
at com.sun.proxy.$Proxy35.uploadMod(Unknown Source)
at com.faforever.client.mod.ModUploadTask.call(ModUploadTask.java:72)
at com.faforever.client.mod.ModUploadTask.call(ModUploadTask.java:26)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
R_Charger
Avatar-of-War
 
Posts: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 times
FAF User Name: Reckless_Charger

Re: How to upload mods to vault

Postby Mythixgirl » 02 Jan 2017, 22:48

What's inside your mod_info.lua? Sometimes this error occurs when you use special symbols.
Mythixgirl
Crusader
 
Posts: 12
Joined: 26 Nov 2016, 21:00
Has liked: 1 time
Been liked: 1 time
FAF User Name: MythixGirl

Re: How to upload mods to vault

Postby R_Charger » 03 Jan 2017, 10:31

No special characters, just this:

name = "AddNearestByCategoryToSelection"
uid = "1111810-15d0-5bfa-af76-ec2d6ecd9999"
version = 1
copyright = "No"
description = "Adds a lua command to support hotkey setup for adding to a selection incrementally."
author = "Thomas Young"
url = "upcoder.com"
selectable = true
enabled = true
exclusive = false
ui_only = true
requires = {}
requiresNames = {}
conflicts = { }
before = {}
after = {}
R_Charger
Avatar-of-War
 
Posts: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 times
FAF User Name: Reckless_Charger

Re: How to upload mods to vault

Postby Myxir » 03 Jan 2017, 10:39

remove empty tables from your mod_info and try again
Unhappy with balance http://i.imgur.com/q5G2BlM.png
User avatar
Myxir
Evaluator
 
Posts: 791
Joined: 09 Apr 2012, 14:01
Has liked: 94 times
Been liked: 306 times
FAF User Name: Washy (irc)

Re: How to upload mods to vault

Postby R_Charger » 03 Jan 2017, 23:36

Still won't upload even with empty tables deleted.
R_Charger
Avatar-of-War
 
Posts: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 times
FAF User Name: Reckless_Charger

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest