Page 1 of 3

Acces denied on install_map

Posted: 18 Feb 2013, 11:04
by zarexz
Hello,
I'm really really new to this so forgive my question if it's stupid or anything.

I have managed to get some quads and labels on screen and also a link or two which all works fine.
Now I want to install a track with the code:

Code: Select all

 content of track59.xml
<?xml version='1.0' encoding='utf-8' ?>
<maniacode>
<install_map>
	<name>testmap</name>
	<url>http://www.xs4all.nl/~zarexz/tracks/testmap.Map.Gbx</url>
</install_map>
</maniacode>

Code: Select all

Content of the main XML file:
<label posn="27 27 2" scale="1" halign="right" valign="center" style="TextButtonBig" text="$fffDOWNLOAD" manialink="./tracks/track59.xml" />
Now if I click on the link I get the error "Acces denied". Is this because I'm still running it from my harddisk or because I just can't download my own tracks or is the code just wrong?

Re: Acces denied on install_map

Posted: 18 Feb 2013, 11:18
by Skeleton
zarexz wrote: Content of the main XML file:
<label posn="27 27 2" scale="1" halign="right" valign="center" style="TextButtonBig" text="$fffDOWNLOAD" manialink="./tracks/track59.xml" />
Content of the main XML file:
<label posn="27 27 2" scale="1" halign="right" valign="center" style="TextButtonBig" text="$fffDOWNLOAD" "manialink=./tracks/track59.xml" />

Sorry it's been a while since I've done this but I think here is mistake but don't hold me to that lol

Re: Acces denied on install_map

Posted: 18 Feb 2013, 11:27
by zarexz
Skeleton wrote:

Code: Select all

manialink="./tracks/track59.xml" />
No that's definitly there m8 otherwise the whole page won't open :D

Re: Acces denied on install_map

Posted: 18 Feb 2013, 11:30
by Skeleton
Bit isn't the " in the wrong place Like I've shown?

Re: Acces denied on install_map

Posted: 18 Feb 2013, 11:32
by zarexz
Skeleton wrote:Bit isn't the " in the wrong place Like I've shown?
Nope, it's right where it should be. tag="./value"

Re: Acces denied on install_map

Posted: 18 Feb 2013, 11:41
by w1lla
tried:

Code: Select all

<play_map></play_map>
seems install_map is broken.

aswell as install_map_pack.

With kind regards,

w1lla.

Re: Acces denied on install_map

Posted: 18 Feb 2013, 11:44
by farfa
You have to use a short manialink address to download with a maniacode

Re: Acces denied on install_map

Posted: 18 Feb 2013, 11:47
by Skeleton
Oh yeah I just went to mx and install and play didn't work.
We should have tested that first :roflol:
Maybe this is the cause if Mr.DVD's proplem to? http://forum.maniaplanet.com/viewtopic. ... 63&t=16653

Re: Acces denied on install_map

Posted: 18 Feb 2013, 12:41
by zarexz

Code: Select all

<play_map></play_map>
The above works indeed but I don't really like it. I'd rather install the track so users can select/download more tracks.
farfa wrote:You have to use a short manialink address to download with a maniacode
Could you give me an example please?
w1lla wrote: seems install_map is broken.
aswell as install_map_pack.
Of course, when I try to built something there are always key things broken or missing :?

Thanxz for answering my questions though :thumbsup:

Re: Acces denied on install_map

Posted: 18 Feb 2013, 12:45
by zarexz
Skeleton wrote: Maybe this is the cause if Mr.DVD's proplem to? http://forum.maniaplanet.com/viewtopic. ... 63&t=16653
I don't think this is the same because the only error I get is Acces Denied. No http errors. Play-Map does work...