How to interact with maniascript ?

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

Moderator: NADEO

Post Reply
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

How to interact with maniascript ?

Post by reaby »

Server side manialink widgets gets very cool since maniascripting abilities :thx:

But how can i interact with them using manialive?

How to pass data back from maniascript variable, i tried to find xmlrpc call in CTmMlScriptInGame mode, but i wasn't able to send a callback, or find even the XmlRpc class to do so.

So, next i think could I send manialink callback parameter somehow and catch that using manialive to player with the variable values ?

Thanks for _any_ advices that could help,
Reaby
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: How to interact with maniascript ?

Post by reaby »

reaby wrote:But how can i interact with them using manialive?
I answer for myself... since of there is a way..

create <entry>, place the inputbox outside viewing area and update entry value with maniascript
with your values, serialize for json or using comma separated values... and read the return value for the entry using ActionHandler callback last parameter.
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: How to interact with maniascript ?

Post by reaby »

but.. is there a way to trigger onManialinkPageAnswer from maniascript... that's the only piece missing...
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest