[Manialink] Max. length of the action attribute

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

[Manialink] Max. length of the action attribute

Post by undef.de »

What is the max. length of the action attribute?
What are the limitations of the "content" (spaces allowed)?

Example:

Code: Select all

<quad posn="0.7 -0.3 0.002" sizen="3.2 3.2" action="showBuddiesNextPage" style="Icons128x128_1" substyle="Buddies"/>
Thanks! 8-)
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
User avatar
noyranea
Nadeo
Nadeo
Posts: 187
Joined: 29 Apr 2014, 14:50
Location: Paris, France

Re: [Manialink] Max. length of the action attribute

Post by noyranea »

Hi there,

the "action" attribute is used to trigger some predefined behaviors, depending on the context of the manialink.
Thus, only some values will work, listed on this page : http://doc.maniaplanet.com/creation/man ... tions.html.

If you need more information, don't hesitate to ask for it !

Have a nice day,

-- noyranea
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: [Manialink] Max. length of the action attribute

Post by oliverde8 »

noyranea wrote:Hi there,

the "action" attribute is used to trigger some predefined behaviors, depending on the context of the manialink.
Thus, only some values will work, listed on this page : http://doc.maniaplanet.com/creation/man ... tions.html.

If you need more information, don't hesitate to ask for it !

Have a nice day,

-- noyranea
but not in a server context, we have been using actions in server controllers since TMU, the behaviours described there are the new ones. AM I lost ?

I rember testing it at one point I think there is indeed a limit of 128 chars and spaces aren't accepted. But it was a long while ago it might have changed since then.
My notes about it are in a TMU fomder so when I say it is old, I am not kidding :D
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
noyranea
Nadeo
Nadeo
Posts: 187
Joined: 29 Apr 2014, 14:50
Location: Paris, France

Re: [Manialink] Max. length of the action attribute

Post by noyranea »

Hi oliverde !

You're right : after a closer look, I can say that actions we do not handle are transmitted to the server via Xml-Rpc, with a limit of 128 ascii chars.

-- noyranea
Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 1 guest