I tried taking a friend’s advice and constantly try to teleport the party of players, removing players from the playertable as they leave, or until the teleport request returns as “successful”. But it turns out all teleports return successful even if one or all of the players never got teleported anywhere. Learned this from my teleport logging, where some players were still in the game 10 seconds after requesting the teleport, which returned as successful immediately after requesting:
EDIT:
It seems I may have resolved my issue, as I’m not seeing any more tracked failures.
I ended up ignoring Roblox telling me the teleport was Successful, and instead continue attempting to teleport anyone who is still in the server until they are gone or I’ve attempted 5 times. I never had to do this before. Teleport service even returns successful offline, where its not possible for it to succeed.
Sorry for being a bit off-topic but if Roblox ever update their developer console (it’s kinda old) I hope they go for something close to that, that’s some nice work!
I appreciate it. I initially made it so I could change server settings(toggle mining, toggle gun bullets, etc) easily. But then added a custom logs system, because Roblox’s leaves a lot to be desired. It has been super useful, I can print stuff with impunity without being concerned about running out of data nor losing it in the shuffle(as long as I log it into the right category).
We recently rolled out a fix that should address issues around teleporting groups of users to reserved servers. Could you please try to reproduce the issue (without the retries that you’ve added) and let us know if the issue persists?
I just caught a few players that are still in the lobby some 25 seconds later after a partial failed teleport. They’re gone now, don’t know if the teleport finally succeeded or they left/started a different teleport
I define successful as all players in a requested group teleport no longer being in the server.
i define failure as one or more players remaining in the server after ~10 seconds, even if they do eventually get teleported(I assume failure and release the player from their waiting period)
How long should I wait before deciding if a teleport has failed due to a player still being in the game?
Hey @Alkan, we’ve rolled out a fix that should help with the issue you were seeing. When you have a chance, could you test again and see if you’re still seeing issues?
We did some analysis of the failures that you are still seeing, and we found that they were all a result of the destination server being full. Is there any chance that you are teleporting more people than the capacity of the destination place?
It’s possible players are trying to join a preexisting private server that has no remaining space(that will soon be taken off the serverlist), but I don’t track those failed teleports as I don’t consider those teleports to be of vital importance.
My problems have been with brand new parties trying to teleport to brand new private servers. I’m very sure I don’t try to teleport players into a new game that lacks the player capacity.
Do you have a recommended amount of time I should wait before deeming a teleport failed? I freeze the client’s UI until they’ve teleported or their tp has been attributed as failed(15 seconds currently)
I’m sure some of my “failed teleports” are just long delays before a successful teleport. In my logs I did note one that took 25 seconds before all 6 players left at once.
I marked a teleport as failed, as all four players were still ingame 18 seconds after the teleport began. 43 seconds after the teleport was requested, all four got teleported out. Is there a way of detecting if a teleport is still in progress and not abandoned/failed? I don’t mind waiting a long time for a teleport to finish, but I’m honestly assuming it has failed if it gets this far without anyone teleporting out
Teleports typically complete in under ~10 seconds, and most should complete within ~45 seconds. There can be some long-tail teleports that take longer than this, but they should be fairly rare.