inoobe_xi
(inoobe_xi)
March 30, 2019, 12:49am
#1
Today my game started returning this error when trying to teleport players.
This is unusual because it used to work fine. The only thing I did recently is I changed the player limit for the game. The game is public and should allow players to teleport to it, but for some reason, I get this error. There is also a 773 error code when trying to teleport.
Works fine occasionally
6 Likes
inoobe_xi
(inoobe_xi)
March 30, 2019, 1:04am
#3
Well this is the line of code that teleports them:
ts:Teleport(allTeles.getWorldId(world), plr)
The world id is obtained from a module, here are the world ids:
local worldIds = {
["Mainland"] = 1451195595;
["Dry Desert"] = 2848851570;
["Deep Sea"] = 2848113743;
["Mars"] = 2846029301;
}
All the worlds are public
2 Likes
inoobe_xi
(inoobe_xi)
March 31, 2019, 9:12pm
#5
They have access and all worlds work occasionally. Just a random occurrence for a few people
3 Likes
inoobe_xi
(inoobe_xi)
April 2, 2019, 1:21am
#6
Just got the error again is there anyone that has experienced this before?
9 Likes
Does it have anything to do with the max player count?
For example, if the server reached the max amount of players and it can no longer connect new players while it’s full.
Based on the error message provided, it looks more like an authorization problem, so I am not completely sure.
I_Claire
(I_Claire)
April 2, 2019, 3:23pm
#8
Never seen that error before but you can try this, TeleportService | Documentation - Roblox Creator Hub .
inoobe_xi
(inoobe_xi)
April 14, 2019, 3:22pm
#9
I implemented it but when it retries, it says that it is unauthorized so it still doesn’t teleport.
4 Likes
berezaa
(Bereza)
April 14, 2019, 3:24pm
#10
I am currently tracking a huge spike in these errors in my game. This is likely a Roblox issue:
Incident Report: a large amount of Vesteria players are currently reporting that they are unable to teleport between places in our paid access game. Vesteria relies on server-side teleports, passing along important information via server-side teleport data encryption.
Players see the following error message:
“Attempt to teleport to a place that is restricted. (Error Code: 773)”
[image]
TeleportService returned the following message:
You are not allowed to play this game
Tracked occurrence…
3 Likes
Ansaelo
(Soli)
April 24, 2021, 11:58pm
#11
Hey guys and girls,
I just got that error from my game. I have enable the teleport from my game to other games, first time tried. Any other hints, stuff I should look for? Did you find a solution?
Thanks.
1 Like
Forummer
(Forummer)
September 25, 2022, 3:11pm
#12
For a more dynamic approach I’d recommend the GetGamePlacesAsync
built-in API method. It returns a ‘StandardPages’ object containing the names and IDs of a game’s (universe’s) places.
https://developer.roblox.com/en-us/api-reference/function/AssetService/GetGamePlacesAsync
do
local Enumeration = Enum
local Game = game
local AssetService = Game:GetService("AssetService")
local Players = Game:GetService("Players")
local TeleportService = Game:GetService("TeleportService")
local PlaceGui = Instance.new("ScreenGui")
PlaceGui.Name = "PlaceGui"
PlaceGui.ResetOnSpawn = false
local PlaceFrame = Instance.new("Frame")
PlaceFrame.Name = "PlaceFrame"
PlaceFrame.Position = UDim2.new(0, 50, 0.5, 0)
PlaceFrame.Size = UDim2.new(0, 600, 0, 250)
PlaceFrame.Style = Enumeration.FrameStyle.RobloxRound
PlaceFrame.Visible = false
PlaceFrame.Parent = PlaceGui
local PlacesFrame = Instance.new("ScrollingFrame")
PlacesFrame.Name = "PlacesFrame"
PlacesFrame.AutomaticCanvasSize = Enumeration.AutomaticSize.X
PlacesFrame.BackgroundTransparency = 1
PlacesFrame.BorderSizePixel = 0
PlacesFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
PlacesFrame.ScrollBarImageColor3 = Color3.new(1, 1, 1)
PlacesFrame.ScrollBarThickness = 5
PlacesFrame.Size = UDim2.new(1, 0, 1, 0)
PlacesFrame.Parent = PlaceFrame
local UIListLayout = Instance.new("UIListLayout")
UIListLayout.FillDirection = Enumeration.FillDirection.Horizontal
UIListLayout.Parent = PlacesFrame
local function OnGuiTextButtonMouseClick(GuiTextButton)
local State = (GuiTextButton.Style == Enumeration.ButtonStyle.RobloxButton)
GuiTextButton.Style = if State then Enumeration.ButtonStyle.RobloxButtonDefault else Enumeration.ButtonStyle.RobloxButton
GuiTextButton.Text = if State then "👈" else "👉"
PlaceFrame.Visible = State
end
local GuiTextButton = Instance.new("TextButton")
GuiTextButton.Name = "GuiTextButton"
GuiTextButton.Font = Enumeration.Font.GothamMedium
GuiTextButton.Position = UDim2.new(0, 0, 0.5, 0)
GuiTextButton.Size = UDim2.new(0, 50, 0, 50)
GuiTextButton.Style = Enumeration.ButtonStyle.RobloxButton
GuiTextButton.Text = "👉"
GuiTextButton.TextColor3 = Color3.new(1, 1, 1)
GuiTextButton.TextSize = 48
GuiTextButton.MouseButton1Click:Connect(function() OnGuiTextButtonMouseClick(GuiTextButton) end)
GuiTextButton.Parent = PlaceGui
local function OnPlaceTextButtonMouseClick(PlaceId)
TeleportService:Teleport(PlaceId)
end
local Success, Result = pcall(AssetService.GetGamePlacesAsync, AssetService)
if not Success then warn(Result) return end
while true do
local Page = Result:GetCurrentPage()
for _, Item in ipairs(Page) do
local PlaceTextButton = Instance.new("TextButton")
PlaceTextButton.Name = "PlaceTextButton"
PlaceTextButton.Font = Enumeration.Font.GothamMedium
PlaceTextButton.Size = UDim2.new(0, 250, 1, 0)
PlaceTextButton.Style = Enumeration.ButtonStyle.RobloxButton
PlaceTextButton.Text = Item.Name
PlaceTextButton.TextColor3 = Color3.new(1, 1, 1)
PlaceTextButton.TextSize = 18
PlaceTextButton.TextYAlignment = Enumeration.TextYAlignment.Bottom
PlaceTextButton.MouseButton1Click:Connect(function() OnPlaceTextButtonMouseClick(Item.PlaceId) end)
PlaceTextButton.Parent = PlacesFrame
local PlaceImageLabel = Instance.new("ImageLabel")
PlaceImageLabel.Name = "PlaceImageLabel"
PlaceImageLabel.BackgroundTransparency = 1
PlaceImageLabel.Image = "rbxthumb://type=Asset&w=420&h=420&id="..Item.PlaceId
PlaceImageLabel.Size = UDim2.new(1, 0, 0.85, 0)
PlaceImageLabel.Parent = PlaceTextButton
end
if Result.IsFinished then
break
else
local _Success, _Result = pcall(Result.AdvanceToNextPageAsync, Result)
if not _Success then warn(_Result) break end
end
end
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:FindFirstChildOfClass("PlayerGui") or LocalPlayer:WaitForChild("PlayerGui", 10)
if not PlayerGui then return end
PlaceGui.Parent = PlayerGui
end
Reproduction file:
PlaceGui.rbxl (31.0 KB)
1 Like