#missing some xmlrpc events after unknown server config change

8 messages · Page 1 of 1 (latest)

azure reef
#

I was testing a script that listens for gbx events, and on one instance was able to get callbacks for player DNF, player checkpoint times, etc to work. I got this to work after fixing capitalization of the "Trackmania/TM_TimeAttack_Online" mode. I don't think I changed anything after it worked, but it stopped working ever since then. I've tried touching the MatchSettings again and doesn't seem like anything works. I also can't seem to find any logs streamed anywhere that are useful. (I also tried running with /noautoquit and that didn't change anything).

west quail
azure reef
#

yeah i call

    if err := client.EnableCallbacks(true); err != nil {
        fmt.Println(err)
        os.Exit(1)
    }
west quail
#

from node-gbxclient, you also need to call this: await gbx.callScript("XmlRpc.EnableCallbacks", "true");

#

that gives you all the script mode callbacks

#

which is a shorthand for TriggerModeScriptEventArray("XmlRpc.EnableCallbacks", ["true"]);

azure reef
#

ok lol yes i was missing that 🙃