Page 1 of 3

[SOLVED][maniacode][help] invalid file name

Posted: 13 Mar 2014, 22:17
by Alexey85
When I enter manialink with this xml, it shows error "invalid file name":

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<maniacode>
	<install_pack>
		<name>test</name>
		<file>Packs/test.Title.Pack.Gbx</file>
		<url>correct url</url>
	</install_pack>
</maniacode>
Could you advice how to fix?

Re: [maniacode][help] invalid file name

Posted: 14 Mar 2014, 02:55
by Nerpson
How are you accessing your page, what are you writing in the address bar?

Re: [maniacode][help] invalid file name

Posted: 14 Mar 2014, 09:17
by w1lla
did you save it as a .xml file?

Re: [maniacode][help] invalid file name

Posted: 14 Mar 2014, 09:28
by Alexey85
When I put in xml "show_message" and remove "install_pack", enter manialink, it shows correct message. So issue is not with manialink itself, but with installing the title pack.
Does it matter that I try to install in the same client where it was created or that url for title pack doesn't end in "test.Title.Pack.Gbx"? If to download titlepack by that url, it saves with correct file name "test.Title.Pack.Gbx".

Re: [maniacode][help] invalid file name

Posted: 14 Mar 2014, 11:39
by w1lla
try this:
You can't install anything if the maniacode is not registered on playerpage

Re: [maniacode][help] invalid file name

Posted: 14 Mar 2014, 12:51
by Alexey85
Do you mean here http://wiki.maniaplanet.com/en/Player_Page#Manialinks ?
I did it before creating the thread.

Re: [maniacode][help] invalid file name

Posted: 14 Mar 2014, 12:57
by w1lla

Re: [maniacode][help] invalid file name

Posted: 14 Mar 2014, 18:40
by Alexey85
I tried to put file name as "test.Pack.Gbx", got same error. That topic doesn't help.

Re: [maniacode][help] invalid file name

Posted: 16 Mar 2014, 03:14
by Chris92
In the future please remain from excessive bumping of threads, as this is against the Forum Rules.

If people are able to help you with your problem, they will post in here, please be patient.

Re: [maniacode][help] invalid file name

Posted: 18 Mar 2014, 23:39
by Alexey85
Maybe a dev could tell what possible reasons may cause this error?
Image
Just in case, I create a title, I upload c:\Users\<username>\Documents\ManiaPlanet\Packs\test.Title.Pack.Gbx, take the url of it and put it in the xml file, upload it and put the url in manialink page. I think it is OK with manialink, since "show_message" works. It is just "install_pack" causes this error.