see post made by xymph:
http://forum.maniaplanet.com/viewtopic. ... 890#p54450
Manialinks and Styles
Moderator: NADEO
- w1lla
- Posts: 2287
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: Manialinks and Styles
Last edited by w1lla on 23 Aug 2011, 22:14, edited 1 time in total.
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
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
Re: Manialinks and Styles
Oops yeah. Here is a copy. W1lla, please delete your quoted post, that is not necessary, just be more patient.corto-72 wrote:This link doesn't seem to be accessible to everyone

Summary:
In TMF, sending a ManiaLink with the <custom_ui> block to turn on/off GUI elements will immediately do so. In TM²C turning something off will happen immediately, but turning it back on will only take effect when the game sends something to the display, e.g. a scoreboard after finishing a run. Also, disabled <custom_ui> settings are reset upon track switches. And the notice element is only partly disabled.
Reference: http://www.tm-forum.com/viewtopic.php?p=105736#p105736
Details:
I've tested the <custom_ui> block as follows (no controller running):
Code: Select all
$ cat ui.xml
<manialinks>
<manialink id="0">
<quad></quad>
</manialink>
<custom_ui>
<notice visible="true"/>
<challenge_info visible="true"/>
<chat visible="true"/>
<checkpoint_list visible="true"/>
<round_scores visible="true"/>
<scoretable visible="true"/>
<net_infos visible="true"/>
<global visible="true"/>
</custom_ui>
</manialinks>
$ ./rpc_utilities/sendcmd.php SendDisplayManialinkPage array "`cat ui.xml`" 0 false
So, disabling any <custom_ui> entry and sending it to the dedicated will take immediate effect. Except for <notice> which still keeps displaying SendNotice strings after being turned off (but game notices like finishes are indeed disabled).
Re-enabling an entry will however not show it immediately like in TMF, that only happens when some other GUI element is updated, e.g. a scoreboard needing to be displayed - but not for any player. During one test with <global> disabled, the GUI was off and stayed off when I finished the track, but was displayed again the first time another player finished. Very strange.
Finally, upon switching to the next track, all <custom_ui> entries are reset to true, unlike TMF.
Btw, can you tell what the <net_infos> entry is/was for? That was a mystery in TMF.
Last edited by Xymph on 23 Aug 2011, 22:05, edited 1 time in total.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
-
- Posts: 8
- Joined: 14 Aug 2011, 19:53
Re: Manialinks and Styles
Thanks for the info. I have been sending them every map change and also every begin race and begin round. I don't think it hurts to send it more often does it?
Who is online
Users browsing this forum: No registered users and 2 guests