Page 5 of 5

Re: LibXmlRpc Improvements

Posted: 18 Feb 2015, 21:15
by undef.de
Is it possible to change LibXmlRpc_LoadingMap to have the same array contents as LibXmlRpc_BeginMap?

Detailed:

Code: Select all

LibXmlRpc_LoadingMap

    Data : An array with the number of the map, its UID and if the map is new or restarted.
    Example : ["1", "2icir0pvzfqwf4h9j3B5lkjYu4n", "False"]
    Note : This callback is sent when the script start to load a map

LibXmlRpc_BeginMap

    Data : An array with the number of the map, its UID and if the map is new or restarted.
    Example : ["1", "2icir0pvzfqwf4h9j3B5lkjYu4n", "False"]
    Note : This callback is sent before the beginning of each map
This would be nice to have more time to load all required data from ManiaExchange, Dedimania, ManiaKarma... on a map start to fill and send the widgets to the players just while the intro runs (in TM2).

Re: LibXmlRpc Improvements

Posted: 20 Feb 2015, 15:26
by Eole
kremsy wrote:Sounds amazing, but always be sure it never ever could get sent twice .
Done, it will be available in the next update of Maniaplanet. One warning though, because the callback is very specific I couldn't implement it in ModeBase.Script.txt, only in each game mode individually. This means that all Nadeo modes will send the callback, but players creating custom modes have to invoke the callback manually.
undef.de wrote:Is it possible to change LibXmlRpc_LoadingMap to have the same array contents as LibXmlRpc_BeginMap?
Done too.

Re: LibXmlRpc Improvements

Posted: 20 Feb 2015, 19:24
by undef.de
Eole wrote:
undef.de wrote:Is it possible to change LibXmlRpc_LoadingMap to have the same array contents as LibXmlRpc_BeginMap?
Done too.
Thanks! :pil

Re: LibXmlRpc Improvements

Posted: 22 Oct 2015, 15:02
by w1lla
When no player finishes a map in a gamemode his time is given as this:

Code: Select all

1;w1lla;$fff《$f80ЅCYLLΔ$fff》$o$iW1lla;0:00.001;0;
Is that correct or a bug somewhere in maniascript?

thx for any answers.