Page 1 of 1

How to interact with maniascript ?

Posted: 30 Jan 2013, 16:41
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

Re: How to interact with maniascript ?

Posted: 26 Feb 2013, 08:41
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.

Re: How to interact with maniascript ?

Posted: 26 Feb 2013, 09:18
by reaby
but.. is there a way to trigger onManialinkPageAnswer from maniascript... that's the only piece missing...