How to disable maniascript from server?

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
xGEKKOx
Posts: 203
Joined: 18 Jul 2011, 21:04

How to disable maniascript from server?

Post by xGEKKOx »

Hi Nadeo,

can you add the possibility to disable maniascript of a track from the server?
It happen a mega mistake when maniascript in tracks overwrite script server side.
Can be useful:

Code: Select all

<maniascript>false</maniascript>
Thx.
TPS Gaseco - iPhone TM Remote Controller - GOS Coder
TomRiddle
Posts: 250
Joined: 14 Jul 2011, 16:16

Re: How to disable maniascript from server?

Post by TomRiddle »

yes i understand your problem but i think it would be better if you can run more maniascript-instances than one (also in one manialink-xml)
User avatar
Slig
Posts: 637
Joined: 15 Jun 2010, 11:52
Location: TraXicoLand

Re: How to disable maniascript from server?

Post by Slig »

TomRiddle wrote:yes i understand your problem but i think it would be better if you can run more maniascript-instances than one (also in one manialink-xml)
The nearly only maniascript test that i have done so far was to send 2 maniascript within 2 <manialink> (sent separately and with different id), and it seemed to work, so i guess that it is possible.

@gekko: by server maniascript you mean maniascript sent to client in manialink ? or real server maniascript ??? in first case, you send it/them within a <maniascript> with an id > 0 ?
User avatar
xGEKKOx
Posts: 203
Joined: 18 Jul 2011, 21:04

Re: How to disable maniascript from server?

Post by xGEKKOx »

Hi Slig, thx to help me...i mean manialink from server to client...
Well you know i have the uploader on tps, and i seen someone uploaded a track with scripts inside.
When this track come, the UI go completely off and some strange things appear, ahaha, like it was another controller.
I know script inside the track can be useful, but if those scripts override the server side controller (tps/fast/or other) is not good.
So imho a server (dedicated_cfg) option to enable override or not can be welcome.
TPS Gaseco - iPhone TM Remote Controller - GOS Coder
TomRiddle
Posts: 250
Joined: 14 Jul 2011, 16:16

Re: How to disable maniascript from server?

Post by TomRiddle »

Slig wrote:
TomRiddle wrote:yes i understand your problem but i think it would be better if you can run more maniascript-instances than one (also in one manialink-xml)
The nearly only maniascript test that i have done so far was to send 2 maniascript within 2 <manialink> (sent separately and with different id), and it seemed to work, so i guess that it is possible.
oh maybe on server, i ment the "browser-manialinks" you cant send more than one manialink tag there, and
<manialink>
<script><!-- .... --></script>
<script><!-- .... --></script>
</manialink>

does not work as far as i know. it would be perferct for plugins or so....
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests