Page 1 of 1

[Mod Portal] - Invalid Name

Posted: Thu May 03, 2018 9:12 pm
by TreefrogGreaken
Hello,

Trying to sumbit my mod to the portal but keep getting a Failure on the name in info.json, saying that it isn't formatted correctly, yet I cant see any mistakes?

Code: Select all

{
	"name": "Water As A Resource",
	"version": "0.2.0",
	"factorio_version": "0.16",
	"title": "Water As A Resource",
	"author": "TreefrogGreaken",
	"contact": "",
	"homepage": "",
	"description": "Turns Water into a non infinite resource",
	"dependencies": ["base >= 0.16"]
}
Mod runs fine otherwise ingame.

Re: [Mod Portal] - Invalid Name

Posted: Thu May 03, 2018 9:17 pm
by steinio

Code: Select all

"name": "Water As A Resource",
Spaces in name are not allowed.

Re: [Mod Portal] - Invalid Name

Posted: Fri May 04, 2018 12:11 am
by TreefrogGreaken
Hmmmm, but then why does Flow Control work?

Code: Select all

{
	"name": "Flow Control",
	"version": "3.0.3",
	"title": "Flow Control",
	"author": "GotLag",
	"homepage": "https://forums.factorio.com/viewtopic.php?f=94&t=20645",
	"description": "Adds pipes with restricted connections, and several useful valves.",
	"factorio_version": "0.16"
}
I've changed my mod and it has been uploaded successfully. DOesnt explain why Flow Control gets away with it though.

Re: [Mod Portal] - Invalid Name

Posted: Fri May 04, 2018 4:37 am
by steinio
TreefrogGreaken wrote:Hmmmm, but then why does Flow Control work?

Code: Select all

{
	"name": "Flow Control",
	"version": "3.0.3",
	"title": "Flow Control",
	"author": "GotLag",
	"homepage": "https://forums.factorio.com/viewtopic.php?f=94&t=20645",
	"description": "Adds pipes with restricted connections, and several useful valves.",
	"factorio_version": "0.16"
}
I've changed my mod and it has been uploaded successfully. DOesnt explain why Flow Control gets away with it though.
Because it was created before the rule got implemented.

Re: [Mod Portal] - Invalid Name

Posted: Fri May 04, 2018 12:05 pm
by TreefrogGreaken
That'd explain it then!

Thanks for the info and help! Sorry if i seemed a bit short before, was a late night!

Re: [Mod Portal] - Invalid Name

Posted: Fri May 04, 2018 12:10 pm
by steinio
TreefrogGreaken wrote:That'd explain it then!

Thanks for the info and help! Sorry if i seemed a bit short before, was a late night!
All fine. Short question, short answer. More time to play.