Script callbacks

Moderator: NADEO

MuNgLo
Posts: 316
Joined: 12 Jul 2012, 03:37

Re: Script callbacks

Post by MuNgLo »

with the latest update you need to ask for the callbacks for Elite also?
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: Script callbacks

Post by Eole »

MuNgLo wrote:with the latest update you need to ask for the callbacks for Elite also?
Yes, the S_UseScriptCallbacks setting must be set to true like in the other modes now.
kremsy wrote:Is there a way in the future the the Scoreboard get also hidden via these commands while Warmup?
It doesn't? It should work at least in Elite and Heroes, I've made some changes in other modes too, but maybe I forget some.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Script callbacks

Post by steeffeen »

Eole wrote:
MuNgLo wrote:with the latest update you need to ask for the callbacks for Elite also?
Yes, the S_UseScriptCallbacks setting must be set to true like in the other modes now.
as this is a not backwards-compatible change, may the script callbacks in elite get updated to the new style as well?
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    Eole
    Nadeo
    Nadeo
    Posts: 1265
    Joined: 26 Apr 2011, 21:08

    Re: Script callbacks

    Post by Eole »

    @Kremsy:
    What's the version of ModeSport.Script.txt in the log when you start the script?

    @Steeffeen:
    It's not on the high priority list, but I hope that I'll have time to do it at some points.
    Contribute to the ManiaPlanet documentation on GitHub
    A question about ManiaScript? Ask it here!
    MuNgLo
    Posts: 316
    Joined: 12 Jul 2012, 03:37

    Re: Script callbacks

    Post by MuNgLo »

    For Elite I now get these new callbacks..

    LibXmlRpc_BeginMatch
    LibXmlRpc_BeginTurn
    startTurn
    LibXmlRpc_EndTurn
    LibXmlRpc_Rankings

    ^¨ might not be complete list

    At first glance all the old ones seems to still be there and these seems to contain no really useful info so isn't it just excessive and a waste to send these?
    User avatar
    Eole
    Nadeo
    Nadeo
    Posts: 1265
    Joined: 26 Apr 2011, 21:08

    Re: Script callbacks

    Post by Eole »

    @Munglo:
    All the LibXmlRpc_* callbacks are sent by the ModeBase script and are common to all the modes. So yes they don't really bring anything new for Elite. It just gives some basic callbacks that server controllers can use without writing specific code for Elite.
    kremsy wrote:With the new Scoreboard which looks really great now in the custom modes, the disable on AltMenu is still not working, but I think you haven't done that yet so it's not a bug ;)
    I don't understand, what do you mean?
    Contribute to the ManiaPlanet documentation on GitHub
    A question about ManiaScript? Ask it here!
    Post Reply

    Return to “Dedicated Server”

    Who is online

    Users browsing this forum: No registered users and 1 guest