Only one link shows

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

Post Reply
MuNgLo
Posts: 314
Joined: 12 Jul 2012, 03:37

Only one link shows

Post by MuNgLo »

Trying to have more then one Link in a text fails. i think it worked before BETA2 or might just be me that missed it.

This is how I've done it.
Within a GUI I make a label and fill it with text. Somehow only the first $L shows correctly.

Code: Select all

// Text area
		$textd = new Label();
		$this->setLineBgs(-118, 4.5, 236, 80);
		$this->setLineBgs(-116, 3.5, 232, 78);
		$textd->setSize(228, 80);
		$textd->setPosition(-114, 2.5, 0);
		$textd->enableAutonewline();
		$textd->setTextColor("fff");
		$textd->setTextSize(2);
		$textd->setHalign("left");
		$textd->setText($this->contentText);
		$this->content->addComponent($textd);
MuNgLo
Posts: 314
Joined: 12 Jul 2012, 03:37

Re: Only one link shows

Post by MuNgLo »

Just a small update.

Right now the first link is skipped and the second is working. Third is still broken.
So still just one link works but now it isn't the first. :/

Oh and this with no change at all in code.
MuNgLo
Posts: 314
Joined: 12 Jul 2012, 03:37

Re: Only one link shows

Post by MuNgLo »

After some more experience this is clearly a bug in Beta 2. Probably on client.
MuNgLo
Posts: 314
Joined: 12 Jul 2012, 03:37

Re: Only one link shows

Post by MuNgLo »

Just to update.

This is a manialink code issue. If you use $L to make links inside a <label> They will all work until you mouseover one. Then all others get removed. So basically you cannot use more then one $L inside a single label.

But this has nothing to do with ManiaLive.
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Only one link shows

Post by oliverde8 »

OOo, I had fogoth obout this, I came a cross this while trying to put 2 links in the server comment. It has been around for a while now, I had failed to put 2 links before Beta2 already.
I suppose it is the same cause :)
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...
MuNgLo
Posts: 314
Joined: 12 Jul 2012, 03:37

Re: Only one link shows

Post by MuNgLo »

yeah it might be taht the mouseovereffect that shows the link in right lower corner cant handle more then 1 link per label or whatever. Still I can't think its intentional. Haven't seen any official comment about it though.
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 2 guests