Acces denied on install_map

Talk about ManiaLink development in this forum

Moderator: NADEO

zarexz

Acces denied on install_map

Post 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?
User avatar
Skeleton
Posts: 596
Joined: 23 Jun 2010, 19:42

Re: Acces denied on install_map

Post 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
zarexz

Re: Acces denied on install_map

Post 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
User avatar
Skeleton
Posts: 596
Joined: 23 Jun 2010, 19:42

Re: Acces denied on install_map

Post by Skeleton »

Bit isn't the " in the wrong place Like I've shown?
zarexz

Re: Acces denied on install_map

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

Re: Acces denied on install_map

Post by w1lla »

tried:

Code: Select all

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

aswell as install_map_pack.

With kind regards,

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
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: Acces denied on install_map

Post by farfa »

You have to use a short manialink address to download with a maniacode
Also known as: satanasdiabolo
User avatar
Skeleton
Posts: 596
Joined: 23 Jun 2010, 19:42

Re: Acces denied on install_map

Post 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
zarexz

Re: Acces denied on install_map

Post 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:
zarexz

Re: Acces denied on install_map

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

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 1 guest