Page 1 of 1

"An error occured" in the MatchMaking API

Posted: 11 Jul 2017, 12:26
by killerboye
Hi,

I'm stuck with the following error that gets spammed in the chat during matchmaking:
"An error occured in the matchmaking API. If the problem persist please try to contact this server administrator."

I'm trying to make the titlepack work with matchmaking (so a lobby server that matches people to send to match servers).
Currently I'm testing it locally, started the script with a lobby match settings file. Also have it set on a dedicated lobby server that has matchservers to it connected, but it gives the same error.

What I've tried doing already:
- Checked if it uses the right matchmaking library: Modes/ModeMatchmaking2.Script.txt
- Looked at Nadeo TP's like Elite and Chase, so I'm using the MM_SetupMatchmaking event (setting the right (progressive)formats
- Desperately went in to comment code that calls functions from the library.
- Making sure matchsettings files are correct (Used the maniaplanet documentation).

What I'm wondering, is there no way to debug this? This message doesn't give me any information where an error occurs. So I don't really have any more ideas where to look atm. Anyone else maybe?

Image

Re: "An error occured" in the MatchMaking API

Posted: 11 Jul 2017, 13:04
by magnetik
Hi,

I've seen quite a few requests with an empty "format". Have you called "MM_SetFormat" as explained here ?

Re: "An error occured" in the MatchMaking API

Posted: 11 Jul 2017, 13:15
by killerboye
Thanks for the quick response!

First, the link doesn't work: You are not authorised to read this forum.
Secondly, I think I use the SetFormat function right, just by checking the "Modes/ModeMatchmaking2.Script.txt" file

Code: Select all

MM_SetFormat([S_NbPlayersPerTeamMax, S_NbPlayersPerTeamMax]);
It requires an array of Integers as parameter. both settings are Integers.

Re: "An error occured" in the MatchMaking API

Posted: 11 Jul 2017, 13:18
by magnetik
OKay so if you call it with two integers it should be okay.

What's the lobby login you are using for your test?

Re: "An error occured" in the MatchMaking API

Posted: 11 Jul 2017, 13:27
by killerboye
I don't know what you mean with lobby login. Where can I find that? Do you mean the MasterLogin maybe?

Re: "An error occured" in the MatchMaking API

Posted: 11 Jul 2017, 13:30
by magnetik
The matchmaking API only responds to the matchmaking requests from server logins (dedicated server account, eg what you register on https://www.maniaplanet.com/account/dedicated-servers) that are currently running from a joinable IP.

Re: "An error occured" in the MatchMaking API

Posted: 11 Jul 2017, 14:17
by killerboye
Okay, I asked and he told me, it should be: "speedball-lobby" The same error happens when connected to that dedicated lobby server.

Re: "An error occured" in the MatchMaking API

Posted: 11 Jul 2017, 16:19
by killerboye
Update:

I would say the API doesn't complain anymore :)
Will notify here if this issue happens again.

Re: "An error occured" in the MatchMaking API

Posted: 18 Jul 2017, 10:21
by magnetik
Perfect :thumbsup: