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

Talk about ManiaLink development in this forum

Moderator: NADEO

Alexey85
Posts: 465
Joined: 14 Jul 2012, 10:54

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

Post 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?
Last edited by Alexey85 on 19 Mar 2014, 19:51, edited 1 time in total.
User avatar
Nerpson
Translator
Translator
Posts: 1554
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: [maniacode][help] invalid file name

Post by Nerpson »

How are you accessing your page, what are you writing in the address bar?
ImageImageImageImage
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [maniacode][help] invalid file name

Post by w1lla »

did you save it as a .xml file?
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Alexey85
Posts: 465
Joined: 14 Jul 2012, 10:54

Re: [maniacode][help] invalid file name

Post 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".
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [maniacode][help] invalid file name

Post by w1lla »

try this:
You can't install anything if the maniacode is not registered on playerpage
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Alexey85
Posts: 465
Joined: 14 Jul 2012, 10:54

Re: [maniacode][help] invalid file name

Post by Alexey85 »

Do you mean here http://wiki.maniaplanet.com/en/Player_Page#Manialinks ?
I did it before creating the thread.
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [maniacode][help] invalid file name

Post by w1lla »

TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Alexey85
Posts: 465
Joined: 14 Jul 2012, 10:54

Re: [maniacode][help] invalid file name

Post by Alexey85 »

I tried to put file name as "test.Pack.Gbx", got same error. That topic doesn't help.
User avatar
Chris92
Translator
Translator
Posts: 950
Joined: 15 Jun 2010, 13:22
Location: Vilshofen, Germany
Contact:

Re: [maniacode][help] invalid file name

Post 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.
Check out my Personal Twitter account!
Alexey85
Posts: 465
Joined: 14 Jul 2012, 10:54

Re: [maniacode][help] invalid file name

Post 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.
Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 1 guest