Teleport Issues

Absolutely no idea what why this isn’t working.

Im trying to reserve a server, the place ID for the teleportation and reserve are the exact same, third party teleports are enabled, and both places are under the same game, yet the error it gives is saying the code is invalid.

This issue is not related to the code, the code works fine if I test it teleporting to the same game, it’s only when I add the ID of another place, under the same “experience”, which there seems to be a lack of due to whatever roblox issue is causing this. All places have third party teleports enabled.

This system is extremely needed because of roblox’s lack of giving a crap when small games have DDOSing problems, yet, again, roblox’s systems mean I can’t even make a fix for an issue caused by them not caring.

raiseTeleportInitFailedEvent: Teleport failed because Access code for reserved server is not valid. (Unauthorized)

To get a code you have to do TeleportService:ReserveServer(placeId)
then it will return you the code, heres the full example:

local TeleportService = game:GetService("TeleportService")
local placeId = 00000 -- the other place id
local code = TeleportService:ReserveServer(placeId)

TeleportService:TeleportToPrivateServer(placeId,code,{plr})

I think you forgot to change the place id for ReserveServer function

This still doesn’t fix the issue, I already have this.
The code works, and even works in another game perfectly fine, as well as when teleporting to the same place.

I see, have you tried using :TeleportAsync just to debug if the teleporting is working for your place.

Recently while playing a horror game I got so many “attempted to teleport to a place that is restricted” it got fixed when I reset my router tho.

Yes, I think this is a roblox issue as it works in another game with identical permissions.

And every time I try to post about this bug its removed, typical roblox, instead of fixing their crappy systems that allow people to ddos, they delete people posting about bugs when trying to add a system to fix it for them.

1 Like

Have you posted it in #bug-reports:studio-bugs ?

Any time I post bugs they’re just removed.

Well, somehow :TeleportToPrivateServer is working for me on my old game, its teleporting and reserving the private server in the other place same experience.

I have no idea why it wont work in this specific game, but I literally have no other option due to the crappy solutions, or lack thereof actually, by roblox towards DDOSing.

I cant even fix the issue in my own game because of this crap.

You can PM the forum staffs (relations) give them proof they might move it to the bugs category.

Even if I did, nothing would be done, roblox doesn’t care about small games, it’s been made clear by their lack of caring when people like me are extorted for money, assets, and other things with threats of DDOSing.

They will, I tried too but my bug didn’t got approved because there was already a bug on-going similar to mine.

Just want to slowly ease into this because I thought I was the only one who experienced this. I had this issue occur I think about a month ago. One of my games relies pretty heavily on TeleportService so it virtually stopped all players from playing the game during that time period. For myself personally, the issue seemed to fix itself within an hour or two. Not sure if it’s the same issue however I can confirm that basically the exact same message happened on my end.

You seem pretty adamant that the code isn’t the issue and I assume you’re testing this in a live game rather than studio. You could try posting the code here if you really wanted although I’m sure that’d be more of a hassle considering it’s probably not the code itself. I think the only thing you really can do is wait it out and possibly try to report the bug.

Teleporting not works in Studio.

Yes, correct. That’s why I added that in, just to confirm this is actually being tested in a live game rather than studio because studio doesn’t have that ability.

Other than that, considering this is working for another experience and not the following experience you wish to teleport to, I can’t think of any other issues other than the fact that you’re possibly generating the code for the wrong ID.

It’s a live game, and I gave the identical code to one of my friends to test in their game, it worked, with no issues, I copied their games settings down to every last one to check if that would work, it didn’t.

The code isn’t the issue here, it seems to be a roblox issue, and we all know trying to contact roblox about it in any way will result in no response, as I’ve tried.

to be honest, your example just teleports on server where everyone can join in