Page 2 of 3

Re: Acces denied on install_map

Posted: 18 Feb 2013, 13:52
by Skeleton
zarexz wrote:Play-Map does work...
:roflol: My mistake, messed things up doing a second install to get tm2unlimiter working. Didn't get it working though :teub:

Re: Acces denied on install_map

Posted: 19 Feb 2013, 10:46
by gouxim
zarexz wrote:
farfa wrote:You have to use a short manialink address to download with a maniacode
Could you give me an example please?
A "short manialink" is something similar to DNS on the internet. You define an address (for instance "example") and a location (for instance http://www.example.com/manialink) ; then when you type the address in the address bar of the Manialink browser in ManiaPlanet, it shows the associated URL.

To execute code such as install_map, you need to access the page through a short manialink or it won't work.

To define short manialinks, you need to go on your player page: https://player.maniaplanet.com/advanced/manialinks

Re: Acces denied on install_map

Posted: 19 Feb 2013, 11:01
by zarexz
So this means I have register each and every maniacode xml file containing the install_map tag?

Re: Acces denied on install_map

Posted: 19 Feb 2013, 11:41
by w1lla
try this:

test:download as manialink and then pass it through with php or anything else the trackId.

Re: Acces denied on install_map

Posted: 19 Feb 2013, 11:57
by zarexz
w1lla wrote:try this:

test:download as manialink and then pass it through with php or anything else the trackId.
Unfortunatly I have no knowledge of php programming. Would it change anything if I change my tracks into packs to set the planet price etc?

Re: Acces denied on install_map

Posted: 19 Feb 2013, 14:56
by gouxim
zarexz wrote:So this means I have register each and every maniacode xml file containing the install_map tag?
Yes indeed.

Or as said above, you can do dynamic stuff with an appropriate language (PHP for instance).
zarexz wrote:Would it change anything if I change my tracks into packs to set the planet price etc?
Hmm not sure I see your point? Title packs are something a bit different.

Re: Acces denied on install_map

Posted: 19 Feb 2013, 15:12
by zarexz
gouxim wrote:
zarexz wrote:So this means I have register each and every maniacode xml file containing the install_map tag?
Yes indeed.
Allright. I just have to do it like that then. But as I think of that, how does that work planetwise?
If you access the gbx file directly via a web request, no planets are charged for it or do I see it wrong?
Now it seems to me only the xml file is "protected" ?

Sry for being such a dummy but all this stuff isn't really transparent, appart from putting a few quads on screen.
gouxim wrote: Or as said above, you can do dynamic stuff with an appropriate language (PHP for instance).
Yes yes, like i lern a language like that in a couple of days :shock: :mrgreen:

Re: Acces denied on install_map

Posted: 19 Feb 2013, 17:17
by gouxim
zarexz wrote:But as I think of that, how does that work planetwise?
If you access the gbx file directly via a web request, no planets are charged for it or do I see it wrong?
Now it seems to me only the xml file is "protected" ?
You are absolutely right. If someone figures out the URL of the GBX file, one can download it and use it without having to pay Planets.

BUT BUT BUT, we thought about that 8-) There is something called ManiaCredits. It is basically "Planet DRMs" packed inside a Gbx ; basically a user downloads a GBX file from anywhere, and when one wants to use it (eg. if it is a Skin, when you choose the skin in the Vehicles menu) one has to pay the Planets price. I am not very familiar with all that, but you can find some information here: http://forum.maniaplanet.com/viewtopic.php?f=8&t=3341 (not a lot of information it's more of a beta feature right now, but that's a start ; you might want to search for "maniacredits" on the forum for more info).

As for your maniacode, that would mean: you create a "free" maniacode that installs the GBX data, and the GBX data contains the price.

Re: Acces denied on install_map

Posted: 19 Feb 2013, 17:22
by zarexz
gouxim wrote: As for your maniacode, that would mean: you create a "free" maniacode that installs the GBX data, and the GBX data contains the price.
That's what I ment with making packs out of my tracks, like you can do with skins.
I would still have to pass the xml files trough that thing though but that doesn't matter.

Re: Acces denied on install_map

Posted: 19 Feb 2013, 17:25
by gouxim
Yes indeed.

http://forum.maniaplanet.com/viewtopic.php?f=8&t=3341 <= this has a bit of info. If you have questions and stuff about maniacredits, you should post there.