[v2.1.0] MatchmakingService - ON HOLD

Hi, since yesterday I’m having this error when someone joins the queue


image

Sorry for the long wait, this just randomly started happening? You didn’t make any changes? The only way this could be happening is if somehow the range is being deleted. You could technically check by doing print(MatchmakingService.PlayerRanges) and see if the map is in the table. It is odd that it would randomly start happening since I haven’t made an update since I put the project on hold.

1 Like

It got automatically fixed 1 hour after my post
Thank you

looks like im having the same issue with the ranges.

Is there any way to detect when all players who were in the game server queue gets teleported to the secondary place?

@STOPEATCAK @MagicalAnteater
The error seems to have been caused by this.

My error happened in may lol f

Sorry everyone for radio silence from me I really didn’t mean for my absence to be that long.

I’m going to be getting around to going through the requests left here and fixing issues that came up.

Not currently, however what you should know is that the queue won’t teleport anyone until MinPlayers has been surpassed. So in your secondary place, you can connect to PlayerJoining and see if #Players.GetPlayers() >= MinPlayers.

From what I see you didn’t require the service when you printed it. Also, it would be along the lines of require(path.to.service).GetSingleton().PlayerRanges

Great resource, Thank you so much for making it :happy1:

1 Like

I’m working on it at the time of me writing this reply, but I’m going to make a pull request here soon to add types to it so that when you require the module and get the singleton it will auto complete.

Edit: It could entirely be that it just wasn’t working for me, but after doing this, it’s working now. I’m not even halfway done. (1 hour in)

Edit 2: Mark time 21:01 PST. Finally finished adding the type, fixed an issue with a function not returning anything when it should have, and I submitted a pull request.

1 Like

I combed through all of my messages, and most were just people asking for help. I believe I reached out to everyone that messaged me now (if I missed you, send me another message). All of the bugs that I saw seemed to actually be related to roblox issues so there wasn’t really anything for me to fix.

Version 2.0.4

Changes (breaking):

  • None

Changes (non-breaking):

  • [Change] RemovePlayerFromGame no longer needs to be called manually. If the game is a game server, this will be handled automatically.

  • [Change] SetIsGameServer now accepts a second parameter updateJoinableOnLeave that denotes whether to update the joinable value when a player leaves. This is false by default.

  • [Addition] Reintroduced GetQueueCounts.

  • [Addition] Added typing to methods to allow for auto-complete (#19). Thank you @MrLonely1221 for this.

Fixes:

  • None

I realize this should probably be v2.1.0, but I’ve already made the release and don’t want to redo it lol.

2 Likes

Hello, I’m currently having an error where Roblox isn’t able to get the module
image
Here is the code:
image

just put the module in replicated storage and require it there

1 Like

yea i did that and it worked thx

1 Like

Hey, today i got this error sometimes works fine and sometimes i got this and doesn’t teleport the player

Also, someone knows how do i pass any data info to other place?

recently i got this error too sometimes

This error is just because the request failed you should retry